diff options
author | Johns <johns98@gmx.net> | 2013-01-02 23:59:46 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-01-02 23:59:46 +0100 |
commit | 06b8e3d784606cbdefb4e9ac95cf1c757755ca61 (patch) | |
tree | 802d0a49973dae8e3b3fe57ebea1380e4aca38c9 /video.c | |
parent | 63c22a13cf92550b41a0750d4f88bae16a167b42 (diff) | |
download | vdr-plugin-softhddevice-06b8e3d784606cbdefb4e9ac95cf1c757755ca61.tar.gz vdr-plugin-softhddevice-06b8e3d784606cbdefb4e9ac95cf1c757755ca61.tar.bz2 |
Fix video size not updated for VAAPI.
Diffstat (limited to 'video.c')
-rw-r--r-- | video.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4810,6 +4810,11 @@ static void VaapiSetVideoMode(void) int i; for (i = 0; i < VaapiDecoderN; ++i) { + // reset video window, upper level needs to fix the positions + VaapiDecoders[i]->VideoX = 0; + VaapiDecoders[i]->VideoY = 0; + VaapiDecoders[i]->VideoWidth = VideoWindowWidth; + VaapiDecoders[i]->VideoHeight = VideoWindowHeight; VaapiUpdateOutput(VaapiDecoders[i]); } } |