summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.h
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-19 19:41:04 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-19 19:41:04 +0000
commit84c982c65fcd3d26849891bfb55f3f6a8aff4059 (patch)
tree14b03198dfc77fe8c0e69aa880800ef86041d403 /stream/stream_dvdnav.h
parent2dfbc4cea7de7c9e340fb232949f3923a9d30772 (diff)
downloadmpv-84c982c65fcd3d26849891bfb55f3f6a8aff4059.tar.bz2
mpv-84c982c65fcd3d26849891bfb55f3f6a8aff4059.tar.xz
implemented STREAM_CTRL_GET_TIME_LENGTH (duration of the pgc playing)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19459 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvdnav.h')
-rw-r--r--stream/stream_dvdnav.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_dvdnav.h b/stream/stream_dvdnav.h
index fdea2d97f6..ab93bc02b4 100644
--- a/stream/stream_dvdnav.h
+++ b/stream/stream_dvdnav.h
@@ -18,6 +18,7 @@ typedef struct {
int started; /* Has mplayer initialization finished? */
unsigned char prebuf[STREAM_BUFFER_SIZE]; /* prefill buffer */
int prelen; /* length of prefill buffer */
+ unsigned int duration; /* in milliseconds */
} dvdnav_priv_t;
extern int dvd_nav_still;