Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#1309 closed defect (fixed)

Live TV freezes; apparent buffering issue?

Reported by: derek@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Unlike #942, I'm seeing live TV freezes under much narrower conditions. I'll attach logs, but what I've noticed is the following:

  • Sometimes when I start live TV there is a very small or no buffer at all. In other words, when I display the position bar on the screen it shows that I'm 0-2 seconds behind. When this happens, live TV freezes at a program change and the logs look like the ones attached. Channel changes in live TV also can produce this condition (small/no buffer).
  • Other times when I start live TV the buffer is much larger, 3-6 seconds. Under this condition live TV switches with no problems at the end of a program.

What I'm suggesting is that there may be a need to ensure a minimum buffer size at all times in live TV since it seems if the buffer isn't large enough then the switch of the ring buffer at program boundries may have problems. Obviously, I'm not familiar enough with the code (at this point) to throw in some debug code or even know exactly where to start looking, but I'm hoping my hypothesis and the attached logs can point someone with the knowledge of the code in the right direction.

I'm running SVN 8998.

Attachments (2)

mythfrontend.feb16.log (20.3 KB) - added by derek@… 14 years ago.
mythbackend.feb16.log (7.7 KB) - added by derek@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by derek@…

Attachment: mythfrontend.feb16.log added

Changed 14 years ago by derek@…

Attachment: mythbackend.feb16.log added

comment:1 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [9013]) Fix possible bug in live-tv switch, probably fixes #1309.

comment:2 Changed 12 years ago by Floppe

Don't know if I should reopen this, but I can report that this did happen for me yesterday (6.12.2007) with SVN Trunk Rev 15058. Don't know if it's related to the buffer size cause it only happened once I didn't check the buffer. But it did fill mythfrontend.log with 7281965 lines from 2007-12-06 18:50:01.289 to 2007-12-06 18:53:27.519 (within about 3.5 minutes) before I gave up and exited LiveTV and reentered, which solved the problem.

Note: See TracTickets for help on using tickets.