mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Add new GStreamer plugin that consists of multiple elements for Clapper video player. The main difference is that unlike the old one, this does not operate using `GtkGLArea` anymore, but processes and displays `GdkTextures` directly through `GtkPicture` widget. Also this one is installed like any other GStreamer plugin, thus can be used via `gst-launch-1.0` binary or even used by other GTK4 apps if they wish to integrate it. This commit adds new video sink that uses a new kind of memory as input, called `ClapperGdkMemory`. With it comes a simple dedicated memory allocator, buffer pool and a `clapperimport` element that converts system mapped memory frames into `GdkTextures` that are later passed in our `ClapperGdkMemory` for the sink to display.
26 lines
593 B
Meson
26 lines
593 B
Meson
option('player',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Build Clapper player'
|
|
)
|
|
option('lib',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Build GstClapper lib'
|
|
)
|
|
option('gst-plugin',
|
|
type: 'feature',
|
|
value: 'enabled',
|
|
description: 'Build GStreamer plugin (includes GTK video sink element)'
|
|
)
|
|
option('devel-checks',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'GStreamer GLib checks and asserts such as API guards (disable for stable releases)'
|
|
)
|
|
option('deprecated-glib-api',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Allow using of deprecated GLib API'
|
|
)
|