video scaling inside decoder plugin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

video scaling inside decoder plugin

souvikg
Hello,

I am very much new to gstreamer. I have a hardware decoder and using a plugin to decode through the h/w. My H/w also have the post processing capabilities like scaling and so I want to use this feature from my plugin. I checked the videoscale plugin code and it looks that I need to overwrite the set_caps method of the BaseTransformClass to have the media window resize information at runtime. So I need to have both the GstElementClass and BaseTransformClass at the _class_init function. Please let me know what should be the type and parent class element in the BOILERPLATE. Any kind of link/ example source will be very much helpful.

Thanks in advance,

Regards