Skip to content

Change Gst.init argument from null to empty array#28

Open
SaschaU wants to merge 1 commit intoBuddySirJava:masterfrom
SaschaU:master
Open

Change Gst.init argument from null to empty array#28
SaschaU wants to merge 1 commit intoBuddySirJava:masterfrom
SaschaU:master

Conversation

@SaschaU
Copy link

@SaschaU SaschaU commented Feb 16, 2026

These changes are fully backward compatible.

The update from null to [] in Gst.init() follows the official GStreamer/GJS documentation. Older GNOME versions handled null loosely by converting it internally, but the current GJS version in GNOME 49+ (and especially on rolling-release distros like Arch) has become stricter and now requires the explicit array type to prevent a crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments