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
488 488
489 char *name; ///< name of this filter instance489 char *name; ///< name of this filter instance
490 490
491 unsigned input_count; ///< number of input pads491#if FF_API_FOO_COUNT
492 unsigned input_count; ///< @deprecated use nb_inputs
493#endif
492 AVFilterPad *input_pads; ///< array of input pads494 AVFilterPad *input_pads; ///< array of input pads
493 AVFilterLink **inputs; ///< array of pointers to input links495 AVFilterLink **inputs; ///< array of pointers to input links
494 496
495 unsigned output_count; ///< number of output pads497#if FF_API_FOO_COUNT
498 unsigned output_count; ///< @deprecated use nb_outputs
499#endif
496 AVFilterPad *output_pads; ///< array of output pads500 AVFilterPad *output_pads; ///< array of output pads
497 AVFilterLink **outputs; ///< array of pointers to output links501 AVFilterLink **outputs; ///< array of pointers to output links
498 502
499 void *priv; ///< private data for use by the filter503 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
500};507};
501 508
502/**509/**

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