From 3303264e9f37fd4e6078abae08c9341ce2f980ce Mon Sep 17 00:00:00 2001 From: GetAway Date: Sun, 23 Oct 2022 22:28:44 +0200 Subject: [PATCH] revert: use videoDevice for ShowPicture in MP mode --- libarmbox/video.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index d3cb4f6..421a161 100644 --- a/libarmbox/video.cpp +++ b/libarmbox/video.cpp @@ -837,16 +837,12 @@ bool cVideo::ShowPicture(const char *fname) hal_info("%s: video_standby == true\n", __func__); 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 */ if (fd == -1) { hal_info("%s: decoder not opened\n", __func__); return ret; } -#endif struct stat st; if (stat(fname, &st))