mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
osd_helpers.cpp: remove unneeded #ifdef conditions
This commit is contained in:
@@ -144,27 +144,16 @@ int COsdHelpers::isVideoSystem1080(int res)
|
|||||||
(res == VIDEO_STD_1080I50) ||
|
(res == VIDEO_STD_1080I50) ||
|
||||||
(res == VIDEO_STD_1080P30) ||
|
(res == VIDEO_STD_1080P30) ||
|
||||||
(res == VIDEO_STD_1080P24) ||
|
(res == VIDEO_STD_1080P24) ||
|
||||||
(res == VIDEO_STD_1080P25))
|
(res == VIDEO_STD_1080P25) ||
|
||||||
return true;
|
(res == VIDEO_STD_1080P50) ||
|
||||||
|
|
||||||
#ifdef BOXMODEL_CS_HD2
|
|
||||||
if ((res == VIDEO_STD_1080P50) ||
|
|
||||||
(res == VIDEO_STD_1080P60) ||
|
(res == VIDEO_STD_1080P60) ||
|
||||||
(res == VIDEO_STD_1080P2397) ||
|
(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_2160P24) ||
|
||||||
(res == VIDEO_STD_2160P25) ||
|
(res == VIDEO_STD_2160P25) ||
|
||||||
(res == VIDEO_STD_2160P30) ||
|
(res == VIDEO_STD_2160P30) ||
|
||||||
(res == VIDEO_STD_2160P50))
|
(res == VIDEO_STD_2160P50))
|
||||||
return true;
|
return true;
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* for testing only */
|
/* for testing only */
|
||||||
if (res == VIDEO_STD_720P50)
|
if (res == VIDEO_STD_720P50)
|
||||||
|
Reference in New Issue
Block a user