summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-13 22:03:56 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-13 22:03:56 +0000
commit3c634dda1e88fe04b0f468f39bd13ea41a80989b (patch)
tree6174ed73dab44d105ecc2f17620890b84efa14b6 /src/lib/video_decoder.h
parentfb771f2613cd3e7f43bf613d592d6937a1017f2d (diff)
Reset VideoDecoder::_position on seek.
Diffstat (limited to 'src/lib/video_decoder.h')
-rw-r--r--src/lib/video_decoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h
index 8b199bd1d..c5e2ea4cf 100644
--- a/src/lib/video_decoder.h
+++ b/src/lib/video_decoder.h
@@ -55,6 +55,8 @@ public:
return _position;
}
+ void seek ();
+
void emit (boost::shared_ptr<const ImageProxy>, Frame frame);
/** @return true if the emitted data was accepted, false if not */