FileDocCategorySizeDatePackage
TrackFragmentBaseMediaDecodeTimeBox.javaAPI Docmp4parser 1.0-RC-172190Wed Dec 19 20:10:38 GMT 2012com.coremedia.iso.boxes.fragment

TrackFragmentBaseMediaDecodeTimeBox

public class TrackFragmentBaseMediaDecodeTimeBox extends com.googlecode.mp4parser.AbstractFullBox

Fields Summary
public static final String
TYPE
private long
baseMediaDecodeTime
Constructors Summary
public TrackFragmentBaseMediaDecodeTimeBox()


      
        super(TYPE);
    
Methods Summary
public void_parseDetails(java.nio.ByteBuffer content)

        parseVersionAndFlags(content);
        if (getVersion() == 1) {
            baseMediaDecodeTime = IsoTypeReader.readUInt64(content);
        } else {
            baseMediaDecodeTime = IsoTypeReader.readUInt32(content);
        }

    
public longgetBaseMediaDecodeTime()

        return baseMediaDecodeTime;
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        if (getVersion() == 1) {
            IsoTypeWriter.writeUInt64(byteBuffer, baseMediaDecodeTime);
        } else {
            IsoTypeWriter.writeUInt32(byteBuffer, baseMediaDecodeTime);
        }
    
protected longgetContentSize()

        return getVersion() == 0 ? 8 : 12;
    
public voidsetBaseMediaDecodeTime(long baseMediaDecodeTime)

        this.baseMediaDecodeTime = baseMediaDecodeTime;
    
public java.lang.StringtoString()

        return "TrackFragmentBaseMediaDecodeTimeBox{" +
                "baseMediaDecodeTime=" + baseMediaDecodeTime +
                '}";