mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
revert: use videoDevice for ShowPicture in MP mode
This commit is contained in:
@@ -837,16 +837,12 @@ bool cVideo::ShowPicture(const char *fname)
|
|||||||
hal_info("%s: video_standby == true\n", __func__);
|
hal_info("%s: video_standby == true\n", __func__);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
/* Maybe fd is closed, but what is the problem? Later we call openDevice().
|
|
||||||
Works on following boxmodels */
|
|
||||||
#if !BOXMODEL_HISILICON && !BOXMODEL_BRE2ZE4K && !BOXMODEL_H7 && !BOXMODEL_H51 && !BOXMODEL_HD60 && !BOXMODEL_HD61 && !BOXMODEL_MULTIBOX && !BOXMODEL_MULTIBOXSE
|
|
||||||
/* in movieplayer mode, fd is not opened */
|
/* in movieplayer mode, fd is not opened */
|
||||||
if (fd == -1)
|
if (fd == -1)
|
||||||
{
|
{
|
||||||
hal_info("%s: decoder not opened\n", __func__);
|
hal_info("%s: decoder not opened\n", __func__);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
struct stat st;
|
struct stat st;
|
||||||
if (stat(fname, &st))
|
if (stat(fname, &st))
|
||||||
|
Reference in New Issue
Block a user