vlc_linux/vlc-3.0.16/modules/access/dshow/filter.cpp
/****************************************************************************
 * Implementation of our dummy directshow filter pin class
 ****************************************************************************/
Implementation of our dummy directshow filter pin class
Implementation of our dummy directshow filter pin class
CapturePin::CapturePin( vlc_object_t *_p_input, access_sys_t *_p_sys,
                        CaptureFilter* _p_filter,
                        AM_MEDIA_TYPE *mt, size_t mt_count )
  : p_input( _p_input ), p_sys( _p_sys ), p_filter( _p_filter ),
    p_connected_pin( NULL ),  media_types(mt), media_type_count(mt_count),
    cx_media_type(), i_ref( 0 )
{
    cx_media_type.majortype = mt[0].majortype;
}
CapturePin :: CapturePin ( vlc_object_t * _p_input , access_sys_t * _p_sys , CaptureFilter * _p_filter , AM_MEDIA_TYPE * mt , size_t mt_count ) : p_input ( _p_input ) , p_sys ( _p_sys ) , p_filter ( _p_filter ) , p_connected_pin ( NULL ) , media_types ( mt ) , media_type_count ( mt_count ) , cx_media_type ( ) , i_ref ( 0 ) { cx_media_type . majortype = mt [ 0 ] . majortype ; }
Implementation of our dummy directshow filter pin class
Implementation of our dummy directshow filter pin class