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
451451 * Frame request callback. A call to this should result in at least one
452452 * frame being output over the given link. This should return zero on
453453 * success, and another value on error.
454+ * See avfilter_request_frame() for the error codes with a specific
455+ * meaning.
454456 *
455457 * Output video pads only.
456458 */
@@ -777,7 +779,10 @@ avfilter_get_audio_buffer_ref_from_arrays(uint8_t *data[8], int linesize[8], int · 320 unmodified lines
777779 * Request an input frame from the filter at the other end of the link.
778780 *
779781 * @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.
781786 */
782787 int avfilter_request_frame(AVFilterLink *link);
783788

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