summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-21 19:10:18 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-21 19:10:18 +0000
commit28a6ef459131dd2c556050990aabe83b237bb496 (patch)
tree279dfec8c5142d770256c3d25ce98e406294253d /stream
parentcd59e2161098cc5aacc2ec76247c49a42104d5ee (diff)
downloadmpv-28a6ef459131dd2c556050990aabe83b237bb496.tar.bz2
mpv-28a6ef459131dd2c556050990aabe83b237bb496.tar.xz
added STREAM_CTRL_GET_NUM_CHAPTERS to get total number of chapters from the stream reader
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19481 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h
index c89e494099..24a587a110 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -54,6 +54,7 @@
#define STREAM_CTRL_GET_TIME_LENGTH 1
#define STREAM_CTRL_SEEK_TO_CHAPTER 2
#define STREAM_CTRL_GET_CURRENT_CHAPTER 3
+#define STREAM_CTRL_GET_NUM_CHAPTERS 4
#ifdef MPLAYER_NETWORK
#include "network.h"