gstreamer 4.0.3 → 4.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f4fd7875ba70091413dabcc0beafeaf2356e7ea703ab1f01d97807d241e42c4
4
- data.tar.gz: 18329d7e9a219b0119217071a8fbd1485b0a405b60af8e5979a7de49e600d689
3
+ metadata.gz: 519bc3232003aa9f50f945e7e2869c2f4562715be3be99ea778b59d99582eb4b
4
+ data.tar.gz: c299f4f21e6d0b54d298cb867989937b83412d41b68a74d2c6376984b139a3a1
5
5
  SHA512:
6
- metadata.gz: 912fdb9c06db00f948d3d5aceec6a364e306cf9abd6baa7756560818a858601b16a818973908b22bfb357f1acb7fbbd9792bc2a9fbcdfc995887e2a6b94d6043
7
- data.tar.gz: 61724b338f71b4446eac3f4642ae74e0a3fa6e37bbe9736cf1501705909c88f2fb124c23ef0a88bf1a52c34a3576dbcea6bb05a1121a6aba64ce8fc84e1aa8fe
6
+ metadata.gz: 32e1da4620227bad6568deb6196d081d9965234d9ea49a983a13e8416f1143ff2b1a58e3ae8a3489216586781f4fc68f26fa9c23a72fefb8dc220839deb79189
7
+ data.tar.gz: adac93a71c214bbcbd92627fbeadb642631b1537aa36f651d278db1873eeb36ab344188de89ad7f08ffcf1a3bbed3dfcbd5e7c3a4cecafc342fab7ba824b2099
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2003-2019 Ruby-GNOME Project Team
3
+ # Copyright (C) 2003-2022 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
@@ -66,7 +66,27 @@ end
66
66
 
67
67
  create_pkg_config_file("Ruby/GStreamer", package_id)
68
68
  $defs << "-DRUBY_GST_COMPILATION"
69
+ case RUBY_PLATFORM
70
+ when /darwin/
71
+ symbols_in_external_bundles = [
72
+ "_rbg_define_method",
73
+ "_rbg_inspect",
74
+ "_rbg_mGLib",
75
+ "_rbg_rval2cstr_accept_symbol",
76
+ "_rbg_to_array",
77
+ "_rbgobj_gvalue_to_rvalue",
78
+ "_rbgobj_instance_from_ruby_object",
79
+ "_rbgobj_lookup_class",
80
+ "_rbgobj_register_g2r_func",
81
+ "_rbgobj_register_r2g_func",
82
+ "_rbgobj_rvalue_to_gvalue",
83
+ ]
84
+ symbols_in_external_bundles.each do |symbol|
85
+ $DLDFLAGS << " -Wl,-U,#{symbol}"
86
+ end
87
+ end
69
88
  create_makefile(module_name)
89
+
70
90
  pkg_config_dir = with_config("pkg-config-dir")
71
91
  if pkg_config_dir.is_a?(String)
72
92
  File.open("Makefile", "ab") do |makefile|
@@ -29,7 +29,7 @@ rg_raise_no_property_error(VALUE object, const gchar *name)
29
29
  {
30
30
  VALUE eNoSuchProperty;
31
31
 
32
- eNoSuchProperty = rb_const_get(mGLib, rb_intern("NoSuchProperty"));
32
+ eNoSuchProperty = rb_const_get(rbg_mGLib(), rb_intern("NoSuchProperty"));
33
33
  rb_raise(eNoSuchProperty,
34
34
  "%s: No such property: <%s>",
35
35
  rbg_inspect(object),
@@ -0,0 +1,37 @@
1
+ # Copyright (C) 2016-2022 Ruby-GNOME Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ class TestMapInfo < Test::Unit::TestCase
18
+ def setup
19
+ @pipeline = Gst.parse_launch("videotestsrc ! appsink name=sink")
20
+ @sink = @pipeline.get_by_name("sink")
21
+ end
22
+
23
+ def test_data
24
+ @pipeline.play
25
+ begin
26
+ sample = @sink.try_pull_sample(Gst::SECOND)
27
+ buffer = sample.buffer
28
+ success, map_info = buffer.map(:read)
29
+ assert_true(success)
30
+ assert do
31
+ map_info.data.size >= 115200
32
+ end
33
+ ensure
34
+ @pipeline.stop
35
+ end
36
+ end
37
+ end
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.0.3
4
+ version: 4.0.4
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: 2022-09-13 00:00:00.000000000 Z
11
+ date: 2022-12-09 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.0.3
19
+ version: 4.0.4
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.0.3
26
+ version: 4.0.4
27
27
  description: Ruby/GStreamer is a Ruby binding for GStreamer.
28
28
  email: ruby-gnome2-devel-en@lists.sourceforge.net
29
29
  executables: []
@@ -74,6 +74,7 @@ files:
74
74
  - test/test-caps.rb
75
75
  - test/test-child-proxy.rb
76
76
  - test/test-element-factory.rb
77
+ - test/test-map-info.rb
77
78
  - test/test-tag-list.rb
78
79
  - test/test-version.rb
79
80
  homepage: https://ruby-gnome2.osdn.jp/