diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-27 13:14:33 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-25 13:04:32 +0300 |
commit | a3a0230a9870b9018dc7415ae5872784d524cfe5 (patch) | |
tree | e3b25576b71cdae38235c1cd480455329480d027 /avconv_qsv.c | |
parent | 3e265ca58f0505470186dce300ab66a6eac3978e (diff) |
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 823badf263..ab1d9f8483 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; |