[mythtv-commits] Ticket #3149: EPG change channel only works once with DVB card (with patch)

MythTV mythtv at cvs.mythtv.org
Wed Feb 28 17:59:23 UTC 2007


#3149: EPG change channel only works once with DVB card (with patch)
-------------------------------+--------------------------------------------
 Reporter:  gnome42 at gmail.com  |       Owner:  ijr    
     Type:  defect             |      Status:  new    
 Priority:  minor              |   Milestone:  unknown
Component:  mythtv             |     Version:  0.20   
 Severity:  medium             |  
-------------------------------+--------------------------------------------
 Problem:  While in the EPG and watching on a DVB card you can only change
 the channel once (X key). Ivtv and bttv cards work correctly.

 Looking into this I found that CommitQueuedInput() was not being called on
 the second attempt due to set->Displaying() == 1 in the following code
 from tv_play.cpp (~1970)

 {{{
        // Commit input when the OSD fades away
         if (HasQueuedChannel() && GetOSD())
         {
             OSDSet *set = GetOSD()->GetSet("channel_number");
             if ((set && !set->Displaying()) || !set)
                 CommitQueuedInput();
         }
 }}}

 It seems in the DVB case there is something additional put up on the OSD
 (and never goes away). Maybe the signal monitor?

 I have attached a possible fix for this.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/3149>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list