mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix video size not updated for VAAPI.
This commit is contained in:
parent
63c22a13cf
commit
06b8e3d784
5
video.c
5
video.c
@ -4810,6 +4810,11 @@ static void VaapiSetVideoMode(void)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < VaapiDecoderN; ++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]);
|
VaapiUpdateOutput(VaapiDecoders[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user