mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
videoscale: don't do dithering
This commit is contained in:
parent
ea3dcdc0da
commit
47bd6a138c
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue