ffmpeg: do not warn when expecting EOF from lavfi.
This commit is contained in:
parent
3ae64dc48f
commit
1bca73cf18
2
ffmpeg.c
2
ffmpeg.c
@ -1964,7 +1964,7 @@ static int poll_filters(void)
|
|||||||
AV_BUFFERSINK_FLAG_NO_REQUEST);
|
AV_BUFFERSINK_FLAG_NO_REQUEST);
|
||||||
#endif
|
#endif
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
if (ret != AVERROR(EAGAIN)) {
|
if (ret != AVERROR(EAGAIN) && ret != AVERROR_EOF) {
|
||||||
char buf[256];
|
char buf[256];
|
||||||
av_strerror(ret, buf, sizeof(buf));
|
av_strerror(ret, buf, sizeof(buf));
|
||||||
av_log(NULL, AV_LOG_WARNING,
|
av_log(NULL, AV_LOG_WARNING,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user