[mythtv] Ticket #1682: cleanup subtitles on channel change

Isaac Richards ijr at case.edu
Mon Apr 17 01:17:20 UTC 2006


On Sunday 16 April 2006 21:13, Daniel Kristjansson wrote:
> On Sun, 2006-04-16 at 22:49 +0300, Pekka Jääskeläinen wrote:
> > >  This patch will clear the subtitles on any resolution or aspect ratio
> > >  change, not just on channel changes. Can you try to make this more
> > >  specific to channel changes? I'm not sure this will even clear the
> > >  subtitles when the resolution and aspect ratio don't change on a
> > > channel change.
> >
> > Yes, you're probably right, now that I look into it. Is there a function
> > in NuppelVideoPlayer that gets called on channel changes only?
>
> Hmm, not any one place that I can think of. The NVP can infer
> the channel change from the LiveTVChain though. Whenever there
> is a channel change, rather than a program change, I believe the
> discontinuity flag will be set. But that means there are two
> places where you need to check the flag, in the switch to program
> code and in the jump to program code.

Would need to clear if: 
- discontinuity in SwitchToProgram()
- always in JumpToProgram()

Isaac


More information about the mythtv-dev mailing list