summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/tvi_dshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c
index e32015f76b..36ddf5e8b3 100644
--- a/stream/tvi_dshow.c
+++ b/stream/tvi_dshow.c
@@ -2033,7 +2033,7 @@ static HRESULT get_available_formats_stream(chain_t *chain)
mp_msg(MSGT_TV, MSGL_DBG4,
"tvi_dshow: get_available_formats_stream called\n");
- if (!chain->pStreamConfig || !chain->majortype)
+ if (!chain->pStreamConfig)
return E_POINTER;
hr=OLE_CALL_ARGS(chain->pStreamConfig, GetNumberOfCapabilities, &count, &size);