]> git.sesse.net Git - casparcg/blobdiff - core/producer/layer.h
2.1.0: Make auto-play-delta a boost::optional instead of magic number int.
[casparcg] / core / producer / layer.h
index f3d680a943beef67c60748133aef9c0fdaa1f1b8..3ce23bd09bd7a5a6277154e99ec438f9b05beb57 100644 (file)
@@ -45,7 +45,7 @@ public:
 \r
        void swap(layer& other); // nothrow \r
                \r
-       void load(const safe_ptr<frame_producer>& producer, bool preview, int auto_play_delta); // nothrow\r
+       void load(const safe_ptr<frame_producer>& producer, bool preview, const boost::optional<int32_t>& auto_play_delta = nullptr); // nothrow\r
        void play(); // nothrow\r
        void pause(); // nothrow\r
        void stop(); // nothrow\r