Regalamiunsorriso/decompiled-libs/www/acxent-videoj-1.0.0/org/jcodec/movtool/CompoundMP4Edit.java

23 lines
604 B
Java

package org.jcodec.movtool;
import java.util.List;
import org.jcodec.containers.mp4.boxes.MovieBox;
import org.jcodec.containers.mp4.boxes.MovieFragmentBox;
public class CompoundMP4Edit implements MP4Edit {
private List<MP4Edit> edits;
public CompoundMP4Edit(List<MP4Edit> edits) {
this.edits = edits;
}
public void applyToFragment(MovieBox mov, MovieFragmentBox[] fragmentBox) {
for (MP4Edit command : this.edits)
command.applyToFragment(mov, fragmentBox);
}
public void apply(MovieBox mov) {
for (MP4Edit command : this.edits)
command.apply(mov);
}
}