How to change framerate in REALTIME when video is PLAYING?

Mailing List SVR lists at
Sun Jul 10 08:33:42 PDT 2011

Il 10/07/2011 17:23, Andrey Nechypurenko ha scritto:
>> 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);
> 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.

you are right changing the element state to null and then to play make 
it work, however changing the framesize doesn't require the state change,


> Regards,
> Andrey.

More information about the gstreamer-devel mailing list