videoscale: disable chroma and matrix operations

Ignore chroma subsampling and color matrix transformations like the
old videoscale used to do. This is to make the performance like it was
before.

See https://bugzilla.gnome.org/show_bug.cgi?id=741987
This commit is contained in:
Wim Taymans 2015-01-27 09:51:47 +01:00
parent 4ab23677a9
commit 3db8879f25

View file

@ -602,7 +602,9 @@ gst_video_scale_set_info (GstVideoFilter * filter, GstCaps * in,
GST_VIDEO_CONVERTER_OPT_DEST_WIDTH, G_TYPE_INT,
out_info->width - videoscale->borders_w,
GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT, G_TYPE_INT,
out_info->height - videoscale->borders_h, NULL);
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);
if (videoscale->gamma_decode) {
gst_structure_set (options,