History

lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs

This is more consistent with naming in the rest of Libav.

Anton Khirnov committed 14 years ago

Commit 9baeff91 parent 9d0bfc513 files · +94 −64Browse files

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

Unified · Split

libavfilter/avfilter.h+9−2
@@ -488,15 +488,22 @@ struct AVFilterContext { · 487 unmodified lines
488488
489489 char *name; ///< name of this filter instance
490490
491− unsigned input_count; ///< number of input pads
491+#if FF_API_FOO_COUNT
492+ unsigned input_count; ///< @deprecated use nb_inputs
493+#endif
492494 AVFilterPad *input_pads; ///< array of input pads
493495 AVFilterLink **inputs; ///< array of pointers to input links
494496
495− unsigned output_count; ///< number of output pads
497+#if FF_API_FOO_COUNT
498+ unsigned output_count; ///< @deprecated use nb_outputs
499+#endif
496500 AVFilterPad *output_pads; ///< array of output pads
497501 AVFilterLink **outputs; ///< array of pointers to output links
498502
499503 void *priv; ///< private data for use by the filter
504+
505+ unsigned nb_inputs; ///< number of input pads
506+ unsigned nb_outputs; ///< number of output pads
500507 };
501508
502509 /**

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