History

Make AVFilterLink store the pointers to the source and destination pads, rather than their index.

Originally committed as revision 25227 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 16 years ago

Commit acc04901 parent b3dd5e52 files · +30 −32Browse files

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

Unified · Split

libavfilter/avfilter.h+4−4
@@ -25,8 +25,8 @@ · 24 unmodified lines
2525 #include "libavutil/avutil.h"
2626
2727 #define LIBAVFILTER_VERSION_MAJOR 1
28−#define LIBAVFILTER_VERSION_MINOR 46
29−#define LIBAVFILTER_VERSION_MICRO 1
28+#define LIBAVFILTER_VERSION_MINOR 47
29+#define LIBAVFILTER_VERSION_MICRO 0
3030
3131 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
3232 LIBAVFILTER_VERSION_MINOR, \
@@ -556,10 +556,10 @@ struct AVFilterContext { · 523 unmodified lines
556556 */
557557 struct AVFilterLink {
558558 AVFilterContext *src; ///< source filter
559− unsigned int srcpad; ///< index of the output pad on the source filter
559+ AVFilterPad *srcpad; ///< output pad on the source filter
560560
561561 AVFilterContext *dst; ///< dest filter
562− unsigned int dstpad; ///< index of the input pad on the dest filter
562+ AVFilterPad *dstpad; ///< input pad on the dest filter
563563
564564 /** stage of the initialization of the link properties (dimensions, etc) */
565565 enum {

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