osd_helpers.cpp: remove unneeded #ifdef conditions

This commit is contained in:
Markus Volk
2020-03-07 05:46:37 +01:00
parent 2d29809af0
commit d7fdaaa400

View File

@@ -144,27 +144,16 @@ int COsdHelpers::isVideoSystem1080(int res)
(res == VIDEO_STD_1080I50) ||
(res == VIDEO_STD_1080P30) ||
(res == VIDEO_STD_1080P24) ||
(res == VIDEO_STD_1080P25))
return true;
#ifdef BOXMODEL_CS_HD2
if ((res == VIDEO_STD_1080P50) ||
(res == VIDEO_STD_1080P25) ||
(res == VIDEO_STD_1080P50) ||
(res == VIDEO_STD_1080P60) ||
(res == VIDEO_STD_1080P2397) ||
(res == VIDEO_STD_1080P2997))
return true;
#endif
#if HAVE_ARM_HARDWARE
if ((res == VIDEO_STD_1080P50) ||
(res == VIDEO_STD_1080P60) ||
(res == VIDEO_STD_1080P2997) ||
(res == VIDEO_STD_2160P24) ||
(res == VIDEO_STD_2160P25) ||
(res == VIDEO_STD_2160P30) ||
(res == VIDEO_STD_2160P50))
return true;
#endif
#if 0
/* for testing only */
if (res == VIDEO_STD_720P50)