diff options
author | Jens Georg <mail@jensge.org> | 2023-01-18 12:26:19 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2023-01-18 12:26:19 +0100 |
commit | aee994695addbae7d669b74a3db90ba77abf9ee2 (patch) | |
tree | a0742b35bc302baada378ed4f60c90cd446e99da /src | |
parent | ec9acbaad8ef14d99cc5d24746f1529e0f220ad6 (diff) | |
download | rygel-aee994695addbae7d669b74a3db90ba77abf9ee2.tar.gz |
rygel: Add comment what X.init_threads() is for
Diffstat (limited to 'src')
-rw-r--r-- | src/rygel/application.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rygel/application.vala b/src/rygel/application.vala index 3524757f..8065542d 100644 --- a/src/rygel/application.vala +++ b/src/rygel/application.vala @@ -316,6 +316,8 @@ public class Rygel.Application : GLib.Application { public static int main(string[] args) { Environment.set_application_name (_(BuildConfig.PACKAGE_NAME)); + // Required to prevent VA-API decoders from crashing when running inside a + // X11 session. Does nothing if not on X11. X.init_threads (); Intl.setlocale (LocaleCategory.ALL, ""); |