Пример #1
0
        CodecConfiguration.Codec?GetCodecInfo(IBaseFilter filter, string name)
        {
            Guid guid;

            filter.GetClassID(out guid);
            CodecConfiguration.Codec c = new CodecConfiguration.Codec()
            {
                CLSID = guid.ToString("B"), Name = name
            };
            CodecConfiguration.CheckCodec(ref c);
            return(c);
        }
 CodecConfiguration.Codec? GetCodecInfo(IBaseFilter filter, string name)
 {
     Guid guid;
     filter.GetClassID(out guid);
     CodecConfiguration.Codec c = new CodecConfiguration.Codec() { CLSID = guid.ToString("B"), Name = name };
     CodecConfiguration.CheckCodec(ref c);
     return c;
 }