mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
An easy to use media playback library (libclapper) as a GstPlayer replacement. Previously we tried to use upstream `gstplayer` library to control playback and pass all events from multiple threads GStreamer uses into an app main thread. Since this caused some thread racy problems and we needed additional ABI breaking changes to better suit our needs, we ended up with a modified fork of said library renamed to `gstclapper` as a temporary solution. This new library simply named `clapper` replaces our previous `gstclapper` solution and is written completely from scratch by myself. The aim here is to have an easy to use playback library better suited to work with (but not limited to) GTK and GObject properties bindings by relying on "notify" signals. Major differences include: * Operates on a playback queue (inherits `GListModel` interface) instead of a single URI * Uses "notify" signals for property changes always dispatched to app thread * Time is passed/read as decimal number in seconds instead of int64 in nanoseconds * Integrates `GstDiscoverer` to figure out media info (such as title) before playback * Easy to use MPRIS support as part of library * Optional playback remote controls with WebSocket messages The new library will be distributed with Clapper player. This includes public headers and GObject Introspection support. Licensed under LGPL-2.1-or-later. Enjoy
11 lines
364 B
Meson
11 lines
364 B
Meson
gi_docgen = find_program('gi-docgen', required: get_option('doc'))
|
|
dot = find_program('dot', required: get_option('doc')) # Class hierarchy generation
|
|
build_doc = (gi_docgen.found() and dot.found() and get_option('doc'))
|
|
|
|
if build_doc
|
|
if not build_gir
|
|
error('Building documentation requires introspection to be compiled')
|
|
endif
|
|
subdir('reference')
|
|
endif
|