summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-10 22:51:55 +0100
committerCarl Hetherington <cth@carlh.net>2019-11-11 14:15:44 +0100
commit0e8a1ab7c41756115f44229053e1e7024530fb32 (patch)
treeddeeb9969f5c783ba208574da67c9c7fc591b623 /src/lib/video_decoder.cc
parentc247a1b81b78164acf84f4b003062fab25e64b53 (diff)
Make DecoderPart::_position an optional.
Diffstat (limited to 'src/lib/video_decoder.cc')
-rw-r--r--src/lib/video_decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc
index 0b97e5e87..7a3a3e19b 100644
--- a/src/lib/video_decoder.cc
+++ b/src/lib/video_decoder.cc
@@ -118,7 +118,7 @@ VideoDecoder::emit (shared_ptr<const Film> film, shared_ptr<const ImageProxy> im
void
VideoDecoder::seek ()
{
- _position = ContentTime();
+ _position = boost::optional<ContentTime>();
_last_emitted_frame.reset ();
_last_emitted_eyes.reset ();
}