From 0ebf9def12ac5be21894078d8584c074517dedf6 Mon Sep 17 00:00:00 2001 From: Laszlo Papp Date: Wed, 7 Dec 2011 19:45:09 +0200 Subject: Make the warning message more precise if the tell operation fails for a reason --- src/decoders/qalflacaudiodecoder.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/decoders/qalflacaudiodecoder.cpp b/src/decoders/qalflacaudiodecoder.cpp index 3c1ee4b..0083dea 100644 --- a/src/decoders/qalflacaudiodecoder.cpp +++ b/src/decoders/qalflacaudiodecoder.cpp @@ -195,7 +195,10 @@ QALFlacAudioDecoder::pos() { FLAC__uint64 position; if (FLAC__stream_decoder_get_decode_position(d->flacStreamDecoder, &position) == false) { - qWarning() << Q_FUNC_INFO << "Failed to tell the current position"; + qWarning() << Q_FUNC_INFO << "Failed to tell the current position: the" + "stream is not native FLAC, or there was an error from the 'tell'" + "callback or it returned" + "FLAC__STREAM_DECODER_TELL_STATUS_UNSUPPORTED."; } return position; -- cgit v1.2.3