Created
November 11, 2011 17:52
-
-
Save rdp/1358679 to your computer and use it in GitHub Desktop.
mplayer use new accurate dvdnav method for absolute seeking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: stream/stream_dvdnav.c | |
=================================================================== | |
--- stream/stream_dvdnav.c (revision 34341) | |
+++ stream/stream_dvdnav.c (working copy) | |
@@ -465,7 +465,7 @@ | |
case STREAM_CTRL_SEEK_TO_TIME: | |
{ | |
uint64_t tm = *(double *)arg * 90000; | |
- if(dvdnav_time_search(priv->dvdnav, tm) == DVDNAV_STATUS_OK) | |
+ if(dvdnav_jump_to_sector_by_time(priv->dvdnav, tm) == DVDNAV_STATUS_OK) | |
return 1; | |
break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment