ffmpeg/qsv: fix QSV-accelerated transcode performance drop issue.
authorJun Zhao <mypopydev@gmail.com>
Thu, 11 Aug 2016 07:34:01 +0000 (15:34 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 16 Aug 2016 15:09:33 +0000 (17:09 +0200)
commit46bfc1562f187e3c04ea1b9baa1a1d0580530485
treea1335567c969403e09f9fe7f56b472ab33bf2271
parenta2c40931c80d8a6081b17df5968715d41b10b057
ffmpeg/qsv: fix QSV-accelerated transcode performance drop issue.

the merge commit 1b04ea1 "avconv: create simple filtergraphs earlier"
will init the filtergraphs earlier, then init the QSV transcode can't
suppose the nb_filters's value, else lead to the QSV transcode performance
drop.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Reviewed-by: Ivan Uskov <ivan.uskov@nablet.com
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffmpeg_qsv.c