mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
aggregator: only set clipped_buffer to NULL if needed
This commit is contained in:
parent
864cfec839
commit
fcb074af6f
1 changed files with 1 additions and 1 deletions
|
@ -2916,9 +2916,9 @@ gst_aggregator_pad_steal_buffer (GstAggregatorPad * pad)
|
|||
gst_aggregator_pad_clip_buffer_unlocked (pad);
|
||||
|
||||
buffer = pad->priv->clipped_buffer;
|
||||
pad->priv->clipped_buffer = NULL;
|
||||
|
||||
if (buffer) {
|
||||
pad->priv->clipped_buffer = NULL;
|
||||
gst_aggregator_pad_buffer_consumed (pad);
|
||||
GST_DEBUG_OBJECT (pad, "Consumed: %" GST_PTR_FORMAT, buffer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue