From 47bd6a138c04f66573754f66dcbaeb8d2aace17a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 28 Jan 2015 17:30:53 +0100 Subject: [PATCH] videoscale: don't do dithering --- gst/videoscale/gstvideoscale.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c index cb6c1e20d5..abff6d2910 100644 --- a/gst/videoscale/gstvideoscale.c +++ b/gst/videoscale/gstvideoscale.c @@ -604,7 +604,9 @@ gst_video_scale_set_info (GstVideoFilter * filter, GstCaps * in, GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT, G_TYPE_INT, out_info->height - videoscale->borders_h, GST_VIDEO_CONVERTER_OPT_MATRIX_MODE, G_TYPE_STRING, "none", - GST_VIDEO_CONVERTER_OPT_CHROMA_MODE, G_TYPE_STRING, "none", NULL); + GST_VIDEO_CONVERTER_OPT_DITHER_METHOD, GST_TYPE_VIDEO_DITHER_METHOD, + GST_VIDEO_DITHER_NONE, GST_VIDEO_CONVERTER_OPT_CHROMA_MODE, + G_TYPE_STRING, "none", NULL); if (videoscale->gamma_decode) { gst_structure_set (options,