1 package com.coremedia.iso.boxes;
2 
3 import java.nio.ByteBuffer;
4 
5 public class SubtitleMediaHeaderBox extends AbstractMediaHeaderBox {
6 
7     public static final String TYPE = "sthd";
8 
SubtitleMediaHeaderBox()9     public SubtitleMediaHeaderBox() {
10         super(TYPE);
11     }
12 
getContentSize()13     protected long getContentSize() {
14         return 4;
15     }
16 
17     @Override
_parseDetails(ByteBuffer content)18     public void _parseDetails(ByteBuffer content) {
19         parseVersionAndFlags(content);
20     }
21 
22     @Override
getContent(ByteBuffer byteBuffer)23     protected void getContent(ByteBuffer byteBuffer) {
24         writeVersionAndFlags(byteBuffer);
25     }
26 
toString()27     public String toString() {
28         return "SubtitleMediaHeaderBox";
29     }
30 }
31