mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
movieplayer: cleanup from unsupported hardware ifdefs
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 868f6184ae
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-07 (Tue, 07 Nov 2017)
Origin message was:
------------------
- movieplayer: cleanup from unsupported hardware ifdefs
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -513,49 +513,15 @@ void CMoviePlayerGui::updateLcd()
|
||||
|
||||
switch (playstate) {
|
||||
case CMoviePlayerGui::PAUSE:
|
||||
#if !defined(BOXMODEL_UFS910) \
|
||||
&& !defined(BOXMODEL_UFS912) \
|
||||
&& !defined(BOXMODEL_UFS913) \
|
||||
&& !defined(BOXMODEL_UFS922) \
|
||||
&& !defined(BOXMODEL_FORTIS_HDBOX) \
|
||||
&& !defined(BOXMODEL_OCTAGON1008) \
|
||||
&& !defined(BOXMODEL_HS7110) \
|
||||
&& !defined(BOXMODEL_HS7810A) \
|
||||
&& !defined(BOXMODEL_HS7119) \
|
||||
&& !defined(BOXMODEL_HS7819) \
|
||||
&& !defined(BOXMODEL_IPBOX9900) \
|
||||
&& !defined(BOXMODEL_IPBOX99) \
|
||||
&& !defined(BOXMODEL_IPBOX55)
|
||||
lcd = "|| ";
|
||||
#else
|
||||
lcd = "";
|
||||
#endif
|
||||
if (speed < 0) {
|
||||
sprintf(tmp, "%dx<| ", abs(speed));
|
||||
lcd = tmp;
|
||||
} else if (speed > 0) {
|
||||
sprintf(tmp, "%dx|> ", abs(speed));
|
||||
lcd = tmp;
|
||||
#if !defined(BOXMODEL_UFS910) \
|
||||
&& !defined(BOXMODEL_UFS912) \
|
||||
&& !defined(BOXMODEL_UFS913) \
|
||||
&& !defined(BOXMODEL_UFS922) \
|
||||
&& !defined(BOXMODEL_OCTAGON1008) \
|
||||
&& !defined(BOXMODEL_HS7110) \
|
||||
&& !defined(BOXMODEL_HS7810A) \
|
||||
&& !defined(BOXMODEL_HS7119) \
|
||||
&& !defined(BOXMODEL_HS7819) \
|
||||
&& !defined(BOXMODEL_IPBOX9900) \
|
||||
&& !defined(BOXMODEL_IPBOX99) \
|
||||
&& !defined(BOXMODEL_IPBOX55)
|
||||
} else
|
||||
lcd = "|| ";
|
||||
#else
|
||||
} else
|
||||
lcd = "";
|
||||
#endif
|
||||
break;
|
||||
#if !defined(BOXMODEL_OCTAGON1008)
|
||||
case CMoviePlayerGui::REW:
|
||||
sprintf(tmp, "%dx<< ", abs(speed));
|
||||
lcd = tmp;
|
||||
@@ -564,24 +530,8 @@ void CMoviePlayerGui::updateLcd()
|
||||
sprintf(tmp, "%dx>> ", abs(speed));
|
||||
lcd = tmp;
|
||||
break;
|
||||
#endif
|
||||
case CMoviePlayerGui::PLAY:
|
||||
#if !defined(BOXMODEL_UFS910) \
|
||||
&& !defined(BOXMODEL_UFS912) \
|
||||
&& !defined(BOXMODEL_UFS913) \
|
||||
&& !defined(BOXMODEL_UFS922) \
|
||||
&& !defined(BOXMODEL_FORTIS_HDBOX) \
|
||||
&& !defined(BOXMODEL_OCTAGON1008) \
|
||||
&& !defined(BOXMODEL_HS7110) \
|
||||
&& !defined(BOXMODEL_HS7810A) \
|
||||
&& !defined(BOXMODEL_HS7119) \
|
||||
&& !defined(BOXMODEL_HS7819) \
|
||||
&& !defined(BOXMODEL_CUBEREVO_MINI2) \
|
||||
&& !defined(BOXMODEL_IPBOX9900) \
|
||||
&& !defined(BOXMODEL_IPBOX99) \
|
||||
&& !defined(BOXMODEL_IPBOX55)
|
||||
lcd = "> ";
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user