winegstreamer: Remove redundant check.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2017-12-05 00:15:01 +00:00 committed by Alexandre Julliard
parent 84a35f532f
commit 5f5f9974f5
1 changed files with 1 additions and 4 deletions

View File

@ -1158,10 +1158,7 @@ static HRESULT GST_Connect(GSTInPin *pPin, IPin *pConnectPin, ALLOCATOR_PROPERTI
WaitForSingleObject(This->event, -1);
gst_element_get_state(This->container, NULL, NULL, -1);
if (ret < 0) {
WARN("Ret: %i\n", ret);
hr = E_FAIL;
} else if (!This->cStreams) {
if (!This->cStreams) {
FIXME("GStreamer could not find any streams\n");
hr = E_FAIL;
} else {