Commit 292239ec authored by Thomas Guillem's avatar Thomas Guillem Committed by Rémi Denis-Courmont

demux: return true for DEMUX_IS_PLAYLIST if stream is a directory

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 6515826a
...@@ -308,6 +308,9 @@ int demux_vaControlHelper( stream_t *s, ...@@ -308,6 +308,9 @@ int demux_vaControlHelper( stream_t *s,
case DEMUX_GET_META: case DEMUX_GET_META:
return stream_vaControl( s, STREAM_GET_META, args ); 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_PTS_DELAY:
case DEMUX_GET_FPS: case DEMUX_GET_FPS:
case DEMUX_HAS_UNSUPPORTED_META: case DEMUX_HAS_UNSUPPORTED_META:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment