Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
bed4fc54
Commit
bed4fc54
authored
16 years ago
by
Baptiste Coudurier
Browse files
Options
Downloads
Patches
Plain Diff
write copyright metadata tag
Originally committed as revision 15276 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9345ae6f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/movenc.c
+3
-0
3 additions, 0 deletions
libavformat/movenc.c
with
3 additions
and
0 deletions
libavformat/movenc.c
+
3
−
0
View file @
bed4fc54
...
...
@@ -1225,6 +1225,7 @@ static int mov_write_ilst_tag(ByteIOContext *pb, MOVContext *mov,
mov_write_string_tag
(
pb
,
"
\251
too"
,
LIBAVFORMAT_IDENT
,
1
);
mov_write_string_tag
(
pb
,
"
\251
cmt"
,
s
->
comment
,
1
);
mov_write_string_tag
(
pb
,
"
\251
gen"
,
s
->
genre
,
1
);
mov_write_string_tag
(
pb
,
"
\251
cpy"
,
s
->
copyright
,
1
);
mov_write_trkn_tag
(
pb
,
mov
,
s
);
return
updateSize
(
pb
,
pos
);
}
...
...
@@ -1321,6 +1322,7 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext *mov,
mov_write_3gp_udta_tag
(
pb
,
s
,
"gnre"
,
s
->
genre
);
mov_write_3gp_udta_tag
(
pb
,
s
,
"dscp"
,
s
->
comment
);
mov_write_3gp_udta_tag
(
pb
,
s
,
"albm"
,
s
->
album
);
mov_write_3gp_udta_tag
(
pb
,
s
,
"cprt"
,
s
->
copyright
);
mov_write_3gp_udta_tag
(
pb
,
s
,
"yrrc"
,
"nil"
);
}
else
if
(
mov
->
mode
==
MODE_MOV
)
{
// the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4
mov_write_string_tag
(
pb
,
"
\251
nam"
,
s
->
title
,
0
);
...
...
@@ -1330,6 +1332,7 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext *mov,
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
cpy"
,
s
->
copyright
,
0
);
}
else
{
/* iTunes meta data */
mov_write_meta_tag
(
pb
,
mov
,
s
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment