[gst-devel] gstreamer gstbasetransform
Federico Paganini
black_eagle85 at hotmail.com
Sat Jan 30 11:43:47 CET 2010
Hi,
I briefly explain to you my problem. For my thesis i am developing a gstreamer plug-in that encrypt an mpeg4 video with DES in CBC mode. The encryption is made frame by frame and because a frame doesn't contain an exact number of DES BLOCK SIZE(64 bit) i must padding the final bytes of the frame. Because i use padding the dimension of the frame in output is greater than that in input. For this reason i must allocate an output buffer of a precise size. So in the trasform function of my plug in i have tried to call this function: gst_base_transform_prepare_output_buffer( base, inbuf, newSize, inbuf->caps,&outbuf ); but when i try to compile i have this error:error: implicit declaration of function ‘gst_base_transform_prepare_output_buffer’ nevertheless i have done the include of gstbasetransform.h.
I would be very happy if you can say to me how i must to allocate an output buffer that is larger than input.
thanks
Best regards
_________________________________________________________________
Sei bravo con le parole? Gioca su Typectionary
http://typectionary.it.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100130/c5191a5e/attachment.htm>
More information about the gstreamer-devel
mailing list