[PATCH 4/5] winegstreamer: Don't set the source and target rects in amt_from_gst_caps_video().

Zebediah Figura z.figura12 at gmail.com
Thu Sep 19 18:59:37 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/winegstreamer/gstdemux.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 2597a2cb4db..22fb8ef4c84 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -262,11 +262,6 @@ static gboolean amt_from_gst_caps_video(const GstCaps *caps, AM_MEDIA_TYPE *amt)
     bih->biSizeImage = width * height * bih->biBitCount / 8;
     if ((vih->AvgTimePerFrame = (REFERENCE_TIME)MulDiv(10000000, denom, nom)) == -1)
         vih->AvgTimePerFrame = 0; /* zero division or integer overflow */
-    vih->rcSource.left = 0;
-    vih->rcSource.right = width;
-    vih->rcSource.top = height;
-    vih->rcSource.bottom = 0;
-    vih->rcTarget = vih->rcSource;
     bih->biSize = sizeof(*bih);
     bih->biWidth = width;
     bih->biHeight = height;
-- 
2.23.0




More information about the wine-devel mailing list