diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-10 23:20:05 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-10 23:20:05 +0000 |
commit | 0d40667c8cf05c8957ad2e1bfec41ca41c88888a (patch) | |
tree | c2130f0935987f835534812aa4fe706951d87f4a /stream/stream_dvdnav.c | |
parent | 36ec82183681b5c751026e2c2d121cb4bd5bc87b (diff) | |
download | mpv-0d40667c8cf05c8957ad2e1bfec41ca41c88888a.tar.bz2 mpv-0d40667c8cf05c8957ad2e1bfec41ca41c88888a.tar.xz |
Move dvd_speed and dvd_set_speed to dvd_common and implement -dvd-speed
support for dvdnav.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29890 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r-- | stream/stream_dvdnav.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 1a93611182..eafc922f80 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -87,6 +87,8 @@ static dvdnav_priv_t * new_dvdnav_stream(char * filename) { return NULL; } + dvd_set_speed(priv->filename, dvd_speed); + if(dvdnav_open(&(priv->dvdnav),priv->filename)!=DVDNAV_STATUS_OK) { free(priv->filename); @@ -291,6 +293,7 @@ static void stream_dvdnav_close(stream_t *s) { dvdnav_priv_t *priv = s->priv; dvdnav_close(priv->dvdnav); priv->dvdnav = NULL; + dvd_set_speed(priv->filename, -1); free(priv); } |