Commit 2a62ce12 authored by Laurent Aimar's avatar Laurent Aimar

Changed vlc_meta_SetTracknum to *Num for consistency.

parent f7c9acae
......@@ -80,7 +80,7 @@ struct vlc_meta_t
#define vlc_meta_SetGenre( meta, b ) vlc_meta_Set( meta, vlc_meta_Genre, b )
#define vlc_meta_SetCopyright( meta, b ) vlc_meta_Set( meta, vlc_meta_Copyright, b )
#define vlc_meta_SetAlbum( meta, b ) vlc_meta_Set( meta, vlc_meta_Album, b )
#define vlc_meta_SetTracknum( meta, b ) vlc_meta_Set( meta, vlc_meta_TrackNumber, b )
#define vlc_meta_SetTrackNum( meta, b ) vlc_meta_Set( meta, vlc_meta_TrackNumber, b )
#define vlc_meta_SetDescription( meta, b ) vlc_meta_Set( meta, vlc_meta_Description, b )
#define vlc_meta_SetRating( meta, b ) vlc_meta_Set( meta, vlc_meta_Rating, b )
#define vlc_meta_SetDate( meta, b ) vlc_meta_Set( meta, vlc_meta_Date, b )
......
......@@ -903,7 +903,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
break;
case FOURCC_0xa9trk: /* Track */
SET( vlc_meta_SetTracknum );
SET( vlc_meta_SetTrackNum );
break;
case FOURCC_0xa9cmt: /* Commment */
......
......@@ -215,7 +215,7 @@ static void ParseID3Tag( demux_t *p_demux, const uint8_t *p_data, int i_size )
}
else if( DESCR_IS( "Track number/position in set" ) )
{
vlc_meta_SetTracknum( p_meta, psz_temp );
vlc_meta_SetTrackNum( p_meta, psz_temp );
}
else if( DESCR_IS( "Album/movie/show title" ) )
{
......@@ -345,7 +345,7 @@ static void ParseAPEvXTag( demux_t *p_demux, const uint8_t *p_data, int i_data )
char *p = strchr( psz_value, '/' );
if( p )
*p++ = '\0';
vlc_meta_SetTracknum( p_meta, psz_value );
vlc_meta_SetTrackNum( p_meta, psz_value );
}
else if( IS( "Comment" ) )
vlc_meta_SetDescription( p_meta, psz_value );
......
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