]> git.sesse.net Git - vlc/commitdiff
* xspf.c: add XSPF annotation element as description
authorYoann Peronneau <yoann@videolan.org>
Sun, 20 May 2007 17:13:25 +0000 (17:13 +0000)
committerYoann Peronneau <yoann@videolan.org>
Sun, 20 May 2007 17:13:25 +0000 (17:13 +0000)
modules/demux/playlist/xspf.c

index ceea35e67e27c15427b5130ba784519f78d1cc0c..6dfd44c038f7e2974625c8514744645e2770fde0 100644 (file)
@@ -635,6 +635,10 @@ static vlc_bool_t set_item_info SIMPLE_INTERFACE
         long i_num = atol( psz_value );
         p_input->i_duration = i_num*1000;
     }
+    else if( !strcmp( psz_name, "annotation" ) )
+    {
+        vlc_meta_SetDescription( p_input->p_meta, psz_value );
+    }
     return VLC_TRUE;
 }