Commit 6515826a authored by Thomas Guillem's avatar Thomas Guillem Committed by Rémi Denis-Courmont

demux: add DEMUX_IS_PLAYLIST

It returns true if the demux is a playlist (an archive, a directory or a
network share is also a playlist).

It will be used by the preparser in order to know if it should call demux_Demux
to fetch sub items.
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent f870bdc6
......@@ -173,6 +173,10 @@ enum demux_query_e
DEMUX_CAN_SEEK, /* arg1= bool* can fail (assume false)*/
/* DEMUX_IS_PLAYLIST returns true if the demux is a playlist
* (an archive, a directory or a network share is also a playlist) */
DEMUX_IS_PLAYLIST, /* arg1= bool* can fail (assume false)*/
/* Navigation */
DEMUX_NAV_ACTIVATE, /* res=can fail */
DEMUX_NAV_UP, /* res=can fail */
......
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