mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
videoaggregator: Do not wrongly set the aggregator.segment
The aggregator.segment is not to be initialized by the subclasses but by the aggregator itself. Moreover, initializing it on start would make us loose the information coming from the initial seek.
This commit is contained in:
parent
47aea18826
commit
138e63fd52
1 changed files with 0 additions and 2 deletions
|
@ -782,7 +782,6 @@ gst_videoaggregator_reset (GstVideoAggregator * vagg)
|
|||
vagg->priv->ts_offset = 0;
|
||||
vagg->priv->nframes = 0;
|
||||
|
||||
gst_segment_init (&agg->segment, GST_FORMAT_TIME);
|
||||
agg->segment.position = -1;
|
||||
|
||||
gst_videoaggregator_reset_qos (vagg);
|
||||
|
@ -1638,7 +1637,6 @@ gst_videoaggregator_start (GstAggregator * agg)
|
|||
if (!GST_AGGREGATOR_CLASS (gst_videoaggregator_parent_class)->start (agg))
|
||||
return FALSE;
|
||||
|
||||
gst_segment_init (&agg->segment, GST_FORMAT_TIME);
|
||||
gst_caps_replace (&vagg->priv->current_caps, NULL);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue