autovideoconvert: fix double unref

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6865>
This commit is contained in:
Elliot Chen 2024-05-16 20:02:25 +09:00 committed by GStreamer Marge Bot
parent 2f03afd8ba
commit 2dd4a7c6df

View file

@ -869,8 +869,6 @@ gst_base_auto_convert_sink_setcaps (GstBaseAutoConvert * self, GstCaps * caps,
if (gst_base_auto_convert_activate_element (self, element, caps)) {
res = TRUE;
break;
} else {
gst_object_unref (element);
}
}