2 * Meviz - Various tools collection to work with multimedia.
3 * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU General Public License
7 * as published by the Free Software Foundation.
10 package eu.svjatoslav.meviz.encoder;
12 import java.util.ArrayList;
14 public class EncodingPlan {
16 private final ArrayList<EncodingTask> encodingTasks = new ArrayList<>();
18 public void execute(final EncodingOptions encodingOptions) {
20 for (final EncodingTask task : encodingTasks)
21 task.execute(encodingOptions);
25 public void scheduleTask(final EncodingTask encodingTask) {
26 encodingTasks.add(encodingTask);