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
6249143d
Commit
6249143d
authored
Feb 13, 2009
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
store display height without vbi
Originally committed as revision 17203 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
db6db7e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
mxfenc.c
libavformat/mxfenc.c
+9
-1
No files found.
libavformat/mxfenc.c
View file @
6249143d
...
...
@@ -710,6 +710,7 @@ static void mxf_write_cdci_common(AVFormatContext *s, AVStream *st, const UID ke
MXFStreamContext
*
sc
=
st
->
priv_data
;
ByteIOContext
*
pb
=
s
->
pb
;
int
stored_height
=
(
st
->
codec
->
height
+
15
)
/
16
*
16
;
int
display_height
;
AVRational
dar
;
int
f1
,
f2
;
...
...
@@ -724,8 +725,15 @@ static void mxf_write_cdci_common(AVFormatContext *s, AVStream *st, const UID ke
mxf_write_local_tag
(
pb
,
4
,
0x3209
);
put_be32
(
pb
,
st
->
codec
->
width
);
if
(
st
->
codec
->
height
==
608
)
// PAL + VBI
display_height
=
576
;
else
if
(
st
->
codec
->
height
==
512
)
// NTSC + VBI
display_height
=
486
;
else
display_height
=
st
->
codec
->
height
;
mxf_write_local_tag
(
pb
,
4
,
0x3208
);
put_be32
(
pb
,
st
->
codec
->
height
>>
sc
->
interlaced
);
put_be32
(
pb
,
display_
height
>>
sc
->
interlaced
);
// component depth
mxf_write_local_tag
(
pb
,
4
,
0x3301
);
...
...
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