mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
video-converter: don't do dither when set to NONE
This commit is contained in:
parent
e16377c0c8
commit
620dc30d0f
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue