summaryrefslogtreecommitdiff
path: root/libs/canvas/wave_view.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-09-02 12:24:37 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-09-02 12:24:37 -0400
commite91a0f7e11d33694d693df443c9cff4644c751b9 (patch)
treefafd777e7e80636e29aebc465b01d21ecbb22c1e /libs/canvas/wave_view.cc
parent2e96b62a1eb82f8e3413f14390a6cdb8ee2fc898 (diff)
a couple of debug output statements to help diagnose a crash
Diffstat (limited to 'libs/canvas/wave_view.cc')
-rw-r--r--libs/canvas/wave_view.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/canvas/wave_view.cc b/libs/canvas/wave_view.cc
index 6fab308a54..e3377ab1d9 100644
--- a/libs/canvas/wave_view.cc
+++ b/libs/canvas/wave_view.cc
@@ -1006,12 +1006,16 @@ WaveView::generate_image (boost::shared_ptr<WaveViewThreadRequest> req, bool in_
} else {
draw_absent_image (req->image, peaks.get(), n_peaks);
}
+ } else {
+ cerr << "Request stopped before image generation\n";
}
if (in_render_thread && !req->should_stop()) {
DEBUG_TRACE (DEBUG::WaveView, string_compose ("done with request for %1 at %2 CR %3 req %4 range %5 .. %6\n", this, g_get_monotonic_time(), current_request, req, req->start, req->end));
const_cast<WaveView*>(this)->ImageReady (); /* emit signal */
}
+
+ cerr << "Generate image done, image = " << req->image << endl;
return;
}