Originally committed as revision 13360 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/graphparser.h (1 of 2 files). Show all
Unified · Split
| @@ -25,16 +25,10 @@ · 24 unmodified lines | |||
| 25 | #include "avfilter.h" | 25 | #include "avfilter.h" |
| 26 | #include "avfiltergraph.h" | 26 | #include "avfiltergraph.h" |
| 27 | 27 | ||
| 28 | enum LinkType { | ||
| 29 | LinkTypeIn, | ||
| 30 | LinkTypeOut, | ||
| 31 | }; | ||
| 32 | |||
| 33 | /** | 28 | /** |
| 34 | * A linked-list of the inputs/outputs of the filter chain. | 29 | * A linked-list of the inputs/outputs of the filter chain. |
| 35 | */ | 30 | */ |
| 36 | typedef struct AVFilterInOut { | 31 | typedef struct AVFilterInOut { |
| 37 | enum LinkType type; | ||
| 38 | const char *name; | 32 | const char *name; |
| 39 | AVFilterContext *filter; | 33 | AVFilterContext *filter; |
| 40 | int pad_idx; | 34 | int pad_idx; |
| @@ -51,6 +45,7 @@ typedef struct AVFilterInOut { · 10 unmodified lines | |||
| 51 | * @return zero on success, -1 on error | 45 | * @return zero on success, -1 on error |
| 52 | */ | 46 | */ |
| 53 | int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, | 47 | int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, |
| 54 | AVFilterInOut *inouts, AVClass *log_ctx); | 48 | AVFilterInOut *inputs, AVFilterInOut *outputs, |
| 49 | AVClass *log_ctx); | ||
| 55 | 50 | ||
| 56 | #endif /* FFMPEG_GRAPHPARSER_H */ | 51 | #endif /* FFMPEG_GRAPHPARSER_H */ |