How to change framerate in REALTIME when video is PLAYING?
Stefan Kost
ensonic at hora-obscura.de
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:
>>
>> https://bugzilla.gnome.org/show_bug.cgi?id=647648
>>
>> 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?
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 lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list