summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-04-04 20:08:34 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-04-04 20:08:34 +0000
commit789210fa22c12959f185547273eb5af55ecc90c6 (patch)
tree3673c509db4df8b18312bfaa058fed6e078dc9ae /libavfilter/avfiltergraph.h
parent3ec394ea823c2a6e65a6abbdb2041ce1c66964f8 (diff)
Almost from scratch rewrite of filter parser.
Functional as is, but still work-in-progress in the sense that some things need to be fixed before sending it as a patch to SVN. Commited in SoC by Vitor Sessak on 2008-03-20 21:48:30 Originally committed as revision 12729 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r--libavfilter/avfiltergraph.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h
index baa228bfc2..c4718ca816 100644
--- a/libavfilter/avfiltergraph.h
+++ b/libavfilter/avfiltergraph.h
@@ -27,7 +27,7 @@
/** Linked-list of filters to create for an AVFilterGraphDesc */
typedef struct AVFilterGraphDescFilter
{
- char *name; ///< filter instance name
+ int index; ///< filter instance index
char *filter; ///< name of filter type
char *args; ///< filter parameters
struct AVFilterGraphDescFilter *next;
@@ -37,10 +37,10 @@ typedef struct AVFilterGraphDescFilter
typedef struct AVFilterGraphDescLink
{
/* TODO: allow referencing pads by name, not just by index */
- char *src; ///< name of the source filter
+ int src; ///< index of the source filter
unsigned srcpad; ///< index of the output pad on the source filter
- char *dst; ///< name of the dest filter
+ int dst; ///< index of the dest filter
unsigned dstpad; ///< index of the input pad on the dest filter
struct AVFilterGraphDescLink *next;
@@ -51,7 +51,7 @@ typedef struct AVFilterGraphDescExport
{
/* TODO: allow referencing pads by name, not just by index */
char *name; ///< name of the exported pad
- char *filter; ///< name of the filter
+ int filter; ///< index of the filter
unsigned pad; ///< index of the pad to be exported
struct AVFilterGraphDescExport *next;