int i_rate, i_channels;
vlc_mutex_t frame_lock;
- block_t *p_video_frame; // protected by <frame_lock>
- block_t *p_audio_frame; // protected by <frame_lock>
- vlc_cond_t has_frame; // related to <frame_lock>
+ block_t *p_video_frame; /* protected by <frame_lock> */
+ block_t *p_audio_frame; /* protected by <frame_lock> */
+ vlc_cond_t has_frame; /* related to <frame_lock> */
};
class DeckLinkCaptureDelegate : public IDeckLinkInputCallback
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, LPVOID *ppv) { return E_NOINTERFACE; }
- // Note: AddRef() and Release() here are not thread safe.
+ /* Note: AddRef() and Release() here are not thread safe. */
virtual ULONG STDMETHODCALLTYPE AddRef(void)
{
return VLC_EGENERIC;
}
- // Set up the video and audio sources.
+ /* Set up the video and audio sources. */
IDeckLinkConfiguration *p_config;
if( p_sys->p_card->QueryInterface( IID_IDeckLinkConfiguration, (void**)&p_config) != S_OK )
{
p_config->Release();
- // Get the list of display modes.
+ /* Get the list of display modes. */
IDeckLinkDisplayModeIterator *p_display_iterator;
result = p_sys->p_input->GetDisplayModeIterator( &p_display_iterator );
if( result != S_OK )
return VLC_EGENERIC;
}
- // Pad the --sdi-mode string to four characters, so the user can specify e.g. "pal"
- // without having to add the trailing space.
+ /*
+ * Pad the --sdi-mode string to four characters, so the user can specify e.g. "pal"
+ * without having to add the trailing space.
+ */
char sz_display_mode_padded[5];
strcpy(sz_display_mode_padded, " ");
for( int i = 0; i < strlen( psz_display_mode ); ++i )
return VLC_EGENERIC;
}
- // Set up audio.
+ /* Set up audio. */
p_sys->i_rate = var_CreateGetInteger( p_demux, "sdi-audio-rate" );
p_sys->i_channels = var_CreateGetInteger( p_demux, "sdi-audio-channels" );
if( p_sys->i_rate > 0 && p_sys->i_channels > 0 )
case DEMUX_GET_TIME:
pi64 = (int64_t*)va_arg( args, int64_t * );
- *pi64 = mdate(); // FIXME
+ *pi64 = mdate(); /* FIXME */
return VLC_SUCCESS;
/* TODO implement others */