summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2004-01-11 22:52:28 +0000
committerJulien Moutte <julien@moutte.net>2004-01-11 22:52:28 +0000
commitf4acaab1471288d74a2489cf9418c0005541b9f9 (patch)
tree523cacb5500b3702b6c7c794f326e14955ed4d91 /ext
parentfc6fd546aa140705ff2c90415dc2f7cc7959991a (diff)
downloadgst-plugins-bad-f4acaab1471288d74a2489cf9418c0005541b9f9.tar.gz
gst-plugins-bad-f4acaab1471288d74a2489cf9418c0005541b9f9.tar.bz2
gst-plugins-bad-f4acaab1471288d74a2489cf9418c0005541b9f9.zip
ext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use ->srcpad
Original commit message from CVS: 2004-01-11 Julien MOUTTE <julien@moutte.net> * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain): Fixing the pad_alloc_buffer implementation to use ->srcpad * ext/hermes/gstcolorspace.c: (gst_colorspace_chain): Fixing the pad_alloc_buffer implementation to use ->srcpad * gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): Fixing the pad_alloc_buffer implementation to use ->srcpad * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new), (gst_ximagesink_chain), (gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep a reference to everything we need. * sys/ximage/ximagesink.h: adding a reference to the sink in the image. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new), (gst_xvimagesink_chain), (gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep a reference to everything we need. * sys/xvimage/xvimagesink.h: adding a reference to the sink in the image
Diffstat (limited to 'ext')
-rw-r--r--ext/hermes/gstcolorspace.c2
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) {