summaryrefslogtreecommitdiffstats
path: root/gst/goom
diff options
context:
space:
mode:
Diffstat (limited to 'gst/goom')
-rw-r--r--gst/goom/gstgoom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c
index e5a6618d..5e7bd8c5 100644
--- a/gst/goom/gstgoom.c
+++ b/gst/goom/gstgoom.c
@@ -370,7 +370,8 @@ gst_goom_chain (GstPad * pad, GstBuffer * bufin)
}
}
- ret = gst_pad_alloc_buffer (goom->srcpad, GST_BUFFER_OFFSET_NONE,
+ ret =
+ gst_pad_alloc_buffer_and_set_caps (goom->srcpad, GST_BUFFER_OFFSET_NONE,
goom->width * goom->height * 4, GST_PAD_CAPS (goom->srcpad), &bufout);
if (ret != GST_FLOW_OK)
break;