diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-26 21:55:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-27 00:26:35 +0200 |
commit | a9d97e1b0af676c82abbf2673c7fdf7e557a363c (patch) | |
tree | c2165276a215c516b7c5a9595d2f56df52c2b3b7 /ffmpeg_opt.c | |
parent | 8766ad9eb1b0b498ec5db824c8c34385e3d6d713 (diff) | |
download | ffmpeg-a9d97e1b0af676c82abbf2673c7fdf7e557a363c.tar.gz |
ffmpeg: use av_rescale_delta() on the audio filter input
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 1231e097ec..f4067c0415 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -586,6 +586,8 @@ static void add_input_streams(OptionsContext *o, AVFormatContext *ic) ist->reinit_filters = -1; MATCH_PER_STREAM_OPT(reinit_filters, i, ist->reinit_filters, ic, st); + ist->filter_in_rescale_delta_last = AV_NOPTS_VALUE; + switch (dec->codec_type) { case AVMEDIA_TYPE_VIDEO: if(!ist->dec) |