diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-05 23:56:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-05 23:56:26 +0100 |
| commit | d39e59cbfff3b886af7a7d9c9c48f3f7f5928e43 (patch) | |
| tree | 605c8e2147936965e37b8938f71c8e601358d1bc /src/lib/player.cc | |
| parent | 2aee5a897a250c8834f47321aed99b9c7fbf6299 (diff) | |
A couple of fixes to hangs when over-trimming content.
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 20cea7e4a..7bf78c905 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -95,7 +95,7 @@ Player::pass () } type = VIDEO; for (list<shared_ptr<Piece> >::iterator i = _pieces.begin(); i != _pieces.end(); ++i) { - if ((*i)->decoder->done ()) { + if ((*i)->decoder->done () || (*i)->content->length_after_trim() == 0) { continue; } |
