projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd4daa0
)
More details when the SRC fails.
author
Carl Hetherington
<cth@carlh.net>
Fri, 8 Apr 2016 17:12:46 +0000
(18:12 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 8 Apr 2016 17:12:46 +0000
(18:12 +0100)
src/lib/resampler.cc
patch
|
blob
|
history
diff --git
a/src/lib/resampler.cc
b/src/lib/resampler.cc
index 4010390b8e663ebf413efe09ceb10498aace41a2..43dc501625800a66a6e0ad39ea44aedf72abda88 100644
(file)
--- a/
src/lib/resampler.cc
+++ b/
src/lib/resampler.cc
@@
-93,7
+93,15
@@
Resampler::run (shared_ptr<const AudioBuffers> in)
if (r) {
delete[] data.data_in;
delete[] data.data_out;
- throw EncodeError (String::compose (N_("could not run sample-rate converter (%1)"), src_strerror (r)));
+ throw EncodeError (
+ String::compose (
+ N_("could not run sample-rate converter (%1) [processing %2 to %3, %4 channels]"),
+ src_strerror (r),
+ in_frames,
+ max_resampled_frames,
+ _channels
+ )
+ );
}
if (data.output_frames_gen == 0) {