Commit b22993e9 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

ext/wavpack/gstwavpackdec.c: Also print a useful error message with the old...

ext/wavpack/gstwavpackdec.c: Also print a useful error message with the old Wavpack API if possible.

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Also print a useful error message with the old Wavpack API
if possible.
parent 8e51b993
2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Also print a useful error message with the old Wavpack API
if possible.
2007-12-09 Tim-Philipp Müller <tim at centricular dot net>
 
* ext/wavpack/gstwavpackdec.c:
......
......@@ -417,7 +417,9 @@ decode_error:
const gchar *reason = "unknown";
if (dec->context) {
#ifndef WAVPACK_OLD_API
#ifdef WAVPACK_OLD_API
reason = dec->context->error_message;
#else
reason = WavpackGetErrorMessage (dec->context);
#endif
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment