Various fixes to push audio vaguely in the right direction.
[dcpomatic.git] / src / lib / subtitle_decoder.h
index a1c4b3ddc34b5db80455ec694243df81848e7dae..2b38153bf514a63cd129e16e92e17427fe46bcc5 100644 (file)
@@ -48,11 +48,7 @@ public:
                boost::shared_ptr<Log> log
                );
 
-       void set_position (ContentTime position) {
-               _position = position;
-       }
-
-       boost::optional<ContentTime> position () const {
+       ContentTime position () const {
                return _position;
        }
 
@@ -69,7 +65,7 @@ public:
 
 private:
        boost::shared_ptr<const SubtitleContent> _content;
-       boost::optional<ContentTime> _position;
+       ContentTime _position;
 };
 
 #endif