Dynamically changing the caps of Element

Marcin Kolny marcin.kolny at gmail.com
Thu Jun 12 10:55:00 PDT 2014

On 12.06.2014 08:15, Manoj89 wrote:
> Hi,
>    I have pipeline like this
>   videoscale->capsfilter->videosink
>   (i) Now my question is it possible to change the "caps" of the capsfilter
> dynamically when the Gst pipeline is in the playing state.
Yes, it is possible. There is GST_EVENT_RECONFIGURE event for this purpose.
>   (ii) Do I need to change the pipeline state to NULL then change "caps"
> after that again set it to the PLAYING state?
No, it's not necessary.
> Regards
> Manoj
Best regards
Marcin Kolny

More information about the gstreamer-devel mailing list