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
506e4bb8
Commit
506e4bb8
authored
Jan 28, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics, vertically align
Originally committed as revision 11655 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
dd670ded
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
movenc.c
libavformat/movenc.c
+6
-13
No files found.
libavformat/movenc.c
View file @
506e4bb8
...
...
@@ -497,19 +497,12 @@ static int mov_find_codec_tag(AVFormatContext *s, MOVTrack *track)
}
else
if
(
!
tag
||
(
track
->
enc
->
strict_std_compliance
>=
FF_COMPLIANCE_NORMAL
&&
tag
==
MKTAG
(
'd'
,
'v'
,
'c'
,
'p'
)))
{
if
(
track
->
enc
->
codec_id
==
CODEC_ID_DVVIDEO
)
{
if
(
track
->
enc
->
height
==
480
)
{
/* NTSC */
if
(
track
->
enc
->
pix_fmt
==
PIX_FMT_YUV422P
)
tag
=
MKTAG
(
'd'
,
'v'
,
'5'
,
'n'
);
else
tag
=
MKTAG
(
'd'
,
'v'
,
'c'
,
' '
);
}
else
{
/* assume PAL */
if
(
track
->
enc
->
pix_fmt
==
PIX_FMT_YUV422P
)
tag
=
MKTAG
(
'd'
,
'v'
,
'5'
,
'p'
);
else
if
(
track
->
enc
->
pix_fmt
==
PIX_FMT_YUV420P
)
tag
=
MKTAG
(
'd'
,
'v'
,
'c'
,
'p'
);
else
tag
=
MKTAG
(
'd'
,
'v'
,
'p'
,
'p'
);
}
if
(
track
->
enc
->
height
==
480
)
/* NTSC */
if
(
track
->
enc
->
pix_fmt
==
PIX_FMT_YUV422P
)
tag
=
MKTAG
(
'd'
,
'v'
,
'5'
,
'n'
);
else
tag
=
MKTAG
(
'd'
,
'v'
,
'c'
,
' '
);
else
if
(
track
->
enc
->
pix_fmt
==
PIX_FMT_YUV422P
)
tag
=
MKTAG
(
'd'
,
'v'
,
'5'
,
'p'
);
else
if
(
track
->
enc
->
pix_fmt
==
PIX_FMT_YUV420P
)
tag
=
MKTAG
(
'd'
,
'v'
,
'c'
,
'p'
);
else
tag
=
MKTAG
(
'd'
,
'v'
,
'p'
,
'p'
);
}
else
{
if
(
track
->
enc
->
codec_type
==
CODEC_TYPE_VIDEO
)
{
tag
=
codec_get_tag
(
codec_movvideo_tags
,
track
->
enc
->
codec_id
);
...
...
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