1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
-
-
- #include "mp4common.h"
-
- MP4ChplAtom::MP4ChplAtom () : MP4Atom("chpl")
- {
-
-
-
-
-
- AddVersionAndFlags();
-
-
- AddReserved("reserved", 1);
-
-
- MP4Integer32Property * counter = new MP4Integer32Property("chaptercount");
- AddProperty(counter);
-
-
- MP4TableProperty * list = new MP4TableProperty("chapters", counter);
-
-
- list->AddProperty(new MP4Integer64Property("starttime"));
-
-
- list->AddProperty(new MP4StringProperty("name", true));
-
-
- AddProperty(list);
- }
-
- void MP4ChplAtom::Generate ()
- {
- SetVersion(1);
- }
|