# HG changeset patch # User nicodvb # Date 1156187418 0 # Node ID 1f117b5fb5a1465745d87e8ae9471cf18d88614e # Parent 07209f48e527b9a18804bafcea7af9c2e3eadac9 added STREAM_CTRL_GET_NUM_CHAPTERS to get total number of chapters from the stream reader diff -r 07209f48e527 -r 1f117b5fb5a1 stream/stream.h --- a/stream/stream.h Mon Aug 21 16:33:13 2006 +0000 +++ b/stream/stream.h Mon Aug 21 19:10:18 2006 +0000 @@ -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"