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:
parent
e86693f956
commit
0c0c86a8c7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue