Skip to content

Add support for the universal windows platform, specifically arm64

Nirbheek Chauhan requested to merge nirbheek/gstreamer:uwp-arm64-support into master

ARM64 support:

commit 41f909f1:

gstconfig.h.in: Windows ARM64 does not allow unaligned access

Support for loading plugins on UWP: commit 02ad8593:

gstplugin: Don't stat plugins when building for UWP
When using GStreamer with Universal Windows Platform apps, dynamic
plugins can only be loaded by filename (without a path) using
gst_plugin_load_file() which will call into g_module_open().

On Windows, GModule calls LoadLibrary() on the filename, but with
UWP we need to use LoadPackagedLibrary() which is basically the same
as LoadLibrary(), except it looks only for DLLs (by name) that have
been packaged as assets with the app.

These assets are not files and cannot be accessed using normal file
APIs such as open() or stat().

The upstream glib merge request for adding LoadPackagedLibrary support
is: https://gitlab.gnome.org/GNOME/glib/merge_requests/951
Edited by Nirbheek Chauhan

Merge request reports