コード例 #1
0
        VsICoreEncoder VsICoreEncoderDescription.CreateEncoder(long syncTimer, object config)
        {
            VsWmvEncoderConfiguration cfg = (VsWmvEncoderConfiguration)config;

            if (cfg != null)
            {
                VsWmvEncoder encoder = new VsWmvEncoder(syncTimer);

                encoder.EncoderName = cfg.CodecsName;

                return (VsWmvEncoder)encoder;
            }
            return null;
        }
コード例 #2
0
        VsICoreEncoder VsICoreEncoderDescription.CreateEncoder(long syncTimer, object config)
        {
            VsWmvEncoderConfiguration cfg = (VsWmvEncoderConfiguration)config;

            if (cfg != null)
            {
                VsWmvEncoder encoder = new VsWmvEncoder(syncTimer);

                encoder.EncoderName = cfg.CodecsName;

                return((VsWmvEncoder)encoder);
            }
            return(null);
        }