[gst-devel] Buffer size mismatch in custom plugin
alanny at starlink.ru
Fri Apr 11 09:02:33 CEST 2008
Hi there, my name is Alan and I have a problems with GStreamer.
I'm writing a custom video filter (as a custom plugin) (still newbie).
So, in the _chain() function I checked buffer (GstBuffer) size:
gst_myfilter_chain (GstPad *pad,
return gst_pad_push (filter->srcpad, buf);
I got the following messages:
As you can see buf->size is smaller then frame size ( width*height*3 ).
Why? How can I write something in buffer if it's smaller then I
expected. I got Segmentation fault when trying to do it.
Thank you for your patient.
More information about the gstreamer-devel