[MPlayer-cvslog] r25111 - trunk/stream/tvi_dshow.c

voroshil subversion at mplayerhq.hu
Mon Nov 19 20:25:25 CET 2007


Author: voroshil
Date: Mon Nov 19 20:25:25 2007
New Revision: 25111

Log:
fix missed change


Modified:
   trunk/stream/tvi_dshow.c

Modified: trunk/stream/tvi_dshow.c
==============================================================================
--- trunk/stream/tvi_dshow.c	(original)
+++ trunk/stream/tvi_dshow.c	Mon Nov 19 20:25:25 2007
@@ -2697,7 +2697,7 @@ static int init(priv_t * priv)
 
         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));



More information about the MPlayer-cvslog mailing list