diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-07 20:53:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-07 20:53:44 +0100 |
| commit | eecad2ada9fe83ab90be735c2aa333dba73434b4 (patch) | |
| tree | ffd52280f6ec8bb61f6ba78d27bc48e014dd4d8c | |
| parent | 9fa643bdebdcb39cca4b529f13fdd0fbfd721d58 (diff) | |
Fix silly bug introduced when speeding up ImageMagick content.
| -rw-r--r-- | src/lib/player.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index d86437cd2..68a962cdd 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -78,7 +78,7 @@ Player::pass () if (_video && _video_decoder < _video_decoders.size ()) { /* Run video decoder; this may also produce audio */ - + if (_video_decoders[_video_decoder]->pass ()) { _video_decoder++; } @@ -257,6 +257,8 @@ Player::setup_decoders () audio_content = fc; video_decoder = fd; audio_decoder = fd; + + video_decoder->connect_video (shared_from_this ()); } shared_ptr<const ImageMagickContent> ic = dynamic_pointer_cast<const ImageMagickContent> (*i); |
