mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
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.
This commit is contained in:
parent
8e51b9930b
commit
b22993e9b2
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2007-12-09 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* ext/wavpack/gstwavpackdec.c:
|
* ext/wavpack/gstwavpackdec.c:
|
||||||
|
|
|
@ -417,7 +417,9 @@ decode_error:
|
||||||
const gchar *reason = "unknown";
|
const gchar *reason = "unknown";
|
||||||
|
|
||||||
if (dec->context) {
|
if (dec->context) {
|
||||||
#ifndef WAVPACK_OLD_API
|
#ifdef WAVPACK_OLD_API
|
||||||
|
reason = dec->context->error_message;
|
||||||
|
#else
|
||||||
reason = WavpackGetErrorMessage (dec->context);
|
reason = WavpackGetErrorMessage (dec->context);
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue