How to change framerate in REALTIME when video is PLAYING?

Stefan Kost ensonic at
Mon Jul 11 07:52:00 PDT 2011

On 07/10/11 17:23, Andrey Nechypurenko wrote:
>> changing framesize works for me too but the framerate doesn't, please take a
>> look to the sample code I posted in this bug report:
>> seems videorate element is not able to renegotiate the new format, could you
>> see something wrong in my sample?
> Well, the only thing which might make the difference is that before
> changing the caps, I am setting the element state to NULL:
> gst_element_set_state(qos_scaler, GST_STATE_NULL);
wouldn't READY be enough?
> and after making changes, set the state back to PLAYING. Not sure that
> it will change something in your case, but I guess I read somewhere
> that it is in general necessary.
> Regards,
> Andrey.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

More information about the gstreamer-devel mailing list