diff options
Diffstat (limited to 'ext/hermes')
-rw-r--r-- | ext/hermes/gstcolorspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hermes/gstcolorspace.c b/ext/hermes/gstcolorspace.c index e4ea1206..92fa4b49 100644 --- a/ext/hermes/gstcolorspace.c +++ b/ext/hermes/gstcolorspace.c @@ -405,7 +405,7 @@ gst_colorspace_chain (GstPad *pad,GstData *_data) dest_bytes = ((space->destbpp+7)/8); src_bytes = ((space->srcbpp+7)/8); - outbuf = gst_pad_alloc_buffer (gst_pad_get_peer (pad), GST_BUFFER_OFFSET_NONE, + outbuf = gst_pad_alloc_buffer (space->srcpad, GST_BUFFER_OFFSET_NONE, (size * space->destbpp)/8); if (space->type == GST_COLORSPACE_YUV_RGB) { |