[mythtv] Ticket #1682: cleanup subtitles on channel change
Daniel Kristjansson
danielk at cuymedia.net
Mon Apr 17 01:13:32 UTC 2006
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.
-- Daniel
More information about the mythtv-dev
mailing list