예제 #1
0
        public Minf(FileStream fs, ulong maximumLength, uint timeScale, string handlerType, Mdia mdia)
        {
            this.Position = (ulong)fs.Position;
            while (fs.Position < (long)maximumLength)
            {
                if (!this.InitializeSizeAndName(fs))
                {
                    return;
                }

                if (this.Name == "stbl")
                {
                    this.Stbl = new Stbl(fs, this.Position, timeScale, handlerType, mdia);
                }

                fs.Seek((long)this.Position, SeekOrigin.Begin);
            }
        }
예제 #2
0
        public Minf(FileStream fs, ulong maximumLength, UInt32 timeScale, string handlerType, Mdia mdia)
        {
            Position = (ulong)fs.Position;
            while (fs.Position < (long)maximumLength)
            {
                if (!InitializeSizeAndName(fs))
                {
                    return;
                }

                if (Name == "stbl")
                {
                    Stbl = new Stbl(fs, Position, timeScale, handlerType, mdia);
                }

                fs.Seek((long)Position, SeekOrigin.Begin);
            }
        }