Added --param cmdline param to modify UG intenals

These options are now available:
decoder - to force user selected decoder (eg. libavcodec instead
of gpujpeg, which would be chosen by default)
drop-policy - to allow non-blocking put frame (effectively drops
frames that cannot be displayed immediately, eg. when display
frame rate is lower than video frame rate)
This commit is contained in:
Martin Pulec
2016-03-23 14:24:39 +01:00
parent ce056b9e67
commit 57fe2cef91
6 changed files with 45 additions and 4 deletions

View File

@@ -58,6 +58,8 @@ bool ldgm_device_gpu = false;
const char *window_title = NULL;
std::unordered_map<std::string, std::string> commandline_params;
static void common_cleanup()
{
#ifdef USE_MTRACE