mirror of https://github.com/mpv-player/mpv
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:
parent
405a7e52e3
commit
6eb0027e5a
|
@ -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
|
dvdnav_still_skip(dvdnav_priv->dvdnav); // don't let dvdnav stall on this image
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
case DVDNAV_WAIT:
|
||||||
|
dvdnav_wait_skip(dvdnav_priv->dvdnav);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue