ffmpeg | branch: master | Andriy Gelman <andriy.gel...@gmail.com> | Sun Oct  6 
01:49:48 2019 -0400| [634529c40d62e02bacea3a7f91d4226a9e4b3cbc] | committer: 
Gyan Doshi

avformat/chromaprint: improve logging message

Setting silence_threshold requires that -algorithm is set to 3.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=634529c40d62e02bacea3a7f91d4226a9e4b3cbc
---

 libavformat/chromaprint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to