summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-11 01:05:29 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commit49a1e2a600bd7b9d2d4a926256378e6134704a1a (patch)
tree4251de8d16e5b994569a1367e1b56f7e95719c27 /src/lib/video_decoder.cc
parent5487e9d12cd84f1dbe976ec022a4ddd4c3f52cd2 (diff)
Fix seek, for video at least.
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 a734f9b2a..761de0701 100644
--- a/src/lib/video_decoder.cc
+++ b/src/lib/video_decoder.cc
@@ -86,7 +86,7 @@ VideoDecoder::get (Frame frame, bool accurate)
_log->log (String::compose ("VD has request for %1", frame), LogEntry::TYPE_DEBUG_DECODE);
if (_decoded.empty() || frame < _decoded.front().frame || frame > (_decoded.back().frame + 1)) {
- seek (ContentTime::from_frames (frame, _content->active_video_frame_rate()), accurate);
+ _parent->seek (ContentTime::from_frames (frame, _content->active_video_frame_rate()), accurate);
}
list<ContentVideo> dec;