diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-09 20:29:19 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-09 20:29:19 +0000 |
| commit | 1c0f437ea1cbd6231ef9395b1f07c982cd408c39 (patch) | |
| tree | 1b951cfbaba9a85f75cb1a8ae54c6a997fc8fef8 /src/lib/player.cc | |
| parent | 2b69ea346a5c8f550c3be474db9734dd754eb1a0 (diff) | |
Try to fix crash on drop()ping JobManager. More debugging when resampler fails.
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 4fbd906c6..220cf83c0 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -564,6 +564,12 @@ Player::resampler (shared_ptr<AudioContent> c, bool create) if (!create) { return shared_ptr<Resampler> (); } + + _film->log()->log ( + String::compose ( + "Creating new resampler for %1 to %2 with %3 channels", c->content_audio_frame_rate(), c->output_audio_frame_rate(), c->audio_channels() + ) + ); shared_ptr<Resampler> r (new Resampler (c->content_audio_frame_rate(), c->output_audio_frame_rate(), c->audio_channels())); _resamplers[c] = r; |
