[mythtv-commits] Ticket #5738: Channels to Display is being altered for program guide in live tv.
MythTV
mythtv at cvs.mythtv.org
Wed Sep 24 18:07:15 UTC 2008
#5738: Channels to Display is being altered for program guide in live tv.
---------------------+------------------------------------------------------
Reporter: Juppers | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: 0.21.1
Component: mythtv | Version: 0.21-fixes
Severity: low | Mlocked: 0
---------------------+------------------------------------------------------
Number of Channels to Display in the program guide is being futzed with
for no apparent reason. Maybe at one time it needed messing with? It
doesn't need it anymore that I can find. Commenting out or removing the
following bit of code from guidegrid.cpp fixes the issue.
Index: libs/libmythtv/guidegrid.cpp
===================================================================
--- libs/libmythtv/guidegrid.cpp (revision 18397)
+++ libs/libmythtv/guidegrid.cpp (working copy)
@@ -202,9 +202,6 @@
int dNum = gContext->GetNumSetting("chanPerPage", 8);
- if (m_player && m_player->IsRunning() && allowsecondaryepg)
- dNum = dNum * 2 / 3 + 1;
-
desiredDisplayChans = DISPLAY_CHANS = dNum;
if (container)
{
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5738>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list