[mythtv] Ticket #2335: LiveTV hangs when a recording is finished and a new on starts (no channel change)

Shane gnome42 at gmail.com
Wed Jul 25 15:54:16 UTC 2007


On 7/24/07, Hadley Rich <hads at nice.net.nz> wrote:
> On Wed, 25 Jul 2007 04:06:44 eric.bosch at comcast.net wrote:
> > I don't believe it is an ivtv issue, as I can have the live-tv hang on show
> > transition, even though the program is scheduled to record, and once I can
> > get back to the menu, and then play it back from recordings, it plays fine.
> >  My suspicion is that there is some sort of race condition or timing issue
> > in that perhaps there is a short delay where the new file is opened, and
> > actually catalogged.

My guess is the problem lies with 'continuous' type of livetv file
transitions, these continuous transitions are used for livetv ivtv
files but not V4L or DVB files. The discontinuity (discont=1) type of
file transitions follow a different path and are ok I think.

Should be able to test this theory by making a small code change in
tv_rec.cpp ...

Around line 1310 in TVRec::RunTV(void)
...
+ SwitchLiveTVRingBuffer(true, true);   // Try this for discont transitions
  - SwitchLiveTVRingBuffer(false, true);

I also have a vague suspicion that something else might be causing
more prebuffering pauses than usual.

Shane


More information about the mythtv-dev mailing list