comparison stream/tvi_dshow.c @ 25048:280fc0e914f3

(cosmetics) Indentation fix
author voroshil
date Sat, 17 Nov 2007 18:52:43 +0000
parents c9f20e41bc13
children ae7926711cd2
comparison
equal deleted inserted replaced
25047:e98388418c19 25048:280fc0e914f3
1388 } 1388 }
1389 OLE_RELEASE_SAFE(pSG); 1389 OLE_RELEASE_SAFE(pSG);
1390 1390
1391 if(priv->tv_param->normalize_audio_chunks && !memcmp(&(pmt->majortype),&(MEDIATYPE_Audio),16)){ 1391 if(priv->tv_param->normalize_audio_chunks && !memcmp(&(pmt->majortype),&(MEDIATYPE_Audio),16)){
1392 set_buffer_preference(20,(WAVEFORMATEX*)(pmt->pbFormat),pCapturePin,pSGIn); 1392 set_buffer_preference(20,(WAVEFORMATEX*)(pmt->pbFormat),pCapturePin,pSGIn);
1393 } 1393 }
1394 1394
1395 /* connecting filters together: VideoCapture --> SampleGrabber */ 1395 /* connecting filters together: VideoCapture --> SampleGrabber */
1396 hr = OLE_CALL_ARGS(priv->pGraph, Connect, pCapturePin, pSGIn); 1396 hr = OLE_CALL_ARGS(priv->pGraph, Connect, pCapturePin, pSGIn);
1397 if(FAILED(hr)){ 1397 if(FAILED(hr)){
1398 mp_msg(MSGT_TV,MSGL_DBG2,"tvi_dshow: Unable to create pCapturePin<->pSGIn connection. Error:0x%x\n", (unsigned int)hr); 1398 mp_msg(MSGT_TV,MSGL_DBG2,"tvi_dshow: Unable to create pCapturePin<->pSGIn connection. Error:0x%x\n", (unsigned int)hr);