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
a18fdf18
Commit
a18fdf18
authored
Aug 10, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/media_descriptor.c: Implement more meta.
parent
b10cf533
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
3 deletions
+33
-3
include/vlc/libvlc_structures.h
include/vlc/libvlc_structures.h
+16
-1
src/control/media_descriptor.c
src/control/media_descriptor.c
+17
-2
No files found.
include/vlc/libvlc_structures.h
View file @
a18fdf18
...
...
@@ -83,7 +83,22 @@ typedef struct libvlc_tag_query_t libvlc_tag_query_t;
typedef
enum
libvlc_meta_t
{
libvlc_meta_Title
,
libvlc_meta_Artist
libvlc_meta_Artist
,
libvlc_meta_Genre
,
libvlc_meta_Copyright
,
libvlc_meta_Album
,
libvlc_meta_TrackNumber
,
libvlc_meta_Description
,
libvlc_meta_Rating
,
libvlc_meta_Date
,
libvlc_meta_Settings
,
libvlc_meta_URL
,
libvlc_meta_Language
,
libvlc_meta_NowPlaying
,
libvlc_meta_Publisher
,
libvlc_meta_EncodedBy
,
libvlc_meta_ArtworkURL
,
libvlc_meta_TrackID
}
libvlc_meta_t
;
/**@} */
...
...
src/control/media_descriptor.c
View file @
a18fdf18
...
...
@@ -166,7 +166,22 @@ libvlc_media_descriptor_get_mrl( libvlc_media_descriptor_t * p_md,
static
const
int
meta_conversion
[]
=
{
[
libvlc_meta_Title
]
=
0
,
/* Offset in the vlc_meta_t structure */
[
libvlc_meta_Artist
]
=
1
[
libvlc_meta_Artist
]
=
1
,
[
libvlc_meta_Genre
]
=
2
,
[
libvlc_meta_Copyright
]
=
3
,
[
libvlc_meta_Album
]
=
4
,
[
libvlc_meta_TrackNumber
]
=
5
,
[
libvlc_meta_Description
]
=
6
,
[
libvlc_meta_Rating
]
=
7
,
[
libvlc_meta_Date
]
=
8
,
[
libvlc_meta_Settings
]
=
9
,
[
libvlc_meta_URL
]
=
10
,
[
libvlc_meta_Language
]
=
11
,
[
libvlc_meta_NowPlaying
]
=
12
,
[
libvlc_meta_Publisher
]
=
13
,
[
libvlc_meta_EncodedBy
]
=
14
,
[
libvlc_meta_ArtworkURL
]
=
15
,
[
libvlc_meta_TrackID
]
=
16
};
char
*
libvlc_media_descriptor_get_meta
(
libvlc_media_descriptor_t
*
p_md
,
...
...
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