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

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-09-19 18:59:37 -05:00 committed by Alexandre Julliard
parent 923a7808f4
commit bf46266099
1 changed files with 0 additions and 5 deletions

View File

@ -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;