videoscale: don't do dithering

This commit is contained in:
Wim Taymans 2015-01-28 17:30:53 +01:00
parent ea3dcdc0da
commit 47bd6a138c

View file

@ -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,