vlc_linux/vlc-3.0.16/modules/access/dshow/filter.cpp
/****************************************************************************
 * Implementation of our dummy directshow enumpins class
 ****************************************************************************/
Implementation of our dummy directshow enumpins class
Implementation of our dummy directshow enumpins class
CaptureEnumPins::CaptureEnumPins( vlc_object_t *_p_input,
                                  ComPtr<CaptureFilter> _p_filter,
                                  ComPtr<CaptureEnumPins> pEnumPins )
  : p_input( _p_input ), p_filter( _p_filter ), i_ref( 0 )
{
    if( pEnumPins == NULL )
    {
        i_position = 0;
    }
    else
    {
        i_position = pEnumPins->i_position;
    }
}
CaptureEnumPins :: CaptureEnumPins ( vlc_object_t * _p_input , ComPtr < CaptureFilter > _p_filter , ComPtr < CaptureEnumPins > pEnumPins ) : p_input ( _p_input ) , p_filter ( _p_filter ) , i_ref ( 0 ) { if ( pEnumPins == NULL ) { i_position = 0 ; } else { i_position = pEnumPins -> i_position ; } }
Implementation of our dummy directshow enumpins class
Implementation of our dummy directshow enumpins class
/* Are we creating a new enumerator */