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
69e93792
Commit
69e93792
authored
Feb 16, 2013
by
Matthieu Bouron
Committed by
Michael Niedermayer
Mar 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/mxfdec: read field dominance flag
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
97f8c6e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mxfdec.c
libavformat/mxfdec.c
+4
-0
No files found.
libavformat/mxfdec.c
View file @
69e93792
...
@@ -149,6 +149,7 @@ typedef struct {
...
@@ -149,6 +149,7 @@ typedef struct {
int
frame_layout
;
/* See MXFFrameLayout enum */
int
frame_layout
;
/* See MXFFrameLayout enum */
int
channels
;
int
channels
;
int
bits_per_sample
;
int
bits_per_sample
;
int
field_dominance
;
unsigned
int
component_depth
;
unsigned
int
component_depth
;
unsigned
int
horiz_subsampling
;
unsigned
int
horiz_subsampling
;
unsigned
int
vert_subsampling
;
unsigned
int
vert_subsampling
;
...
@@ -838,6 +839,9 @@ static int mxf_read_generic_descriptor(void *arg, AVIOContext *pb, int tag, int
...
@@ -838,6 +839,9 @@ static int mxf_read_generic_descriptor(void *arg, AVIOContext *pb, int tag, int
descriptor
->
aspect_ratio
.
num
=
avio_rb32
(
pb
);
descriptor
->
aspect_ratio
.
num
=
avio_rb32
(
pb
);
descriptor
->
aspect_ratio
.
den
=
avio_rb32
(
pb
);
descriptor
->
aspect_ratio
.
den
=
avio_rb32
(
pb
);
break
;
break
;
case
0x3212
:
descriptor
->
field_dominance
=
avio_r8
(
pb
);
break
;
case
0x3301
:
case
0x3301
:
descriptor
->
component_depth
=
avio_rb32
(
pb
);
descriptor
->
component_depth
=
avio_rb32
(
pb
);
break
;
break
;
...
...
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