Which gstreamer plug-in source code to reffer ?

ssshukla26 ssshukla26 at gmail.com
Tue Jan 12 01:15:57 PST 2016


Ok. So I studied various gstreamer plugins and am opting for GstBaseTransform
element. 

So I have to do encoding on input buffer and storing the encoded output into
output buffer, for that I have to override *transform ()* function. 

But as per my knowledge output buffer is already get allocated in
*prepare_output_buffer ()* function.

In all case my encoded output data length will be always less than or equal
to my raw input data length. What is unclear to me yet is what should I do
when my encoded data length is less than my output buffer length.

Should I resize my output buffer equal to my encoded data length in
transform () function ? Or is there anything else you guyz can suggest !  

Please help me out to design my encoder plug-in. 




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Which-gstreamer-plug-in-source-code-to-reffer-tp4675203p4675225.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list