Skip to content

Commit

Permalink
Fix the AVC HD icon in PBB. I think this was disabled at the beginnin…
Browse files Browse the repository at this point in the history
…g because some themers wanted to prefer the states showing HD resolution 1080/720 over the state which just indicates codec and definition. However the code is written such that leaving the state out of the theme means that we fall back to the next matching state, so themers shouldn't see any difference if they don't define the avchd state.
  • Loading branch information
stuartm committed Feb 19, 2012
1 parent 2c712c8 commit d07bf50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythfrontend/playbackbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1071,11 +1071,11 @@ void PlaybackBox::updateIcons(const ProgramInfo *pginfo)
iconState->Reset();

iconMap.clear();
iconMap["avchd"] = VID_AVC;
iconMap["hd1080"] = VID_1080;
iconMap["hd720"] = VID_720;
iconMap["hdtv"] = VID_HDTV;
iconMap["widescreen"] = VID_WIDESCREEN;
//iconMap["avchd"] = VID_AVC;

iconState = dynamic_cast<MythUIStateType *>(GetChild("videoprops"));
haveIcon = false;
Expand Down Expand Up @@ -5224,7 +5224,7 @@ bool HelpPopup::Create()
addItem("hd720", tr("Recording is in 720p High Definition"));
addItem("hdtv", tr("Recording is in High Definition"));
addItem("widescreen", tr("Recording is Widescreen"));
// addItem("avchd", tr("Recording uses H.264 codec"));
addItem("avchd", tr("Recording is in HD using H.264 codec"));

addItem("watched", tr("Recording has been watched"));
// addItem("preserved", tr("Recording is preserved"));
Expand Down

0 comments on commit d07bf50

Please sign in to comment.