diff options
author | phintuka <phintuka> | 2008-04-12 20:56:02 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-04-12 20:56:02 +0000 |
commit | 6ecc71d425a6ecb499c7657a96b8723bf41b03ce (patch) | |
tree | 12986a0d7fb3d689596e573f3f9defc93a3ab9a9 | |
parent | bd7e345faaa082979716d1938637aa102b8ddfb9 (diff) | |
download | xineliboutput-6ecc71d425a6ecb499c7657a96b8723bf41b03ce.tar.gz xineliboutput-6ecc71d425a6ecb499c7657a96b8723bf41b03ce.tar.bz2 |
Send OSD size only when setting OSD areas
-rw-r--r-- | osd.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: osd.c,v 1.21 2008-04-12 20:45:29 phintuka Exp $ + * $Id: osd.c,v 1.22 2008-04-12 20:56:02 phintuka Exp $ * */ @@ -254,11 +254,6 @@ cXinelibOsd::cXinelibOsd(cXinelibDevice *Device, int x, int y, uint Level) m_Refresh = false; m_IsVisible = true; m_Layer = Level; - if(Setup.OSDWidth + (2*Setup.OSDLeft) > 720 || Setup.OSDHeight + (2*Setup.OSDTop) > 576) { - CmdSize(Setup.OSDWidth + (2*Setup.OSDLeft), Setup.OSDHeight + (2*Setup.OSDTop)); - } else { - CmdSize(720, 576); - } } cXinelibOsd::~cXinelibOsd() |