Commit 605b5cb8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

demux: demux_vaControlHelper() is not meant for playlist demuxers

The demuxers that can this function predate directory/explicit playlist
support.
parent efe323f8
......@@ -323,11 +323,8 @@ int demux_vaControlHelper( stream_t *s,
return stream_vaControl( s, STREAM_GET_META, args );
case DEMUX_IS_PLAYLIST:
{
bool *pb_isplaylist = va_arg( args, bool * );
return stream_Control( s, STREAM_IS_DIRECTORY, pb_isplaylist,
NULL, NULL );
}
*va_arg( args, bool * ) = false;
return VLC_SUCCESS;
case DEMUX_GET_PTS_DELAY:
case DEMUX_GET_FPS:
......
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