diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-01 04:13:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-01 19:51:58 +0200 |
commit | b01d2a5533a99cbd803159a4a7f365d12a0bc5c5 (patch) | |
tree | 05064c3a7dd3e4e44104724ec25f52ede08696b0 /ffmpeg_filter.c | |
parent | a2dbf379f01b812ef96dc4d783025a1740572890 (diff) | |
download | ffmpeg-b01d2a5533a99cbd803159a4a7f365d12a0bc5c5.tar.gz |
ffmpeg: Enable compute_edt only when the subtitles are used for a output stream instead of a filter
Fixes/works around Ticket3768
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_filter.c')
-rw-r--r-- | ffmpeg_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c index 7acff283c8..93af8cef18 100644 --- a/ffmpeg_filter.c +++ b/ffmpeg_filter.c @@ -275,7 +275,7 @@ static void init_input_filter(FilterGraph *fg, AVFilterInOut *in) av_assert0(ist); ist->discard = 0; - ist->decoding_needed++; + ist->decoding_needed |= DECODING_FOR_FILTER; ist->st->discard = AVDISCARD_NONE; GROW_ARRAY(fg->inputs, fg->nb_inputs); |