History

avformat/chromaprint: improve logging message

Setting silence_threshold requires that -algorithm is set to 3.

Andriy Gelman committed 7 years ago

Commit 634529c1 parent 1108bd51 file · +1 −1Browse files

Unified · Split

libavformat/chromaprint.c+1−1
@@ -73,7 +73,7 @@ static int write_header(AVFormatContext *s) · 72 unmodified lines
7373 if (cpr->silence_threshold != -1) {
7474 #if CPR_VERSION_INT >= AV_VERSION_INT(0, 7, 0)
7575 if (!chromaprint_set_option(cpr->ctx, "silence_threshold", cpr->silence_threshold)) {
76− av_log(s, AV_LOG_ERROR, "Failed to set silence threshold.\n");
76+ av_log(s, AV_LOG_ERROR, "Failed to set silence threshold. Setting silence_threshold requires -algorithm 3 option.\n");
7777 goto fail;
7878 }
7979 #else

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t