Commit 88d6c465 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Ogg: Add parsing for publisher meta

parent 71a82406
...@@ -66,6 +66,7 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d ...@@ -66,6 +66,7 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
bool hasDescription = false; bool hasDescription = false;
bool hasGenre = false; bool hasGenre = false;
bool hasDate = false; bool hasDate = false;
bool hasPublisher = false;
for( ; i_comment > 0; i_comment-- ) 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 ...@@ -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("TRACKNUMBER=", TrackNumber )
else IF_EXTRACT("ARTIST=", Artist ) else IF_EXTRACT("ARTIST=", Artist )
else IF_EXTRACT("COPYRIGHT=", Copyright ) else IF_EXTRACT("COPYRIGHT=", Copyright )
else IF_EXTRACT("ORGANIZATION=", Publisher )
else IF_EXTRACT("DESCRIPTION=", Description ) else IF_EXTRACT("DESCRIPTION=", Description )
else IF_EXTRACT("GENRE=", Genre ) else IF_EXTRACT("GENRE=", Genre )
else IF_EXTRACT("DATE=", Date ) else IF_EXTRACT("DATE=", Date )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment