{
demux_sys_t *p_sys = p_demux_->p_sys;
- if(videoFrame)
+ if( videoFrame )
{
- if(videoFrame->GetFlags() & bmdFrameHasNoInputSource)
+ if( videoFrame->GetFlags() & bmdFrameHasNoInputSource )
{
msg_Warn( p_demux_, "No input signal detected" );
return S_OK;
return VLC_EGENERIC;
}
- if( p_sys->p_card->QueryInterface(IID_IDeckLinkInput, (void**)&p_sys->p_input) != S_OK )
+ if( p_sys->p_card->QueryInterface( IID_IDeckLinkInput, (void**)&p_sys->p_input) != S_OK )
{
msg_Err( p_demux, "Card has no inputs" );
return VLC_EGENERIC;
p_sys->p_delegate = new DeckLinkCaptureDelegate( p_demux );
p_sys->p_input->SetCallback( p_sys->p_delegate );
- result = p_sys->p_input->EnableVideoInput(bmdModePAL, bmdFormat8BitYUV, 0);
+ result = p_sys->p_input->EnableVideoInput( bmdModePAL, bmdFormat8BitYUV, 0 );
if( result != S_OK )
{
msg_Err( p_demux, "Failed to enable video input" );