mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 22:40:18 +00:00
Revert "Allow overriding display requirement for mainloop"
It is unclear what should this parameter help with and it doesn't seem
that it is somewhere referenced (wiki, GitHub issues).
This reverts commit 2e4fac60b8.
This commit is contained in:
@@ -189,18 +189,12 @@ void display_done(struct display *d)
|
||||
free(d);
|
||||
}
|
||||
|
||||
ADD_TO_PARAM("override-mainloop-req", "* override-mainloop-req\n"
|
||||
" Override display requirement for mainloop.\n");
|
||||
|
||||
/**
|
||||
* Returns true if display has a run routine that needs to be run in a main thread
|
||||
*/
|
||||
bool display_needs_mainloop(struct display *d)
|
||||
{
|
||||
assert(d->magic == DISPLAY_MAGIC);
|
||||
if (get_commandline_param("override-mainloop-req") != NULL) {
|
||||
return true;
|
||||
}
|
||||
if (d->funcs->needs_mainloop == DISPLAY_NEEDS_MAINLOOP) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user