videoaggregator: log an ERROR if we're going to return a flow error

This commit is contained in:
Tim-Philipp Müller 2018-06-11 13:48:09 +01:00
parent 91692122d3
commit ecd58f2775

View file

@ -1402,7 +1402,7 @@ gst_video_aggregator_fill_queues (GstVideoAggregator * vagg,
start_time = GST_BUFFER_TIMESTAMP (buf); start_time = GST_BUFFER_TIMESTAMP (buf);
if (start_time == -1) { if (start_time == -1) {
gst_buffer_unref (buf); gst_buffer_unref (buf);
GST_DEBUG_OBJECT (pad, "Need timestamped buffers!"); GST_ERROR_OBJECT (pad, "Need timestamped buffers!");
GST_OBJECT_UNLOCK (vagg); GST_OBJECT_UNLOCK (vagg);
return GST_FLOW_ERROR; return GST_FLOW_ERROR;
} }