Le vendredi 07 avril 2017 à 09:16 -0700, LC a écrit :
> After a while of googling i found out that i will have to block
> videocrop
> pads close to this way :
>
> gst_pad_set_blocked (pad, TRUE);
> g_object_set (videocrop, "left", hcrop, "top", vcrop, NULL);
> gst_pad_set_blocked (pad, FALSE);
This is GStreamer 0.10 API, which is not supported anymore. In 1.0+ you
should use a probe. In this case, a data probe is sufficient, you can
safely change the properties in the probe callback as long as you don't
have a queue (or anything with a thread) between the pad you probe and
the videocrop element. Make sure to maintain the same output size if
you care about performance.
Changing the crop region has no impact on the timestamp.
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel