History

lavfi: make AVFilterPad opaque after two major bumps.

It will allow adding new fields to it without ABI breaks.

Anton Khirnov committed 14 years ago

Commit 9d0bfc51 parent 84b9fbe39 files · +179 −6Browse files

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

Unified · Split

libavfilter/avfilter.h+7−0
@@ -235,8 +235,14 @@ void avfilter_set_common_formats(AVFilterContext *ctx, AVFilterFormats *formats) · 234 unmodified lines
235 */235 */
236#endif236#endif
237 237
238#if FF_API_AVFILTERPAD_PUBLIC
238/**239/**
239 * A filter pad used for either input or output.240 * A filter pad used for either input or output.
241 *
242 * @warning this struct will be removed from public API.
243 * users should call avfilter_pad_get_name() and avfilter_pad_get_type()
244 * to access the name and type fields; there should be no need to access
245 * any other fields from outside of libavfilter.
240 */246 */
241struct AVFilterPad {247struct AVFilterPad {
242 /**248 /**
@@ -358,6 +364,7 @@ struct AVFilterPad { · 115 unmodified lines
358 */364 */
359 int (*config_props)(AVFilterLink *link);365 int (*config_props)(AVFilterLink *link);
360};366};
367#endif
361 368
362/**369/**
363 * Get the name of an AVFilterPad.370 * Get the name of an AVFilterPad.

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