vdpau: force reinitialization when output resolution changes
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 4 Oct 2014 13:55:06 +0000 (16:55 +0300)
committerAnton Khirnov <anton@khirnov.net>
Mon, 6 Oct 2014 06:18:56 +0000 (06:18 +0000)
commit502cde409ca5ee97ef70c2cdede88b9101746ff6
tree5c8318d141d7d8d73b462f88369704f88bca3817
parent89ac99ba5f2dc9f69ad3bc294753930eb0b3e4a4
vdpau: force reinitialization when output resolution changes

This is necessary to recreate the decoder with the correct parameters,
as not all codecs invoke get_format() in this case.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/vdpau.c
libavcodec/vdpau_internal.h