mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
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:
parent
4ab23677a9
commit
3db8879f25
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue