[mythtv] Suggestion for improving SLOW channel changing inLiveTV.....

Nobody mythdl at scotch.homeip.net
Sat Sep 10 13:34:04 UTC 2005


On Sat, Sep 10, 2005 at 04:44:47AM -0400, Isaac Richards wrote:
> On Saturday 10 September 2005 04:33 am, Ed W wrote:
> > The contructive thing to do is to put in a few timing statements into I
> > think it's NuppleVideoPlayer.cpp and start tracking down the exact
> > delays (Isaac, please remind me where the main code is).  It's actually
> > fairly tricky because there are multiple threads and they synchronise on
> > signals, hence you can't just look at the code flow to see all the delays.
> 
> Main control logic's in tv_rec.cpp and tv_play.cpp.  The various threads 
> they're stopping/starting live elsewhere, but should be easy enough to find 
> with grep.
> 
> And yes, this is how you speed up channel changing, not by coming up with 
> crazily overcomplicated schemes.

Sounds so easy when someone else has thought it up eh Isaac?

Rather then slamming everyone for even bothering to come up with ideas, or decreeing something as not worth it because YOU don't see the value, I would think it'd be more constructive to follow the path of the kernel : put up or shut up.

The code and the result will speak for itself.  

To have a petty argument about what a PVR is and question why someone would want to watch live TV _without_ a buffer, was amusing to say the least.  (it's called buffer-while-paused-only) and it works very well:

1) - go live, 0 buffer
2) - hit pause for a commercial / whatever
   -- myth starts buffering
3) - hit play, ff, skip .. whatever.




More information about the mythtv-dev mailing list