mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
avidemux: Reverse playback does not consider segment.start
During reverse playback, the media should stop playing at segment.start This does not happen, and avidemux continues to process data even when current timestamp is less that segment.start. https://bugzilla.gnome.org/show_bug.cgi?id=755094
This commit is contained in:
parent
e6a4c81af5
commit
bff62bfe13
1 changed files with 4 additions and 0 deletions
|
@ -5186,6 +5186,10 @@ gst_avi_demux_loop_data (GstAviDemux * avi)
|
|||
&& (timestamp > avi->segment.stop)) {
|
||||
goto eos_stop;
|
||||
}
|
||||
} else {
|
||||
if (keyframe && GST_CLOCK_TIME_IS_VALID (avi->segment.start)
|
||||
&& (timestamp < avi->segment.start))
|
||||
goto eos_stop;
|
||||
}
|
||||
|
||||
GST_LOG ("reading buffer (size=%" G_GUINT64_FORMAT "), stream %d, pos %"
|
||||
|
|
Loading…
Reference in a new issue