mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
baseparse: do not ignore TIME segments
TIME segments are being ignored and a standard initialized segment is used instead. This causes issues as not properly detecting reverse playback or not cliping output based on the segment. This seems to be a regression from one of the GstSegment/GstEvent redesigns on the 0.10 -> 1.0 transition
This commit is contained in:
parent
6c95262447
commit
51fa54a281
1 changed files with 1 additions and 0 deletions
|
@ -1087,6 +1087,7 @@ gst_base_parse_sink_event_default (GstBaseParse * parse, GstEvent * event)
|
|||
* whatever else it might claim */
|
||||
parse->priv->upstream_seekable = FALSE;
|
||||
next_dts = in_segment->start;
|
||||
gst_event_copy_segment (event, &out_segment);
|
||||
}
|
||||
|
||||
memcpy (&parse->segment, &out_segment, sizeof (GstSegment));
|
||||
|
|
Loading…
Reference in a new issue