mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 11:01:35 +00:00
at start, reset dvdnav at the beginning of the stream after the first read (that is done to workaround a bug in dvdnav from cvs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19787 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
311e24b548
commit
3606773eff
@ -84,6 +84,7 @@ dvdnav_priv_t * new_dvdnav_stream(char * filename) {
|
|||||||
char buf[2048];
|
char buf[2048];
|
||||||
|
|
||||||
dvdnav_get_next_block(dvdnav_priv->dvdnav,buf,&event,&len);
|
dvdnav_get_next_block(dvdnav_priv->dvdnav,buf,&event,&len);
|
||||||
|
dvdnav_sector_search(dvdnav_priv->dvdnav, 0, SEEK_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* turn off dvdnav caching */
|
/* turn off dvdnav caching */
|
||||||
|
Loading…
Reference in New Issue
Block a user