gstreamer 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +5 -5
  3. data/lib/gst/caps.rb +17 -6
  4. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 151b10b111c605598f1d465258a735eaa6ef651f
4
- data.tar.gz: e3bb7ce44c3e9affa17b20eb642313d37c2a1295
3
+ metadata.gz: 4a0f2ebae92f2a1a34637769fed4b60e70954de6
4
+ data.tar.gz: b6ce804b093dbb6216517b6d661c711ec32d45d1
5
5
  SHA512:
6
- metadata.gz: bbeb7f0084038fa623c9225398320dbdec5d6b885ca82673e170f0c3e734d79bd1ef1f6304e0db477b17de090114da861399301e8b4584348b84ebbab6bb70f7
7
- data.tar.gz: dc3f68254c0d9e1e994d1513c55e752383b28c489a5b8905b5561f82f5b37c3ad2da5aba5e3421127599195c7b9788fe5a0c58e3891893d44e3849e2ae56f5e9
6
+ metadata.gz: fe557e1578c4cb32418d6e1316a72b7b33453396a8a761b37a19dadbcc461ea97380f10dad7bb16ec1aa2eb7e153ceb2efa917ba667fb9dace14f33d97f90dff
7
+ data.tar.gz: fe589dbccca167ddbcc5a039c7c1f98a21349fcc8ba119ce4d4867fceebe8df9ee8d21b6e3ea8ac5ab18fc430c7d27ffa244befafced747f30abbc2cd97bb4f2
data/Rakefile CHANGED
@@ -144,7 +144,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
144
144
  :name => "gstreamer",
145
145
  :download_site => :freedesktop_gstreamer,
146
146
  :label => "GStreamer",
147
- :version => "1.10.0",
147
+ :version => "1.10.2",
148
148
  :compression_method => "xz",
149
149
  :windows => {
150
150
  :cc_args => "-std=gnu99",
@@ -164,7 +164,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
164
164
  :name => "gst-plugins-base",
165
165
  :download_site => :freedesktop_gstreamer,
166
166
  :label => "GStreamer plugins (base)",
167
- :version => "1.10.0",
167
+ :version => "1.10.2",
168
168
  :compression_method => "xz",
169
169
  :windows => {
170
170
  :configure_args => [
@@ -185,7 +185,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
185
185
  :name => "gst-plugins-good",
186
186
  :download_site => :freedesktop_gstreamer,
187
187
  :label => "GStreamer plugins (good)",
188
- :version => "1.10.0",
188
+ :version => "1.10.2",
189
189
  :compression_method => "xz",
190
190
  :windows => {
191
191
  :configure_args => [
@@ -199,7 +199,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
199
199
  :name => "gst-plugins-bad",
200
200
  :download_site => :freedesktop_gstreamer,
201
201
  :label => "GStreamer plugins (bad)",
202
- :version => "1.10.0",
202
+ :version => "1.10.2",
203
203
  :compression_method => "xz",
204
204
  :windows => {
205
205
  :configure_args => ["--disable-librfb"],
@@ -229,7 +229,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
229
229
  :name => "gst-libav",
230
230
  :download_site => :freedesktop_gstreamer,
231
231
  :label => "GStreamer libav",
232
- :version => "1.10.0",
232
+ :version => "1.10.2",
233
233
  :compression_method => "xz",
234
234
  :windows => {
235
235
  :configure_args => [
data/lib/gst/caps.rb CHANGED
@@ -18,18 +18,29 @@ module Gst
18
18
  class Caps
19
19
  class << self
20
20
  def any
21
- caps = allocate
22
- caps.__send__(:initialize_new_any)
23
- caps
21
+ new(:any)
24
22
  end
25
23
 
26
24
  def empty
27
- caps = allocate
28
- caps.__send__(:initialize_new_empty)
29
- caps
25
+ new(:empty)
30
26
  end
31
27
  end
32
28
 
29
+ alias_method :initialize_raw, :initialize
30
+ def initialize(*args)
31
+ if args.size == 1
32
+ case args[0]
33
+ when :any
34
+ initialize_new_any
35
+ return
36
+ when :empty
37
+ initialize_new_empty
38
+ return
39
+ end
40
+ end
41
+ initialize_raw(*args)
42
+ end
43
+
33
44
  def structures
34
45
  size.times.collect do |i|
35
46
  get_structure(i)
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.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-13 00:00:00.000000000 Z
11
+ date: 2017-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.0
19
+ version: 3.1.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: 3.1.0
26
+ version: 3.1.1
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.1.0
33
+ version: 3.1.1
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.1.0
40
+ version: 3.1.1
41
41
  description: Ruby/GStreamer is a Ruby binding for GStreamer.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.5.1
106
+ rubygems_version: 2.5.2
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Ruby/GStreamer is a Ruby binding for GStreamer.