[vlc-devel] commit: Recognize .m3u8 extension ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Oct 31 13:59:17 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 31 14:55:59 2009 +0200| [4c599fee36ab13203d54c6930ed4d2e775436f74] | committer: Rémi Denis-Courmont
Recognize .m3u8 extension
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c599fee36ab13203d54c6930ed4d2e775436f74
---
include/vlc_interface.h | 2 +-
src/input/demux.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/vlc_interface.h b/include/vlc_interface.h
index eeaa182..4e45539 100644
--- a/include/vlc_interface.h
+++ b/include/vlc_interface.h
@@ -179,7 +179,7 @@ typedef enum vlc_dialog {
"*.ogg;*.ogm;*.ogv;*.ogx;*.ps;" \
"*.rec;*.rm;*.rmvb;*.tod;*.ts;*.vob;*.wmv"
-#define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.ifo;*.m3u;*.pls;*.ram;*.rar;*.sdp;*.vlc;*.xspf;*.zip"
+#define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.ifo;*.m3u;*.m3u8;*.pls;*.ram;*.rar;*.sdp;*.vlc;*.xspf;*.zip"
#define EXTENSIONS_MEDIA EXTENSIONS_VIDEO ";" EXTENSIONS_AUDIO ";" \
EXTENSIONS_PLAYLIST
diff --git a/src/input/demux.c b/src/input/demux.c
index 2a37ab1..d2cddb2 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -101,7 +101,8 @@ demux_t *__demux_New( vlc_object_t *p_obj, input_thread_t *p_parent_input,
{ "flac", "flac" },
{ "dv", "dv" },
{ "drc", "dirac" },
- { "m3u", "playlist" },
+ { "m3u", "m3u" },
+ { "m3u8", "m3u8" },
{ "mkv", "mkv" }, { "mka", "mkv" }, { "mks", "mkv" },
{ "mp4", "mp4" }, { "m4a", "mp4" }, { "mov", "mp4" }, { "moov", "mp4" },
{ "nsv", "nsv" },
More information about the vlc-devel
mailing list