Commit 3231901a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

Revert "winegstreamer: Check for failure from gst_video_info_set_format().".

This reverts commit ddd43e0a. This function returns void before 1.12. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49647Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 70b73576
...@@ -413,11 +413,7 @@ static GstCaps *amt_to_gst_caps_video(const AM_MEDIA_TYPE *mt) ...@@ -413,11 +413,7 @@ static GstCaps *amt_to_gst_caps_video(const AM_MEDIA_TYPE *mt)
return NULL; return NULL;
} }
if (!gst_video_info_set_format(&info, format, vih->bmiHeader.biWidth, vih->bmiHeader.biHeight)) gst_video_info_set_format(&info, format, vih->bmiHeader.biWidth, vih->bmiHeader.biHeight);
{
ERR("Failed to set format.\n");
return NULL;
}
if ((caps = gst_video_info_to_caps(&info))) if ((caps = gst_video_info_to_caps(&info)))
{ {
/* Clear some fields that shouldn't prevent us from connecting. */ /* Clear some fields that shouldn't prevent us from connecting. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment