summaryrefslogtreecommitdiffstats
path: root/ext/gdk_pixbuf/pixbufscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gdk_pixbuf/pixbufscale.c')
-rw-r--r--ext/gdk_pixbuf/pixbufscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c
index 9edef400..6b52b426 100644
--- a/ext/gdk_pixbuf/pixbufscale.c
+++ b/ext/gdk_pixbuf/pixbufscale.c
@@ -409,7 +409,7 @@ gst_pixbufscale_chain (GstPad * pad, GstData * _data)
return;
}
- outbuf = gst_pad_alloc_buffer (pixbufscale->srcpad,
+ outbuf = gst_pad_alloc_buffer_and_set_caps (pixbufscale->srcpad,
GST_BUFFER_OFFSET_NONE, pixbufscale->to_buf_size);
gst_buffer_stamp (outbuf, buf);