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
25#include "libavutil/avutil.h"25#include "libavutil/avutil.h"
26 26
27#define LIBAVFILTER_VERSION_MAJOR 127#define LIBAVFILTER_VERSION_MAJOR 1
28#define LIBAVFILTER_VERSION_MINOR 4628#define LIBAVFILTER_VERSION_MINOR 47
29#define LIBAVFILTER_VERSION_MICRO 129#define LIBAVFILTER_VERSION_MICRO 0
30 30
31#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \31#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
32 LIBAVFILTER_VERSION_MINOR, \32 LIBAVFILTER_VERSION_MINOR, \
@@ -556,10 +556,10 @@ struct AVFilterContext { · 523 unmodified lines
556 */556 */
557struct AVFilterLink {557struct AVFilterLink {
558 AVFilterContext *src; ///< source filter558 AVFilterContext *src; ///< source filter
559 unsigned int srcpad; ///< index of the output pad on the source filter559 AVFilterPad *srcpad; ///< output pad on the source filter
560 560
561 AVFilterContext *dst; ///< dest filter561 AVFilterContext *dst; ///< dest filter
562 unsigned int dstpad; ///< index of the input pad on the dest filter562 AVFilterPad *dstpad; ///< input pad on the dest filter
563 563
564 /** stage of the initialization of the link properties (dimensions, etc) */564 /** stage of the initialization of the link properties (dimensions, etc) */
565 enum {565 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