Opened 16 years ago

Closed 16 years ago

#6605 closed patch (fixed)

LiveTV forcing JumpTo 1

Reported by: tralph11@… Owned by: Shane Shrybman
Priority: minor Milestone: 0.22
Component: MythTV - Video Playback Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

While watching LiveTV a program transition occasionally fails and exits to the main menu with a pop-up message saying "Video frame buffering failed too many times."

Attachments (3)

mythfrontend.log.gz (230.1 KB ) - added by tralph11@… 16 years ago.
mythtv_LiveTV_Forcing_JumpTo_1.diff (1.8 KB ) - added by Shane Shrybman 16 years ago.
Test patch for endless LiveTV Forcing Jump To 1
mfe_w_patch_pass.log.gz (13.7 KB ) - added by tralph11@… 16 years ago.
Log file for mythfrontend using patch

Download all attachments as: .zip

Change History (7)

by tralph11@…, 16 years ago

Attachment: mythfrontend.log.gz added

by Shane Shrybman, 16 years ago

Test patch for endless LiveTV Forcing Jump To 1

comment:1 by tralph11@…, 16 years ago

Using the attached patch LiveTV (using pvr-x50) ran overnight and never failed with over 250+ successful program transitions. The previous test without the patch failed after just 3 transitions.

comment:2 by Shane Shrybman, 16 years ago

Milestone: unknown0.22
Owner: changed from Isaac Richards to Shane Shrybman
Status: newaccepted
Type: defectpatch

comment:3 by eric.bosch@…, 16 years ago

I've been suffering with this problem for some time. I'll test the patch and see if it helps in my case. Thanks.

by tralph11@…, 16 years ago

Attachment: mfe_w_patch_pass.log.gz added

Log file for mythfrontend using patch

comment:4 by shane, 16 years ago

Resolution: fixed
Status: acceptedclosed

(In [20688]) Closes #6605. Fix 'LiveTV forcing JumpTo 1' endless loop.

If playback is in SwitchToProgram() doing a livetv continuous file transition and the decoder reaches the of the file after waitingForChange has been set to true, the decoder will never call the FileChanged() callback to complete the SwitchToProgram() transition.

However, if there is another file in the tvchain NVP will try to force a jump to the next file by calling JumpToNext(true, 1). But, since GetDecoder()-> GetWaitForChange() returns true. JumpToProgram() will never be called to do the transition.

Fix by not testing waitingForChange if a JumpToProgram() is needed.

Thanks to elmojo, and iamlindoro and others for testing.

Note: See TracTickets for help on using tickets.