mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
fb_accel_sti: fix render errors
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1a96881f98
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-02-18 (Sun, 18 Feb 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
bd13170528
commit
0c74e125d6
@@ -366,12 +366,20 @@ void CFbAccelSTi::run()
|
||||
void CFbAccelSTi::blit()
|
||||
{
|
||||
//printf(LOGTAG "::blit\n");
|
||||
#if 0
|
||||
/* After 99ff4857 "change time_monotonic_ms() from time_t to int64_t"
|
||||
* this is no longer needed. And it leads to rendering errors.
|
||||
* Safest would be "blit_mutex.timedlock(timeout)", but that does not
|
||||
* exist... */
|
||||
int status = blit_mutex.trylock();
|
||||
if (status) {
|
||||
printf(LOGTAG "::blit trylock failed: %d (%s)\n", status,
|
||||
(status > 0) ? strerror(status) : strerror(errno));
|
||||
return;
|
||||
}
|
||||
#else
|
||||
blit_mutex.lock();
|
||||
#endif
|
||||
blit_cond.signal();
|
||||
blit_mutex.unlock();
|
||||
}
|
||||
|
Reference in New Issue
Block a user