[vlc-devel] commit: Changed vlc_meta_SetTracknum to *Num for consistency. ( Laurent Aimar )

git version control git at videolan.org
Sun Feb 1 15:05:13 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Feb  1 14:46:43 2009 +0100| [2a62ce12fb74d2d3eb57d6ef66186e093b9cdaec] | committer: Laurent Aimar 

Changed vlc_meta_SetTracknum to *Num for consistency.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a62ce12fb74d2d3eb57d6ef66186e093b9cdaec
---

 include/vlc_meta.h           |    2 +-
 modules/demux/mp4/mp4.c      |    2 +-
 modules/meta_engine/id3tag.c |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/vlc_meta.h b/include/vlc_meta.h
index 124b8ec..e5b11b8 100644
--- a/include/vlc_meta.h
+++ b/include/vlc_meta.h
@@ -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 )
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 1bab7f4..de0b001 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -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 */
diff --git a/modules/meta_engine/id3tag.c b/modules/meta_engine/id3tag.c
index fd02101..78a85ce 100644
--- a/modules/meta_engine/id3tag.c
+++ b/modules/meta_engine/id3tag.c
@@ -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 );




More information about the vlc-devel mailing list