[vlc-commits] demux: return true for DEMUX_IS_PLAYLIST if stream is a directory

Thomas Guillem git at videolan.org
Tue Jan 20 07:18:46 CET 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jan 19 11:22:44 2015 +0100| [292239ece41bdb4fc51cc57ae5774fd09b32bcf7] | committer: Rémi Denis-Courmont

demux: return true for DEMUX_IS_PLAYLIST if stream is a directory

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=292239ece41bdb4fc51cc57ae5774fd09b32bcf7
---

 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:



More information about the vlc-commits mailing list