Unified · Split
| @@ -451,6 +451,8 @@ struct AVFilterPad { · 450 unmodified lines | ||
| 451 | 451 | * Frame request callback. A call to this should result in at least one |
| 452 | 452 | * frame being output over the given link. This should return zero on |
| 453 | 453 | * success, and another value on error. |
| 454 | + * See avfilter_request_frame() for the error codes with a specific | |
| 455 | + * meaning. | |
| 454 | 456 | * |
| 455 | 457 | * Output video pads only. |
| 456 | 458 | */ |
| @@ -777,7 +779,10 @@ avfilter_get_audio_buffer_ref_from_arrays(uint8_t *data[8], int linesize[8], int · 320 unmodified lines | ||
| 777 | 779 | * Request an input frame from the filter at the other end of the link. |
| 778 | 780 | * |
| 779 | 781 | * @param link the input link |
| 780 | − * @return zero on success | |
| 782 | + * @return zero on success or a negative error code; in particular: | |
| 783 | + * AVERROR_EOF means that the end of frames have been reached; | |
| 784 | + * AVERROR(EAGAIN) means that no frame could be immediately | |
| 785 | + * produced. | |
| 781 | 786 | */ |
| 782 | 787 | int avfilter_request_frame(AVFilterLink *link); |
| 783 | 788 | |