Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7136d004
Commit
7136d004
authored
Oct 16, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libVLC: Expose DiscTotal meta
parent
ab163d3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
include/vlc/libvlc_media.h
include/vlc/libvlc_media.h
+2
-1
lib/media.c
lib/media.c
+4
-2
No files found.
include/vlc/libvlc_media.h
View file @
7136d004
...
@@ -72,7 +72,8 @@ typedef enum libvlc_meta_t {
...
@@ -72,7 +72,8 @@ typedef enum libvlc_meta_t {
libvlc_meta_ShowName
,
libvlc_meta_ShowName
,
libvlc_meta_Actors
,
libvlc_meta_Actors
,
libvlc_meta_AlbumArtist
,
libvlc_meta_AlbumArtist
,
libvlc_meta_DiscNumber
libvlc_meta_DiscNumber
,
libvlc_meta_DiscTotal
/* Add new meta types HERE */
/* Add new meta types HERE */
}
libvlc_meta_t
;
}
libvlc_meta_t
;
...
...
lib/media.c
View file @
7136d004
...
@@ -71,7 +71,8 @@ static const vlc_meta_type_t libvlc_to_vlc_meta[] =
...
@@ -71,7 +71,8 @@ static const vlc_meta_type_t libvlc_to_vlc_meta[] =
[
libvlc_meta_ShowName
]
=
vlc_meta_ShowName
,
[
libvlc_meta_ShowName
]
=
vlc_meta_ShowName
,
[
libvlc_meta_Actors
]
=
vlc_meta_Actors
,
[
libvlc_meta_Actors
]
=
vlc_meta_Actors
,
[
libvlc_meta_AlbumArtist
]
=
vlc_meta_AlbumArtist
,
[
libvlc_meta_AlbumArtist
]
=
vlc_meta_AlbumArtist
,
[
libvlc_meta_DiscNumber
]
=
vlc_meta_DiscNumber
[
libvlc_meta_DiscNumber
]
=
vlc_meta_DiscNumber
,
[
libvlc_meta_DiscTotal
]
=
vlc_meta_DiscTotal
};
};
static
const
libvlc_meta_t
vlc_to_libvlc_meta
[]
=
static
const
libvlc_meta_t
vlc_to_libvlc_meta
[]
=
...
@@ -101,7 +102,8 @@ static const libvlc_meta_t vlc_to_libvlc_meta[] =
...
@@ -101,7 +102,8 @@ static const libvlc_meta_t vlc_to_libvlc_meta[] =
[
vlc_meta_ShowName
]
=
libvlc_meta_ShowName
,
[
vlc_meta_ShowName
]
=
libvlc_meta_ShowName
,
[
vlc_meta_Actors
]
=
libvlc_meta_Actors
,
[
vlc_meta_Actors
]
=
libvlc_meta_Actors
,
[
vlc_meta_AlbumArtist
]
=
libvlc_meta_AlbumArtist
,
[
vlc_meta_AlbumArtist
]
=
libvlc_meta_AlbumArtist
,
[
vlc_meta_DiscNumber
]
=
libvlc_meta_DiscNumber
[
vlc_meta_DiscNumber
]
=
libvlc_meta_DiscNumber
,
[
vlc_meta_DiscTotal
]
=
libvlc_meta_DiscTotal
};
};
static
libvlc_media_list_t
*
media_get_subitems
(
libvlc_media_t
*
p_md
,
static
libvlc_media_list_t
*
media_get_subitems
(
libvlc_media_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