Пример #1
0
        public void SimpleTests()
        {
            var e   = new VpxEncoder(VpxCodec.VP8, null, VpxCodecFlags.None);
            var buf = e.GetGlobalHeaders();

            Assert.AreEqual(IntPtr.Zero, buf.Buffer, "there should be no global headers.");
        }
Пример #2
0
        public static void Main(string [] args)
        {
            var e   = new VpxEncoder(VpxCodec.VP8, null, VpxCodecFlags.None);
            var buf = e.GetGlobalHeaders();

            Console.WriteLine(buf.Size);
        }