gstreamer_play 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/gstreamer_play/gstbadaudio.rb +29 -0
- data/lib/gstreamer_play/loader.rb +5 -4
- data/lib/gstreamer_play/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a92209dbb0b3fc13daf25cd0a3127e4e03dea8df156dd04236cc1082b5aba9fb
|
|
4
|
+
data.tar.gz: 5c67bd206a02a31cb76614788a39fed3525c999091b69638d4e0614669729ad5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 717e7af079a74cab84bb283b4403e88bdc32e6c3e2fdc4b7b5ee14c76c6b7d2658cdebdf2ff8a3a2165f0ce4acd9d7dc68a40738918989ef0a575e8dc93c64f4
|
|
7
|
+
data.tar.gz: f265d4a719d1be66a5c53898f91e31dafb55b41071e44c1c9846b6461c48b3e30ebd6debec8babff908ffa8413969bd0645a620973d59d8e723a70c0a4c2346f
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.1.0] - 2026-11-03
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- GstBadAudio, defined from the typelibs that ship in the same package as this
|
|
15
|
+
gem's own. They need the same `gst_init` and the same search path, so they
|
|
16
|
+
are loaded here rather than given gems of their own -- which is what
|
|
17
|
+
ruby-gnome's gstreamer gem does for GstBase, GstController and GstAudio.
|
|
18
|
+
This closes the GstBadAudio gap on the project's Bindings board.
|
|
19
|
+
|
|
10
20
|
## [1.0.0] - 2026-11-03
|
|
11
21
|
|
|
12
22
|
### Added
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Released under the Apache License, Version 2.0.
|
|
4
|
+
# Copyright, 2026, by General Intelligence Systems.
|
|
5
|
+
|
|
6
|
+
# GstBadAudio -- the audio elements that live in gst-plugins-bad, which Amberol and gnome-podcasts reach for.
|
|
7
|
+
#
|
|
8
|
+
# It lives here rather than in a gem of its own because `GstBadAudio-1.0.typelib`
|
|
9
|
+
# ships in the same package as GstPlay's, so this gem already pins everything
|
|
10
|
+
# it needs and already has gst_init run by GstPlay's loader. A separate gem
|
|
11
|
+
# would add a repository, a release and a dependency for twenty lines.
|
|
12
|
+
module GstBadAudio
|
|
13
|
+
LOG_DOMAIN = "GstBadAudio"
|
|
14
|
+
GLib::Log.set_log_domain(LOG_DOMAIN)
|
|
15
|
+
|
|
16
|
+
class Error < StandardError
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
# Modelled on ruby-gnome's gstreamer gem, which brings up GstBase,
|
|
20
|
+
# GstController and GstAudio behind Gst in exactly this way.
|
|
21
|
+
class Loader < GObjectIntrospection::Loader
|
|
22
|
+
def load
|
|
23
|
+
self.version = "1.0"
|
|
24
|
+
super("GstBadAudio")
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
Loader.new(self).load
|
|
29
|
+
end
|
|
@@ -60,10 +60,11 @@ module GstPlay
|
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
def require_libraries
|
|
63
|
-
#
|
|
64
|
-
#
|
|
65
|
-
#
|
|
66
|
-
#
|
|
63
|
+
# GstBadAudio ship in the same package as GstPlay and need the same
|
|
64
|
+
# gst_init, so they are brought up here rather than given gems of their
|
|
65
|
+
# own. This is what ruby-gnome's gstreamer gem does for GstBase,
|
|
66
|
+
# GstController and GstAudio.
|
|
67
|
+
require_relative "gstbadaudio"
|
|
67
68
|
end
|
|
68
69
|
end
|
|
69
70
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gstreamer_play
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Kidd
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- NOTICE
|
|
69
69
|
- README.md
|
|
70
70
|
- lib/gstreamer_play.rb
|
|
71
|
+
- lib/gstreamer_play/gstbadaudio.rb
|
|
71
72
|
- lib/gstreamer_play/loader.rb
|
|
72
73
|
- lib/gstreamer_play/version.rb
|
|
73
74
|
- lib/gstreamer_play/version.rb.erb
|