summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-18 11:15:14 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-18 11:15:14 +0000
commit8b33e6547338773745379cae660ac9673f47f82e (patch)
tree9adc7795e2fe1e4457639e21640ec88249ad16d8 /stream
parentfa18524d053a04e19bb35f3c32ce5b063271362c (diff)
downloadmpv-8b33e6547338773745379cae660ac9673f47f82e.tar.bz2
mpv-8b33e6547338773745379cae660ac9673f47f82e.tar.xz
(cosmetics) Indentation fix of previous commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25094 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/tvi_dshow.c22
1 files changed, 11 insertions, 11 deletions
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);