org.jcodec.containers.mkv.elements.CuePoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcodec Show documentation
Show all versions of jcodec Show documentation
Pure Java implementation of video/audio codecs and formats
package org.jcodec.containers.mkv.elements;
import java.util.ArrayList;
import java.util.List;
import org.jcodec.containers.mkv.Type;
import org.jcodec.containers.mkv.ebml.MasterElement;
public class CuePoint extends MasterElement {
public long cueTime;
public List positions = new ArrayList();
public CuePoint(long cueTime){
super(Type.CuePoint.id);
this.cueTime = cueTime;
}
public CuePoint(byte[] type) {
super(type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("CueTime: ").append(cueTime);
for (CueTrackPosition position : positions)
sb.append(position.toString());
return sb.toString();
}
}