summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2011-12-07 19:45:09 +0200
committerLaszlo Papp <ext-laszlo.papp@nokia.com>2011-12-07 19:45:09 +0200
commit0ebf9def12ac5be21894078d8584c074517dedf6 (patch)
tree295ee63ccbebd60e73630256528374c7744d8350
parent5f51d33b66d39da263e64c15024ded46ebeba93a (diff)
Make the warning message more precise if the tell operation fails for a reason
-rw-r--r--src/decoders/qalflacaudiodecoder.cpp5
1 files changed, 4 insertions, 1 deletions
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;