diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-27 12:14:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-25 12:04:32 +0200 |
commit | a3a0230a9870b9018dc7415ae5872784d524cfe5 (patch) | |
tree | e3b25576b71cdae38235c1cd480455329480d027 /avconv_qsv.c | |
parent | 3e265ca58f0505470186dce300ab66a6eac3978e (diff) | |
download | ffmpeg-streaming-a3a0230a9870b9018dc7415ae5872784d524cfe5.zip ffmpeg-streaming-a3a0230a9870b9018dc7415ae5872784d524cfe5.tar.gz |
avconv: init filtergraphs only after we have a frame on each input
This makes sure the actual stream parameters are used, which is
important mainly for hardware decoding+filtering cases, which would
previously require various weird workarounds to handle the fact that a
fake software graph has to be constructed, but never used.
This should also improve behaviour in rare cases where
avformat_find_stream_info() does not provide accurate information.
Diffstat (limited to 'avconv_qsv.c')
-rw-r--r-- | avconv_qsv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/avconv_qsv.c b/avconv_qsv.c index 823badf..ab1d9f8 100644 --- a/avconv_qsv.c +++ b/avconv_qsv.c @@ -257,7 +257,6 @@ int qsv_transcode_init(OutputStream *ost) ist->hwaccel_ctx = qsv; ist->dec_ctx->pix_fmt = AV_PIX_FMT_QSV; - ist->resample_pix_fmt = AV_PIX_FMT_QSV; return 0; |