gstreamer 0.90.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. data/ChangeLog +1157 -0
  2. data/README +33 -0
  3. data/Rakefile +15 -0
  4. data/ext/gstreamer/Makefile +162 -0
  5. data/ext/gstreamer/depend +5 -0
  6. data/ext/gstreamer/extconf.rb +63 -0
  7. data/ext/gstreamer/gst.so +0 -0
  8. data/ext/gstreamer/misc.c +62 -0
  9. data/ext/gstreamer/misc.o +0 -0
  10. data/ext/gstreamer/rbgst-bin.c +466 -0
  11. data/ext/gstreamer/rbgst-bin.o +0 -0
  12. data/ext/gstreamer/rbgst-buffer.c +365 -0
  13. data/ext/gstreamer/rbgst-buffer.o +0 -0
  14. data/ext/gstreamer/rbgst-bus.c +92 -0
  15. data/ext/gstreamer/rbgst-bus.o +0 -0
  16. data/ext/gstreamer/rbgst-caps.c +441 -0
  17. data/ext/gstreamer/rbgst-caps.o +0 -0
  18. data/ext/gstreamer/rbgst-child-proxy.c +33 -0
  19. data/ext/gstreamer/rbgst-child-proxy.o +0 -0
  20. data/ext/gstreamer/rbgst-clock.c +108 -0
  21. data/ext/gstreamer/rbgst-clock.o +0 -0
  22. data/ext/gstreamer/rbgst-element-factory.c +255 -0
  23. data/ext/gstreamer/rbgst-element-factory.o +0 -0
  24. data/ext/gstreamer/rbgst-element.c +1053 -0
  25. data/ext/gstreamer/rbgst-element.o +0 -0
  26. data/ext/gstreamer/rbgst-event.c +351 -0
  27. data/ext/gstreamer/rbgst-event.o +0 -0
  28. data/ext/gstreamer/rbgst-ghost-pad.c +42 -0
  29. data/ext/gstreamer/rbgst-ghost-pad.o +0 -0
  30. data/ext/gstreamer/rbgst-index-factory.c +67 -0
  31. data/ext/gstreamer/rbgst-index-factory.o +0 -0
  32. data/ext/gstreamer/rbgst-message.c +784 -0
  33. data/ext/gstreamer/rbgst-message.o +0 -0
  34. data/ext/gstreamer/rbgst-mini-object.c +220 -0
  35. data/ext/gstreamer/rbgst-mini-object.o +0 -0
  36. data/ext/gstreamer/rbgst-object.c +81 -0
  37. data/ext/gstreamer/rbgst-object.o +0 -0
  38. data/ext/gstreamer/rbgst-pad-template.c +124 -0
  39. data/ext/gstreamer/rbgst-pad-template.o +0 -0
  40. data/ext/gstreamer/rbgst-pad.c +338 -0
  41. data/ext/gstreamer/rbgst-pad.o +0 -0
  42. data/ext/gstreamer/rbgst-pipeline.c +90 -0
  43. data/ext/gstreamer/rbgst-pipeline.o +0 -0
  44. data/ext/gstreamer/rbgst-plugin-feature.c +134 -0
  45. data/ext/gstreamer/rbgst-plugin-feature.o +0 -0
  46. data/ext/gstreamer/rbgst-plugin.c +164 -0
  47. data/ext/gstreamer/rbgst-plugin.o +0 -0
  48. data/ext/gstreamer/rbgst-private.c +89 -0
  49. data/ext/gstreamer/rbgst-private.h +37 -0
  50. data/ext/gstreamer/rbgst-private.o +0 -0
  51. data/ext/gstreamer/rbgst-query.c +289 -0
  52. data/ext/gstreamer/rbgst-query.o +0 -0
  53. data/ext/gstreamer/rbgst-seek.c +36 -0
  54. data/ext/gstreamer/rbgst-seek.o +0 -0
  55. data/ext/gstreamer/rbgst-static-caps.c +49 -0
  56. data/ext/gstreamer/rbgst-static-caps.o +0 -0
  57. data/ext/gstreamer/rbgst-static-pad-template.c +64 -0
  58. data/ext/gstreamer/rbgst-static-pad-template.o +0 -0
  59. data/ext/gstreamer/rbgst-structure.c +300 -0
  60. data/ext/gstreamer/rbgst-structure.o +0 -0
  61. data/ext/gstreamer/rbgst-system-clock.c +45 -0
  62. data/ext/gstreamer/rbgst-system-clock.o +0 -0
  63. data/ext/gstreamer/rbgst-type-find-factory.c +124 -0
  64. data/ext/gstreamer/rbgst-type-find-factory.o +0 -0
  65. data/ext/gstreamer/rbgst-value.c +517 -0
  66. data/ext/gstreamer/rbgst-value.o +0 -0
  67. data/ext/gstreamer/rbgst-x-overlay.c +132 -0
  68. data/ext/gstreamer/rbgst-x-overlay.o +0 -0
  69. data/ext/gstreamer/rbgst.c +279 -0
  70. data/ext/gstreamer/rbgst.h +197 -0
  71. data/ext/gstreamer/rbgst.o +0 -0
  72. data/ext/gstreamer/rbgstclockentry.c +268 -0
  73. data/ext/gstreamer/rbgstclockentry.o +0 -0
  74. data/ext/gstreamer/rbgstformat.c +159 -0
  75. data/ext/gstreamer/rbgstformat.o +0 -0
  76. data/ext/gstreamer/rbgstindex.c +314 -0
  77. data/ext/gstreamer/rbgstindex.o +0 -0
  78. data/ext/gstreamer/rbgstindexentry.c +96 -0
  79. data/ext/gstreamer/rbgstindexentry.o +0 -0
  80. data/ext/gstreamer/rbgstparse.c +66 -0
  81. data/ext/gstreamer/rbgstparse.o +0 -0
  82. data/ext/gstreamer/rbgstquerytype.c +159 -0
  83. data/ext/gstreamer/rbgstquerytype.o +0 -0
  84. data/ext/gstreamer/rbgstregistry.c +278 -0
  85. data/ext/gstreamer/rbgstregistry.o +0 -0
  86. data/ext/gstreamer/rbgsttag.c +111 -0
  87. data/ext/gstreamer/rbgsttag.o +0 -0
  88. data/ext/gstreamer/rbgsttagsetter.c +50 -0
  89. data/ext/gstreamer/rbgsttagsetter.o +0 -0
  90. data/ext/gstreamer/rbgstxml.c +189 -0
  91. data/ext/gstreamer/rbgstxml.o +0 -0
  92. data/ext/gstreamer/ruby-gstreamer.pc +3 -0
  93. data/extconf.rb +49 -0
  94. data/lib/gst.rb +19 -0
  95. data/sample/audio-player.rb +54 -0
  96. data/sample/gst-inspect.rb +417 -0
  97. data/sample/media-type.rb +55 -0
  98. data/sample/media-type2.rb +268 -0
  99. data/sample/ogg-audio-player.rb +54 -0
  100. data/sample/type-find.rb +46 -0
  101. data/sample/video-player.rb +57 -0
  102. data/sample/xml-player.rb +60 -0
  103. data/test/gst-test-utils.rb +18 -0
  104. data/test/run-test.rb +25 -0
  105. data/test/test_bin.rb +167 -0
  106. data/test/test_buffer.rb +174 -0
  107. data/test/test_caps.rb +24 -0
  108. data/test/test_clock.rb +7 -0
  109. data/test/test_element.rb +87 -0
  110. data/test/test_element_factory.rb +28 -0
  111. data/test/test_event.rb +10 -0
  112. data/test/test_index_factory.rb +7 -0
  113. data/test/test_message.rb +191 -0
  114. data/test/test_mini_object.rb +38 -0
  115. data/test/test_object.rb +10 -0
  116. data/test/test_pad.rb +68 -0
  117. data/test/test_plugin.rb +6 -0
  118. data/test/test_plugin_feature.rb +20 -0
  119. data/test/test_seek.rb +17 -0
  120. data/test/test_static_caps.rb +18 -0
  121. data/test/test_static_pad_template.rb +16 -0
  122. data/test/test_structure.rb +159 -0
  123. data/test/test_thread_handling.rb +58 -0
  124. data/test/test_type_find_factory.rb +8 -0
  125. data/test/test_value.rb +69 -0
  126. metadata +208 -0
