diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-12-02 20:55:43 +0100 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-12-02 20:55:43 +0100 |
commit | 67efb215bf774d66313fafa6b02fb742bf71fc61 (patch) | |
tree | e8e687797b6a619edb906341dfea14be7446e86a /dxr3device.c | |
parent | 7f036330bc7ac560cbcdb1583980b9a1d068a299 (diff) | |
download | vdr-plugin-dxr3-67efb215bf774d66313fafa6b02fb742bf71fc61.tar.gz vdr-plugin-dxr3-67efb215bf774d66313fafa6b02fb742bf71fc61.tar.bz2 |
better this way... so the values are understandable
Diffstat (limited to 'dxr3device.c')
-rw-r--r-- | dxr3device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dxr3device.c b/dxr3device.c index bdf0a91..24a2c25 100644 --- a/dxr3device.c +++ b/dxr3device.c @@ -223,9 +223,9 @@ void cDxr3Device::GetVideoSize(int &Width, int &Height, double &VideoAspect) uint32_t aspect = cDxr3Interface::instance()->GetAspectRatio(); if (aspect == EM8300_ASPECTRATIO_4_3) { - VideoAspect = 1.33333f; + VideoAspect = 4.0 / 3.0; } else { - VideoAspect = 1.77778f; + VideoAspect = 16.0 / 9.0; } } #endif |