mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:56:14 +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
3f88d10f3e
commit
05eaa6bc1b
1 changed files with 1 additions and 0 deletions
|
@ -1088,6 +1088,7 @@ gst_base_parse_sink_event_default (GstBaseParse * parse, GstEvent * event)
|
||||||
* whatever else it might claim */
|
* whatever else it might claim */
|
||||||
parse->priv->upstream_seekable = FALSE;
|
parse->priv->upstream_seekable = FALSE;
|
||||||
next_dts = in_segment->start;
|
next_dts = in_segment->start;
|
||||||
|
gst_event_copy_segment (event, &out_segment);
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy (&parse->segment, &out_segment, sizeof (GstSegment));
|
memcpy (&parse->segment, &out_segment, sizeof (GstSegment));
|
||||||
|
|
Loading…
Reference in a new issue