winegstreamer: Remove a condition which is always true.

Signed-off-by: Zhenbo Li <litimetal@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhenbo Li 2016-06-07 20:12:22 +08:00 committed by Alexandre Julliard
parent e86693f956
commit 0c0c86a8c7
1 changed files with 2 additions and 1 deletions

View File

@ -1962,8 +1962,9 @@ static HRESULT WINAPI GSTInPin_ReceiveConnection(IPin *iface, IPin *pReceivePin,
props.cbAlign = 1;
props.cbPrefix = 0;
if (SUCCEEDED(hr) && IPin_QueryAccept(iface, pmt) != S_OK)
if (IPin_QueryAccept(iface, pmt) != S_OK)
hr = VFW_E_TYPE_NOT_ACCEPTED;
if (SUCCEEDED(hr)) {
IPin_QueryDirection(pReceivePin, &pindirReceive);
if (pindirReceive != PINDIR_OUTPUT) {