[vlc-devel] [PATCH 02/12] demux: return true for DEMUX_IS_PLAYLIST if stream is a directory

Thomas Guillem thomas at gllm.fr
Mon Jan 19 11:22:44 CET 2015


---
 src/input/demux.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/input/demux.c b/src/input/demux.c
index a0095ab..dcc6b16 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -308,6 +308,9 @@ int demux_vaControlHelper( stream_t *s,
         case DEMUX_GET_META:
             return stream_vaControl( s, STREAM_GET_META, args );
 
+        case DEMUX_IS_PLAYLIST:
+            return stream_vaControl(s, STREAM_IS_DIRECTORY, args );
+
         case DEMUX_GET_PTS_DELAY:
         case DEMUX_GET_FPS:
         case DEMUX_HAS_UNSUPPORTED_META:
-- 
2.1.3




More information about the vlc-devel mailing list