gstreamer 3.0.5-x64-mingw32 → 3.0.6-x64-mingw32

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
  SHA1:
3
- metadata.gz: 04386b466097c068103b2e339d29cf07d7ef41b7
4
- data.tar.gz: 70a50ceb2435f1b6419ef5b3d814385124ba8d8b
3
+ metadata.gz: 7475e372f14f425781a9e5a57385fb656caacec4
4
+ data.tar.gz: 36d8e98004cf5e0666e2949fcdbacfe9d361674e
5
5
  SHA512:
6
- metadata.gz: f92eb2e17a450023a169058e8a1ddf7cbb9156401c419ea0d6d59e71c3ca4a85f73f79e0e864793c5e3dc1875c2bc55494e2264c5939e13c061c84c6374f6324
7
- data.tar.gz: 33fb1cf14d78330910337615689fa0a73ee807581103f61dff3333728220af0cdbe5462e3ad7fcabff017209919521dd95ddbf3fca1e180f8e7f30adf5d14eda
6
+ metadata.gz: 169a7c2593821afbe46507e9fa36ede6c98ce807e89dc3bc0bc3d0475f8f81d683d165b4dbb8136008c8689cb058118e19c2e1b799a86baa9abb895b53b29a43
7
+ data.tar.gz: 1f85bff99a7711fa4ce4671027805840dd2fb008f39dda4cb2a8b79363afc8fb8ebdc3bd20e8822e5dfc16d56d73ec388a17a2cd96991271196b6f2cce463547
data/lib/2.0/gstreamer.so CHANGED
Binary file
data/lib/2.1/gstreamer.so CHANGED
Binary file
data/lib/2.2/gstreamer.so CHANGED
Binary file
data/lib/gst.rb CHANGED
@@ -71,6 +71,7 @@ module Gst
71
71
  require "gst/registry"
72
72
  require "gst/structure"
73
73
  require "gst/type-find-factory"
74
+ require "gst/version"
74
75
  init_base
75
76
  init_controller
76
77
  end
@@ -0,0 +1,36 @@
1
+ # Copyright (C) 2015 Ruby-GNOME2 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
+
18
+ module Gst
19
+ module Version
20
+ MAJOR, MINOR, MICRO, NANO = Gst.version
21
+ STRING = "#{MAJOR}.#{MINOR}.#{MICRO}.#{NANO}"
22
+ class << self
23
+ def or_later?(major, minor, micro=nil, nano=nil)
24
+ micro ||= 0
25
+ nano ||= 0
26
+ version = [
27
+ MAJOR,
28
+ MINOR,
29
+ MICRO,
30
+ NANO,
31
+ ]
32
+ (version <=> [major, minor, micro, nano]) >= 0
33
+ end
34
+ end
35
+ end
36
+ end
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2014 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2014-2015 Ruby-GNOME2 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
@@ -56,4 +56,4 @@ end
56
56
 
57
57
  Gst.init
58
58
 
59
- exit Test::Unit::AutoRunner.run(true)
59
+ exit Test::Unit::AutoRunner.run(true, File.join(gstreamer_base, "test"))
@@ -0,0 +1,50 @@
1
+ # Copyright (C) 2015 Ruby-GNOME2 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 TestGstVersion < Test::Unit::TestCase
18
+
19
+ test "STRING" do
20
+ major = Gst::Version::MAJOR
21
+ minor = Gst::Version::MINOR
22
+ micro = Gst::Version::MICRO
23
+ nano = Gst::Version::NANO
24
+ assert_equal([major, minor, micro, nano].join("."),
25
+ Gst::Version::STRING)
26
+ end
27
+
28
+ sub_test_case("#or_later?") do
29
+ test "same" do
30
+ assert_true(Gst::Version.or_later?(Gst::Version::MAJOR,
31
+ Gst::Version::MINOR,
32
+ Gst::Version::MICRO,
33
+ Gst::Version::NANO))
34
+ end
35
+
36
+ test "later" do
37
+ assert_true(Gst::Version.or_later?(Gst::Version::MAJOR,
38
+ Gst::Version::MINOR - 1,
39
+ Gst::Version::MICRO,
40
+ Gst::Version::NANO))
41
+ end
42
+
43
+ test "earlier" do
44
+ assert_false(Gst::Version.or_later?(Gst::Version::MAJOR,
45
+ Gst::Version::MINOR + 1,
46
+ Gst::Version::MICRO,
47
+ Gst::Version::NANO))
48
+ end
49
+ end
50
+ 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: 3.0.5
4
+ version: 3.0.6
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-22 00:00:00.000000000 Z
11
+ date: 2015-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.5
19
+ version: 3.0.6
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: 3.0.5
26
+ version: 3.0.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gobject-introspection
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.5
33
+ version: 3.0.6
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.5
40
+ version: 3.0.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pango
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 3.0.5
47
+ version: 3.0.6
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 3.0.5
54
+ version: 3.0.6
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: gdk_pixbuf2
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.5
61
+ version: 3.0.6
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 3.0.5
68
+ version: 3.0.6
69
69
  description: Ruby/GStreamer is a Ruby binding for GStreamer.
70
70
  email: ruby-gnome2-devel-en@lists.sourceforge.net
71
71
  executables: []
@@ -95,6 +95,7 @@ files:
95
95
  - lib/gst/registry.rb
96
96
  - lib/gst/structure.rb
97
97
  - lib/gst/type-find-factory.rb
98
+ - lib/gst/version.rb
98
99
  - lib/gstreamer.rb
99
100
  - sample/audio-example.rb
100
101
  - sample/framestep1.rb
@@ -110,6 +111,7 @@ files:
110
111
  - test/test-caps.rb
111
112
  - test/test-child-proxy.rb
112
113
  - test/test-element-factory.rb
114
+ - test/test-version.rb
113
115
  - vendor/local/bin/cjpeg.exe
114
116
  - vendor/local/bin/djpeg.exe
115
117
  - vendor/local/bin/flac.exe