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
3c01039e
Commit
3c01039e
authored
Nov 28, 2014
by
Dave Rice
Committed by
Vittorio Giovara
Dec 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mov: further expand the list of parsed metadata tags
Signed-off-by:
Vittorio Giovara
<
vittorio.giovara@gmail.com
>
parent
e2e07dba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
mov.c
libavformat/mov.c
+18
-0
No files found.
libavformat/mov.c
View file @
3c01039e
...
@@ -311,20 +311,38 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
...
@@ -311,20 +311,38 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
case
MKTAG
(
't'
,
'v'
,
's'
,
'n'
):
key
=
"season_number"
;
case
MKTAG
(
't'
,
'v'
,
's'
,
'n'
):
key
=
"season_number"
;
parse
=
mov_metadata_int8_bypass_padding
;
break
;
parse
=
mov_metadata_int8_bypass_padding
;
break
;
case
MKTAG
(
0xa9
,
'A'
,
'R'
,
'T'
):
key
=
"artist"
;
break
;
case
MKTAG
(
0xa9
,
'A'
,
'R'
,
'T'
):
key
=
"artist"
;
break
;
case
MKTAG
(
0xa9
,
'P'
,
'R'
,
'D'
):
key
=
"producer"
;
break
;
case
MKTAG
(
0xa9
,
'a'
,
'l'
,
'b'
):
key
=
"album"
;
break
;
case
MKTAG
(
0xa9
,
'a'
,
'l'
,
'b'
):
key
=
"album"
;
break
;
case
MKTAG
(
0xa9
,
'a'
,
'u'
,
't'
):
key
=
"artist"
;
break
;
case
MKTAG
(
0xa9
,
'a'
,
'u'
,
't'
):
key
=
"artist"
;
break
;
case
MKTAG
(
0xa9
,
'c'
,
'h'
,
'p'
):
key
=
"chapter"
;
break
;
case
MKTAG
(
0xa9
,
'c'
,
'm'
,
't'
):
key
=
"comment"
;
break
;
case
MKTAG
(
0xa9
,
'c'
,
'm'
,
't'
):
key
=
"comment"
;
break
;
case
MKTAG
(
0xa9
,
'c'
,
'o'
,
'm'
):
key
=
"composer"
;
break
;
case
MKTAG
(
0xa9
,
'c'
,
'p'
,
'y'
):
key
=
"copyright"
;
break
;
case
MKTAG
(
0xa9
,
'c'
,
'p'
,
'y'
):
key
=
"copyright"
;
break
;
case
MKTAG
(
0xa9
,
'd'
,
'a'
,
'y'
):
key
=
"date"
;
break
;
case
MKTAG
(
0xa9
,
'd'
,
'a'
,
'y'
):
key
=
"date"
;
break
;
case
MKTAG
(
0xa9
,
'd'
,
'i'
,
'r'
):
key
=
"director"
;
break
;
case
MKTAG
(
0xa9
,
'd'
,
'i'
,
's'
):
key
=
"disclaimer"
;
break
;
case
MKTAG
(
0xa9
,
'e'
,
'd'
,
'1'
):
key
=
"edit_date"
;
break
;
case
MKTAG
(
0xa9
,
'e'
,
'n'
,
'c'
):
key
=
"encoder"
;
break
;
case
MKTAG
(
0xa9
,
'e'
,
'n'
,
'c'
):
key
=
"encoder"
;
break
;
case
MKTAG
(
0xa9
,
'f'
,
'm'
,
't'
):
key
=
"original_format"
;
break
;
case
MKTAG
(
0xa9
,
'g'
,
'e'
,
'n'
):
key
=
"genre"
;
break
;
case
MKTAG
(
0xa9
,
'g'
,
'e'
,
'n'
):
key
=
"genre"
;
break
;
case
MKTAG
(
0xa9
,
'g'
,
'r'
,
'p'
):
key
=
"grouping"
;
break
;
case
MKTAG
(
0xa9
,
'g'
,
'r'
,
'p'
):
key
=
"grouping"
;
break
;
case
MKTAG
(
0xa9
,
'h'
,
's'
,
't'
):
key
=
"host_computer"
;
break
;
case
MKTAG
(
0xa9
,
'i'
,
'n'
,
'f'
):
key
=
"comment"
;
break
;
case
MKTAG
(
0xa9
,
'i'
,
'n'
,
'f'
):
key
=
"comment"
;
break
;
case
MKTAG
(
0xa9
,
'l'
,
'y'
,
'r'
):
key
=
"lyrics"
;
break
;
case
MKTAG
(
0xa9
,
'l'
,
'y'
,
'r'
):
key
=
"lyrics"
;
break
;
case
MKTAG
(
0xa9
,
'm'
,
'a'
,
'k'
):
key
=
"make"
;
break
;
case
MKTAG
(
0xa9
,
'm'
,
'o'
,
'd'
):
key
=
"model"
;
break
;
case
MKTAG
(
0xa9
,
'n'
,
'a'
,
'm'
):
key
=
"title"
;
break
;
case
MKTAG
(
0xa9
,
'n'
,
'a'
,
'm'
):
key
=
"title"
;
break
;
case
MKTAG
(
0xa9
,
'o'
,
'p'
,
'e'
):
key
=
"original_artist"
;
break
;
case
MKTAG
(
0xa9
,
'p'
,
'r'
,
'd'
):
key
=
"producer"
;
break
;
case
MKTAG
(
0xa9
,
'p'
,
'r'
,
'f'
):
key
=
"performers"
;
break
;
case
MKTAG
(
0xa9
,
'r'
,
'e'
,
'q'
):
key
=
"playback_requirements"
;
break
;
case
MKTAG
(
0xa9
,
's'
,
'r'
,
'c'
):
key
=
"original_source"
;
break
;
case
MKTAG
(
0xa9
,
's'
,
't'
,
'3'
):
key
=
"subtitle"
;
break
;
case
MKTAG
(
0xa9
,
's'
,
't'
,
'3'
):
key
=
"subtitle"
;
break
;
case
MKTAG
(
0xa9
,
's'
,
'w'
,
'r'
):
key
=
"encoder"
;
break
;
case
MKTAG
(
0xa9
,
's'
,
'w'
,
'r'
):
key
=
"encoder"
;
break
;
case
MKTAG
(
0xa9
,
't'
,
'o'
,
'o'
):
key
=
"encoder"
;
break
;
case
MKTAG
(
0xa9
,
't'
,
'o'
,
'o'
):
key
=
"encoder"
;
break
;
case
MKTAG
(
0xa9
,
't'
,
'r'
,
'k'
):
key
=
"track"
;
break
;
case
MKTAG
(
0xa9
,
'u'
,
'r'
,
'l'
):
key
=
"URL"
;
break
;
case
MKTAG
(
0xa9
,
'w'
,
'r'
,
'n'
):
key
=
"warning"
;
break
;
case
MKTAG
(
0xa9
,
'w'
,
'r'
,
't'
):
key
=
"composer"
;
break
;
case
MKTAG
(
0xa9
,
'w'
,
'r'
,
't'
):
key
=
"composer"
;
break
;
case
MKTAG
(
0xa9
,
'x'
,
'y'
,
'z'
):
key
=
"location"
;
break
;
case
MKTAG
(
0xa9
,
'x'
,
'y'
,
'z'
):
key
=
"location"
;
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