winegstreamer: Only filter video caps attributes when format uses 0.
commit7adcdb6ff8c6ac321a1f21bfa4123d08c3bc52d5
authorRémi Bernon <rbernon@codeweavers.com>
Tue, 5 Apr 2022 09:45:47 +0000 (5 11:45 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 25 May 2022 21:38:30 +0000 (25 23:38 +0200)
tree057681b53863364049f17bd34141abf2a2e39800
parent2ae08f035fdb5665eab4cef6333344ace528c61e
winegstreamer: Only filter video caps attributes when format uses 0.

In wg_transform we only want to remove width/height/framerate if the
transform supports format change, and we want to keep the caps fixed
otherwise so we can use gst_caps_is_always_compatible to monitor caps
changes.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45988
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47084
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49715
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52183
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
dlls/mf/tests/mf.c
dlls/winegstreamer/h264_decoder.c
dlls/winegstreamer/wg_format.c
dlls/winegstreamer/wg_parser.c