[MPlayer-dev-eng] [PATCH] Allow EDL's to work better with DVD's
Roger Pack
rogerdpack2 at gmail.com
Fri Apr 20 02:27:38 CEST 2012
Another another patch that allows seeks within DVD's to be "more precise":
Let me know if you want them all combined into one larger patch or the like.
-roger-
diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c
index cff605b..231e9de 100644
--- a/libmpdemux/demuxer.c
+++ b/libmpdemux/demuxer.c
@@ -1349,7 +1349,7 @@ int demux_seek(demuxer_t *demuxer, float
rel_seek_secs, float audio_delay,
else {
if (demuxer->stream_pts == MP_NOPTS_VALUE)
goto dmx_seek;
- pts = demuxer->stream_pts;
+ pts = demuxer_get_current_time(demuxer);
}
if (flags & SEEK_FACTOR) {
More information about the MPlayer-dev-eng
mailing list