projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename TYPE_DEBUG_PLAYER to TYPE_DEBUG_VIDEO_VIEW.
[dcpomatic.git]
/
src
/
lib
/
text_decoder.h
diff --git
a/src/lib/text_decoder.h
b/src/lib/text_decoder.h
index 02afeeb94251132984f24b7ae215e0734433b224..fba9b59472b74047db2d45761321582a833faf7e 100644
(file)
--- a/
src/lib/text_decoder.h
+++ b/
src/lib/text_decoder.h
@@
-44,7
+44,7
@@
public:
dcpomatic::ContentTime first
);
dcpomatic::ContentTime first
);
-
dcpomatic::ContentTime
position (boost::shared_ptr<const Film>) const {
+
boost::optional<dcpomatic::ContentTime>
position (boost::shared_ptr<const Film>) const {
return _position;
}
return _position;
}
@@
-68,7
+68,7
@@
public:
private:
boost::shared_ptr<const TextContent> _content;
private:
boost::shared_ptr<const TextContent> _content;
-
dcpomatic::ContentTime
_position;
+
boost::optional<dcpomatic::ContentTime>
_position;
};
#endif
};
#endif