[vlc-commits] Ogg: Add parsing for publisher meta
Jean-Baptiste Kempf
git at videolan.org
Thu Apr 5 22:41:50 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Apr 5 16:53:39 2012 +0200| [88d6c465919b9558cb442fde34251261ca21e9ff] | committer: Jean-Baptiste Kempf
Ogg: Add parsing for publisher meta
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88d6c465919b9558cb442fde34251261ca21e9ff
---
modules/demux/vorbis.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/demux/vorbis.h b/modules/demux/vorbis.h
index b3d42a3..0654083 100644
--- a/modules/demux/vorbis.h
+++ b/modules/demux/vorbis.h
@@ -66,6 +66,7 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
bool hasDescription = false;
bool hasGenre = false;
bool hasDate = false;
+ bool hasPublisher = false;
for( ; i_comment > 0; i_comment-- )
{
@@ -104,6 +105,7 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
else IF_EXTRACT("TRACKNUMBER=", TrackNumber )
else IF_EXTRACT("ARTIST=", Artist )
else IF_EXTRACT("COPYRIGHT=", Copyright )
+ else IF_EXTRACT("ORGANIZATION=", Publisher )
else IF_EXTRACT("DESCRIPTION=", Description )
else IF_EXTRACT("GENRE=", Genre )
else IF_EXTRACT("DATE=", Date )
More information about the vlc-commits
mailing list