gstreamer 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/gstreamer/extconf.rb +14 -2
- data/test/test_buffer.rb +15 -7
- metadata +8 -8
data/ext/gstreamer/extconf.rb
CHANGED
@@ -41,8 +41,20 @@ end
|
|
41
41
|
|
42
42
|
setup_win32(module_name, base_dir)
|
43
43
|
|
44
|
-
|
45
|
-
|
44
|
+
unless required_pkg_config_package(package_id,
|
45
|
+
:debian => "libgstreamer0.10-dev",
|
46
|
+
:redhat => "gstreamer-devel",
|
47
|
+
:homebrew => "gstreamer",
|
48
|
+
:macports => "gstreamer")
|
49
|
+
exit(false)
|
50
|
+
end
|
51
|
+
unless required_pkg_config_package("gstreamer-plugins-base-0.10",
|
52
|
+
:debian => "libgstreamer-plugins-base0.10-dev",
|
53
|
+
:redhat => "gstreamer-plugins-base-devel",
|
54
|
+
:homebrew => "gst-plugins-base",
|
55
|
+
:macports => "gst-plugins-base")
|
56
|
+
exit(false)
|
57
|
+
end
|
46
58
|
|
47
59
|
have_header("unistd.h")
|
48
60
|
have_header("io.h")
|
data/test/test_buffer.rb
CHANGED
@@ -103,14 +103,22 @@ class TestBuffer < Test::Unit::TestCase
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def test_copy_flags
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
106
|
+
all_flags =
|
107
|
+
Gst::Buffer::CopyFlags::FLAGS |
|
108
|
+
Gst::Buffer::CopyFlags::TIMESTAMPS |
|
109
|
+
Gst::Buffer::CopyFlags::CAPS
|
110
|
+
all_flags_shortcut =
|
111
|
+
Gst::Buffer::COPY_FLAGS |
|
112
|
+
Gst::Buffer::COPY_TIMESTAMPS |
|
113
|
+
Gst::Buffer::COPY_CAPS
|
114
|
+
if Gst::Buffer::CopyFlags.const_defined?(:QDATA)
|
115
|
+
all_flags |= Gst::Buffer::CopyFlags::QDATA
|
116
|
+
all_flags_shortcut |= Gst::Buffer::COPY_QDATA
|
117
|
+
end
|
110
118
|
|
111
|
-
assert_equal(
|
112
|
-
Gst::Buffer::
|
113
|
-
|
119
|
+
assert_equal(all_flags,
|
120
|
+
Gst::Buffer::CopyFlags::ALL)
|
121
|
+
assert_equal(all_flags_shortcut,
|
114
122
|
Gst::Buffer::COPY_ALL)
|
115
123
|
end
|
116
124
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gstreamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 4
|
10
|
+
version: 1.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- The Ruby-GNOME2 Project Team
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-07-21 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: glib2
|
@@ -25,12 +25,12 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
28
|
+
hash: 27
|
29
29
|
segments:
|
30
30
|
- 1
|
31
31
|
- 1
|
32
|
-
-
|
33
|
-
version: 1.1.
|
32
|
+
- 4
|
33
|
+
version: 1.1.4
|
34
34
|
type: :runtime
|
35
35
|
version_requirements: *id001
|
36
36
|
description: Ruby/GStreamer is a Ruby binding for GStreamer.
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
requirements: []
|
158
158
|
|
159
159
|
rubyforge_project:
|
160
|
-
rubygems_version: 1.8.
|
160
|
+
rubygems_version: 1.8.24
|
161
161
|
signing_key:
|
162
162
|
specification_version: 3
|
163
163
|
summary: Ruby/GStreamer is a Ruby binding for GStreamer.
|