Deprecated in 8f1382f80e0d4184c54c14afdda6482f050fbba7.
Showing the changes to libavfilter/avfilter.h (1 of 3 files). Show all
Unified · Split
| @@ -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 | */ |
| 711 | const AVFilter *av_filter_iterate(void **opaque); | 703 | const AVFilter *av_filter_iterate(void **opaque); |
| 712 | 704 | ||
| 713 | #if FF_API_NEXT | ||
| 714 | /** Initialize the filter system. Register all builtin filters. */ | ||
| 715 | attribute_deprecated | ||
| 716 | void 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 | */ | ||
| 728 | attribute_deprecated | ||
| 729 | int 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 | */ | ||
| 736 | attribute_deprecated | ||
| 737 | const 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 | * |