gstreamer 4.2.0 → 4.2.1
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/ext/gstreamer/rbgst-element.c +37 -0
- data/ext/gstreamer/rbgst.c +2 -1
- data/ext/gstreamer/rbgst.h +2 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8ccfc63afc448da7769807d25b3b6400f9731db10af4215df423a20350b2b62
|
4
|
+
data.tar.gz: ca392fb30806b4fddb8ebc4e8f01aba5d65bbce72563995aa9615fefce5dbc74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f30f0b26207349563feff802e4150453d4e215c8e7183c3c4dff4503193d9e1101dd01aad487ae4607b2858710c58d0172816c0a448d19c1c96868335ce00f23
|
7
|
+
data.tar.gz: 7cb942cdbeb2fe17031900793055a02dea412f1e4153b34d536abc831f14a2f040277cdb200735f9b9037af061cc4c6de9d9659574e008e8f0ba2ca8fa4dcd22
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2023 Ruby-GNOME2 Project Team
|
4
|
+
*
|
5
|
+
* This library is free software; you can redistribute it and/or
|
6
|
+
* modify it under the terms of the GNU Lesser General Public
|
7
|
+
* License as published by the Free Software Foundation; either
|
8
|
+
* version 2.1 of the License, or (at your option) any later version.
|
9
|
+
*
|
10
|
+
* This library is distributed in the hope that it will be useful,
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
* Lesser General Public License for more details.
|
14
|
+
*
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
16
|
+
* License along with this library; if not, write to the Free Software
|
17
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18
|
+
* MA 02110-1301 USA
|
19
|
+
*/
|
20
|
+
|
21
|
+
#include "rbgst.h"
|
22
|
+
|
23
|
+
static void
|
24
|
+
rb_gst_element_mark(gpointer object)
|
25
|
+
{
|
26
|
+
GstBus *bus = gst_element_get_bus(GST_ELEMENT(object));
|
27
|
+
if (bus) {
|
28
|
+
rbgobj_gc_mark_instance(bus);
|
29
|
+
gst_object_unref(bus);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
void
|
34
|
+
rb_gst_init_element(void)
|
35
|
+
{
|
36
|
+
rbgobj_register_mark_func(GST_TYPE_ELEMENT, rb_gst_element_mark);
|
37
|
+
}
|
data/ext/gstreamer/rbgst.c
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C) 2013-
|
3
|
+
* Copyright (C) 2013-2023 Ruby-GNOME Project Team
|
4
4
|
*
|
5
5
|
* This library is free software; you can redistribute it and/or
|
6
6
|
* modify it under the terms of the GNU Lesser General Public
|
@@ -71,4 +71,5 @@ Init_gstreamer (void)
|
|
71
71
|
rbgobj_register_g2r_func(GST_TYPE_LIST, rg_gst_value_list_g2r);
|
72
72
|
|
73
73
|
rb_gst_init_child_proxy();
|
74
|
+
rb_gst_init_element();
|
74
75
|
}
|
data/ext/gstreamer/rbgst.h
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C) 2013-
|
3
|
+
* Copyright (C) 2013-2023 Ruby-GNOME Project Team
|
4
4
|
*
|
5
5
|
* This library is free software; you can redistribute it and/or
|
6
6
|
* modify it under the terms of the GNU Lesser General Public
|
@@ -24,3 +24,4 @@
|
|
24
24
|
|
25
25
|
extern void Init_gstreamer (void);
|
26
26
|
G_GNUC_INTERNAL extern void rb_gst_init_child_proxy (void);
|
27
|
+
G_GNUC_INTERNAL extern void rb_gst_init_element (void);
|
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.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-22 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: 4.2.
|
19
|
+
version: 4.2.1
|
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: 4.2.
|
26
|
+
version: 4.2.1
|
27
27
|
description: Ruby/GStreamer is a Ruby binding for GStreamer.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
@@ -37,6 +37,7 @@ files:
|
|
37
37
|
- ext/gstreamer/depend
|
38
38
|
- ext/gstreamer/extconf.rb
|
39
39
|
- ext/gstreamer/rbgst-child-proxy.c
|
40
|
+
- ext/gstreamer/rbgst-element.c
|
40
41
|
- ext/gstreamer/rbgst.c
|
41
42
|
- ext/gstreamer/rbgst.h
|
42
43
|
- extconf.rb
|
@@ -97,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
98
|
- !ruby/object:Gem::Version
|
98
99
|
version: '0'
|
99
100
|
requirements: []
|
100
|
-
rubygems_version: 3.5.
|
101
|
+
rubygems_version: 3.5.1
|
101
102
|
signing_key:
|
102
103
|
specification_version: 4
|
103
104
|
summary: Ruby/GStreamer is a Ruby binding for GStreamer.
|