summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-15 09:13:24 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-15 09:13:24 +0000
commit25f19895b5916aac640663730ee3f7613e627d1d (patch)
treec94dda287949d2bb359e29acd990959969cab860 /stream/stream_dvdnav.c
parent31608b01c76568ed7f155213f8408371640f1b6b (diff)
downloadmpv-25f19895b5916aac640663730ee3f7613e627d1d.tar.bz2
mpv-25f19895b5916aac640663730ee3f7613e627d1d.tar.xz
Removed dead code related to stills.
patch by Attila Ötvös (oattila chellu hu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24512 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index fa9845dfc2..59053d7621 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -45,8 +45,6 @@ static struct m_struct_st stream_opts = {
stream_opts_fields
};
-int dvd_nav_still=0; /* are we on a still picture? */
-
static int seek(stream_t *s, off_t newpos);
static dvdnav_priv_t * new_dvdnav_stream(char * filename) {
@@ -146,12 +144,6 @@ static int dvdnav_stream_read(dvdnav_priv_t * priv, unsigned char *buf, int *len
if (!priv) return -1;
if (!buf) return -1;
- if (dvd_nav_still) {
- mp_msg(MSGT_OPEN,MSGL_V, "%s: got a stream_read while I should be asleep!\n",__FUNCTION__);
- *len=0;
- return -1;
- }
-
if (dvdnav_get_next_block(priv->dvdnav,buf,&event,len)!=DVDNAV_STATUS_OK) {
mp_msg(MSGT_OPEN,MSGL_V, "Error getting next block from DVD %d (%s)\n",event, dvdnav_err_to_string(priv->dvdnav) );
*len=-1;