mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix bug: wrong grab size, introduced with AMD VDPAU.
This commit is contained in:
parent
ebb8482226
commit
64c11efc1b
@ -1,6 +1,7 @@
|
||||
User johns
|
||||
Date:
|
||||
|
||||
Fix bug: wrong grab size, introduced with AMD VDPAU.
|
||||
Use VDR SPU decoder as default.
|
||||
Fix bug: grab image negative quality isn't the default 100.
|
||||
Support AMD VDPAU with surface size != requested size.
|
||||
|
3
video.c
3
video.c
@ -7333,7 +7333,7 @@ static uint8_t *VdpauGrabOutputSurfaceLocked(int *ret_size, int *ret_width,
|
||||
|
||||
surface = VdpauGrabRenderSurface;
|
||||
source_rect = output_rect;
|
||||
|
||||
#if 0
|
||||
// FIXME: what if VdpauGrabRenderSurface has different sizes
|
||||
// get real surface size
|
||||
status =
|
||||
@ -7349,6 +7349,7 @@ static uint8_t *VdpauGrabOutputSurfaceLocked(int *ret_size, int *ret_width,
|
||||
// FIXME: this warning can be removed, is now for debug only
|
||||
Warning(_("video/vdpau: video surface size mismatch\n"));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user