History

avfilter/avfilter: add AVFilterGraph->max_buffered_frames to limit buffered frames

Marton Balint committed 1 year ago

Commit b24155c1 parent 71468e84 files · +17 −2Browse files

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

Unified · Split

libavfilter/avfilter.h+8−0
@@ -629,6 +629,14 @@ typedef struct AVFilterGraph { · 628 unmodified lines
629629 avfilter_execute_func *execute;
630630
631631 char *aresample_swr_opts; ///< swr options to use for the auto-inserted aresample filters, Access ONLY through AVOptions
632+
633+ /**
634+ * Sets the maximum number of buffered frames in the filtergraph combined.
635+ *
636+ * Zero means no limit. This field must be set before calling
637+ * avfilter_graph_config().
638+ */
639+ unsigned max_buffered_frames;
632640 } AVFilterGraph;
633641
634642 /**

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