[mythtv] OSD menu: DVB subtitles and Teletext p888
Nick Morrott
knowledgejunkie at gmail.com
Sun Aug 15 23:42:48 UTC 2010
Whilst testing trunk earlier and completing some outstanding
translations, I noticed that when choosing to enable subtitles on a
DVB-S (Freesat, UK) source from the new-style OSD menu, I see two
options:
i) Select Subtitle
ii) Select Teletext CC
The first option provides the "regular" DVB subtitles which work. The
second option tries to load p888 on digital teletext which fails. Is
it possible to determine whether Teletext subtitles are available
before offering them as a choice on the menu?
The relevant bits of mythtv/libs/libmythtv/tv_play.cpp which the
translations highlighted include:
10240 if (!av_tracks.empty())
10241 av_curtrack = (uint)
ctx->player->GetTrack(kTrackTypeSubtitle);
...
10246 if (!ttx_tracks.empty())
10247 ttx_curtrack = (uint)
ctx->player->GetTrack(kTrackTypeTeletextCaptions);
Cheers,
Nick
--
Nick Morrott
MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users
"An investment in knowledge always pays the best interest." - Benjamin Franklin
More information about the mythtv-dev
mailing list