[vlc-commits] xspf: add MIME detection
Edward Wang
git at videolan.org
Sun Oct 27 09:44:38 CET 2013
vlc | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sun Oct 27 00:39:22 2013 -0400| [d22f29ab98301abc8d852b1ca1a8dcfbc47c1bc7] | committer: Rémi Denis-Courmont
xspf: add MIME detection
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d22f29ab98301abc8d852b1ca1a8dcfbc47c1bc7
---
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;
}
More information about the vlc-commits
mailing list