How to change framerate in REALTIME when video is PLAYING?

Mailing List SVR lists at
Mon Jul 11 08:56:00 PDT 2011

Il 11/07/2011 16:52, Stefan Kost ha scritto:
> 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?
yes READY is enough, however videoscale handle the change whithout 
requiring a state change,


> Stefan
>> 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

More information about the gstreamer-devel mailing list