diff libmpdemux/demuxer.h @ 34386:206264c532f5

Add new stream control command STREAM_CTRL_GET_NUM_TITLES. This provides the total number of titles (aka tracks) of CDs / VCDs / DVDs. Additionally, add a titles property to the get_property slave command.
author ib
date Sat, 31 Dec 2011 12:20:08 +0000
parents d2a41814c879
children 26eddbd6353a
line wrap: on
line diff
--- a/libmpdemux/demuxer.h	Thu Dec 29 19:42:58 2011 +0000
+++ b/libmpdemux/demuxer.h	Sat Dec 31 12:20:08 2011 +0000
@@ -263,6 +263,8 @@
   // pointer to teletext decoder private data, if demuxer stream contains teletext
   void *teletext;
 
+  int num_titles;
+
   demux_chapter_t* chapters;
   int num_chapters;