X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg_qsv.c;h=acc54dd27afc516f0f065ba776d7359d63a8c43f;hb=7d17d31db4322b0c5e89f889ebf32af9ca2d91a9;hp=95a23516026dbfa8a751634f15c7f21776cf9246;hpb=354336490da0c1ee2c887bbf8f25b46610233608;p=ffmpeg diff --git a/ffmpeg_qsv.c b/ffmpeg_qsv.c index 95a23516026..acc54dd27af 100644 --- a/ffmpeg_qsv.c +++ b/ffmpeg_qsv.c @@ -210,8 +210,7 @@ int qsv_transcode_init(OutputStream *ost) /* check if the decoder supports QSV and the output only goes to this stream */ ist = input_streams[ost->source_index]; - if (ist->nb_filters || ist->hwaccel_id != HWACCEL_QSV || - !ist->dec || !ist->dec->pix_fmts) + if (ist->hwaccel_id != HWACCEL_QSV || !ist->dec || !ist->dec->pix_fmts) return 0; for (pix_fmt = ist->dec->pix_fmts; *pix_fmt != AV_PIX_FMT_NONE; pix_fmt++) if (*pix_fmt == AV_PIX_FMT_QSV)