
org.monte.media.seq.SEQDemultiplexer Maven / Gradle / Ivy
/*
* @(#)SEQDemultiplexer.java 1.0 2011-02-20
*
* Copyright (c) 2011 Werner Randelshofer, Goldau, Switzerland.
* All rights reserved.
*
* You may not use, copy or modify this file, except in compliance with the
* license agreement you entered into with Werner Randelshofer.
* For details see accompanying license terms.
*/
package org.monte.media.seq;
import org.monte.media.Demultiplexer;
import org.monte.media.Track;
import java.io.File;
import java.io.IOException;
/**
* {@code SEQDemultiplexer}.
*
* @author Werner Randelshofer
* @version 1.0 2011-02-20 Created.
*/
public class SEQDemultiplexer extends SEQReader implements Demultiplexer {
private Track[] tracks;
public SEQDemultiplexer(File file) throws IOException {
super(file);
}
public SEQDemultiplexer(File file, boolean variableFramerate) throws IOException {
super(file, variableFramerate);
}
@Override
public Track[] getTracks() {
if (tracks == null) {
tracks = new Track[]{new SEQTrack(this)};
}
return tracks.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy