zbar: remove useless conditional on passthrough

seen that passthrough is never set for this element, no need
to allow to remove the 'transform' call
This commit is contained in:
Stéphane Cerveau 2020-01-07 10:05:33 +01:00 committed by Guillaume Desmottes
parent e8fb7fc046
commit db06f8e9da

View file

@ -166,7 +166,6 @@ gst_zbar_class_init (GstZBarClass * g_class)
trans_class->start = GST_DEBUG_FUNCPTR (gst_zbar_start); trans_class->start = GST_DEBUG_FUNCPTR (gst_zbar_start);
trans_class->stop = GST_DEBUG_FUNCPTR (gst_zbar_stop); trans_class->stop = GST_DEBUG_FUNCPTR (gst_zbar_stop);
trans_class->transform_ip_on_passthrough = FALSE;
vfilter_class->transform_frame_ip = vfilter_class->transform_frame_ip =
GST_DEBUG_FUNCPTR (gst_zbar_transform_frame_ip); GST_DEBUG_FUNCPTR (gst_zbar_transform_frame_ip);