qsvenc: take only the allocated dimensions from the frames context
authorAnton Khirnov <anton@khirnov.net>
Thu, 14 Jul 2016 10:05:58 +0000 (12:05 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 22 Jul 2016 17:08:13 +0000 (19:08 +0200)
commitd9ec3c60143babe1bb77c268e1d5547d15acd69b
tree7487ea71a76a607d705476cb261f089c2422cd90
parent37a9015ee84c15fec5247ba8f6577351a25fa8d2
qsvenc: take only the allocated dimensions from the frames context

Other parameters, like the display size, should still be taken from the
codec context.
libavcodec/qsvenc.c