Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a7ed4d1d
Commit
a7ed4d1d
authored
Aug 15, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/control/media_descriptor.c: Title meta.
parent
12b4ef87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/control/media_descriptor.c
src/control/media_descriptor.c
+5
-0
No files found.
src/control/media_descriptor.c
View file @
a7ed4d1d
...
...
@@ -165,6 +165,7 @@ libvlc_media_descriptor_get_mrl( libvlc_media_descriptor_t * p_md,
**************************************************************************/
static
const
vlc_meta_type_t
meta_conversion
[]
=
{
[
libvlc_meta_Title
]
=
vlc_meta_Title
,
[
libvlc_meta_Artist
]
=
vlc_meta_Artist
,
[
libvlc_meta_Genre
]
=
vlc_meta_Genre
,
[
libvlc_meta_Copyright
]
=
vlc_meta_Copyright
,
...
...
@@ -195,6 +196,10 @@ char * libvlc_media_descriptor_get_meta( libvlc_media_descriptor_t *p_md,
psz_meta
=
input_item_GetMeta
(
p_md
->
p_input_item
,
meta_conversion
[
e_meta
]
);
/* Should be integrated in core */
if
(
!
psz_meta
&&
e_meta
==
libvlc_meta_Title
&&
p_md
->
p_input_item
->
psz_name
)
return
strdup
(
p_md
->
p_input_item
->
psz_name
);
if
(
!
psz_meta
)
return
NULL
;
...
...
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