mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix message, if no hq scaling is supported.
This commit is contained in:
parent
97af9c6de2
commit
346953d209
12
video.c
12
video.c
@ -5950,9 +5950,13 @@ static int VdpauInit(const char *display_name)
|
||||
|
||||
// VDP_VIDEO_MIXER_ATTRIBUTE_BACKGROUND_COLOR
|
||||
|
||||
Info(_("video/vdpau: highest supported high quality scaling %d\n"),
|
||||
VdpauHqScalingMax - VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 +
|
||||
1);
|
||||
if (VdpauHqScalingMax) {
|
||||
Info(_("video/vdpau: highest supported high quality scaling %d\n"),
|
||||
VdpauHqScalingMax -
|
||||
VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 + 1);
|
||||
} else {
|
||||
Info(_("video/vdpau: high quality scaling unsupported\n"));
|
||||
}
|
||||
Info(_("video/vdpau: feature deinterlace temporal %s\n"),
|
||||
VdpauTemporal ? _("supported") : _("unsupported"));
|
||||
Info(_("video/vdpau: feature deinterlace temporal spatial %s\n"),
|
||||
@ -7965,7 +7969,7 @@ void VideoOsdDrawARGB(int x, int y, int width, int height,
|
||||
if (y + height > OsdDirtyY + OsdDirtyHeight) {
|
||||
OsdDirtyHeight = y + height - OsdDirtyY;
|
||||
}
|
||||
Debug(3, "video: osd dirty %dx%d+%d+%d -> %dx%d+%d+%d\n", width, height, x,
|
||||
Debug(4, "video: osd dirty %dx%d+%d+%d -> %dx%d+%d+%d\n", width, height, x,
|
||||
y, OsdDirtyWidth, OsdDirtyHeight, OsdDirtyX, OsdDirtyY);
|
||||
|
||||
#ifdef USE_GLX
|
||||
|
Loading…
Reference in New Issue
Block a user