control/media_descriptor.c: Use the default input name.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 19 Aug 2007 21:52:45 +0000 (21:52 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 19 Aug 2007 21:52:45 +0000 (21:52 +0000)
src/control/media_descriptor.c

index 3670975..15129a3 100644 (file)
@@ -203,7 +203,7 @@ libvlc_media_descriptor_t * libvlc_media_descriptor_new(
     input_item_t * p_input_item;
     libvlc_media_descriptor_t * p_md;
 
-    p_input_item = input_ItemNew( p_instance->p_libvlc_int, psz_mrl, psz_mrl );
+    p_input_item = input_ItemNew( p_instance->p_libvlc_int, psz_mrl, NULL );
 
     if (!p_input_item)
     {
@@ -295,3 +295,14 @@ char * libvlc_media_descriptor_get_meta( libvlc_media_descriptor_t *p_md,
     return psz_meta;
 }
 
+/**************************************************************************
+ * Getter for meta information
+ **************************************************************************/
+typedef char * libvlc_tag_t;
+void libvlc_media_descriptor_set_tag( libvlc_media_descriptor_t *p_md,
+                                        const libvlc_tag_t tag,
+                                        libvlc_exception_t *p_e )
+{
+
+}
+