FileDocCategorySizeDatePackage
ReplaceSampleTrack.javaAPI Docmp4parser 1.0-RC-173139Wed Dec 19 20:10:37 GMT 2012com.googlecode.mp4parser.authoring.tracks

ReplaceSampleTrack

public class ReplaceSampleTrack extends com.googlecode.mp4parser.authoring.AbstractTrack
Generates a Track where a single sample has been replaced by a given ByteBuffer.

Fields Summary
com.googlecode.mp4parser.authoring.Track
origTrack
private long
sampleNumber
private ByteBuffer
sampleContent
private List
samples
Constructors Summary
public ReplaceSampleTrack(com.googlecode.mp4parser.authoring.Track origTrack, long sampleNumber, ByteBuffer content)

        this.origTrack = origTrack;
        this.sampleNumber = sampleNumber;
        this.sampleContent = content;
        this.samples = new ReplaceASingleEntryList();

    
Methods Summary
public java.util.ListgetCompositionTimeEntries()

        return origTrack.getCompositionTimeEntries();

    
public java.util.ListgetDecodingTimeEntries()

        return origTrack.getDecodingTimeEntries();

    
public java.lang.StringgetHandler()

        return origTrack.getHandler();
    
public BoxgetMediaHeaderBox()

        return origTrack.getMediaHeaderBox();
    
public java.util.ListgetSampleDependencies()

        return origTrack.getSampleDependencies();
    
public SampleDescriptionBoxgetSampleDescriptionBox()

        return origTrack.getSampleDescriptionBox();
    
public java.util.ListgetSamples()

        return samples;
    
public SubSampleInformationBoxgetSubsampleInformationBox()

        return origTrack.getSubsampleInformationBox();
    
public synchronized long[]getSyncSamples()

        return origTrack.getSyncSamples();
    
public com.googlecode.mp4parser.authoring.TrackMetaDatagetTrackMetaData()

        return origTrack.getTrackMetaData();