[mythtv] LiveTV messed up

Daniel Kristjansson danielk at cuymedia.net
Fri Jan 27 00:44:05 UTC 2006


On Thu, 2006-01-26 at 19:27 -0500, Daniel Kristjansson wrote:
> On Thu, 2006-01-26 at 19:12 -0500, Isaac Richards wrote:
> > On Thursday 26 January 2006 19:08, Daniel Kristjansson wrote:
> > > I think that is likely; it might also be causing. I think this is due
> > > to the NVP::OpenFile() in SwitchToProgram() and JumpToProgram(). I don't
> > > see any call reinitializing the VideoOutput following it..
> > 
> > There's a ReinitVideo call in OpenFile.  Should take care of it, no?
> Yep, just discovered that. And it appears to be getting the right values too.
> 
> > It worked before this change because it wasn't forcing a newtype discontinuity 
> > on the files using the same decoder class..
> It worked when there was enough data in the buffer. I think this was
> because SetVideoParams was being called in avformatdecoder, which is
> the only decoder where the resolution changes on channel changes.

Ok, I'm testing a fix.. It appears to be a matter of calling
ReinitVideo() at the just the right point in the resolution
change.

-- Daniel



More information about the mythtv-dev mailing list