12345678910111213141516171819202122232425262728293031323334353637383940 |
- #include "mp4common.h"
- MP4CttsAtom::MP4CttsAtom()
- : MP4Atom("ctts")
- {
- AddVersionAndFlags();
- MP4Integer32Property* pCount =
- new MP4Integer32Property("entryCount");
- AddProperty(pCount);
- MP4TableProperty* pTable = new MP4TableProperty("entries", pCount);
- AddProperty(pTable);
- pTable->AddProperty(
- new MP4Integer32Property("sampleCount"));
- pTable->AddProperty(
- new MP4Integer32Property("sampleOffset"));
- }
|