public DirectShowPlayerConfiguration()
        {
            //set defaults if necessary
            VideoConfig = new VideoConfiguration();
            AudioConfig = new AudioConfiguration();
            SubtitleConfig = new SubtitleConfiguration();
            SplitterConfig = new SplitterConfiguration();
            COMConfig = new KnownCOMObjectConfiguration();
            UsePrivateObjects = true;
            PublishGraph = false;
            FilterSet = string.Empty;

            VideoConfig.SetDefaults();
            AudioConfig.SetDefaults();
            SubtitleConfig.SetDefaults();
            COMConfig.SetDefaults();
        }
Ejemplo n.º 2
0
        public DirectShowPlayerConfiguration()
        {
            //set defaults if necessary
            VideoConfig       = new VideoConfiguration();
            AudioConfig       = new AudioConfiguration();
            SubtitleConfig    = new SubtitleConfiguration();
            SplitterConfig    = new SplitterConfiguration();
            COMConfig         = new KnownCOMObjectConfiguration();
            UsePrivateObjects = true;
            PublishGraph      = false;
            FilterSet         = string.Empty;

            VideoConfig.SetDefaults();
            AudioConfig.SetDefaults();
            SubtitleConfig.SetDefaults();
            COMConfig.SetDefaults();
        }