Fix multiple video overlaps.
[dcpomatic.git] / src / lib / piece.h
index c617de544cd5214e5f7c40d1e2165a12240a1cf9..41b9aa2dcc87ae5ca01bc9eac79063de1aa9740c 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "dcpomatic_time.h"
 #include "frame_rate_change.h"
+#include <vector>
 
 
 class Content;
@@ -43,7 +44,7 @@ public:
 
        std::shared_ptr<Content> content;
        std::shared_ptr<Decoder> decoder;
-       boost::optional<dcpomatic::DCPTimePeriod> ignore_video;
+       std::vector<dcpomatic::DCPTimePeriod> ignore_video;
        FrameRateChange frc;
        bool done;
 };