Zebediah Figura : winegstreamer: Don't set the source and target rects in amt_from_gst_caps_video().

Alexandre Julliard julliard at winehq.org
Fri Sep 20 15:54:42 CDT 2019


Module: wine
Branch: master
Commit: bf46266099b49295a57d97533fdda0c67c2a4bca
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bf46266099b49295a57d97533fdda0c67c2a4bca

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Thu Sep 19 18:59:37 2019 -0500

winegstreamer: Don't set the source and target rects in amt_from_gst_caps_video().

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winegstreamer/gstdemux.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 2597a2cb4d..22fb8ef4c8 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;




More information about the wine-cvs mailing list