Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
986f4f49
Commit
986f4f49
authored
May 23, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dv1394: add a private option for channel.
parent
3d2a4186
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dv1394.c
libavdevice/dv1394.c
+1
-2
No files found.
libavdevice/dv1394.c
View file @
986f4f49
...
@@ -104,8 +104,6 @@ static int dv1394_read_header(AVFormatContext * context, AVFormatParameters * ap
...
@@ -104,8 +104,6 @@ static int dv1394_read_header(AVFormatContext * context, AVFormatParameters * ap
if
(
ap
->
channel
)
if
(
ap
->
channel
)
dv
->
channel
=
ap
->
channel
;
dv
->
channel
=
ap
->
channel
;
else
dv
->
channel
=
DV1394_DEFAULT_CHANNEL
;
/* Open and initialize DV1394 device */
/* Open and initialize DV1394 device */
dv
->
fd
=
open
(
context
->
filename
,
O_RDONLY
);
dv
->
fd
=
open
(
context
->
filename
,
O_RDONLY
);
...
@@ -238,6 +236,7 @@ static const AVOption options[] = {
...
@@ -238,6 +236,7 @@ static const AVOption options[] = {
{
"standard"
,
""
,
offsetof
(
struct
dv1394_data
,
format
),
FF_OPT_TYPE_INT
,
{.
dbl
=
DV1394_NTSC
},
DV1394_PAL
,
DV1394_NTSC
,
AV_OPT_FLAG_DECODING_PARAM
,
"standard"
},
{
"standard"
,
""
,
offsetof
(
struct
dv1394_data
,
format
),
FF_OPT_TYPE_INT
,
{.
dbl
=
DV1394_NTSC
},
DV1394_PAL
,
DV1394_NTSC
,
AV_OPT_FLAG_DECODING_PARAM
,
"standard"
},
{
"PAL"
,
""
,
0
,
FF_OPT_TYPE_CONST
,
{.
dbl
=
DV1394_PAL
},
0
,
0
,
AV_OPT_FLAG_DECODING_PARAM
,
"standard"
},
{
"PAL"
,
""
,
0
,
FF_OPT_TYPE_CONST
,
{.
dbl
=
DV1394_PAL
},
0
,
0
,
AV_OPT_FLAG_DECODING_PARAM
,
"standard"
},
{
"NTSC"
,
""
,
0
,
FF_OPT_TYPE_CONST
,
{.
dbl
=
DV1394_NTSC
},
0
,
0
,
AV_OPT_FLAG_DECODING_PARAM
,
"standard"
},
{
"NTSC"
,
""
,
0
,
FF_OPT_TYPE_CONST
,
{.
dbl
=
DV1394_NTSC
},
0
,
0
,
AV_OPT_FLAG_DECODING_PARAM
,
"standard"
},
{
"channel"
,
""
,
offsetof
(
struct
dv1394_data
,
channel
),
FF_OPT_TYPE_INT
,
{.
dbl
=
DV1394_DEFAULT_CHANNEL
},
0
,
INT_MAX
,
AV_OPT_FLAG_DECODING_PARAM
},
{
NULL
},
{
NULL
},
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment