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
235235 */
236236 #endif
237237
238+#if FF_API_AVFILTERPAD_PUBLIC
238239 /**
239240 * 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.
240246 */
241247 struct AVFilterPad {
242248 /**
@@ -358,6 +364,7 @@ struct AVFilterPad { · 115 unmodified lines
358364 */
359365 int (*config_props)(AVFilterLink *link);
360366 };
367+#endif
361368
362369 /**
363370 * 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