Find out at runtime if videoscale is actually scaling

Guillermo Rodriguez Garcia guille.rodriguez at gmail.com
Tue Jul 28 07:32:18 PDT 2015


Hi Nicolas,

2015-07-28 15:54 GMT+02:00 Nicolas Dufresne <nicolas.dufresne at collabora.com>:
> Le mardi 28 juillet 2015 à 15:47 +0200, Guillermo Rodriguez Garcia a
> écrit :
>> Now I would like to know if there is a way to find out (at runtime)
>> whether the videoscale element is actually performing a software
>> scaling. Is this possible?
>
> If polling is fine for you, you can simply get the srpad sinkpad caps,
> and compare. If the caps are the same, it's not scaling.

Thank you. At what point in time can I consider that the negotiation
is complete and thus it is "safe" to check the caps ?

Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com


More information about the gstreamer-devel mailing list