diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-04 00:22:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-04 00:22:46 +0100 |
| commit | d0c2e5d14224e0d1058a9b7058f88e6b32dc8e6f (patch) | |
| tree | 7d768f0561d2979a81a2a5a2eb893a97636b606f /src | |
| parent | 190c074cc1508c0aa429452ea920f8f94ef0d0f2 (diff) | |
Fix blank display if we read off the end.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/playlist.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index dc8ad1ef7..a7862f116 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -332,6 +332,8 @@ Player::seek (double t) if (!_ffmpeg_decoder || _ffmpeg_decoder->seek (t)) { r = true; } + /* We're seeking, so all `all done' bets are off */ + _ffmpeg_decoder_done = false; break; case Playlist::VIDEO_IMAGEMAGICK: /* Find the decoder that contains this position */ @@ -375,6 +377,9 @@ Player::seek_to_last () if (!_ffmpeg_decoder || _ffmpeg_decoder->seek_to_last ()) { r = true; } + + /* We're seeking, so all `all done' bets are off */ + _ffmpeg_decoder_done = false; break; case Playlist::VIDEO_IMAGEMAGICK: if ((*_imagemagick_decoder)->seek_to_last ()) { |
