Skip to content

Commit

Permalink
Add AD labelling hack for UK satellite and Irish Terrestrial TV which…
Browse files Browse the repository at this point in the history
… ignore the DVB standard
  • Loading branch information
stuartm committed Nov 21, 2012
1 parent 257ca54 commit b264c8b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mythtv/libs/libmythtv/mpeg/mpegtables.cpp
Expand Up @@ -1095,6 +1095,12 @@ uint ProgramMapTable::GetAudioType(uint i) const
return 0;

ISO639LanguageDescriptor iso_lang(lang_desc);

// Hack for non-standard AD labelling on UK Satellite and Irish DTTV
// Language string of 'nar' for narrative indicates an AD track
if (iso_lang.LanguageString() == "nar")
return 0x03;

return iso_lang.AudioType();
}

Expand Down

0 comments on commit b264c8b

Please sign in to comment.