respect dvdnav's requests of WAIT to prevent while(1)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18903 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-07-04 21:12:12 +00:00
parent 405a7e52e3
commit 6eb0027e5a
1 changed files with 3 additions and 0 deletions

View File

@ -216,6 +216,9 @@ int dvdnav_stream_read(dvdnav_priv_t * dvdnav_priv, unsigned char *buf, int *len
dvdnav_still_skip(dvdnav_priv->dvdnav); // don't let dvdnav stall on this image
break;
case DVDNAV_WAIT:
dvdnav_wait_skip(dvdnav_priv->dvdnav);
break;
}
}