From 8b33e6547338773745379cae660ac9673f47f82e Mon Sep 17 00:00:00 2001 From: voroshil Date: Sun, 18 Nov 2007 11:15:14 +0000 Subject: (cosmetics) Indentation fix of previous commit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25094 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_dshow.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'stream') diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c index da8443c7f4..948dc616a9 100644 --- a/stream/tvi_dshow.c +++ b/stream/tvi_dshow.c @@ -1393,17 +1393,17 @@ static HRESULT build_sub_graph(priv_t * priv, IBaseFilter * pCaptureFilter, for(nFormatProbed=0; arpmt[nFormatProbed]; nFormatProbed++) { DisplayMediaType("Probing format", arpmt[nFormatProbed]); - hr = OLE_CALL_ARGS(pSG, SetMediaType, arpmt[nFormatProbed]); //set desired mediatype - if(FAILED(hr)){ - mp_msg(MSGT_TV,MSGL_DBG2,"tvi_dshow: SetMediaType(pSG) call failed. Error:0x%x\n", (unsigned int)hr); - continue; - } - /* connecting filters together: VideoCapture --> SampleGrabber */ - hr = OLE_CALL_ARGS(priv->pGraph, Connect, pCapturePin, pSGIn); - if(FAILED(hr)){ - mp_msg(MSGT_TV,MSGL_DBG2,"tvi_dshow: Unable to create pCapturePin<->pSGIn connection. Error:0x%x\n", (unsigned int)hr); - continue; - } + hr = OLE_CALL_ARGS(pSG, SetMediaType, arpmt[nFormatProbed]); //set desired mediatype + if(FAILED(hr)){ + mp_msg(MSGT_TV,MSGL_DBG2,"tvi_dshow: SetMediaType(pSG) call failed. Error:0x%x\n", (unsigned int)hr); + continue; + } + /* connecting filters together: VideoCapture --> SampleGrabber */ + hr = OLE_CALL_ARGS(priv->pGraph, Connect, pCapturePin, pSGIn); + if(FAILED(hr)){ + mp_msg(MSGT_TV,MSGL_DBG2,"tvi_dshow: Unable to create pCapturePin<->pSGIn connection. Error:0x%x\n", (unsigned int)hr); + continue; + } break; } OLE_RELEASE_SAFE(pSG); -- cgit v1.2.3