[mythtv] Re: [PATCH] OSD Position Updating

David Engel dlengel at attbi.com
Sun Oct 5 12:45:00 EDT 2003


On Tue, Sep 30, 2003 at 10:58:54PM -0500, David Engel wrote:
> This patch changes the OSD handling to always update the OSD position
> text when applicable instead of only doing so when playback is paused.
> Admittedly, this isn't terribly important, but does add some nice eye
> candy and visual feedback, IMHO.

Isaac, you missed a set of parentheses when adding this patch.  This
corrects the omission.

David
-- 
David Engel
dlengel at attbi.com

Index: libs/libmythtv/tv_play.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/tv_play.cpp,v
retrieving revision 1.106
diff -u -r1.106 tv_play.cpp
--- libs/libmythtv/tv_play.cpp  2 Oct 2003 07:43:36 -0000       1.106
+++ libs/libmythtv/tv_play.cpp  5 Oct 2003 16:44:26 -0000
@@ -784,9 +784,9 @@
         if (++updatecheck >= 20)
         {
             if (osd && osd->Visible() && update_osd_pos &&
-                internalState == kState_WatchingLiveTV || 
+                (internalState == kState_WatchingLiveTV || 
                 internalState == kState_WatchingRecording ||
-                internalState == kState_WatchingPreRecorded)
+		internalState == kState_WatchingPreRecorded))
             {
                 QString desc = "";
                 int pos = nvp->calcSliderPos(0, desc);


More information about the mythtv-dev mailing list