Commit 0c0c86a8 authored by Zhenbo Li's avatar Zhenbo Li Committed by Alexandre Julliard

winegstreamer: Remove a condition which is always true.

parent e86693f9
......@@ -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) {
......
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