History

fftools/ffmpeg_filter: do not flush encoders on parameter change

It makes no sense to do so.

Anton Khirnov committed 3 years ago

Commit ba2c7911 parent 10616731 file · +1 −1Browse files

Unified · Split

fftools/ffmpeg_filter.c+1−1
@@ -1905,7 +1905,7 @@ int ifilter_send_frame(InputFilter *ifilter, AVFrame *frame, int keep_reference) · 1904 unmodified lines
1905 return ret;1905 return ret;
1906 }1906 }
1907 1907
1908 ret = reap_filters(1);1908 ret = reap_filters(0);
1909 if (ret < 0 && ret != AVERROR_EOF) {1909 if (ret < 0 && ret != AVERROR_EOF) {
1910 av_log(NULL, AV_LOG_ERROR, "Error while filtering: %s\n", av_err2str(ret));1910 av_log(NULL, AV_LOG_ERROR, "Error while filtering: %s\n", av_err2str(ret));
1911 return ret;1911 return ret;

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