# HG changeset patch # User nicodvb # Date 1189847604 0 # Node ID 240f9144b3f509136e63b4d297154116f956eff4 # Parent 70814421d469372d820ef5577ff3eacc24f874f6 Removed dead code related to stills. patch by Attila tvs (oattila chellu hu) diff -r 70814421d469 -r 240f9144b3f5 stream/stream_dvdnav.c --- a/stream/stream_dvdnav.c Sat Sep 15 08:49:58 2007 +0000 +++ b/stream/stream_dvdnav.c Sat Sep 15 09:13:24 2007 +0000 @@ -45,8 +45,6 @@ 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 @@ 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;