Null plugin with push support

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Null plugin with push support

bielbola
Hello

I'm Carles, a programmer from Barcelona, Spain.
I have develop a demuxer plugin that doesn't support pull mode. This plugin cannot support pull mode, because of parsing problems. If I connect its sink filter directly to a filesrc there is no problem and works fine. But if I do a pipe like filesrc ! my_null_plugin ! my_demuxer_plugin ... It doen't work because the my_null_plugin doesn't support push mode.

How can I do that my_null_plugin support push mode? It's base class isn't GstBaseSrcClass, it is GstElementClass. My intention is that this filter was "transparent" and if the plugin connected to its sink filter support the push mode, it also supports it.

Thanks a lot, and sorry my english.
Reply | Threaded
Open this post in threaded view
|

Re: Null plugin with push support

bielbola
Hello again

I think that the solution could be analyzing the progressreport plugin. Perhaps I hace to use the GstBaseTransform properties instead of GstElement as a parent.

I will check it, but I think that is the correct solution. I'm a gstreamer newbie...

Thanks a lot.