mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
fb_generic.cpp: adapt to "Refactor video.cpp: Convert void function to bool function for enhanced result checking"
- this only affects CST
Origin commit data
------------------
Branch: ni/coolstream
Commit: 320c6c1227
Author: GetAway <get-away@t-online.de>
Date: 2023-08-16 (Wed, 16 Aug 2023)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1599,13 +1599,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__);
|
||||
|
Reference in New Issue
Block a user