On 06/03/2018 03:35, Ruiling Song wrote:
Per MediaSDK documentation, it requires width/height to 16 alignment.
Without this patch, hwupload pipeline may fail if 16 alignment is
not met. Although this patch also apply 16 alignment to qsv encoder/decoder,
it will not bring any side-effect to them as they are already aligned.

Signed-off-by: Ruiling Song <ruiling.s...@intel.com>
---
  libavutil/hwcontext_qsv.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)


Looks like what Maxym did already in a similar situation in libavcoded. Seems fine to me.

lu

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to