comparison libmpdemux/dvdnav_stream.c @ 18898:a1eb5320279e

respect dvdnav's requests of WAIT to prevent while(1)
author nicodvb
date Tue, 04 Jul 2006 21:12:12 +0000
parents 5c8acc972551
children d2d9d011203f
comparison
equal deleted inserted replaced
18897:78547a882a09 18898:a1eb5320279e
214 //if (dvdnav_priv->started) dvd_nav_still=1; 214 //if (dvdnav_priv->started) dvd_nav_still=1;
215 //else 215 //else
216 dvdnav_still_skip(dvdnav_priv->dvdnav); // don't let dvdnav stall on this image 216 dvdnav_still_skip(dvdnav_priv->dvdnav); // don't let dvdnav stall on this image
217 217
218 break; 218 break;
219 case DVDNAV_WAIT:
220 dvdnav_wait_skip(dvdnav_priv->dvdnav);
221 break;
219 } 222 }
220 } 223 }
221 224
222 // got an event, repeat the read 225 // got an event, repeat the read
223 dvdnav_stream_add_event(dvdnav_priv,event,buf,*len); 226 dvdnav_stream_add_event(dvdnav_priv,event,buf,*len);