[mythtv-commits] Ticket #11402: livetv fails for analog on hvr 2250 + segfault

MythTV noreply at mythtv.org
Mon Feb 17 04:04:41 UTC 2014


#11402: livetv fails for analog on hvr 2250 + segfault
-------------------------------------+-----------------------------
 Reporter:  Brent Elmer <webe3vt@…>  |          Owner:  jpoet
     Type:  Bug Report - General     |         Status:  accepted
 Priority:  minor                    |      Milestone:  0.27.1
Component:  MythTV - Recording       |        Version:  Master Head
 Severity:  medium                   |     Resolution:
 Keywords:  livetv analog 2250       |  Ticket locked:  0
-------------------------------------+-----------------------------

Comment (by webe3vt@…):

 I have run the code in the debugger and come up with a small patch to make
 mythfrontend play live tv and change channels on the analog and composite
 inputs.  Basically, in the file libs/libmythtv/mythplayer.cpp in the
 function OpenFile for my older hardware and the Hauppauge 2250 card, the
 timeouts need to be a little higher.  I changed
 int timeout = (retries + 1) * 500;
 to
 int timeout = (retries + 1) * 600;

 and

 if (peekTimer.elapsed() > 1000 || bigTimer.elapsed() > timeout)
 to

 if (peekTimer.elapsed() > 1500 || bigTimer.elapsed() > timeout)

 Both of the changes seemed to be necessary to make it work.
 Once I made the changes, livetv worked and changing channels worked for
 both analog and digital.  This small change shouldn't affect anyone else.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/11402#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list