summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-07-15 19:49:24 +0200
committerAnton Khirnov <anton@khirnov.net>2015-07-19 09:38:53 +0200
commit6d592fbd0d8e89ecade3fc93b36ea200213dc01c (patch)
tree2efee2be6e1ebdd15d58104663ca242a6406d546 /avconv.h
parentbe101bc1e357c50fcb740bc4870b3bacc93a5727 (diff)
avconv: split creating and (re-)configuring complex filtergraphs
The current code is less than straightforward due to the fact that output streams can be created based on filtergraph definitions. This change should make the code simpler and more readable. It will also be useful in the future commits.
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/avconv.h b/avconv.h
index 5fddf98127..ec57fc8799 100644
--- a/avconv.h
+++ b/avconv.h
@@ -202,6 +202,7 @@ typedef struct OutputFilter {
/* temporary storage until stream maps are processed */
AVFilterInOut *out_tmp;
+ enum AVMediaType type;
} OutputFilter;
typedef struct FilterGraph {
@@ -424,6 +425,7 @@ int configure_filtergraph(FilterGraph *fg);
int configure_output_filter(FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out);
int ist_in_filtergraph(FilterGraph *fg, InputStream *ist);
FilterGraph *init_simple_filtergraph(InputStream *ist, OutputStream *ost);
+int init_complex_filtergraph(FilterGraph *fg);
int avconv_parse_options(int argc, char **argv);