diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-12-13 22:03:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-12-13 22:03:56 +0000 |
| commit | 3c634dda1e88fe04b0f468f39bd13ea41a80989b (patch) | |
| tree | 6174ed73dab44d105ecc2f17620890b84efa14b6 /src/lib/decoder.cc | |
| parent | fb771f2613cd3e7f43bf613d592d6937a1017f2d (diff) | |
Reset VideoDecoder::_position on seek.
Diffstat (limited to 'src/lib/decoder.cc')
| -rw-r--r-- | src/lib/decoder.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index 0d4f4babf..502273de1 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -52,6 +52,9 @@ Decoder::position () const void Decoder::seek (ContentTime, bool) { + if (video) { + video->seek (); + } if (audio) { audio->seek (); } |
