summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-08-03 20:33:57 -0700
committerTimothy Gu <timothygu99@gmail.com>2016-08-03 20:33:57 -0700
commit9aa3023672b3336968cbdb5c4a733b6088ad564e (patch)
tree1eca1cafedc738c61b7de481c405af44feeab9fd /ffmpeg.c
parent7f7cedd7139f18480e3dacd1abcfd94bda01fa17 (diff)
parent49670e4218d34899a1c37abb7a11615efc16f757 (diff)
Merge commit '49670e4218d34899a1c37abb7a11615efc16f757'
* commit '49670e4218d34899a1c37abb7a11615efc16f757': avconv: add a function for determining whether a filtergraph is simple Conflicts: avconv.c Merged-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 1367920b50..e52a7362c3 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3293,7 +3293,7 @@ static int transcode_init(void)
ist = input_streams[i];
for (j = 0; j < ist->nb_filters; j++) {
- if (ist->filters[j]->graph->graph_desc) {
+ if (!filtergraph_is_simple(ist->filters[j]->graph)) {
av_log(NULL, AV_LOG_INFO, " Stream #%d:%d (%s) -> %s",
ist->file_index, ist->st->index, ist->dec ? ist->dec->name : "?",
ist->filters[j]->name);
@@ -3314,7 +3314,7 @@ static int transcode_init(void)
continue;
}
- if (ost->filter && ost->filter->graph->graph_desc) {
+ if (ost->filter && !filtergraph_is_simple(ost->filter->graph)) {
/* output from a complex graph */
av_log(NULL, AV_LOG_INFO, " %s", ost->filter->name);
if (nb_filtergraphs > 1)