fb_generic.cpp: adapt to "Refactor video.cpp: Convert void function to bool function for enhanced result checking"

- this only affects CST
This commit is contained in:
GetAway
2023-08-08 22:07:39 +02:00
parent 0822265af9
commit 23821c3e28
3 changed files with 2 additions and 7 deletions

View File

@@ -1607,13 +1607,8 @@ bool CFrameBuffer::showFrame(const std::string & filename, int fallback_mode)
{
if (videoDecoder)
{
#if HAVE_CST_HARDWARE //FIXME: inside libcs no return value available
videoDecoder->ShowPicture(picture.c_str());
ret = true;
#else
if (videoDecoder->ShowPicture(picture.c_str()))
ret = true;
#endif
}
else
dprintf(DEBUG_NORMAL,"[CFrameBuffer]\[%s - %d], no videoplayer instance available\n", __func__, __LINE__);