summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--Makefile9
-rw-r--r--dxr3osd_subpicture.h8
3 files changed, 9 insertions, 10 deletions
diff --git a/HISTORY b/HISTORY
index 8415f56..dc19026 100644
--- a/HISTORY
+++ b/HISTORY
@@ -273,7 +273,7 @@ NOTE: I havent found time to include all of the languages, will be done in pre2
- avoid high CPU usage in pause mode (Luca Olivetti, Klaus Schmidinger)
- improved GetSTC(): fixes DVB subtitles sync problems (Mikko Tuumanen)
- limit OSD flush rate: prevents OSD from going berserk due to being
- refreshed too often (Luca Olivetti, Ville Skyttä)
+ refreshed too often, see FLUSHRATE in Makefile (Luca Olivetti, Ville Skyttä)
- borrow better OSD scaling routines from the Xine plugin (Luca Olivetti)
- improve original OSD scaler for small resolutions (#1014339, Luca Olivetti)
- fix compilation with -fPIC, kudos to ffmpeg (Ville Skyttä)
diff --git a/Makefile b/Makefile
index 778bebf..235d52a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.1.2.11 2005/04/05 18:54:01 scop Exp $
+# $Id: Makefile,v 1.1.2.12 2005/04/17 16:47:30 scop Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -57,6 +57,13 @@ DEFINES += -DLOGPATH=\"/video/\" # note: path must end with /
# comment this out to use the traditional vdr-dxr3 scaler
DEFINES += -DUSE_XINE_SCALER
+# The OSD goes berserk (flickering rectangles in colors from the current
+# palette around the screen) in some setups if it's refreshed too often.
+# If it doesn't happen for you or you don't like the small delay this
+# causes, change this to 0. Experiment with larger values if the default
+# of 35ms does not calm down your OSD.
+DEFINES += -DFLUSHRATE=35
+
### The object files (add further files here):
OBJS = $(PLUGIN).o dxr3multichannelaudio.o dxr3sysclock.o dxr3colormanager.o dxr3syncbuffer.o dxr3audiodecoder.o \
diff --git a/dxr3osd_subpicture.h b/dxr3osd_subpicture.h
index cd24122..96ad1f7 100644
--- a/dxr3osd_subpicture.h
+++ b/dxr3osd_subpicture.h
@@ -6,14 +6,6 @@
#if VDRVERSNUM >= 10307
-/*
- The OSD goes berserk in some setups if it's refreshed too often.
- If it doesn't happen for you or you don't like the small delay this
- causes, change this to 0. Experiment with larger values if the default
- of 25ms does not calm down your OSD.
-*/
-#define FLUSHRATE 25
-
// ==================================
// osd interface for => vdr1,3,7
class cDxr3SubpictureOsd : public cOsd