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
00996920
Commit
00996920
authored
Oct 16, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation
Originally committed as revision 10756 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ed7b48b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
movenc.c
libavformat/movenc.c
+18
-18
No files found.
libavformat/movenc.c
View file @
00996920
...
...
@@ -1229,26 +1229,26 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov,
/* iTunes meta data */
mov_write_meta_tag
(
pb
,
mov
,
s
);
if
(
mov
->
mode
==
MODE_MOV
){
// the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4
/* Requirements */
for
(
i
=
0
;
i
<
mov
->
nb_streams
;
i
++
)
{
if
(
mov
->
tracks
[
i
].
entry
<=
0
)
continue
;
if
(
mov
->
tracks
[
i
].
enc
->
codec_id
==
CODEC_ID_AAC
||
mov
->
tracks
[
i
].
enc
->
codec_id
==
CODEC_ID_MPEG4
)
{
mov_write_string_tag
(
pb
,
"
\251
req"
,
"QuickTime 6.0 or greater"
,
0
);
break
;
if
(
mov
->
mode
==
MODE_MOV
){
// the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4
/* Requirements */
for
(
i
=
0
;
i
<
mov
->
nb_streams
;
i
++
)
{
if
(
mov
->
tracks
[
i
].
entry
<=
0
)
continue
;
if
(
mov
->
tracks
[
i
].
enc
->
codec_id
==
CODEC_ID_AAC
||
mov
->
tracks
[
i
].
enc
->
codec_id
==
CODEC_ID_MPEG4
)
{
mov_write_string_tag
(
pb
,
"
\251
req"
,
"QuickTime 6.0 or greater"
,
0
);
break
;
}
}
}
mov_write_string_tag
(
pb
,
"
\251
nam"
,
s
->
title
,
0
);
mov_write_string_tag
(
pb
,
"
\251
aut"
,
s
->
author
,
0
);
mov_write_string_tag
(
pb
,
"
\251
alb"
,
s
->
album
,
0
);
mov_write_day_tag
(
pb
,
s
->
year
,
0
);
if
(
mov
->
tracks
[
0
].
enc
&&
!
(
mov
->
tracks
[
0
].
enc
->
flags
&
CODEC_FLAG_BITEXACT
))
mov_write_string_tag
(
pb
,
"
\251
enc"
,
LIBAVFORMAT_IDENT
,
0
);
mov_write_string_tag
(
pb
,
"
\251
des"
,
s
->
comment
,
0
);
mov_write_string_tag
(
pb
,
"
\251
gen"
,
s
->
genre
,
0
);
}
mov_write_string_tag
(
pb
,
"
\251
nam"
,
s
->
title
,
0
);
mov_write_string_tag
(
pb
,
"
\251
aut"
,
s
->
author
,
0
);
mov_write_string_tag
(
pb
,
"
\251
alb"
,
s
->
album
,
0
);
mov_write_day_tag
(
pb
,
s
->
year
,
0
);
if
(
mov
->
tracks
[
0
].
enc
&&
!
(
mov
->
tracks
[
0
].
enc
->
flags
&
CODEC_FLAG_BITEXACT
))
mov_write_string_tag
(
pb
,
"
\251
enc"
,
LIBAVFORMAT_IDENT
,
0
);
mov_write_string_tag
(
pb
,
"
\251
des"
,
s
->
comment
,
0
);
mov_write_string_tag
(
pb
,
"
\251
gen"
,
s
->
genre
,
0
);
}
return
updateSize
(
pb
,
pos
);
}
...
...
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