History

avfilter: document request_frame return codes.

Nicolas George committed 14 years ago

Commit 78ac49c1 parent 73bc0191 file · +6 −1Browse files

Unified · Split

libavfilter/avfilter.h+6−1
@@ -451,6 +451,8 @@ struct AVFilterPad { · 450 unmodified lines
451 * Frame request callback. A call to this should result in at least one451 * Frame request callback. A call to this should result in at least one
452 * frame being output over the given link. This should return zero on452 * frame being output over the given link. This should return zero on
453 * success, and another value on error.453 * success, and another value on error.
454 * See avfilter_request_frame() for the error codes with a specific
455 * meaning.
454 *456 *
455 * Output video pads only.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 * Request an input frame from the filter at the other end of the link.779 * Request an input frame from the filter at the other end of the link.
778 *780 *
779 * @param link the input link781 * @param link the input link
780 * @return zero on success782 * @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 */
782int avfilter_request_frame(AVFilterLink *link);787int avfilter_request_frame(AVFilterLink *link);
783 788

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