Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
db4b639b
Commit
db4b639b
authored
Apr 20, 2011
by
Konstantin Pavlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVFormat demux: Ask for artist metadata tag instead of author.
Suggested-by: elenril on #libav-devel
parent
c7255099
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/demux/avformat/demux.c
modules/demux/avformat/demux.c
+3
-3
No files found.
modules/demux/avformat/demux.c
View file @
db4b639b
...
...
@@ -765,15 +765,15 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
vlc_meta_t
*
p_meta
=
(
vlc_meta_t
*
)
va_arg
(
args
,
vlc_meta_t
*
);
AVMetadataTag
*
title
=
av_metadata_get
(
p_sys
->
ic
->
metadata
,
"language"
,
NULL
,
0
);
AVMetadataTag
*
a
uthor
=
av_metadata_get
(
p_sys
->
ic
->
metadata
,
"author
"
,
NULL
,
0
);
AVMetadataTag
*
a
rtist
=
av_metadata_get
(
p_sys
->
ic
->
metadata
,
"artist
"
,
NULL
,
0
);
AVMetadataTag
*
copyright
=
av_metadata_get
(
p_sys
->
ic
->
metadata
,
"copyright"
,
NULL
,
0
);
AVMetadataTag
*
comment
=
av_metadata_get
(
p_sys
->
ic
->
metadata
,
"comment"
,
NULL
,
0
);
AVMetadataTag
*
genre
=
av_metadata_get
(
p_sys
->
ic
->
metadata
,
"genre"
,
NULL
,
0
);
if
(
title
&&
title
->
value
)
vlc_meta_SetTitle
(
p_meta
,
title
->
value
);
if
(
a
uthor
&&
author
->
value
)
vlc_meta_SetArtist
(
p_meta
,
a
uthor
->
value
);
if
(
a
rtist
&&
artist
->
value
)
vlc_meta_SetArtist
(
p_meta
,
a
rtist
->
value
);
if
(
copyright
&&
copyright
->
value
)
vlc_meta_SetCopyright
(
p_meta
,
copyright
->
value
);
if
(
comment
&&
comment
->
value
)
...
...
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