Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriy Gelman <andriy.gelman@gmail.com>2019-10-06 08:49:48 +0300
committerGyan Doshi <ffmpeg@gyani.pro>2019-10-14 09:59:40 +0300
commit634529c40d62e02bacea3a7f91d4226a9e4b3cbc (patch)
treecb6033c8e906d2804d3433ea37e5e32b59a529d1 /libavformat/chromaprint.c
parent1108bd517363c50740025fcc58ae1e572c8150a0 (diff)
avformat/chromaprint: improve logging message
Setting silence_threshold requires that -algorithm is set to 3.
Diffstat (limited to 'libavformat/chromaprint.c')
-rw-r--r--libavformat/chromaprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c
index 547e801cdd..a4c0b97d99 100644
--- a/libavformat/chromaprint.c
+++ b/libavformat/chromaprint.c
@@ -73,7 +73,7 @@ static int write_header(AVFormatContext *s)
if (cpr->silence_threshold != -1) {
#if CPR_VERSION_INT >= AV_VERSION_INT(0, 7, 0)
if (!chromaprint_set_option(cpr->ctx, "silence_threshold", cpr->silence_threshold)) {
- av_log(s, AV_LOG_ERROR, "Failed to set silence threshold.\n");
+ av_log(s, AV_LOG_ERROR, "Failed to set silence threshold. Setting silence_threshold requires -algorithm 3 option.\n");
goto fail;
}
#else