History

lavfi: loop on request_frame if necessary.

Some filters need several input frames before producing output. For these filter, it becomes simpler to return 0 in request_frame() and let the framework call it again until output has been produced.

Nicolas George committed 13 years ago

Commit 79d8cfa1 parent c2085763 files · +40 −2Browse files

Showing the changes to libavfilter/avfilter.h (1 of 3 files). Show all

Unified · Split

libavfilter/avfilter.h+11−0
@@ -682,6 +682,17 @@ struct AVFilterLink { · 681 unmodified lines
682 * Number of channels.682 * Number of channels.
683 */683 */
684 int channels;684 int channels;
685
686 /**
687 * True if a frame is being requested on the link.
688 * Used internally by the framework.
689 */
690 unsigned frame_requested;
691
692 /**
693 * Link processing flags.
694 */
695 unsigned flags;
685};696};
686 697
687/**698/**

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