gstreamer 3.3.7 → 3.3.8

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: 37236c9ec7e56edb291d2b9a81ca80cfea092673701446e8ff5e7325f885b2d6
4
- data.tar.gz: 124da20b9a159a99b881291ddf1bb0fecc155d9eb27fa0ae4f417201deca1432
3
+ metadata.gz: 83b300391904d49432f8a2ea83a08a9565331869eb3fb6f3c3fc0950b6e6f2a4
4
+ data.tar.gz: 01b8f952ec98a455cf3ec450d345220045e4f2711857d4a10ac57ca0b16ab4ec
5
5
  SHA512:
6
- metadata.gz: 1c80586b5529a7a20a2ec3e5f6867dd254b318883ee777fc67fccc717e9baa2bfe4742447634ae0dd3babb2d9ad88d6e62b4754748547efa416e07ea17b0487d
7
- data.tar.gz: 3edd729c01d168470a21f8cc3ada3c358df7c68fa6e767a778641ae1b4aefb9c9edb3ca8f30fe60ed59bb141d37b8835919c2617c1cbc8fc8718b7eaa7437d95
6
+ metadata.gz: 54f5fdbf90373f9cb0e0b67f26109a029f507295f4c364a19d664e6681b251e0958c4c782efee64efe55d5d36f8005166461b6d043821fe8fa81361b878ffeb9
7
+ data.tar.gz: 8bf217e20559dac1cbfcd7fac6ab48e04c74565a5a2146cec038ee30a9ea050633813df52c8cf63f274d0a1bbfaab3d3c04139e014b43c144a193c911715e3b3
@@ -1,6 +1,6 @@
1
1
  # -*- ruby -*-
2
2
  #
3
- # Copyright (C) 2018 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2018 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
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.name = "gstreamer"
23
23
  s.summary = "Ruby/GStreamer is a Ruby binding for GStreamer."
24
24
  s.description = "Ruby/GStreamer is a Ruby binding for GStreamer."
25
- s.author = "The Ruby-GNOME2 Project Team"
25
+ s.author = "The Ruby-GNOME Project Team"
26
26
  s.email = "ruby-gnome2-devel-en@lists.sourceforge.net"
27
27
  s.homepage = "https://ruby-gnome2.osdn.jp/"
28
28
  s.licenses = ["LGPL-2.1+"]
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2019 Ruby-GNOME 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, MA 02110-1301 USA
18
+
19
+ require "gst"
20
+ require "gtk3"
21
+
22
+ bin = Gst::Pipeline.new("pipeline")
23
+ src = Gst::ElementFactory.make("videotestsrc", nil)
24
+ raise "need audiotestsrc from gst-plugins-base" if src.nil?
25
+ sink = Gst::ElementFactory.make("gtksink", nil)
26
+ raise "need autoaudiosink from gst-plugins-good" if sink.nil?
27
+
28
+ bin << src << sink
29
+ src >> sink
30
+
31
+ app = Gtk::Application.new(nil, :handles_command_line)
32
+ app.signal_connect(:command_line) do
33
+ app.activate
34
+ 0
35
+ end
36
+ app.signal_connect(:activate) do
37
+ window = Gtk::ApplicationWindow.new(app)
38
+ window.set_default_size 200, 200
39
+ window.add(sink.widget)
40
+ bin.state = :playing
41
+ window.show_all
42
+ end
43
+ app.run
44
+
45
+ bin.state = :null
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gstreamer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.7
4
+ version: 3.3.8
5
5
  platform: ruby
6
6
  authors:
7
- - The Ruby-GNOME2 Project Team
7
+ - The Ruby-GNOME Project Team
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 2019-08-16 00:00:00.000000000 Z
11
+ date: 2019-09-09 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: gobject-introspection
@@ -15,14 +16,14 @@ dependencies:
15
16
  requirements:
16
17
  - - '='
17
18
  - !ruby/object:Gem::Version
18
- version: 3.3.7
19
+ version: 3.3.8
19
20
  type: :runtime
20
21
  prerelease: false
21
22
  version_requirements: !ruby/object:Gem::Requirement
22
23
  requirements:
23
24
  - - '='
24
25
  - !ruby/object:Gem::Version
25
- version: 3.3.7
26
+ version: 3.3.8
26
27
  description: Ruby/GStreamer is a Ruby binding for GStreamer.
27
28
  email: ruby-gnome2-devel-en@lists.sourceforge.net
28
29
  executables: []
@@ -58,6 +59,7 @@ files:
58
59
  - sample/audio-example.rb
59
60
  - sample/framestep1.rb
60
61
  - sample/gst-inspect.rb
62
+ - sample/gtk-video.rb
61
63
  - sample/helloworld.rb
62
64
  - sample/mp3parselaunch.rb
63
65
  - sample/queue.rb