changeset 25083:b0f91db30cb2

fix missed change
author voroshil
date Mon, 19 Nov 2007 19:25:25 +0000
parents b63b4b599cbe
children f72ebba1e6d1
files stream/tvi_dshow.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tvi_dshow.c	Mon Nov 19 19:24:21 2007 +0000
+++ b/stream/tvi_dshow.c	Mon Nov 19 19:25:25 2007 +0000
@@ -2697,7 +2697,7 @@
 
         hr = OLE_CALL_ARGS(priv->pBuilder, FindInterface,
         		   &PIN_CATEGORY_CAPTURE,
-        		   &MEDIATYPE_Video,
+        		   priv->chains[0]->majortype,
         		   priv->chains[0]->pCaptureFilter,
         		   &IID_IAMStreamConfig,
         		   (void **) &(priv->chains[0]->pStreamConfig));