This is not an erroneous condition, do not print a warning.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
... | ... |
@@ -175,9 +175,7 @@ static int request_frame(AVFilterLink *link) |
175 | 175 |
if (!av_fifo_size(c->fifo)) { |
176 | 176 |
if (c->eof) |
177 | 177 |
return AVERROR_EOF; |
178 |
- av_log(link->src, AV_LOG_ERROR, |
|
179 |
- "request_frame() called with no available frame!\n"); |
|
180 |
- return AVERROR(EINVAL); |
|
178 |
+ return AVERROR(EAGAIN); |
|
181 | 179 |
} |
182 | 180 |
av_fifo_generic_read(c->fifo, &buf, sizeof(buf), NULL); |
183 | 181 |
|