From 484e31c1d9f4de1ecb8432b5c3360407efe30736 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 7 Jun 2023 23:33:05 +0200 Subject: [PATCH] bayer2rgb: Disable in-place transform The bayer2rgb process implemented doesn't support in-place tranform. This element doesn't implement a "transform_ip" vmethod of GstBaseTransform it will revert to using the "tranform" vmethod. It's misleading to set it to TRUE, here. Change this to FALSE. Part-of: --- subprojects/gst-plugins-bad/gst/bayer/gstbayer2rgb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst/bayer/gstbayer2rgb.c b/subprojects/gst-plugins-bad/gst/bayer/gstbayer2rgb.c index 109bab2467..c1892a2ee1 100644 --- a/subprojects/gst-plugins-bad/gst/bayer/gstbayer2rgb.c +++ b/subprojects/gst-plugins-bad/gst/bayer/gstbayer2rgb.c @@ -206,7 +206,7 @@ static void gst_bayer2rgb_init (GstBayer2RGB * filter) { gst_bayer2rgb_reset (filter); - gst_base_transform_set_in_place (GST_BASE_TRANSFORM (filter), TRUE); + gst_base_transform_set_in_place (GST_BASE_TRANSFORM (filter), FALSE); } /* No properties are implemented, so only a warning is produced */