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
065f6bb1
Commit
065f6bb1
authored
Jun 11, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Vorbis: extract TotalTrack information
parent
dee5fcf1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/demux/vorbis.h
modules/demux/vorbis.h
+3
-0
No files found.
modules/demux/vorbis.h
View file @
065f6bb1
...
...
@@ -109,6 +109,7 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
bool
hasTitle
=
false
;
bool
hasAlbum
=
false
;
bool
hasTrackNumber
=
false
;
bool
hasTrackTotal
=
false
;
bool
hasArtist
=
false
;
bool
hasCopyright
=
false
;
bool
hasDescription
=
false
;
...
...
@@ -151,6 +152,8 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
IF_EXTRACT
(
"TITLE="
,
Title
)
else
IF_EXTRACT
(
"ALBUM="
,
Album
)
else
IF_EXTRACT
(
"TRACKNUMBER="
,
TrackNumber
)
else
IF_EXTRACT
(
"TRACKTOTAL="
,
TrackTotal
)
else
IF_EXTRACT
(
"TOTALTRACKS="
,
TrackTotal
)
else
IF_EXTRACT
(
"ARTIST="
,
Artist
)
else
IF_EXTRACT
(
"COPYRIGHT="
,
Copyright
)
else
IF_EXTRACT
(
"ORGANIZATION="
,
Publisher
)
...
...
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