[vlc-devel] [PATCH 2/5] xspf: add MIME detection

Edward Wang edward.c.wang at compdigitec.com
Sun Oct 27 05:39:22 CET 2013


---
 modules/demux/playlist/xspf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/playlist/xspf.c b/modules/demux/playlist/xspf.c
index 8606759..11919bc 100644
--- a/modules/demux/playlist/xspf.c
+++ b/modules/demux/playlist/xspf.c
@@ -84,7 +84,7 @@ static int Demux(demux_t *);
  */
 int Import_xspf(vlc_object_t *p_this)
 {
-    DEMUX_BY_EXTENSION_OR_FORCED_MSG(".xspf", "xspf-open",
+    DEMUX_BY_EXTENSION_OR_MIMETYPE(".xspf", "application/xspf+xml",
                                       "using XSPF playlist reader");
     return VLC_SUCCESS;
 }
-- 
1.8.4.rc3




More information about the vlc-devel mailing list