summaryrefslogtreecommitdiff
path: root/src/demuxers/demux.h
diff options
context:
space:
mode:
authorMarco Zuehlke <andruil@users.sourceforge.net>2004-01-23 09:24:45 +0000
committerMarco Zuehlke <andruil@users.sourceforge.net>2004-01-23 09:24:45 +0000
commitdfa3300f00e87d385f8bd1fa03ba304db3ca2a72 (patch)
tree37cada7ed7d736f030626015d49934094982f44e /src/demuxers/demux.h
parentf7df7132bfe4b2750e3b9dec247139cd806f86f9 (diff)
downloadxine-lib-dfa3300f00e87d385f8bd1fa03ba304db3ca2a72.tar.gz
xine-lib-dfa3300f00e87d385f8bd1fa03ba304db3ca2a72.tar.bz2
implement chapter skipping in ogm files
always send comment header while in preview mode reset ogg_stream_state after seeking CVS patchset: 6061 CVS date: 2004/01/23 09:24:45
Diffstat (limited to 'src/demuxers/demux.h')
-rw-r--r--src/demuxers/demux.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/demuxers/demux.h b/src/demuxers/demux.h
index c132a396b..a28046d7d 100644
--- a/src/demuxers/demux.h
+++ b/src/demuxers/demux.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux.h,v 1.35 2004/01/12 17:35:14 miguelfreitas Exp $
+ * $Id: demux.h,v 1.36 2004/01/23 09:24:52 andruil Exp $
*/
#ifndef HAVE_DEMUX_H
@@ -189,6 +189,18 @@ struct demux_plugin_s {
#define DEMUX_CAP_AUDIOLANG 0x00000008
#define DEMUX_CAP_SPULANG 0x00000010
+/*
+ * DEMUX_CAP_CHAPTERS:
+ * The media streams provided by this plugin have an internal
+ * structure dividing it into segments usable for navigation.
+ * For those plugins, the behaviour of the skip button in UIs
+ * should be changed from "next MRL" to "next chapter" by
+ * sending XINE_EVENT_INPUT_NEXT.
+ * Same bits as INPUT capabilities.
+ */
+
+#define DEMUX_CAP_CHAPTERS 0x00000080
+
#define DEMUX_OPTIONAL_UNSUPPORTED 0
#define DEMUX_OPTIONAL_SUCCESS 1