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
69a37365f1
commit
a8033553f9
@ -1318,6 +1318,7 @@ gst_videoaggregator_aggregate (GstAggregator * agg, gboolean timeout)
|
||||
agg->segment.position -= frame_duration;
|
||||
else
|
||||
agg->segment.position = 0;
|
||||
vagg->priv->nframes++;
|
||||
GST_VIDEO_AGGREGATOR_UNLOCK (vagg);
|
||||
return GST_FLOW_OK;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user