History

Prefix with "ff_" the functions: ff_avfilter_graph_check_validity() ff_avfilter_graph_config_links() ff_avfilter_graph_config_formats()

and move their declaration to internal.h. These functions are never used in application code, so it is better to consider them internal functions, this can be changed later if necessary. Simplify API. Originally committed as revision 25737 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 16 years ago

Commit 4fcbb2a1 parent bbf07bf5 files · +42 −31Browse files

Showing the changes to libavfilter/avfiltergraph.h (1 of 5 files). Show all

Unified · Split

libavfilter/avfiltergraph.h+3−24
@@ -52,33 +52,12 @@ AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name); · 51 unmodified lines
52 */52 */
53int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter);53int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter);
54 54
55/**
56 * Check for the validity of graph.
57 *
58 * A graph is considered valid if all its input and output pads are
59 * connected.
60 *
61 * @return 0 in case of success, a negative value otherwise
62 */
63int avfilter_graph_check_validity(AVFilterGraph *graphctx, AVClass *log_ctx);
64
65/**
66 * Configure all the links of graphctx.
67 *
68 * @return 0 in case of success, a negative value otherwise
69 */
70int avfilter_graph_config_links(AVFilterGraph *graphctx, AVClass *log_ctx);
71
72/**
73 * Configure the formats of all the links in the graph.
74 */
75int avfilter_graph_config_formats(AVFilterGraph *graphctx, AVClass *log_ctx);
76
77/**55/**
78 * Check validity and configure all the links and formats in the graph.56 * Check validity and configure all the links and formats in the graph.
79 *57 *
80 * @see avfilter_graph_check_validity(), avfilter_graph_config_links(),58 * @param graphctx the filter graph
81 * avfilter_graph_config_formats()59 * @param log_ctx context used for logging
60 * @return 0 in case of success, a negative AVERROR code otherwise
82 */61 */
83int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx);62int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx);
84 63

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