summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-04-12 20:56:02 +0000
committerphintuka <phintuka>2008-04-12 20:56:02 +0000
commit6ecc71d425a6ecb499c7657a96b8723bf41b03ce (patch)
tree12986a0d7fb3d689596e573f3f9defc93a3ab9a9
parentbd7e345faaa082979716d1938637aa102b8ddfb9 (diff)
downloadxineliboutput-6ecc71d425a6ecb499c7657a96b8723bf41b03ce.tar.gz
xineliboutput-6ecc71d425a6ecb499c7657a96b8723bf41b03ce.tar.bz2
Send OSD size only when setting OSD areas
-rw-r--r--osd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/osd.c b/osd.c
index e86456c9..1c588a36 100644
--- a/osd.c
+++ b/osd.c
@@ -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()