diff --git a/gst-libs/gst/video/video-converter.c b/gst-libs/gst/video/video-converter.c index efe6557bc8..69e82114d6 100644 --- a/gst-libs/gst/video/video-converter.c +++ b/gst-libs/gst/video/video-converter.c @@ -1500,6 +1500,9 @@ chain_dither (GstVideoConverter * convert, GstLineCache * prev) guint quant[4], target_quant; method = GET_OPT_DITHER_METHOD (convert); + if (method == GST_VIDEO_DITHER_NONE) + return prev; + target_quant = GET_OPT_DITHER_QUANTIZATION (convert); GST_DEBUG ("method %d, target-quantization %d", method, target_quant);