]> git.sesse.net Git - vlc/commitdiff
Hackish fix for 'TITLE' vlc_meta_get
authorAntoine Cellerier <dionoea@videolan.org>
Wed, 19 Apr 2006 23:30:20 +0000 (23:30 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Wed, 19 Apr 2006 23:30:20 +0000 (23:30 +0000)
modules/control/http/rpn.c

index 3694fcbef577a7bd6f736c826fef76f3045cfd22..46ae6e0b824b526e5b754c6db9060a50902cc762 100644 (file)
@@ -978,6 +978,8 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t  *vars,
                 {
                     psz_val = vlc_input_item_GetInfo( p_item,
                                 _(VLC_META_INFO_CAT), _(VLC_META_TITLE) );
+                    if( psz_val == NULL )
+                        psz_val == strdup( p_item->psz_name );
                 }
                 else if( !strcmp( psz_meta, "ALBUM" ) )
                 {