mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
Revert "osd_helpers.cpp: remove unneeded #ifdef conditions"
This reverts commit d7fdaaa400
.
This commit is contained in:
@@ -144,16 +144,27 @@ int COsdHelpers::isVideoSystem1080(int res)
|
||||
(res == VIDEO_STD_1080I50) ||
|
||||
(res == VIDEO_STD_1080P30) ||
|
||||
(res == VIDEO_STD_1080P24) ||
|
||||
(res == VIDEO_STD_1080P25) ||
|
||||
(res == VIDEO_STD_1080P50) ||
|
||||
(res == VIDEO_STD_1080P25))
|
||||
return true;
|
||||
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
if ((res == VIDEO_STD_1080P50) ||
|
||||
(res == VIDEO_STD_1080P60) ||
|
||||
(res == VIDEO_STD_1080P2397) ||
|
||||
(res == VIDEO_STD_1080P2997) ||
|
||||
(res == VIDEO_STD_1080P2997))
|
||||
return true;
|
||||
#endif
|
||||
|
||||
#if HAVE_ARM_HARDWARE
|
||||
if ((res == VIDEO_STD_1080P50) ||
|
||||
(res == VIDEO_STD_1080P60) ||
|
||||
(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)
|
||||
|
Reference in New Issue
Block a user