data/ChangeLog ADDED
@@ -0,0 +1,1157 @@
1
+ 2011-01-30 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * Rakefile: doesn't support gem for Windows.
4
+
5
+ 2011-01-22 Masaaki Aoyagi
6
+
7
+ * src/lib/: -> lib/.
8
+
9
+ * src/: -> ext/gstreamer/.
10
+
11
+ * extconf.rb: -> ext/gstreamer/extconf.rb
12
+
13
+ * ext/gstreamer/extconf.rb: support directory structure change.
14
+
15
+ * extconf.rb: add.
16
+
17
+ * Rakefile: add.
18
+
19
+ 2010-11-19 Kouhei Sutou <kou@cozmixng.org>
20
+
21
+ * extconf.rb, src/rbgst-message.c, test/test_message.rb: add
22
+ MissingMessage.
23
+ Suggested by Vincent Carmona. Thanks!!!
24
+
25
+ 2010-10-08 Guillaume Cottenceau
26
+
27
+ * RVAL2CSTR2 is deprecated, replace with RVAL2CSTR_ACCEPT_NIL
28
+
29
+ * CSTR2RVAL2 is deprecated, replace with CSTR2RVAL_FREE
30
+
31
+ 2010-09-23 Kouhei Sutou <kou@cozmixng.org>
32
+
33
+ * test/run-test.rb: fix extension library path.
34
+
35
+ * extconf.rb: support Ruby/GLib2 directory structure change.
36
+
37
+ 2010-02-28 Vincent Carmona
38
+
39
+ * src/rbgst-message.c: implement Gst::MessageTag#parse.
40
+
41
+ 2009-12-25 Johan Kiviniemi
42
+
43
+ * src/rbgst-element.c (rb_gst_element_seek): fix argument type.
44
+
45
+ 2009-02-23 Kouhei Sutou <kou@cozmixng.org>
46
+
47
+ * src/rbgst.c (rb_gst_init): use rb_argv0 instead of rg_progname.
48
+
49
+ * src/rbgst.c (rb_gst_init): use RVAL2CSTR instead of STR2CSTR.
50
+
51
+ 2008-11-01 Kouhei Sutou <kou@cozmixng.org>
52
+
53
+ * src/: use RARRAY_PTR() and RARRAY_LEN().
54
+
55
+ 2008-06-14 Kouhei Sutou <kou@cozmixng.org>
56
+
57
+ * src/rbgst-buffer.c (get_data): return nil if size is zero.
58
+
59
+ * test/run-test.rb: use glib/test/glib-test-init.rb.
60
+
61
+ 2008-05-23 Kouhei Sutou <kou@cozmixng.org>
62
+
63
+ * src/rbgst.c (Gst.check_version?): add.
64
+
65
+ * test/test_thread_handling.rb: include missing GstTestUtils.
66
+
67
+ * test/run-test.rb: use which not --version to detect make.
68
+
69
+ 2008-05-23 Sjoerd Simons <sjoerd@luon.net>
70
+
71
+ * src/rbgst-bin.c: Add Gst::Bin#to_dot_file and
72
+ Gst::Bin#to_dot_file_with_ts to dump pipelines to dot files
73
+
74
+ 2008-05-21 Sjoerd Simons <sjoerd@luon.net>
75
+
76
+ * src/rbgst-bus.c: Don't use ALLOC to allocate data that's going
77
+ to be freed with g_free, use g_new instead.
78
+
79
+ 2008-05-21 Sjoerd Simons <sjoerd@luon.net>
80
+
81
+ * src/rbgst-element.c: Actually read the data coming from the notify fd.
82
+ As rb_wait_for_fd can return before there is data available on the fd.
83
+
84
+ 2008-05-21 Kouhei Sutou <kou@cozmixng.org>
85
+
86
+ * test/test_thread_handling.rb
87
+ (TestThreadHandling#test_state_changes): fix indentation.
88
+
89
+ * test/gst-test-utils.rb (GstTestUtils#only_gst_version): add.
90
+
91
+ * test/test_thread_handling.rb (TestThreadHandling): require
92
+ GStreamer 0.10.16 for using identity element's signal-handoffs
93
+ property.
94
+
95
+ 2008-05-20 Kouhei Sutou <kou@cozmixng.org>
96
+
97
+ * src/rbgst.c: don't use rb_argv variable name for ruby 1.9.x.
98
+ Patch by Joao Pedrosa. Thanks!!!
99
+
100
+ 2008-05-18 Sjoerd Simons <sjoerd@luon.net>
101
+
102
+ * src/rbgst-element.c: gst_element_get_request_pad gives us a ref. So
103
+ GST_PAD2RVAL_UNREF need to be used to avoid leaking refs
104
+
105
+ 2008-05-18 Sjoerd Simons <sjoerd@luon.net>
106
+
107
+ * src/rbgst-bin.c: Call G_CHILD_REMOVE when removing elements from a bin
108
+
109
+ 2008-05-18 Sjoerd Simons <sjoerd@luon.net>
110
+
111
+ * src/rbgst-buffer.c: use rb_str_new to implement Gst::Buffer#data. The data
112
+ isn't a \0 terminated C string, so need to specify the size to copy
113
+
114
+ 2008-05-15 Kouhei Sutou <kou@cozmixng.org>
115
+
116
+ * src/rbgst.c (rb_gst_init): don't use global rb_argv.
117
+
118
+ 2008-05-02 Kouhei Sutou <kou@cozmixng.org>
119
+
120
+ * src/rbgst-message.c: use GERROR2RVAL().
121
+
122
+ 2008-04-30 Sjoerd Simons <sjoerd@luon.net>
123
+
124
+ * src/rbgst-bin.c: Add Gst::Bin#each_recurse and Gst::Bin#children_recurse
125
+ which iterate/get all children of the bin and all its sub-bins recursively
126
+
127
+ 2008-04-23 Sjoerd Simons <sjoerd@luon.net>
128
+
129
+ * src/rbgst-message.c: rbgerr_gerror2exception frees the passed error, don't
130
+ free it again.
131
+
132
+ 2008-04-21 Sjoerd Simons <sjoerd@luon.net>
133
+
134
+ * src/rbgst-pad.c: Implement Gst::Pad#set_active
135
+
136
+ 2008-04-20 Kouhei Sutou <kou@cozmixng.org>
137
+
138
+ * src/rbgst-element.c: allocate memory instead of using local variable.
139
+
140
+ * src/rbgst.h: remove garbages.
141
+
142
+ * src/rbgst-element.c: cleanup.
143
+
144
+ * test/test_element.rb: add tests for GstElement#query and
145
+ GstElement#send_event.
146
+
147
+ 2008-04-16 Sjoerd Simons <sjoerd@luon.net>
148
+
149
+ * src/rbgst-object.c: Implement a custom initialize that sinks the created
150
+ GstObject
151
+
152
+ * src/test_element.rb: Add a refcounting testcase for GstObject classes
153
+ created inside ruby
154
+
155
+ 2008-04-16 Sjoerd Simons <sjoerd@luon.net>
156
+
157
+ * src/rbgst-element.c: Make Gst::Element#link_pads and
158
+ Gst::Element#unlink_pads work like their C api counterparts (thus take source
159
+ and sink names
160
+
161
+ * src/rbgst-element.c: Implement Gst::Element#unlink
162
+
163
+ 2008-04-16 Kouhei Sutou <kou@cozmixng.org>
164
+
165
+ * src/rbgst-ghost-pad.c: fix style.
166
+
167
+ * src/rbgst.c (Init_gst_classes): fix style.
168
+
169
+ 2008-04-16 Sjoerd Simons <sjoerd@luon.net>
170
+
171
+ * src/rbgst-ghost-pad.c, src/rbgst.c: Implement Gst::GhostPad
172
+
173
+ 2008-04-16 Sjoerd Simons <sjoerd@luon.net>
174
+
175
+ * src/rbgst-element.c: _raise instead of _bug where appropriate
176
+
177
+ 2008-04-15 Kouhei Sutou <kou@cozmixng.org>
178
+
179
+ * test/test_event.rb: add.
180
+
181
+ * src/rbgst-event.c: define class.
182
+
183
+ * src/rbgst-event.c: add missing definition.
184
+
185
+ * src/rbgst-event.c: fix style.
186
+
187
+ * src/rbgst.c (Init_gst_classes):
188
+ - remove a garbage.
189
+ - fix style.
190
+
191
+ 2008-04-15 Sjoerd Simons <sjoerd@luon.net>
192
+
193
+ * src/rbgst-event.c, src/rbgst.c, src/rbgst.h, src/rbgstevent.c: Add an
194
+ implementation of Gst::Event
195
+
196
+ 2008-04-15 Kouhei Sutou <kou@cozmixng.org>
197
+
198
+ * src/rbgst-x-overlay.c: fix style.
199
+
200
+ * src/rbgst-x-overlay.c: fix wrong cast.
201
+
202
+ * src/rbgst-x-overlay.c: rename from src/rbgstxoverlay.c.
203
+
204
+ * src/rbgst-seek.c: define classes.
205
+ * test/test_seek.rb: add.
206
+
207
+ * src/rbgst-seek.c: fix style.
208
+
209
+ * src/rbgst.c: fix style.
210
+
211
+ * src/rbgst-query.c: fix style.
212
+
213
+ * src/rbgst-pipeline.c: rename from src/rbgstpipeline.c.
214
+
215
+ 2008-04-15 Sjoerd Simons <sjoerd@luon.net>
216
+
217
+ * src/rbgstxoverlay.c: Add Gst::XOverlay#set_xwindow_id_with_buswatch helper
218
+ function. To properly set the xwindow id of an XOverlay one has to listen to
219
+ its messages in sync. This is quite expensive to do in ruby, so do it in a C
220
+ helper
221
+
222
+ 2008-04-15 Sjoerd Simons <sjoerd@luon.net>
223
+
224
+ * src/rbgstpipeline.c: Fix typo
225
+
226
+ 2008-04-15 Sjoerd Simons <sjoerd@luon.net>
227
+
228
+ * src/rbgst-seek.c, src/rbgst.c: Add seek flags and types definitions
229
+
230
+ 2008-04-15 Sjoerd Simons <sjoerd@luon.net>
231
+
232
+ * src/rbgst-query.c, src/rbgst.c, src/rbgst.h: Add an implementation of
233
+ Gst::Query
234
+
235
+ 2008-04-15 Sjoerd Simons <sjoerd@luon.net>
236
+
237
+ * src/rbgst-element.c: Spawn an extra thread to perform the get_state,
238
+ set_state, query and send_event functions so the ruby interpreter thread c
239
+ continue during these functions so it can handle signals which might be
240
+ needed to complete these functions.
241
+ * test/test_thread_handling.rb: Add test of to ensure state changes don't
242
+ deadlock
243
+
244
+ 2008-04-15 Sjoerd Simons <sjoerd@luon.net>
245
+
246
+ * src/rbgstelement.c, src/rbgst.h: Correct refcounting for Gst::Element#bus
247
+
248
+ 2008-04-13 Kouhei Sutou <kou@cozmixng.org>
249
+
250
+ * src/rbgst.c, src/rbgst-child-proxy.c: just define
251
+ Gst::ChildProxy module. Need to implement it.
252
+
253
+ 2008-04-12 Kouhei Sutou <kou@cozmixng.org>
254
+
255
+ * src/rbgst-element.c: readd Gst::Element#pads.
256
+
257
+ * src/rbgst-element.c: state related methods are worked in another
258
+ thread. Based on Sjoerd Simons' patch.
259
+
260
+ * test/test_element.rb: add a test for state related methods.
261
+
262
+ * sample/audio-player.rb: use [] instead of get_pad.
263
+
264
+ * src/rbgst-pad.c:
265
+ - cleanup.
266
+ - add Gst::Pad#linked?.
267
+
268
+ * src/rbgst.h (GST_CAPS2RVAL_UNREF), src/rbgst-caps.c
269
+ (rbgst_ruby_object_from_gst_caps_with_unref): add.
270
+
271
+ * test/test_pad.rb: add.
272
+
273
+ * test/test_bin.rb: use Gst::Bin#get_child instead of [].
274
+
275
+ 2008-04-12 Sjoerd Simons <sjoerd@luon.net>
276
+
277
+ * src/rbgst-pad.c: Let Gst::Pad.link return a
278
+ Gst::Pad::LinkReturn. Add query, >>, negotiated_caps, set_caps,
279
+ caps= and peer functions on Gst::Pad.
280
+
281
+ * src/rbgs-pad.c: Fix pad refcounting in get_caps
282
+
283
+ 2008-04-12 Kouhei Sutou <kou@cozmixng.org>
284
+
285
+ * src/rbgst-bin.c: Gst::Bin#[] => Gst::Bin#get_child.
286
+ Suggested by Sjoerd Simons.
287
+
288
+ 2008-04-12 Sjoerd Simons <sjoerd@luon.net>
289
+
290
+ * src/rbgst-element.c: Make [] an alias of get_pad
291
+
292
+ 2008-04-12 Kouhei Sutou <kou@cozmixng.org>
293
+
294
+ * src/rbgst-bin.c (rb_gst_bin_add): use RVAL2CBOOL not RTEST.
295
+
296
+ * test/test_element.rb (TestElement#test_each_pad): add a test.
297
+
298
+ * src/rbgst-element.c (rb_gst_element_each_pad): fix style.
299
+
300
+ * src/rbgst.h: add GstPad <-> Ruby VALUE macro.
301
+
302
+ 2008-04-12 Sjoerd Simons <sjoerd@luon.net>
303
+
304
+ * src/rbgst-element.c: Implement Gst::Element.each_pad using a
305
+ GstIterator to ensure thread safety. Remove the get_pads function
306
+ as it can't be implemented safely.
307
+
308
+ 2008-04-12 Sjoerd Simons <sjoerd@luon.net>
309
+
310
+ * src/rbgst-bin.c: Do G_CHILD_ADD on all elements added to the bin
311
+ * src/rbgs-element.c: Do G_CHILD_ADD on all pads added to an element
312
+
313
+ 2008-04-07 Kouhei Sutou <kou@cozmixng.org>
314
+
315
+ * src/rbgst-bin.c (rb_gst_bin_get): use iface instead of interface
316
+ for variable name.
317
+
318
+ 2008-04-06 Kouhei Sutou <kou@cozmixng.org>
319
+
320
+ * src/rbgst-element-factory.c (rb_gst_elementfactory_make): fix
321
+ coding-style: don't put a space between function call.
322
+
323
+ 2008-04-05 Sjoerd Simons <sjoerd@luon.net>
324
+
325
+ * src/rbgst-element-factory.c: The conversion to a ruby object gets one extra
326
+ reference, but gst_factory_make already gives us one. So drop the extra to
327
+ ensure correct refcounting.
328
+
329
+ 2008-04-05 Sjoerd Simons <sjoerd@luon.net>
330
+
331
+ * src/rbgst-element.c: Fix silly typo breaking the compilation
332
+
333
+ 2008-04-05 Sjoerd Simons <sjoerd@luon.net>
334
+
335
+ * src/rbgst-object.c, src/rbgst-element.c, src/rbgst.h: Add
336
+ rbgst_object_instance2robj as a small wrapper around
337
+ rbgobj_get_value_from_gobject which always sinks the GstObject and use it
338
+ a converstion function for GST_TYPE_OBJECT. Also no longer expose sink and
339
+ float? methods on Gst::Object
340
+
341
+ * test/test_object.rb: No longer test Gst::Object sink and float? methods
342
+ Based on a patch Kouhei Sutou
343
+
344
+ 2008-04-04 Kouhei Sutou <kou@cozmixng.org>
345
+
346
+ * test/test_thread_handling.rb: add.
347
+ Patch by Sjoerd Simons. Thanks!!!
348
+
349
+ 2008-03-30 Kouhei Sutou <kou@cozmixng.org>
350
+
351
+ * src/rbgst-element.c: followed the recent Ruby/GLib changes.
352
+
353
+ 2008-03-27 Kouhei Sutou <kou@cozmixng.org>
354
+
355
+ * test/test_type_find_factory.rb
356
+ (TestTypeFindFactory#test_extensions): normalized result.
357
+
358
+ * sample/video-player.rb: stop play bin before quit.
359
+
360
+ 2008-03-15 Kouhei Sutou <kou@cozmixng.org>
361
+
362
+ * test/run-test.rb: used TestUnitExt in glib/test-unit-ext/.
363
+
364
+ 2008-03-04 Kouhei Sutou <kou@cozmixng.org>
365
+
366
+ * src/rbgst-element.c: added missing #include.
367
+
368
+ 2008-02-26 Kouhei Sutou <kou@cozmixng.org>
369
+
370
+ * sample/: fixed wrong method name.
371
+
372
+ * sample/xml-player.rb: added.
373
+
374
+ * sample/xml-ogg-player.rb: removed.
375
+
376
+ 2008-02-25 Kouhei Sutou <kou@cozmixng.org>
377
+
378
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for Gst::Bin#children.
379
+
380
+ * src/rbgst-private.[ch], src/rbgst-bin.c, test/test_bin.rb: added
381
+ tests for Gst::Bin#sources.
382
+
383
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for Gst::Bin#sinks.
384
+
385
+ * src/rbgst-bin.c, test/test_bin.rb: supported Gst::Bin#[index].
386
+
387
+ * src/rbgst-private.[ch], src/rbgst-mini-object.c,
388
+ src/rbgst-message.c: hid rbgst_mini_object_*().
389
+
390
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for Gst::Bin#[].
391
+
392
+ * src/rbgst-private.[ch], src/rbgst-mini-object.c,
393
+ src/rbgst-element.c: generalized define_class_if_need().
394
+
395
+ 2008-02-24 Kouhei Sutou <kou@cozmixng.org>
396
+
397
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for Gst::Bin#clear.
398
+
399
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for Gst::Bin#remove.
400
+
401
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for Gst::Bin#<<.
402
+
403
+ * src/rbgst-buffer.c: fixed wrong type conversion.
404
+
405
+ 2008-02-23 Kouhei Sutou <kou@cozmixng.org>
406
+
407
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for clock_provider.
408
+
409
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for
410
+ provided_clock{,=}.
411
+
412
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for polling? and
413
+ clock_dirty?.
414
+
415
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for child_bus and
416
+ messages.
417
+
418
+ * src/rbgst-bin.c, test/test_bin.rb: added tests for children_cookie.
419
+
420
+ * src/rbgst-bin.c, test/test_bin.rb: added tests.
421
+
422
+ 2008-02-21 Kouhei Sutou <kou@cozmixng.org>
423
+
424
+ * sample/video-player.rb: caught EOS.
425
+
426
+ * src/rbgst.c: followed the recent Ruby/GLib change:
427
+ rbgutil_{start,stop}_callback_handle_thread ->
428
+ rbgutil_{start,stop}_callback_dispatch_thread.
429
+
430
+ * sample/audio-player.rb: caught EOS.
431
+
432
+ 2008-02-20 Kouhei Sutou <kou@cozmixng.org>
433
+
434
+ * src/rbgst-object.c, test/test_object.c: added Gst::Object#name=
435
+ and Gst::Object#sink.
436
+
437
+ * test/gst-test-utils.rb: added.
438
+ * test/test_element.rb, test/test_element_factory.rb: used
439
+ GstTestUtils.
440
+
441
+ 2008-02-18 Kouhei Sutou <kou@cozmixng.org>
442
+
443
+ * sample/video-player.rb: cleanup.
444
+
445
+ * sample/mp3-player.rb: removed needless file.
446
+
447
+ * sample/audio-player.rb: worked as generic audio player.
448
+
449
+ * sample/ogg-audio-player.rb: ensure stop.
450
+
451
+ * test/: used test-unit-ext on RubyForge.
452
+
453
+ 2008-02-17 Kouhei Sutou <kou@cozmixng.org>
454
+
455
+ * test/test_element_factory.rb, test/test_plugin.rb,
456
+ test/test_plugin_feature.rb: followed the current GStreamer changes.
457
+
458
+ 2008-02-14 Kouhei Sutou <kou@cozmixng.org>
459
+
460
+ * src/rbgst.c (rb_gst_init): called
461
+ rbgutil_start_callback_handle_thread().
462
+
463
+ 2008-01-10 Kouhei Sutou <kou@cozmixng.org>
464
+
465
+ * sample/type-find.rb: added type find sample.
466
+
467
+ 2008-01-06 Kouhei Sutou <kou@cozmixng.org>
468
+
469
+ * sample/gst-inspect.rb: supported element name inspection.
470
+
471
+ * src/rbgst-value.c: supported GST_TYPE_ARRAY.
472
+
473
+ * sample/gst-inspect.rb: added readable check.
474
+
475
+ * src/rbgst-mini-object.c: supported Gst::MiniObject <-> GValue
476
+ conversion.
477
+
478
+ * test/test_value.rb, src/rbgst-value.c: supported GstFraction and
479
+ GstFractionRange.
480
+
481
+ * test/test_value.rb, src/rbgst-value.c: supported GstFourcc.
482
+
483
+ * test/test_value.rb, src/rbgst-value.c: supported GstIntRange.
484
+
485
+ 2008-01-04 Kouhei Sutou <kou@cozmixng.org>
486
+
487
+ * sample/gst-inspect.rb: implemented print_children_info.
488
+
489
+ * sample/gst-inspect.rb: implemented print_signals_info.
490
+
491
+ * sample/gst-inspect.rb: implemented print_element_properties_info.
492
+
493
+ * sample/gst-inspect.rb: implemented print_pad_info.
494
+
495
+ * src/rbgst-element.c: cleanup style.
496
+
497
+ * test/test_element.rb, src/rbgst-element.c: added #require_clock?
498
+ and #provide_clock?.
499
+
500
+ * sample/gst-inspect.rb: defined Inspector class.
501
+
502
+ * test/test_value.rb, src/rbgst-value.c: supported GST_TYPE_LIST.
503
+
504
+ * test/test_caps.rb, src/rbgst-caps.c: added #each and #[].
505
+
506
+ * test/test_static_caps.rb, src/rbgst-static-caps.c: added #to_caps.
507
+
508
+ * test/test_static_pad.rb, src/rbgst-static-caps.c: added.
509
+
510
+ * test/test_pad_template.rb: renamed to ...
511
+ * test/test_static_pad_template.rb: ... this.
512
+
513
+ * sample/gst-inspect.rb: implemented print_pad_templates_info.
514
+
515
+ * src/rbgst-pad-template.c, src/rbgst-static-pad-template.c: used
516
+ better macros.
517
+
518
+ * src/rbgst-pad-template.c: split to ...
519
+ * src/rbgst-static-pad-template.c: .. this.
520
+
521
+ * test/test_pad_template.rb, src/rbgst-pad-template.c,
522
+ src/rbgst-pad-template.c: made GstStaticPadTemplate object.
523
+
524
+ * src/rbgstpadtemplate.c: renamed to ...
525
+ * src/rbgst-pad-template.c: ... this.
526
+
527
+ 2008-01-03 Kouhei Sutou <kou@cozmixng.org>
528
+
529
+ * sample/gst-inspect.rb: implemented print_interfaces.
530
+
531
+ * sample/gst-inspect.rb: implemented print_hierarchy.
532
+
533
+ * src/rbgst-structure.c, test/test_structure.rb: added .parse.
534
+
535
+ * src/rbgst-structure.c, test/test_structure.rb: added #to_s and
536
+ #inspect.
537
+
538
+ * src/rbgst-structure.c, test/test_structure.rb: added #have_field?.
539
+
540
+ * src/rbgst-structure.c, test/test_structure.rb: added #nth_field_name.
541
+
542
+ * src/rbgst-structure.c, test/test_structure.rb: added #size and
543
+ #empty?.
544
+
545
+ * src/rbgst-structure.c, test/test_structure.rb: added #collect!.
546
+
547
+ * src/rbgst-structure.c, test/test_structure.rb: added #each.
548
+
549
+ * src/rbgst-structure.c, test/test_structure.rb: added #delete and
550
+ #clear.
551
+
552
+ 2008-01-02 Kouhei Sutou <kou@cozmixng.org>
553
+
554
+ * src/rbgst-structure.c, test/test_structure.rb: added #[] and
555
+ #[]=.
556
+
557
+ * src/rbgst-structure.c, src/rbgst.[ch], test/test_message.rb,
558
+ test/test_structure.rb: stopped conversion between GstStructure
559
+ and Hash.
560
+
561
+ * src/rbgst-structure.c, test/test_structure.rb: added #name=,
562
+ #have_name?.
563
+
564
+ 2008-01-01 Kouhei Sutou <kou@cozmixng.org>
565
+
566
+ * src/rbgstbin.c, src/rbgstclockentry.c: GST_CLOCK() -> RVAL2GST_CLOCK().
567
+
568
+ 2007-11-11 Kouhei Sutou <kou@cozmixng.org>
569
+
570
+ * src/: expanded abbreviated macro name.
571
+
572
+ * src/rbgst-plugin.c: supported source.
573
+ * test/test_plugin.rb: added a test for source.
574
+
575
+ * src/rbgst-plugin-feature.c: supported plugin_name.
576
+ * test/test_plugin_feature.rb: added a test for plugin_name.
577
+
578
+ * src/rbgst-plugin-feature.c: supported loaded?.
579
+ * test/test_plugin_feature.rb: added a test for loaded?.
580
+
581
+ * src/rbgst-message.c, src/rbgst-mini-object.c: used RGConvertTable.
582
+
583
+ * src/rbgst-plugin-feature.c: supported rank.
584
+ * test/test_plugin_feature.rb: added a test for rank.
585
+
586
+ * src/rbgst-element-factory.c: supported details readers.
587
+ * test/test_element_factory.rb: added a test for details readers.
588
+
589
+ * src/rbgst-plugin-feature.c: supported load.
590
+ * test/test_plugin_feature.rb: added a test for load.
591
+
592
+ * sample/gst-inspect.rb: starting rewrite.
593
+
594
+ * src/rbgst-type-find-factory.c: added NULL check.
595
+
596
+ * src/rbgst-type-find-factory.c: cleanup.
597
+ * test/test_type_find_factory.rb: added a test for extensions.
598
+
599
+ * src/rbgst-index-factory.c: supported find and description.
600
+ * test/test_index_factory.rb: added a test for find and description.
601
+
602
+ * src/rbgst-element-factory.c: supported long_name.
603
+ * test/test_element_factory.rb: added a test for long_name.
604
+
605
+ 2007-11-10 Kouhei Sutou <kou@cozmixng.org>
606
+
607
+ * src/rbgst-message.c: supported parsing message API.
608
+ * test/test_message.rb: added tests for parsing message.
609
+
610
+ * src/rbgst-message.c: supported new message API.
611
+ * test/test_message.rb: added tests for new message.
612
+
613
+ * src/rbgst-structure.c, src/rbgst.h: cleanup.
614
+ * src/rbgstcaps.c, src/rbgsttagsetter.c: followed the above changes.
615
+
616
+ * src/rbgst-message.c: supported structure API.
617
+ * test/test_message.rb: added tests for structure.
618
+
619
+ * src/rbgst-message.c: supported source API.
620
+ * test/test_message.rb: added tests for source.
621
+
622
+ * src/rbgst-message.c: supported timestamp API.
623
+ * test/test_message.rb: added tests for timestamp.
624
+
625
+ * src/rbgst-message.c: supported thread API.
626
+ * test/test_message.rb: added tests for thread.
627
+
628
+ * src/rbgst-message.c: supported Gst::Message.new.
629
+ * test/test_message.rb: added tests for initialization.
630
+
631
+ * src/rbgst-mini-object.c, test/test_mini_object.rb: make_writable
632
+ -> writable!.
633
+
634
+ * src/rbgst-buffer.c: implemented span API.
635
+ * test/test_buffer.rb: added tests for span.
636
+
637
+ * src/rbgst-mini-object.c: supported dynamically name resolving.
638
+
639
+ * src/rbgst-buffer.c: implemented metatdata_writable API.
640
+ * test/test_buffer.rb: added tests for metadata_writable.
641
+
642
+ * src/rbgst-buffer.c: implemented copy_metatdata API.
643
+ * test/test_buffer.rb: added tests for copy_metadata.
644
+
645
+ * src/rbgst-buffer.c: implemented GstBufferCopyFlags API.
646
+ * test/test_buffer.rb: added tests for GstBufferCopyFlags.
647
+
648
+ * src/rbgst-buffer.c: implemented disconitnuity API.
649
+ * test/test_buffer.rb: added tests for disconitnuity.
650
+
651
+ * src/rbgst-buffer.c: implemented offset_end API.
652
+ * test/test_buffer.rb: added tests for offset_end.
653
+
654
+ * src/rbgst-buffer.c: implemented offset API.
655
+ * test/test_buffer.rb: added tests for offset.
656
+
657
+ * src/rbgst-buffer.c: used GST_BUFFER_CAPS instead of
658
+ gst_buffer_get_caps().
659
+
660
+ * src/rbgst-buffer.c: used macros for GstBuffer.
661
+
662
+ * src/rbgst-buffer.c: implemented caps API.
663
+ * test/test_buffer.rb: added tests for caps.
664
+
665
+ * src/rbgst-buffer.c: implemented duration API.
666
+ * test/test_buffer.rb: added tests for duration.
667
+
668
+ 2007-11-08 Kouhei Sutou <kou@cozmixng.org>
669
+
670
+ * src/rbgst-buffer.c: implemented timestamp API.
671
+ * test/test_buffer.rb: added a test for timestamp.
672
+
673
+ * src/rbgst.h, src/rbgst-clock.c, src/rbgstclock.c: rewrote clock.
674
+ * test/test_clock.rb: added.
675
+
676
+ * src/rbgst-buffer.c: implemented size setter.
677
+ * test/test_buffer.rb: added test for setting size.
678
+
679
+ * src/rbgst-buffer.c: implemented data accessor.
680
+ * test/test_buffer.rb: added test for data.
681
+
682
+ * src/rbgst-buffer.c: implemented size.
683
+ * test/test_buffer.rb: added test for size.
684
+
685
+ * src/rbgst.h (RVAL2GST_BUF): added.
686
+ * src/rbgst-buffer.c: added flag related API.
687
+ * test/test_buffer.rb: added.
688
+
689
+ * src/rbgst-mini-object.c: implemented flags related APIs.
690
+ * test/test_mini_object.rb: added tests for flags.
691
+
692
+ * test/run-test.rb: added paths for Ruby/GLib.
693
+
694
+ 2007-11-05 Kouhei Sutou <kou@cozmixng.org>
695
+
696
+ * src/rbgst-buffer.c, src/rbgst.[ch]: added Gst::Buffer.
697
+
698
+ * src/rbgst-mini-object.c: added flag related methods.
699
+ * test/test_mini_object.rb: added a test for writable.
700
+
701
+ * test/test_mini_object.rb: added a test for instanciation.
702
+
703
+ * src/rbgst-mini-object.c: rb_gst_* -> rbgst_*.
704
+
705
+ * src/rbgst-mini-object.c, test/test_mini_object.rb: added
706
+ abstract check.
707
+
708
+ * test/test-unit-ext.rb, test/test-unit-ext/: added.
709
+ * test/run-test.rb: used test-unit-ext.
710
+
711
+ * test/, test/run-test.rb, test/test_mini_object.rb: just added.
712
+
713
+ 2007-10-03 Kouhei Sutou <kou@cozmixng.org>
714
+
715
+ * src/rbgst-mini-object.c, src/rbgst-message.c, src/rbgst-bus.c:
716
+ added.
717
+ * src/rbgst.[ch]: registered above classes.
718
+ * sample/ogg-audio-player.rb: added GStreamer's Hello World
719
+ application.
720
+
721
+ 2007-10-01 Kouhei Sutou <kou@cozmixng.org>
722
+
723
+ * src/rbgst.h: added convert macro for Gst::Bus.
724
+ * src/rbgstmediainfo.c: removed.
725
+ * src/rbgstpipeline.c: added Gst::Pipeline#bus.
726
+ * sample/video-player.rb: just worked.
727
+
728
+ 2007-09-29 Kouhei Sutou <kou@cozmixng.org>
729
+
730
+ * extconf.rb, README, src/: made build-able with
731
+ gstreamer-0.10. only just build-able.
732
+ * sample/gst-inspect.rb: partially worked.
733
+
734
+ 2007-07-08 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
735
+
736
+ * src/*.c: use rb_block_proc() directly instead of using G_BLOCK_PROC().
737
+
738
+ 2006-06-17 Masao Mutoh <mutoh@highway.ne.jp>
739
+
740
+ * sample/video-player.rb: Remove Gtk.init.
741
+
742
+ 2005-10-07 Masao Mutoh <mutoh@highway.ne.jp>
743
+
744
+ * src/rbgstelement.c: g_type_name() returns const gchar*, not gchar*.
745
+ Reported by Sven Herzberg.
746
+ * src/misc.c: ditto.
747
+
748
+ 2005-10-06 Masao Mutoh <mutoh@highway.ne.jp>
749
+
750
+ * src/rbgst.c: Added Gst::BUILD_VERSION.
751
+ * src/rbgstelement.c: Gst::Element#get_property returns
752
+ correct name instead of Class class.
753
+
754
+ 2005-08-04 Laurent Sansonetti <lrz@gnome.org>
755
+
756
+ * src/misc.c, src/rbgstelementfactory.c, src/rbgstindexfactory.c,
757
+ src/rbgstschedulerfactory.c, src/rbgsttypefindfactory.c: Renamed
758
+ rb_str_format () to rb_str_new_with_format () as Ruby 1.9 introduces a
759
+ new function with the same name.
760
+
761
+ 2005-07-24 Masao Mutoh <mutoh@highway.ne.jp>
762
+
763
+ * src/rbgstxml.c: Fix compiling warning.
764
+
765
+ 2005-06-29 Laurent Sansonetti <lrz@gnome.org>
766
+
767
+ * src/rbgst.h, src/rbgststructure.c, src/rbgsttagsetter.c: Properly
768
+ convert the Hash argument given to GstTagSetter#merge to a GstTagList
769
+ by naming the GstStructure accordingly. Problem reported by Pablo
770
+ Lorenzzoni.
771
+
772
+ 2005-06-20 Laurent Sansonetti <lrz@gnome.org>
773
+
774
+ * src/rbgstelement.c: Added a custom signal handler for the 'found_tag'
775
+ signal that converts the GstTagList. Problem reported by Erik Karlsson.
776
+
777
+ 2005-04-30 Laurent Sansonetti <lrz@gnome.org>
778
+
779
+ * sample/video-player.rb: Added.
780
+
781
+ 2005-04-25 Laurent Sansonetti <lrz@gnome.org>
782
+
783
+ * src/rbgstxoverlay.c: Added.
784
+ * extconf.rb, src/rbgst.h: Follow latest change.
785
+
786
+ 2005-03-21 Laurent Sansonetti <lrz@gnome.org>
787
+
788
+ Problems reported by Bas Kloet.
789
+
790
+ * src/rbgstcaps.c: Fixed #initialize (GstCaps does not inherit from
791
+ GstObject anymore) and API reference still referencing the deprecated
792
+ Gst::Structure.
793
+ * src/rbgstpad.c (#each_caps): Removed, (#link_filtered): Added.
794
+ * src/rbgststructure.c: Fixed hash-to-gst-structure conversion.
795
+ * src/rbgstelement.c (#link_filtered): Added.
796
+
797
+ 2005-03-04 Laurent Sansonetti <lrz@gnome.org>
798
+
799
+ * src/rbgstregistrypool.c, src/rbgstschedulerfactory.c, src/rbgsttag.c,
800
+ src/rbgsttagsetter.c, src/rbgsttypefindfactory.c: Updated API reference.
801
+
802
+ 2005-02-23 Laurent Sansonetti <lrz@gnome.org>
803
+
804
+ * src/rbgstregistrypool.c: Added.
805
+ * src/rbgsttagsetter.c: Added.
806
+ * src/rbgst.c: Initializes Gst::RegistryPool and Gst::TagSetter.
807
+ * src/rbgst.h: Added helper macro for Gst::TagSetter and Gst::Plugin.
808
+ * src/rbgstscheduler.c (Gst::Scheduler::Flags): Added.
809
+ * src/rbgstschedulerfactory.c (::default_name, ::set_default_name): Added.
810
+ * src/rbgstthread.c (::current): Added.
811
+ * src/rbgsttypefindfactory.c (#extensions): Implemented.
812
+ * src/rbgstxml.c (#parse_memory): Added.
813
+
814
+ 2005-02-21 Laurent Sansonetti <lrz@gnome.org>
815
+
816
+ * src/rbgst.c: Initialize Gst::Tag, do not initialize Gst::Structure.
817
+ * src/rbgst.h: Removed helper macros for Gst::Structure.
818
+ * src/rbgsttag.c: Added.
819
+ * src/rbgstcaps.c: Convert Gst::Structure to Hash.
820
+ * src/rbgstmediainfo.c:
821
+ - #initialize throws Gst::MediaInfoError upon problems ;
822
+ - Added #set_source ;
823
+ - #metadata and #streaminfo now return a Hash (instead of a Gst::Structure).
824
+ * src/rbgstplugin.c:
825
+ - Added #major_version, #minor_version, #version ;
826
+ - Added missing documentation.
827
+ * src/rbgststructure.c:
828
+ - Deprecated Gst::Structure ;
829
+ - Added two functions to convert Ruby Hash to Gst::Structure and vice-versa.
830
+ * sample/media-type.rb, sample/gst-inspect.rb: Follow these changes.
831
+
832
+ 2005-02-09 Masao Mutoh <mutoh@highway.ne.jp>
833
+
834
+ * src/rbgstmediainfo.c: Added Gst::MediaInfoError.
835
+ Raise an Gst::MediaInfoError when an error raised in
836
+ Gst::MediaInfo#read.
837
+ Reported by Max Nickel.
838
+ * src/rbgstcaps.c: Added G_DEF_SETTERS().
839
+
840
+ 2005-02-09 Max Nickel <max@unmuted.de>
841
+
842
+ * src/rbgstcaps.c: Fix a wrong argument of Gst::Caps#get_structure.
843
+
844
+ 2005-02-09 Jack, Paul <pjack@sfaf.org>
845
+
846
+ * src/rbgsttypefindfactory.c: Added.
847
+ * sample/gst-inspect.rb: Replaced print_caps function
848
+ with caps.to_s
849
+ * src/rbgst.c: Added call to Init_gst_typefindfactory.
850
+ * src/rbgst.h: Added RGST_TYPE_FIND_FACTORY macro
851
+ and RGST_TYPE_FIND_FACTORY_NEW macro
852
+ * src/rbgstpad.c: Replaced nonexistent RBGST_CAPS macro
853
+ with RGST_CAPS_NEW macro.
854
+ * src/rbgstpadtemplate.c: Replaced nonexistent RBGST_CAPS
855
+ macro with RGST_CAPS_NEW macro.
856
+ * src/rbgstplugin.c: Added filename, description, package,
857
+ license, origin and name accessor methods.
858
+ * src/rbgstpluginfeature.c: Added ability to instantiate
859
+ Gst::TypeFindFactory.
860
+ * src/rbgsttypefindfactory.c: New file.
861
+
862
+ 2005-01-30 Masao Mutoh <mutoh@highway.ne.jp>
863
+
864
+ * extconf.rb: Follow mkmf-gnome2.rb changes.
865
+
866
+ 2004-08-27 Masao Mutoh <mutoh@highway.ne.jp>
867
+
868
+ * src/rbgstparse.c: Improved error handling.
869
+
870
+ 2004-08-05 Laurent Sansonetti <lrz@gnome.org>
871
+
872
+ * src/rbgst.c: Fixed bad comments (for the constants).
873
+ * src/rbgstcaps.c: Added missing Returns statements in the
874
+ comments.
875
+ * src/rbgstscheduler.c: Fixed a bug when creating the GEnum,
876
+ reported by Pascal Terjan.
877
+
878
+ 2004-08-03 Laurent Sansonetti <lrz@gnome.org>
879
+
880
+ * src/rbgstelement.c (#seek, #locked_state?, #set_locked_state,
881
+ #sync_state_with_parent, #managing_bin, #no_more_pads):
882
+ Added.
883
+
884
+ 2004-08-02 Laurent Sansonetti <lrz@gnome.org>
885
+
886
+ * src/rbgstelement.c (#get_static_pad, #get_request_pad,
887
+ #release_request_pad, #get_compatible_pad, #get_pad_template,
888
+ #pad_templates, #each_pad_template, #get_compatible_pad_template):
889
+ Added.
890
+
891
+ 2004-08-01 Laurent Sansonetti <lrz@gnome.org>
892
+
893
+ * src/rbgst.c: Initializes Gst::Scheduler.
894
+ * src/rbgst.h: Added helper macros for Gst::Scheduler.
895
+ * src/rbgstelement.c (#scheduler, #set_scheduler): Added.
896
+ * src/rbgstscheduler.c: Added.
897
+
898
+ 2004-07-31 Laurent Sansonetti <lrz@gnome.org>
899
+
900
+ * src/rbgst.c: Initializes Gst::Index and Gst::IndexEntry.
901
+ * src/rbgst.h: Added helper macros for Gst::Index and Gst::IndexEntry.
902
+ * src/rbgstelement.c (#index, #set_index): Added.
903
+ * src/rbgstindex.c, src/rbgstindexentry.c: Added.
904
+
905
+ 2004-07-28 Laurent Sansonetti <lrz@gnome.org>
906
+
907
+ * src/rbgst.c: Initializes Gst::Structure.
908
+ * src/rbgst.h: Added helper macros for Gst::Structure and fixed
909
+ the declaration of the Gst::ClockEntry's GType function.
910
+ * src/rbgstcaps.c (#initialize, #set_any, #append, #append_structure,
911
+ #size, #get_structure, #set_simple, #any?, #empty?, #simple?,
912
+ #equal?, #equal_fixed?, #always_compatible?, #subset?, #intersect,
913
+ #union, #normalize, #simplify, #simplify!, #replace!, #to_string,
914
+ #subtract): Added.
915
+ * src/rbgstclock.c (#event_time, #get_event_time_delay, #next_id):
916
+ Added.
917
+ * src/rbgstclockentry.c: Indentation clean.
918
+ * src/rbgstelement.c (#enable_threadsafe_properties,
919
+ #disable_threadsafe_properties, #set_pending_properties,
920
+ #set_clock, #time, #set_time, #set_time_delay, #adjust_time):
921
+ Added.
922
+ * src/rbgststructure.c: Added.
923
+
924
+ 2004-07-25 Laurent Sansonetti <lrz@gnome.org>
925
+
926
+ * src/rbgst.c (Gst.set_debug): Removed.
927
+ * src/rbgst.h: Removed obsolete macros.
928
+ * src/rbgstbin.c (#get_by_interface, #get_all_by_interface,
929
+ #each_by_interface): Added. Existing code has been refactored.
930
+
931
+ 2004-07-23 Laurent Sansonetti <lrz@gnome.org>
932
+
933
+ * README: We require 0.8.x now.
934
+ * extconf.rb: Check for gstreamer-0.8 and gst-mediainfo-0.8 instead
935
+ of 0.6.
936
+ * src/rbgst.c: Do not initialize autoplug, autoplugfactory, type,
937
+ typefactory and typefind anymore (since they have been removed).
938
+ * src/rbgstautoplug.c, src/rbgstautoplugfactory.c, src/rbgsttype.c,
939
+ src/rbgsttypefactory.c, src/rbgsttypefind.c: Removed.
940
+ * src/rbgstcaps.c, src/rbgstelementfactory.c, src/rbgstmediainfo.c,
941
+ src/rbgstpad.c, src/rbgstpadtemplate.c, src/rbgstplugin.c,
942
+ src/rbgstpluginfeature.c: Compiles against 0.8.x.
943
+
944
+ 2004-03-23 Laurent Sansonetti <lrz@gnome.org>
945
+
946
+ * src/rbgstelement.c (#get_property): Fixed a memory leak
947
+ in GValue conversion (discovered by Masao Mutoh).
948
+
949
+ 2004-03-07 Laurent Sansonetti <lrz@gnome.org>
950
+
951
+ * src/*.[ch]: Updated copyright.
952
+
953
+ 2004-03-06 Laurent Sansonetti <lrz@gnome.org>
954
+
955
+ * src/rbgstelement.c (#query): Fixed bad GEnum conversion.
956
+
957
+ 2004-03-06 Masao Mutoh <mutoh@highway.ne.jp>
958
+
959
+ * README: Update Copyright.
960
+
961
+ 2004-03-02 Laurent Sansonetti <lrz@gnome.org>
962
+
963
+ * src/rbgst.c: Defines Gst::[MAJOR|MINOR|MACRO]_VERSION.
964
+ * src/rbgstpad.c (#caps, #each_caps): Added.
965
+ * src/rbgstpadtemplate.c (#caps): Uses the gst_pad_template_get_caps
966
+ C function instead of directly accessing the structure fields.
967
+ * src/rbgsttype.c (find_by_ext): Added.
968
+
969
+ 2004-03-02 Laurent Sansonetti <lrz@gnome.org>
970
+
971
+ * extconf.rb: Removed assert.h dependency.
972
+ * src/*.[ch]:
973
+ - Refactored some parts of the code.
974
+ - Updated coding style;
975
+ - Updated comments for the API reference;
976
+ - Uses GLib assertions (g_assert);
977
+ - Uses G_DEF_CONSTANTS to define GLib enumerations/flags.
978
+ * sample/gst-inspect.rb, sample/media-type2.rb: Follows API changes.
979
+
980
+ 2004-02-17 Laurent Sansonetti <lrz@gnome.org>
981
+
982
+ * src/rbgstbin.c: Added GstBin#[] as a alias for GstBin#get_by_name.
983
+
984
+ 2003-11-14 Laurent Sansonetti <lrz@gnome.org>
985
+
986
+ * Changed my e-mail address (laurent@datarescue.be -> lrz@gnome.org).
987
+
988
+ 2003-09-05 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
989
+
990
+ * extconf.rb: win32 support.
991
+
992
+ 2003-08-29 Laurent Sansonetti <lrz@gnome.org>
993
+
994
+ * src/rbgstclockentry.c: New file.
995
+ * src/rbgst.c: Initializes Gst::ClockEntry.
996
+ * src/rbgst.h: Added macros for Gst::ClockEntry + fixed a critical bug
997
+ in ULL conversion.
998
+ * src/rbgstclock.c: Added a lot of methods + some constants.
999
+ Class is now finished.
1000
+ * src/rbgsteventsize.c: Fixed typos in a comment (for API reference).
1001
+ * tests/misc.rb, tests/tc_clock.rb: Added additional tests for Gst::Clock.
1002
+
1003
+ 2003-08-28 Masao Mutoh <mutoh@highway.ne.jp>
1004
+
1005
+ * extconf.rb: Exit with 1 when the package is not found.
1006
+
1007
+ 2003-08-25 Laurent Sansonetti <lrz@gnome.org>
1008
+
1009
+ * src/rbgst.h, src/rbgstplugin.c, src/rbgstpluginfeature.c:
1010
+ Introduced is_valid_pluginfeature_type() and
1011
+ instanciate_pluginfeature().
1012
+ * src/rbgstregistry.c: Added a lot of methods + some constants.
1013
+ Class is now finished.
1014
+ * tests/tc_registry.rb: New file.
1015
+ * tests/tc_plugin.rb: Moved 'test_registry' in tests/tc_registry.rb.
1016
+ * src/rbgstmediainfo.c: Implemented Gst::MediaInfoTrack#con_streams.
1017
+
1018
+ 2003-08-24 Laurent Sansonetti <lrz@gnome.org>
1019
+
1020
+ * src/rbgstbin.c: Added methods get_by_name_recurse_up, auto_clock,
1021
+ use_clock and on_[pre|post]_iterate.
1022
+ * tests/rc_element.rb: Added tests for Gst::Bin#get_by_name* and
1023
+ on_[pre|post]_iterate.
1024
+
1025
+ 2003-08-23 Laurent Sansonetti <lrz@gnome.org>
1026
+
1027
+ * src/rbgst*.c: Changed extdoc.rb enumeration syntax to something
1028
+ more RDish (-a, -b, -c to *a, *b, *c).
1029
+
1030
+ 2003-08-19 Laurent Sansonetti <lrz@gnome.org>
1031
+
1032
+ * src/rbgst*.c: Fixed comments + removed obsolete code.
1033
+
1034
+ 2003-08-15 Laurent Sansonetti <lrz@gnome.org>
1035
+
1036
+ * sample/xml-ogg-player.rb: New file.
1037
+ * sample/media-type.rb: Fixed a bug when printing track length (needed
1038
+ to divide with Gst::Second to have the correct number of seconds).
1039
+ * src/rbgstmediainfo.c: Fixed integer conversion bug (now uses ULL).
1040
+
1041
+ 2003-08-14 Laurent Sansonetti <lrz@gnome.org>
1042
+
1043
+ * src/rbgstxml.c, tests/tc_xml.rb: New files.
1044
+ * src/rbgst.c: Initializes Gst::XML.
1045
+ * src/rbgst.h: Added macros for Gst::XML.
1046
+
1047
+ 2003-08-10 Laurent Sansonetti <lrz@gnome.org>
1048
+
1049
+ * src/rbgstautoplug.c, src/rbgstelement.c, src/rbgsteventseek.c,
1050
+ src/rbgsteventsegmentseek.c, src/rbgstformat.c, src/rbgstpad.c,
1051
+ src/rbgstparse.c, src/rbgstquerytype.c: Fixed typos in C comments.
1052
+
1053
+ 2003-08-09 Hiroshi Igarashi <iga@ruby-lang.org>
1054
+
1055
+ * src/rbgst.c: Fixed a compilation bug with old 2.x GCC.
1056
+
1057
+ 2003-08-09 Laurent Sansonetti <lrz@gnome.org>
1058
+
1059
+ * sample/media-type2.rb: New file (thanks to Nikolai Weibull).
1060
+
1061
+ 2003-08-08 Laurent Sansonetti <lrz@gnome.org>
1062
+
1063
+ * sample/gst-inspect.rb: Added signals and event masks support.
1064
+ * src/rbgsteventmask.c: New file.
1065
+ * src/rbgst.c: Initializes Gst::EventMask.
1066
+ * src/rbgst.h: Added macros for Gst::EventMask.
1067
+ * src/rbgstpad.c: Implemented methods event_masks and each_event_mask.
1068
+ * src/rbgstquerytype.c: Renamed method id to type_id.
1069
+
1070
+ 2003-08-04 Laurent Sansonetti <lrz@gnome.org>
1071
+
1072
+ * src/rbgst.c: Added constants Gst::SECOND, Gst::MSECOND, Gst::USECOND
1073
+ and Gst::NSECOND.
1074
+ * src/rbgstcaps.c: Added methods mime, set_mime and mime=.
1075
+ * src/rbgstformat.c: Renamed method id to type_id.
1076
+ * src/rbgstpad.c, src/rbgstelement.c: Methods query sets the format
1077
+ parameter on success.
1078
+
1079
+ 2003-08-03 Laurent Sansonetti <lrz@gnome.org>
1080
+
1081
+ * src/rbgsteventseek.c, src/rbgsteventsegmentseek.c, src/rbgsteventsize.c:
1082
+ New files.
1083
+ * src/rbgst.c: Initializes Gst::EventSeek, Gst::EventSegmentSeek and
1084
+ Gst::EventSize.
1085
+ * src/rbgst.h: Fixed bug in macros for Gst::Caps and Gst::Event +
1086
+ introduced NUM2ULL.
1087
+ * src/rbgstcaps.c: Removed obsolete _get/_wrap functions.
1088
+ * src/rbgstelement.c: Uses ULL2NUM in query.
1089
+ * src/rbgstevent.c: Added methods src and timestamp.
1090
+ * src/rbgstpad.c: Uses ULL2NUM in query + added method send_event.
1091
+
1092
+ 2003-08-01 Laurent Sansonetti <lrz@gnome.org>
1093
+
1094
+ * src/rbgstparse.c, tests/tc_parse.rb: New files.
1095
+ * src/rbgst.c: Initializes the Gst::Parse module.
1096
+ * src/rbgstmediainfo.c: Removed a debug warning.
1097
+
1098
+ 2003-07-30 Laurent Sansonetti <lrz@gnome.org>
1099
+
1100
+ * src/rbgstpad.c: Added method query.
1101
+
1102
+ 2003-07-29 Laurent Sansonetti <lrz@gnome.org>
1103
+
1104
+ * src/rbgstcaps.c, src/rbgstclock.c, src/rbgstformat.c, src/rbgstplugin.c,
1105
+ src/rbgstquerytype.c src/rbgsttype.c:
1106
+ Fixed '==' operators (they were broken when used against nil values).
1107
+ * src/rbgstmediainfo.c, sample/media-type.rb: New files.
1108
+ * src/rbgst.c: Initializes the media-info extension if needed.
1109
+ * extconf.rb: Checks if the gstmedia-info library is installed,
1110
+ and sets the HAVE_MEDIA_INFO macro accordingly.
1111
+
1112
+ 2003-07-28 Laurent Sansonetti <lrz@gnome.org>
1113
+
1114
+ * src/rbgstautoplug.c: Added method signal_new_object.
1115
+ * src/rbgstpluginfeature.c: Added methods ensure_loaded and
1116
+ unload_thyself.
1117
+
1118
+ 2003-07-25 Laurent Sansonetti <lrz@gnome.org>
1119
+
1120
+ * AUTHORS: removed
1121
+ * .cvsignore, AUTHORS, COPYING.LIB, README, extconf.rb,
1122
+ sample/audio-player.rb, sample/gst-inspect.rb,
1123
+ sample/mp3-player.rb, src/.cvsignore, src/misc.c, src/rbgst.c,
1124
+ src/rbgst.h, src/rbgstautoplug.c, src/rbgstautoplugfactory.c,
1125
+ src/rbgstbin.c, src/rbgstcaps.c, src/rbgstclock.c,
1126
+ src/rbgstcpu.c, src/rbgstelement.c, src/rbgstelementfactory.c,
1127
+ src/rbgstevent.c, src/rbgstformat.c, src/rbgstindexfactory.c,
1128
+ src/rbgstobject.c, src/rbgstpad.c, src/rbgstpadtemplate.c,
1129
+ src/rbgstpipeline.c, src/rbgstplugin.c, src/rbgstpluginfeature.c,
1130
+ src/rbgstquerytype.c, src/rbgstregistry.c,
1131
+ src/rbgstschedulerfactory.c, src/rbgstsystemclock.c,
1132
+ src/rbgstthread.c, src/rbgsttype.c, src/rbgsttypefactory.c,
1133
+ src/rbgsttypefind.c, src/lib/gst.rb, tests/misc.rb,
1134
+ tests/tc_all.rb, tests/tc_clock.rb, tests/tc_cpu.rb,
1135
+ tests/tc_element.rb, tests/tc_modfunc.rb, tests/tc_pad.rb,
1136
+ tests/tc_plugin.rb, tests/tc_type.rb: initial SF import
1137
+
1138
+ 2003-07-07 Laurent Sansonetti <lrz@gnome.org>
1139
+
1140
+ * 0.1.1 released
1141
+ * improved the existing API (in the Ruby way)
1142
+ * added some classes (AutoplugFactory, Caps, Clock, Format,
1143
+ IndexFactory, Pad, PadTemplate, Plugin, PluginFeature,
1144
+ QueryType, Registry, SchedulerFactory, Type, TypeFactory)
1145
+ * gst-inspect example
1146
+ * improved documentation system:
1147
+ * C tags are now human readable
1148
+ * added inclusion and inheritance maps
1149
+ * enhanced support of Ruby operators
1150
+
1151
+ 2003-06-01 Laurent Sansonetti <lrz@gnome.org>
1152
+
1153
+ * 0.1.0 released
1154
+ * basic API
1155
+ * helloworld (mp3-player) example
1156
+ * basic documentation system
1157
+