diff --git a/src/gui/videosettings.cpp b/src/gui/videosettings.cpp index ddca0fcbc..eef4ca10a 100644 --- a/src/gui/videosettings.cpp +++ b/src/gui/videosettings.cpp @@ -629,7 +629,13 @@ bool CVideoSettings::changeNotify(const neutrino_locale_t OptionName, void * /* void CVideoSettings::next43Mode(void) { - printf("[neutrino VideoSettings] %s setting 43Mode...\n", __FUNCTION__); + printf("[neutrino VideoSettings] %s setting 43Mode -> ", __FUNCTION__); +#if HAVE_ARM_HARDWARE + /* HD51 has non standard order */ + static const char *m[] = { "letterbox", "panscan", "bestfit", "nonlinear", "(unset)" }; +#else + static const char *m[] = { "panscan", "letterbox", "bestfit", "nonlinear", "(unset)" }; +#endif neutrino_locale_t text; unsigned int curmode = 0; @@ -646,6 +652,7 @@ void CVideoSettings::next43Mode(void) text = videomenu_43mode_options[curmode].value; g_settings.video_43mode = videomenu_43mode_options[curmode].key; g_Zapit->setMode43(g_settings.video_43mode); + printf("%s\n", m[g_settings.video_43mode]); #ifdef ENABLE_PIP pipDecoder->setAspectRatio(-1, g_settings.video_43mode); #endif diff --git a/src/zapit/src/pzapit.cpp b/src/zapit/src/pzapit.cpp index a318d8a7e..d426df621 100644 --- a/src/zapit/src/pzapit.cpp +++ b/src/zapit/src/pzapit.cpp @@ -505,11 +505,18 @@ int main (int argc, char** argv) if (mode43) { +#if HAVE_ARM_HARDWARE + /* hack for mix-up letterbox / panscan */ + m43 = (m43 == 0 || m43 == 1) ? !m43 : m43; +#endif if(m43 >= 0) zapit.setMode43(m43); else { zapit.getMode43(&m43); +#if HAVE_ARM_HARDWARE + m43 = (m43 == 0 || m43 == 1) ? !m43 : m43; +#endif printf("%d\n",m43); } return 0;