Revert "winegstreamer: Avoid performing color matrix conversions in videoconvert.".

This reverts commit fd25ba65e0.

The relevant commit breaks visual correctness in many applications, for the sake
of performance. As such I am rather inclined to revert it for 6.0, especially as
a full solution will probably involve a revert of this patch along with upstream
changes to GStreamer.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49535
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-12-06 10:19:11 -06:00 committed by Alexandre Julliard
parent 323d46fb93
commit 251262a44a
1 changed files with 0 additions and 3 deletions

View File

@ -1024,9 +1024,6 @@ static void init_new_decoded_pad(GstElement *bin, GstPad *pad, struct gstdemux *
goto out;
}
/* Avoid expensive color matrix conversions. */
gst_util_set_object_arg(G_OBJECT(vconv), "matrix-mode", "none");
/* GStreamer outputs RGB video top-down, but DirectShow expects bottom-up. */
if (!(flip = gst_element_factory_make("videoflip", NULL)))
{