org.mp4parser.boxes.iso14496.part12.SubtitleMediaHeaderBox Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of isoparser Show documentation
Show all versions of isoparser Show documentation
A generic parser and writer for all ISO 14496 based files (MP4, Quicktime, DCF, PDCF, ...)
package org.mp4parser.boxes.iso14496.part12;
import java.nio.ByteBuffer;
/**
* 4cc = "{@value #TYPE}"
*/
public class SubtitleMediaHeaderBox extends AbstractMediaHeaderBox {
public static final String TYPE = "sthd";
public SubtitleMediaHeaderBox() {
super(TYPE);
}
protected long getContentSize() {
return 4;
}
@Override
public void _parseDetails(ByteBuffer content) {
parseVersionAndFlags(content);
}
@Override
protected void getContent(ByteBuffer byteBuffer) {
writeVersionAndFlags(byteBuffer);
}
public String toString() {
return "SubtitleMediaHeaderBox";
}
}