summaryrefslogtreecommitdiff
path: root/dxr3interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3interface.c')
-rw-r--r--dxr3interface.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/dxr3interface.c b/dxr3interface.c
index ebb4050..b1e2441 100644
--- a/dxr3interface.c
+++ b/dxr3interface.c
@@ -438,13 +438,16 @@ void cDxr3Interface::SetAspectRatio(uint32_t ratio)
{
aspect = EM8300_ASPECTRATIO_4_3;
#ifdef EM8300_IOCTL_SET_WSS
- if (ratio == EM8300_ASPECTRATIO_16_9)
- wssmode = EM8300_WSS_16_9;
- else
- wssmode = EM8300_WSS_OFF;
- if (ioctl(m_fdControl, EM8300_IOCTL_SET_WSS, &wssmode) < 0)
+ if (cDxr3ConfigData::Instance().GetUseWSS())
{
- esyslog("dxr3: unable to set WSS: %m");
+ if (ratio == EM8300_ASPECTRATIO_16_9)
+ wssmode = EM8300_WSS_16_9;
+ else
+ wssmode = EM8300_WSS_OFF;
+ if (ioctl(m_fdControl, EM8300_IOCTL_SET_WSS, &wssmode) < 0)
+ {
+ esyslog("dxr3: unable to set WSS: %m");
+ }
}
#endif
}