Apply the same rules to closed captions.
[libdcp.git] / src / reel_markers_asset.h
index 4077fbbe281b0e392ad2d2a5e863594deb9c0f27..24dff222b2a06b6c1524b5cdec2075b1308b4152 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "reel_asset.h"
 #include "dcp_time.h"
+#include <map>
 
 namespace dcp {
 
@@ -48,6 +49,9 @@ public:
        void set (Marker, Time);
        void unset (Marker);
        boost::optional<Time> get (Marker m) const;
+       std::map<Marker, Time> get () const {
+               return _markers;
+       }
 
 protected:
        std::string cpl_node_name (Standard) const;