mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 15:32:43 +02:00
generic-pc: allow to disable softdecoder for debugging
Origin commit data
------------------
Branch: master
Commit: 5f0fb850d6
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-05-10 (Fri, 10 May 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
static bool initialized = false;
|
||||
GLFramebuffer *glfb = NULL;
|
||||
bool HAL_nodec = false;
|
||||
|
||||
void init_td_api()
|
||||
{
|
||||
@@ -35,6 +36,10 @@ void init_td_api()
|
||||
|
||||
glfb = new GLFramebuffer(x, y); /* hard coded to PAL resolution for now */
|
||||
}
|
||||
/* allow disabling of Audio/video decoders in case we just want to
|
||||
* valgrind-check other parts... export HAL_NOAVDEC=1 */
|
||||
if (getenv("HAL_NOAVDEC"))
|
||||
HAL_nodec = true;
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user