History

avfilter: Remove avfilter_next/avfilter_register API

Deprecated in 8f1382f80e0d4184c54c14afdda6482f050fbba7.

Andreas Rheinhardt committed 5 years ago

Commit ec82ff81 parent 3a370863 files · +0 −76Browse files

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

Unified · Split

libavfilter/avfilter.h+0−35
@@ -286,14 +286,6 @@ typedef struct AVFilter { · 285 unmodified lines
286 286
287 int flags_internal; ///< Additional flags for avfilter internal use only.287 int flags_internal; ///< Additional flags for avfilter internal use only.
288 288
289#if FF_API_NEXT
290 /**
291 * Used by the filter registration system. Must not be touched by any other
292 * code.
293 */
294 struct AVFilter *next;
295#endif
296
297 /**289 /**
298 * Make the filter instance process a command.290 * Make the filter instance process a command.
299 *291 *
@@ -710,33 +702,6 @@ int avfilter_process_command(AVFilterContext *filter, const char *cmd, const cha · 410 unmodified lines
710 */702 */
711const AVFilter *av_filter_iterate(void **opaque);703const AVFilter *av_filter_iterate(void **opaque);
712 704
713#if FF_API_NEXT
714/** Initialize the filter system. Register all builtin filters. */
715attribute_deprecated
716void avfilter_register_all(void);
717
718/**
719 * Register a filter. This is only needed if you plan to use
720 * avfilter_get_by_name later to lookup the AVFilter structure by name. A
721 * filter can still by instantiated with avfilter_graph_alloc_filter even if it
722 * is not registered.
723 *
724 * @param filter the filter to register
725 * @return 0 if the registration was successful, a negative value
726 * otherwise
727 */
728attribute_deprecated
729int avfilter_register(AVFilter *filter);
730
731/**
732 * Iterate over all registered filters.
733 * @return If prev is non-NULL, next registered filter after prev or NULL if
734 * prev is the last filter. If prev is NULL, return the first registered filter.
735 */
736attribute_deprecated
737const AVFilter *avfilter_next(const AVFilter *prev);
738#endif
739
740/**705/**
741 * Get a filter definition matching the given name.706 * Get a filter definition matching the given name.
742 *707 *

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