@@ -98,6 +98,46 @@ namespace MPF { namespace COMPONENT {
9898 };
9999
100100
101+ struct MPFAllVideoTracksJob : MPFJob {
102+ const int start_frame;
103+ const int stop_frame;
104+ const bool has_feed_forward_tracks;
105+ const std::vector<MPFVideoTrack> feed_forward_tracks;
106+
107+ MPFAllVideoTracksJob (std::string job_name,
108+ std::string data_uri,
109+ int start_frame,
110+ int stop_frame,
111+ Properties job_properties,
112+ Properties media_properties)
113+ : MPFJob(std::move(job_name),
114+ std::move (data_uri),
115+ std::move(job_properties),
116+ std::move(media_properties))
117+ , start_frame(start_frame)
118+ , stop_frame(stop_frame)
119+ , has_feed_forward_tracks(false ) {
120+ }
121+
122+ MPFAllVideoTracksJob (std::string job_name,
123+ std::string data_uri,
124+ int start_frame,
125+ int stop_frame,
126+ std::vector<MPFVideoTrack> tracks,
127+ Properties job_properties,
128+ Properties media_properties)
129+ : MPFJob(std::move(job_name),
130+ std::move(data_uri),
131+ std::move(job_properties),
132+ std::move(media_properties))
133+ , start_frame(start_frame)
134+ , stop_frame(stop_frame)
135+ , has_feed_forward_tracks(true )
136+ , feed_forward_tracks(std::move(tracks)) {
137+ }
138+ };
139+
140+
101141 struct MPFImageJob : MPFJob {
102142 const bool has_feed_forward_location;
103143 const MPFImageLocation feed_forward_location;
0 commit comments