aboutsummaryrefslogtreecommitdiffstats
path: root/avconv.c
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.c
parentbe101bc1e357c50fcb740bc4870b3bacc93a5727 (diff)
downloadffmpeg-6d592fbd0d8e89ecade3fc93b36ea200213dc01c.tar.gz
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.c')
-rw-r--r--avconv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/avconv.c b/avconv.c
index 6557754da7..291c4d4ce3 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1679,11 +1679,6 @@ static int transcode_init(void)
input_streams[j + ifile->ist_index]->start = av_gettime_relative();
}
- /* init complex filtergraphs */
- for (i = 0; i < nb_filtergraphs; i++)
- if ((ret = avfilter_graph_config(filtergraphs[i]->graph, NULL)) < 0)
- return ret;
-
/* for each output stream, we compute the right encoding parameters */
for (i = 0; i < nb_output_streams; i++) {
AVCodecContext *enc_ctx;