mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
deinterlace: Unset RECONFIGURE flag on srcpad whenever we configure new caps
Prevents double-negotiation during startup and in some other cases.
This commit is contained in:
parent
5d728b3ce5
commit
c7d90c1112
1 changed files with 2 additions and 0 deletions
|
@ -2508,6 +2508,8 @@ gst_deinterlace_setcaps (GstDeinterlace * self, GstPad * pad, GstCaps * caps)
|
||||||
GstVideoInterlaceMode interlacing_mode;
|
GstVideoInterlaceMode interlacing_mode;
|
||||||
gint fps_n, fps_d;
|
gint fps_n, fps_d;
|
||||||
|
|
||||||
|
gst_pad_check_reconfigure (self->srcpad);
|
||||||
|
|
||||||
if (self->locking != GST_DEINTERLACE_LOCKING_NONE) {
|
if (self->locking != GST_DEINTERLACE_LOCKING_NONE) {
|
||||||
if (self->low_latency == -1)
|
if (self->low_latency == -1)
|
||||||
self->low_latency = gst_deinterlace_get_latency (self);
|
self->low_latency = gst_deinterlace_get_latency (self);
|
||||||
|
|
Loading…
Reference in a new issue