Update for renamed aggregator pad API

https://bugzilla.gnome.org/show_bug.cgi?id=791204
This commit is contained in:
Tim-Philipp Müller 2018-01-23 09:01:00 +00:00
parent 2b933a2827
commit 944f74b834

View file

@ -1077,7 +1077,7 @@ gst_video_aggregator_fill_queues (GstVideoAggregator * vagg,
if (!is_eos) if (!is_eos)
eos = FALSE; eos = FALSE;
buf = gst_aggregator_pad_get_buffer (bpad); buf = gst_aggregator_pad_peek_buffer (bpad);
if (buf) { if (buf) {
GstClockTime start_time, end_time; GstClockTime start_time, end_time;
@ -1122,7 +1122,7 @@ gst_video_aggregator_fill_queues (GstVideoAggregator * vagg,
continue; continue;
} }
gst_buffer_unref (buf); gst_buffer_unref (buf);
buf = gst_aggregator_pad_steal_buffer (bpad); buf = gst_aggregator_pad_pop_buffer (bpad);
gst_buffer_replace (&pad->buffer, buf); gst_buffer_replace (&pad->buffer, buf);
if (pad->priv->pending_vinfo.finfo) { if (pad->priv->pending_vinfo.finfo) {
pad->info = pad->priv->pending_vinfo; pad->info = pad->priv->pending_vinfo;