[libbluray-devel] [Git][videolan/libbluray][master] BDJ: Try to disable headless autoprobing.
Petri Hintukainen
gitlab at videolan.org
Mon Feb 1 16:45:13 UTC 2021
Petri Hintukainen pushed to branch master at VideoLAN / libbluray
Commits:
9f1cc143 by hpi1 at 2021-02-01T18:42:22+02:00
BDJ: Try to disable headless autoprobing.
No need to probe, BDToolkit is headful.
Probing seems to fail with OpenJDK if ex. DISPLAY environment variable is undefined.
- - - - -
1 changed file:
- src/libbluray/bdj/bdj.c
Changes:
=====================================
src/libbluray/bdj/bdj.c
=====================================
@@ -889,6 +889,7 @@ static int _create_jvm(void *jvm_lib, const char *java_home, const char *jar_fil
option[n++].optionString = str_dup ("-Dawt.toolkit=java.awt.BDToolkit");
option[n++].optionString = str_dup ("-Djava.awt.graphicsenv=java.awt.BDGraphicsEnvironment");
+ option[n++].optionString = str_dup ("-Djava.awt.headless=false");
option[n++].optionString = str_dup ("-Xms256M");
option[n++].optionString = str_dup ("-Xmx256M");
option[n++].optionString = str_dup ("-Xss2048k");
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/9f1cc143efb6f3af71770a6d33f88f501ae619ad
--
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/9f1cc143efb6f3af71770a6d33f88f501ae619ad
You're receiving this email because of your account on code.videolan.org.
More information about the libbluray-devel
mailing list