Opened 13 years ago
Closed 11 years ago
Last modified 11 years ago
#11402 closed Bug Report - General (fixed)
livetv fails for analog on hvr 2250 + segfault
Reported by: | Owned by: | jpoet | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27.1 |
Component: | MythTV - Recording | Version: | Master Head |
Severity: | medium | Keywords: | livetv analog 2250 |
Cc: | Ticket locked: | no |
Description
I have a hauppauge 2250 tuner. The tuner works fine in mythfrontend when using the digital side. The analog side has worked but it is very rare. The analog side always works in mplayer or xbmc with the myth pvr plugin. In mythfrontend when I try to watch analog live tv it just times out trying. The latest fix version has also segfaulted several times when trying to watch analog livetv.
Attachments (6)
Change History (17)
by , 13 years ago
Attachment: | mythfrontend.20130208013318.12737.log added |
---|
by , 13 years ago
Attachment: | mythbackend.log added |
---|
by , 13 years ago
Attachment: | mythfrontend.20130208015141.15367.log added |
---|
comment:1 by , 13 years ago
I am running on Debian testing/wheezy. I get mythtv from deb-multimedia. The mythtv version is 0.26.0+fixes20130206-dmo1
comment:4 by , 12 years ago
Analog still hardly every works from mythfrontend even though it always works from mplayer and xbmc with mythplugin. The segfault did go away with the fix though.
I have stepped through with a debugger. It seems that when switching to an analog channel, something gives up too soon and fails before the channel is changed. Switching to a digital channel always works. Occasionally switching to an analog channel does work. I have yet to be able to get to the code that is giving up and failing when switching to an analog channel.
comment:5 by , 12 years ago
Component: | MythTV - General → MythTV - Recording |
---|---|
Milestone: | unknown → 0.27 |
Owner: | set to |
Type: | Bug Report - Crash → Bug Report - General |
comment:6 by , 12 years ago
Milestone: | 0.27 → 0.27.1 |
---|---|
Owner: | changed from | to
Status: | new → accepted |
Version: | 0.26-fixes → Master Head |
comment:7 by , 12 years ago
by , 12 years ago
Attachment: | mythplayer.patch added |
---|
comment:8 by , 12 years ago
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
bigTimer.elapsed() > timeout) |
to
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.
comment:10 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
frontend log segfault