summaryrefslogtreecommitdiff
path: root/xine_input_vdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r--xine_input_vdr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c
index 8877e521..78d7750d 100644
--- a/xine_input_vdr.c
+++ b/xine_input_vdr.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_input_vdr.c,v 1.54 2006-09-23 06:39:50 phintuka Exp $
+ * $Id: xine_input_vdr.c,v 1.55 2006-09-23 07:52:59 phintuka Exp $
*
*/
@@ -1888,7 +1888,7 @@ static int exec_osd_command(vdr_input_plugin_t *this, osd_command_t *cmd)
if(unscaled_supported && this->unscaled_osd_lowresvideo)
use_unscaled = 1;
- if(this->rescale_osd) {
+ if(!use_unscaled && this->rescale_osd) {
if(!this->rescale_osd_downscale) {
if(width_diff<0) {
@@ -1931,6 +1931,7 @@ static int exec_osd_command(vdr_input_plugin_t *this, osd_command_t *cmd)
if(win_width > 240 && win_height > 196) {
if(this->rescale_osd) {
+ /*LOGMSG("Scaling unscaled OSD to %dx%d", win_width, win_height);*/
if(win_width != this->vdr_osd_width || win_height != this->vdr_osd_height) {
int new_w = (0x100*cmd->w * win_width
/ this->vdr_osd_width)>>8;