[mythtv-users] Channel Hopping

Tim Sailer tps at buoy.com
Sat Oct 8 03:34:20 UTC 2005


On Wed, Oct 05, 2005 at 09:21:55AM -0400, Fred Squires wrote:
> On 10/6/05, James Hansen <mythtv-users at f0rmula.com> wrote:
> >
> > Lee wrote:
> >
> > >
> > >> There was a recent lengthy (and somewhat heated) thread in the dev list
> > >> about this. The technical reason for the delay is because the system
> > >> has to do the following things when changing a channel on "Live TV":
> > >>
> > >> 1) Tune the channel.
> > >> 2) Start encoding the feed.
> > >> 3) Store the file.
> > >> 4) Decode the file.
> > >>
> > >> Each of these steps takes a little time. If you don't do them, you lost
> > >> the ability to pause or rewind Live TV, which is one of the sexy things
> > >> about a PVR.
> >
> 
> My question is, why delete the ringbuffer at all when changing channels?
> Just tune to the new channel and continue writing to the same buffer as
> before. That might make changing channels faster and you'd be able to skip
> back to something from before the channel change. It would also make
> accidental channel changes less costly.

My thought on this is why reuse the same ringbuffer? If you change 
channels, why not start another buffer, and delete the old one in another
process/thread? Big buffers take time to delete if you are using
ext2/3 filesystems. Maybe the others would make it faster...

Tim

-- 
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 >> Tim Sailer                      ><  Coastal Internet, Inc.         <<
 >> Network and Systems Operations  ><  PO Box 726                     <<
 >> http://www.buoy.com             ><  Moriches, NY 11955             <<
 >> tps at buoy.com                    ><  (631) 399-2910  (888) 924-3728 <<
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


More information about the mythtv-users mailing list