ffmpeg_qsv: Fix hwaccel transcoding
authorMark Thompson <sw@jkqxz.net>
Sun, 13 Nov 2016 15:37:52 +0000 (15:37 +0000)
committerMark Thompson <sw@jkqxz.net>
Sun, 13 Nov 2016 17:49:48 +0000 (17:49 +0000)
commit03cef34aa66662e2ab3681d290e7c5a6634f4058
treeba3e0115c4bc955688440ec9d9cf13da6cc58dbb
parent411ecb0be66415c74e4bc8ad26e450d5362d2f5c
ffmpeg_qsv: Fix hwaccel transcoding

Set up the encoder with a hardware context which will match the one
the decoder will use when it starts later.

Includes 02c2761973dfc886e94a60a9c7d6d30c296d5b8c, with additional
hackery to get around a3a0230a9870b9018dc7415ae5872784d524cfe5 being
skipped.
ffmpeg_qsv.c