gstreamer 3.5.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gstreamer/rbgst.c +0 -15
- data/sample/audio-example.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d07ba0bace2f7893df3b69a48e8584ffd43852a55445b9f594017e49b0e51c06
|
4
|
+
data.tar.gz: 8b71ab0c135b7e7be87d5031e82519a3673a018e17ce52f74bdc1859ded551e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b3a4ca0978091ec92f22f56bbe2979c1d96e10d1d93ae64f0b6cefefd355e07f3c8c54181ee794af6738d42082d6098ddb56d592de380a630a873cf138deb13
|
7
|
+
data.tar.gz: 738d4313ceed6278dca3d58c371390e95eed59cf26331e5e43a33d3de82c0f1aeb80d7cd8caa66ed330a47e5ce0d6f33fcc247c2f1b93186d799ba024d76afd8
|
data/ext/gstreamer/rbgst.c
CHANGED
@@ -64,21 +64,6 @@ rg_gst_value_list_g2r(const GValue *from)
|
|
64
64
|
return rb_values;
|
65
65
|
}
|
66
66
|
|
67
|
-
#ifdef _WIN32
|
68
|
-
/* Workaround: See glib2/ext/glib2/rbglib.c for details. */
|
69
|
-
BOOL WINAPI
|
70
|
-
DllMain(G_GNUC_UNUSED HINSTANCE hinstDLL,
|
71
|
-
G_GNUC_UNUSED DWORD fdwReason,
|
72
|
-
G_GNUC_UNUSED LPVOID lpvReserved);
|
73
|
-
BOOL WINAPI
|
74
|
-
DllMain(G_GNUC_UNUSED HINSTANCE hinstDLL,
|
75
|
-
G_GNUC_UNUSED DWORD fdwReason,
|
76
|
-
G_GNUC_UNUSED LPVOID lpvReserved)
|
77
|
-
{
|
78
|
-
return TRUE;
|
79
|
-
}
|
80
|
-
#endif
|
81
|
-
|
82
67
|
void
|
83
68
|
Init_gstreamer (void)
|
84
69
|
{
|
data/sample/audio-example.rb
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
require "gst"
|
33
33
|
|
34
34
|
bin = Gst::Pipeline.new("pipeline")
|
35
|
-
clock = bin.
|
35
|
+
clock = bin.pipeline_clock
|
36
36
|
src = Gst::ElementFactory.make("audiotestsrc", nil)
|
37
37
|
raise "need audiotestsrc from gst-plugins-base" if src.nil?
|
38
38
|
sink = Gst::ElementFactory.make("autoaudiosink", nil)
|
@@ -64,5 +64,5 @@ cs2.set(6 * Gst::SECOND, 440.0 / 20000.0)
|
|
64
64
|
clock_id = clock.new_single_shot_id(clock.time + (7 * Gst::SECOND))
|
65
65
|
bin.play
|
66
66
|
wait_ret, jitter = Gst::Clock.id_wait(clock_id)
|
67
|
-
|
67
|
+
warn "Clock::id_wait returned: #{wait_ret}" if wait_ret != Gst::ClockReturn::OK
|
68
68
|
bin.stop
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gstreamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME Project Team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01
|
11
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gobject-introspection
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.0.0
|
27
27
|
description: Ruby/GStreamer is a Ruby binding for GStreamer.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
@@ -81,7 +81,7 @@ licenses:
|
|
81
81
|
- LGPL-2.1+
|
82
82
|
metadata:
|
83
83
|
msys2_mingw_dependencies: gstreamer
|
84
|
-
post_install_message:
|
84
|
+
post_install_message:
|
85
85
|
rdoc_options: []
|
86
86
|
require_paths:
|
87
87
|
- lib
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
99
|
rubygems_version: 3.4.0.dev
|
100
|
-
signing_key:
|
100
|
+
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: Ruby/GStreamer is a Ruby binding for GStreamer.
|
103
103
|
test_files: []
|