hwcontext_vaapi: allow transfers to/from any size of sw frame
authorMark Thompson <sw@jkqxz.net>
Fri, 15 Apr 2016 09:58:51 +0000 (10:58 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 28 Jun 2016 06:32:11 +0000 (08:32 +0200)
commitf62bb216ac4cfbbff16108c6bac35a0282532972
treeafcd02a675fb44158fb2ac2dc8a0cf97d51f0fb7
parentc3f113d58488df7594a489bdbb993a69ad47063c
hwcontext_vaapi: allow transfers to/from any size of sw frame

The hw frame used as reference has an attached size but it need not
match the actual size of the surface, so enforcing that the sw frame
used in copying matches its size exactly is not useful.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavutil/hwcontext_vaapi.c