mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
videoaggregator: When receiving timeout before caps, make sure to also advance our frame counter
Otherwise we will directly go EOS on the next non-timeout.
This commit is contained in:
parent
b4ee792fc2
commit
0d89c672e8
1 changed files with 1 additions and 0 deletions
|
@ -1318,6 +1318,7 @@ gst_videoaggregator_aggregate (GstAggregator * agg, gboolean timeout)
|
||||||
agg->segment.position -= frame_duration;
|
agg->segment.position -= frame_duration;
|
||||||
else
|
else
|
||||||
agg->segment.position = 0;
|
agg->segment.position = 0;
|
||||||
|
vagg->priv->nframes++;
|
||||||
GST_VIDEO_AGGREGATOR_UNLOCK (vagg);
|
GST_VIDEO_AGGREGATOR_UNLOCK (vagg);
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue