diff options
Diffstat (limited to 'stream/tvi_dshow.c')
-rw-r--r-- | stream/tvi_dshow.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c index 948dc616a9..7ed2fa3547 100644 --- a/stream/tvi_dshow.c +++ b/stream/tvi_dshow.c @@ -3131,6 +3131,11 @@ static int control(priv_t * priv, int cmd, void *arg) { if(!priv->pmtVideo) return TVI_CONTROL_FALSE; + /* + Build video chain (for video format negotiation). + If this was done before, routine will do nothing. + */ + build_video_chain(priv); DisplayMediaType("VID_GET_FORMAT", priv->pmtVideo); if (priv->fcc) { *(int *) arg = priv->fcc; |