[vlc-commits] demux: add DEMUX_IS_PLAYLIST
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:43 2015 +0100| [6515826a931516e57db9e8042294996cbeeadf73] | committer: 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 <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6515826a931516e57db9e8042294996cbeeadf73
---
include/vlc_demux.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/vlc_demux.h b/include/vlc_demux.h
index 19f4d09..93197ad 100644
--- a/include/vlc_demux.h
+++ b/include/vlc_demux.h
@@ -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 */
More information about the vlc-commits
mailing list