1 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
3 * win32/GStreamer.vcproj:
6 * win32/Makefile.inspect:
7 * win32/Makefile.launch:
8 * win32/Makefile.register:
10 * win32/gst-inspect.vcproj:
11 * win32/gst-launch.vcproj:
12 * win32/gst-register.vcproj:
13 * win32/gstelements.vcproj:
14 * win32/gstgetbits.def:
15 * win32/gstgetbits.vcproj:
16 * win32/gstreamer-dbg.def:
17 * win32/gstreamer.def:
18 * win32/libgstbase.def:
19 * win32/libgstbase.vcproj:
20 * win32/link_oldruntime.c:
25 move even more stuff, win32/ is nice and clean now
27 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
29 * libs/gst/control/.cvsignore:
34 * win32/gstbytestream.def:
35 * win32/gstbytestream.vcproj:
37 * win32/gstenumtypes.c:
38 * win32/gstenumtypes.h:
39 * win32/gstoptimalscheduler.vcproj:
42 * win32/testsuite/bins.vcproj:
43 * win32/testsuite/bytestream.vcproj:
44 * win32/testsuite/caps.vcproj:
45 * win32/testsuite/cleanup.vcproj:
46 * win32/testsuite/clock.vcproj:
47 * win32/testsuite/debug.vcproj:
48 * win32/testsuite/dlopen.vcproj:
49 * win32/testsuite/dynparams.vcproj:
50 * win32/testsuite/elements.vcproj:
51 * win32/testsuite/ghostpads.vcproj:
52 * win32/testsuite/indexers.vcproj:
53 * win32/testsuite/negotiation.vcproj:
54 * win32/testsuite/parse.vcproj:
55 * win32/testsuite/plugin.vcproj:
56 * win32/testsuite/refcounting.vcproj:
57 * win32/testsuite/schedulers.vcproj:
58 * win32/testsuite/states.vcproj:
59 * win32/testsuite/tags.vcproj:
60 * win32/testsuite/threads.vcproj:
61 remove old win32 stuff that isn't maintained and should be
64 2005-11-30 Andy Wingo <wingo@pobox.com>
66 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
67 loading the gst.interfaces python module bork.
69 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
70 available since GLib 2.2. Fixes #318031.
72 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
77 * check/elements/.cvsignore:
78 * check/elements/fakesrc.c:
79 * check/elements/fdsrc.c:
80 * check/elements/identity.c:
81 * check/generic/.cvsignore:
82 * check/generic/states.c:
83 * check/gst-libs/.cvsignore:
84 * check/gst-libs/controller.c:
85 * check/gst-libs/gdp.c:
86 * check/gst/.cvsignore:
87 * check/gst/capslist.h:
90 * check/gst/gstbuffer.c:
92 * check/gst/gstcaps.c:
93 * check/gst/gstelement.c:
94 * check/gst/gstevent.c:
95 * check/gst/gstghostpad.c:
96 * check/gst/gstiterator.c:
97 * check/gst/gstmessage.c:
98 * check/gst/gstminiobject.c:
99 * check/gst/gstobject.c:
100 * check/gst/gstpad.c:
101 * check/gst/gstpipeline.c:
102 * check/gst/gstplugin.c:
103 * check/gst/gstsegment.c:
104 * check/gst/gststructure.c:
105 * check/gst/gstsystemclock.c:
106 * check/gst/gsttag.c:
107 * check/gst/gstutils.c:
108 * check/gst/gstvalue.c:
109 * check/net/.cvsignore:
110 * check/net/gstnetclientclock.c:
111 * check/net/gstnettimeprovider.c:
112 * check/pipelines/.cvsignore:
113 * check/pipelines/cleanup.c:
114 * check/pipelines/simple_launch_lines.c:
115 * check/pipelines/stress.c:
116 * check/states/.cvsignore:
117 * check/states/sinks.c:
119 * examples/Makefile.am:
120 * examples/appreader/.cvsignore:
121 * examples/appreader/Makefile.am:
122 * examples/appreader/appreader.c:
123 * examples/controller/.cvsignore:
124 * examples/controller/Makefile.am:
125 * examples/controller/audio-example.c:
126 * examples/cutter/.cvsignore:
127 * examples/cutter/Makefile.am:
128 * examples/cutter/cutter.c:
129 * examples/cutter/cutter.h:
130 * examples/events/Makefile.am:
131 * examples/events/seek.c:
132 * examples/helloworld/.cvsignore:
133 * examples/helloworld/Makefile.am:
134 * examples/helloworld/helloworld.c:
135 * examples/helloworld2/.cvsignore:
136 * examples/helloworld2/Makefile.am:
137 * examples/helloworld2/helloworld2.c:
138 * examples/launch/.cvsignore:
139 * examples/launch/Makefile.am:
140 * examples/launch/mp3parselaunch.c:
141 * examples/launch/mp3play:
142 * examples/manual/.cvsignore:
143 * examples/manual/Makefile.am:
144 * examples/manual/extract.pl:
145 * examples/metadata/Makefile.am:
146 * examples/metadata/read-metadata.c:
147 * examples/mixer/.cvsignore:
148 * examples/mixer/Makefile.am:
149 * examples/mixer/mixer.c:
150 * examples/mixer/mixer.h:
151 * examples/pingpong/.cvsignore:
152 * examples/pingpong/Makefile.am:
153 * examples/pingpong/pingpong.c:
154 * examples/plugins/.cvsignore:
155 * examples/plugins/Makefile.am:
156 * examples/plugins/example.c:
157 * examples/plugins/example.h:
158 * examples/pwg/.cvsignore:
159 * examples/pwg/Makefile.am:
160 * examples/pwg/extract.pl:
161 * examples/queue/.cvsignore:
162 * examples/queue/Makefile.am:
163 * examples/queue/queue.c:
164 * examples/queue2/.cvsignore:
165 * examples/queue2/Makefile.am:
166 * examples/queue2/queue2.c:
167 * examples/queue3/.cvsignore:
168 * examples/queue3/Makefile.am:
169 * examples/queue3/queue3.c:
170 * examples/queue4/.cvsignore:
171 * examples/queue4/Makefile.am:
172 * examples/queue4/queue4.c:
173 * examples/retag/.cvsignore:
174 * examples/retag/Makefile.am:
175 * examples/retag/retag.c:
176 * examples/retag/transcode.c:
177 * examples/thread/.cvsignore:
178 * examples/thread/Makefile.am:
179 * examples/thread/thread.c:
180 * examples/typefind/.cvsignore:
181 * examples/typefind/Makefile.am:
182 * examples/typefind/typefind.c:
183 * examples/xml/.cvsignore:
184 * examples/xml/Makefile.am:
185 * examples/xml/createxml.c:
186 * examples/xml/runxml.c:
188 * tests/check/Makefile.am:
189 * testsuite/.cvsignore:
190 * testsuite/Makefile.am:
192 * testsuite/caps/.cvsignore:
193 * testsuite/caps/Makefile.am:
194 * testsuite/caps/app_fixate.c:
195 * testsuite/caps/audioscale.c:
196 * testsuite/caps/caps.c:
197 * testsuite/caps/caps.h:
198 * testsuite/caps/caps_strings:
199 * testsuite/caps/compatibility.c:
200 * testsuite/caps/deserialize.c:
201 * testsuite/caps/enumcaps.c:
202 * testsuite/caps/eratosthenes.c:
203 * testsuite/caps/filtercaps.c:
204 * testsuite/caps/fixed.c:
205 * testsuite/caps/fraction-convert.c:
206 * testsuite/caps/fraction-multiply-and-zero.c:
207 * testsuite/caps/intersect2.c:
208 * testsuite/caps/intersection.c:
209 * testsuite/caps/normalisation.c:
210 * testsuite/caps/random.c:
211 * testsuite/caps/renegotiate.c:
212 * testsuite/caps/sets.c:
213 * testsuite/caps/simplify.c:
214 * testsuite/caps/string-conversions.c:
215 * testsuite/caps/structure.c:
216 * testsuite/caps/subtract.c:
217 * testsuite/caps/union.c:
218 * testsuite/debug/.cvsignore:
219 * testsuite/debug/Makefile.am:
220 * testsuite/debug/category.c:
221 * testsuite/debug/commandline.c:
222 * testsuite/debug/global.c:
223 * testsuite/debug/output.c:
224 * testsuite/debug/printf_extension.c:
225 * testsuite/dlopen/.cvsignore:
226 * testsuite/dlopen/Makefile.am:
227 * testsuite/dlopen/dlopen_gst.c:
228 * testsuite/dlopen/loadgst.c:
229 * testsuite/elements/.cvsignore:
230 * testsuite/elements/Makefile.am:
231 * testsuite/elements/gst-inspect-check.in:
232 * testsuite/elements/struct_i386.h:
233 * testsuite/elements/struct_size.c:
234 * testsuite/indexers/.cvsignore:
235 * testsuite/indexers/Makefile.am:
236 * testsuite/indexers/cache1.c:
237 * testsuite/indexers/indexdump.c:
238 * testsuite/parse/.cvsignore:
239 * testsuite/parse/Makefile.am:
240 * testsuite/parse/parse1.c:
241 * testsuite/parse/parse2.c:
242 * testsuite/plugin/.cvsignore:
243 * testsuite/plugin/Makefile.am:
244 * testsuite/plugin/README:
245 * testsuite/plugin/dynamic.c:
246 * testsuite/plugin/linked.c:
247 * testsuite/plugin/loading.c:
248 * testsuite/plugin/registry.c:
249 * testsuite/plugin/static.c:
250 * testsuite/plugin/static2.c:
251 * testsuite/plugin/testplugin.c:
252 * testsuite/plugin/testplugin2.c:
253 * testsuite/plugin/testplugin2_s.c:
254 * testsuite/plugin/testplugin_s.c:
255 * testsuite/refcounting/.cvsignore:
256 * testsuite/refcounting/Makefile.am:
257 * testsuite/refcounting/bin.c:
258 * testsuite/refcounting/element.c:
259 * testsuite/refcounting/element_pad.c:
260 * testsuite/refcounting/mainloop.c:
261 * testsuite/refcounting/mem.c:
262 * testsuite/refcounting/mem.h:
263 * testsuite/refcounting/object.c:
264 * testsuite/refcounting/pad.c:
265 * testsuite/refcounting/sched.c:
266 * testsuite/refcounting/thread.c:
267 * testsuite/states/.cvsignore:
268 * testsuite/states/Makefile.am:
269 * testsuite/states/bin.c:
270 * testsuite/states/locked.c:
271 * testsuite/states/parent.c:
272 * testsuite/threads/.cvsignore:
273 * testsuite/threads/159566.c:
274 * testsuite/threads/159852.c:
275 * testsuite/threads/Makefile.am:
276 * testsuite/threads/queue.c:
277 * testsuite/threads/signals.c:
278 * testsuite/threads/staticrec.c:
279 * testsuite/threads/thread.c:
280 * testsuite/threads/threadb.c:
281 * testsuite/threads/threadc.c:
282 * testsuite/threads/threadd.c:
283 * testsuite/threads/threade.c:
284 * testsuite/threads/threadf.c:
285 * testsuite/threads/threadg.c:
286 * testsuite/threads/threadh.c:
287 * testsuite/threads/threadi.c:
288 move all of these under tests
290 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
296 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
298 * docs/gst/gstreamer-sections.txt:
299 * tests/sched/.cvsignore:
300 * tests/sched/Makefile.am:
301 * tests/sched/cases/(fs-fs).xml:
302 * tests/sched/cases/(fs-i-fs).xml:
303 * tests/sched/cases/(fs-i-i-fs).xml:
304 * tests/sched/cases/(fs-i-q[i-fs]).xml:
305 * tests/sched/dynamic-pipeline.c:
306 * tests/sched/interrupt1.c:
307 * tests/sched/interrupt2.c:
308 * tests/sched/interrupt3.c:
309 * tests/sched/runtestcases:
310 * tests/sched/runxml.c:
311 * tests/sched/sched-stress.c:
312 * tests/sched/sort.c:
313 * tests/sched/testcases:
314 * tests/sched/testcases1.tc:
315 * tests/seeking/.cvsignore:
316 * tests/seeking/Makefile.am:
317 * tests/seeking/seeking1.c:
318 * tests/threadstate/.cvsignore:
319 * tests/threadstate/Makefile.am:
320 * tests/threadstate/test1.c:
321 * tests/threadstate/test2.c:
322 * tests/threadstate/threadstate1.c:
323 * tests/threadstate/threadstate2.c:
324 * tests/threadstate/threadstate3.c:
325 * tests/threadstate/threadstate4.c:
326 * tests/threadstate/threadstate5.c:
327 remove obsolete tests
329 * tests/bench-complexity.scm:
330 * tests/bench-mass_elements.scm:
331 * tests/complexity.c:
332 * tests/complexity.gnuplot:
333 * tests/instantiate/.cvsignore:
334 * tests/instantiate/Makefile.am:
335 * tests/instantiate/caps.c:
336 * tests/mass_elements.c:
337 * tests/network-clock-utils.scm:
338 * tests/network-clock.scm:
340 First pass at cleaning up tests/ dir before moving the rest
341 Combined with CVS surgery
343 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
346 queue has moved, update
348 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
350 * docs/gst/gstreamer-sections.txt:
351 remove double entries from the docs
353 * gst/gstinfo.c: (_gst_debug_init):
354 remove the THREAD debug category
358 * docs/gst/gstreamer.types:
359 * plugins/elements/gstqueue.c: (gst_queue_get_type),
360 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
361 completely move queue and fix up debugging categories
363 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
365 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
366 make initialization portable, using LL is not
368 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
370 * win32/common/gstconfig.h:
373 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
375 * win32/common/libgstreamer.def:
376 rename symbols; sort base section
378 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
380 * gst/gstclock.c: (do_linear_regression):
381 remove crack non-portable handrolled DEBUG macro
383 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
385 * docs/random/release:
387 * win32/common/gstenumtypes.c: (register_gst_object_flags),
388 (gst_object_flags_get_type), (register_gst_bin_flags),
389 (gst_bin_flags_get_type), (register_gst_buffer_flag),
390 (gst_buffer_flag_get_type), (register_gst_bus_flags),
391 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
392 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
393 (gst_caps_flags_get_type), (register_gst_clock_return),
394 (gst_clock_return_get_type), (register_gst_clock_entry_type),
395 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
396 (gst_clock_flags_get_type), (register_gst_state),
397 (gst_state_get_type), (register_gst_state_change_return),
398 (gst_state_change_return_get_type), (register_gst_state_change),
399 (gst_state_change_get_type), (register_gst_element_flags),
400 (gst_element_flags_get_type), (register_gst_core_error),
401 (gst_core_error_get_type), (register_gst_library_error),
402 (gst_library_error_get_type), (register_gst_resource_error),
403 (gst_resource_error_get_type), (register_gst_stream_error),
404 (gst_stream_error_get_type), (register_gst_event_type_flags),
405 (gst_event_type_flags_get_type), (register_gst_event_type),
406 (gst_event_type_get_type), (register_gst_seek_type),
407 (gst_seek_type_get_type), (register_gst_seek_flags),
408 (gst_seek_flags_get_type), (register_gst_format),
409 (gst_format_get_type), (register_gst_index_certainty),
410 (gst_index_certainty_get_type), (register_gst_index_entry_type),
411 (gst_index_entry_type_get_type),
412 (register_gst_index_lookup_method),
413 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
414 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
415 (gst_index_resolver_method_get_type), (register_gst_index_flags),
416 (gst_index_flags_get_type), (register_gst_debug_level),
417 (gst_debug_level_get_type), (register_gst_debug_color_flags),
418 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
419 (gst_iterator_result_get_type), (register_gst_iterator_item),
420 (gst_iterator_item_get_type), (register_gst_message_type),
421 (gst_message_type_get_type), (register_gst_mini_object_flags),
422 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
423 (gst_pad_link_return_get_type), (register_gst_flow_return),
424 (gst_flow_return_get_type), (register_gst_activate_mode),
425 (gst_activate_mode_get_type), (register_gst_pad_direction),
426 (gst_pad_direction_get_type), (register_gst_pad_flags),
427 (gst_pad_flags_get_type), (register_gst_pad_presence),
428 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
429 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
430 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
431 (gst_plugin_error_get_type), (register_gst_plugin_flags),
432 (gst_plugin_flags_get_type), (register_gst_rank),
433 (gst_rank_get_type), (register_gst_query_type),
434 (gst_query_type_get_type), (register_gst_tag_merge_mode),
435 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
436 (gst_tag_flag_get_type), (register_gst_task_state),
437 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
438 (gst_alloc_trace_flags_get_type),
439 (register_gst_type_find_probability),
440 (gst_type_find_probability_get_type), (register_gst_uri_type),
441 (gst_uri_type_get_type), (register_gst_parse_error),
442 (gst_parse_error_get_type):
443 * win32/common/gstenumtypes.h:
444 * win32/common/gstversion.h:
445 update visual studio generated files
447 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
449 * win32/vs6/libgstbase.dsp:
450 * win32/vs6/libgstelements.dsp:
451 update project files for new locations
453 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
463 * docs/random/LICENSE:
466 2005-11-30 Edward Hervey <edward@fluendo.com>
468 * gst/gsttypefind.c: (gst_type_find_register):
470 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
471 (gst_type_find_factory_dispose):
472 * gst/gsttypefindfactory.h:
473 Fix memory leak in GstTypeFindFactory.
475 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
478 * plugins/elements/Makefile.am:
479 * plugins/elements/gstelements.c:
480 * plugins/elements/gstqueue.c:
481 move queue from core to the elements plugin
483 2005-11-29 Andy Wingo <wingo@pobox.com>
485 * libs/gst/base/gstbasetransform.h:
486 * libs/gst/base/gstbasesrc.h:
487 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
489 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
490 of pointers by which to pad very extensible base classes (like the
491 ones in libs/gst/base).
493 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
495 * docs/gst/gstreamer-docs.sgml:
496 * docs/gst/gstreamer-sections.txt:
497 * docs/libs/gstreamer-libs-docs.sgml:
498 * docs/libs/gstreamer-libs-sections.txt:
499 moving documentation from core to lib
501 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
505 * docs/gst/Makefile.am:
507 * gst/base/.cvsignore:
508 * gst/base/Makefile.am:
510 * gst/base/gstadapter.c:
511 * gst/base/gstadapter.h:
512 * gst/base/gstbasesink.c:
513 * gst/base/gstbasesink.h:
514 * gst/base/gstbasesrc.c:
515 * gst/base/gstbasesrc.h:
516 * gst/base/gstbasetransform.c:
517 * gst/base/gstbasetransform.h:
518 * gst/base/gstcollectpads.c:
519 * gst/base/gstcollectpads.h:
520 * gst/base/gstpushsrc.c:
521 * gst/base/gstpushsrc.h:
522 * gst/base/gsttypefindhelper.c:
523 * gst/base/gsttypefindhelper.h:
524 * gst/check/Makefile.am:
525 * gst/check/gstcheck.c:
526 * gst/check/gstcheck.h:
527 * gst/net/Makefile.am:
529 * gst/net/gstnetclientclock.c:
530 * gst/net/gstnetclientclock.h:
531 * gst/net/gstnettimepacket.c:
532 * gst/net/gstnettimepacket.h:
533 * gst/net/gstnettimeprovider.c:
534 * gst/net/gstnettimeprovider.h:
535 * libs/gst/Makefile.am:
536 * libs/gst/base/Makefile.am:
537 * libs/gst/base/gstbasetransform.c:
538 * libs/gst/check/Makefile.am:
539 * plugins/elements/Makefile.am:
541 CVS surgery + support to move base, check, and net out of gst
544 2005-11-29 Andy Wingo <wingo@pobox.com>
546 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
548 * gst/gststructure.h (struct _GstStructure): Only one pointer of
551 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
553 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
555 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
557 * gst/gstobject.h: (struct _GstObject): Only one pointer of
558 padding; reduces object size by about 30%. We don't expect
559 anything else to go into gstobject.
561 * gst/gstminiobject.h (struct _GstMiniObject)
562 (struct _GstMiniObjectClass): Only one pointer of padding; the
563 payload is only a pointer and two ints anyway. For the class there
564 are only two methods as well.
566 * gst/gstelement.h (struct _GstElementClass): Removed
567 the state_changed signal callback, it is not used.
569 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
571 * docs/gst/gstreamer.types:
572 fix includes, though they are a little dinky
574 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
577 look in the right place for elements, a lot more chance of
580 remove indexers and elements subdirs
581 * plugins/Makefile.am:
582 make indexers conditional
584 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
588 * plugins/elements/Makefile.am:
589 * plugins/elements/gstcapsfilter.c:
590 * plugins/elements/gstfilesink.c:
591 * plugins/elements/gstfilesrc.c:
592 * plugins/elements/gstidentity.c:
593 * plugins/indexers/Makefile.am:
594 do CVS surgery and related build fixery to move elements
595 and indexers in a new gstreamer/plugins directory, out of the
598 2005-11-29 Andy Wingo <wingo@pobox.com>
601 * pkgconfig/gstreamer-net-uninstalled.pc.in:
602 * pkgconfig/gstreamer-net.pc.in:
603 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
606 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
609 * tools/gst-complete.1.in:
610 * tools/gst-complete.c:
611 * tools/gst-compprep.1.in:
612 * tools/gst-compprep.c:
613 removing -compprep and -complete
615 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
617 * gst/gstevent.c: (gst_event_new_new_segment),
618 (gst_event_parse_new_segment):
620 fix #320529 - clean up new_segment API and structure.
621 Let's hope everyone was using the methods, and not the structure.
623 2005-11-29 Edward Hervey <edward@fluendo.com>
625 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
626 (gst_base_sink_event), (gst_base_sink_do_sync),
627 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
628 Properly handle non GST_FORMAT_TIME segment
629 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
630 Properly handle non GST_FORMAT_TIME segment
632 This function is valid if the accumulator is 0 and the format
633 is different from the requested format.
635 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
637 * docs/gst/gstreamer-sections.txt:
638 Add gst_query_new_seeking and gst_query_parse_seeking to the
641 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
643 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
644 Treat a pad alloc with new caps the same as if we were not
645 negotiated, in order to allow a changing upstream output
646 to produce a new format of data.
648 2005-11-29 Edward Hervey <edward@fluendo.com>
650 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
651 (gst_base_transform_event), (gst_base_transform_eventfunc):
652 The event virtual method is now properly implemented, with a default
654 Sub classes should call the parent_class event method. They should
655 return FALSE if they had a problem handling the given event, or don't
656 want GstBaseTransform to send that even downstream
657 * gst/elements/gstidentity.c: (gst_identity_class_init),
658 (gst_identity_init), (gst_identity_event),
659 (gst_identity_transform_ip), (gst_identity_set_property),
660 (gst_identity_get_property):
661 * gst/elements/gstidentity.h:
662 Added the single-segment boolean property.
663 If set to TRUE, it will output a single segment of data, starting from
664 0, will eat up all incoming newsegment, and modify the timestamp of the
667 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
669 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
670 Don't ref NULL target pad (#322751). Improve docs.
672 2005-11-29 Michael Smith <msmith@fluendo.com>
674 * gst/gstregistryxml.c: (load_plugin):
675 Don't crash if we failed to load a feature from a plugin.
677 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
679 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
681 use more check API and less GLib API
683 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
686 don't run checks if we don't have check
688 remove the registry when running make torture
689 * docs/gst/gstreamer-sections.txt:
690 remove second multiply
691 * gst/gstqueue.c: (gst_queue_loop):
692 fix a compile warning when disabling debug
694 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
697 Hey! Let's print the pad name if the pointer != NULL instead
698 of when it == NULL :-)
700 2005-11-28 Wim Taymans <wim@fluendo.com>
702 * check/gst/gstutils.c: (GST_START_TEST):
703 Updated check, add some scaling accuracy checking code.
705 * gst/gstutils.c: (gst_util_div128_64),
706 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
707 (gst_util_uint64_scale_int):
708 Fix 6 times faster division code. Optimize for common
709 1/1 and less common X/1 cases.
711 2005-11-28 Wim Taymans <wim@fluendo.com>
713 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
716 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
717 (do_linear_regression), (gst_clock_add_observation):
719 Release lock when the clock cannot be slaved.
720 Catch the case where the regression returned an invalid denominator.
722 * gst/gstutils.c: (gst_util_div128_64_iterate),
723 (gst_util_div128_64), (gst_util_uint64_scale_int64),
724 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
725 Add protentially more performant non-iterative 128/64 divide function
726 that unfortunatly does not work yet.
727 Shortcut the trivial 0/X = 0 case.
728 Remove the warnings on overflow.
730 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
732 * gst/gstplugin.c: (gst_plugin_register_func):
733 everything causing a plugin not to load should be at least a WARNING
735 2005-11-28 Stefan Kost <ensonic@users.sf.net>
737 * docs/random/ensonic/dparams.txt:
738 some TODOs for the next dev cycle
739 * libs/gst/controller/gstcontroller.c:
740 (gst_controlled_property_set_interpolation_mode),
741 (gst_controlled_property_new):
742 * libs/gst/controller/gstcontroller.h:
743 use base type to assign acccessor functions
745 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
748 Oops, that should have been top_srcdir
750 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
753 * check/elements/fdsrc.c: (GST_START_TEST):
754 Use a cmdline define to specify the location of a file to use for
755 testing, to avoid breaking distcheck.
757 2005-11-28 Andy Wingo <wingo@pobox.com>
759 * gst/gstpad.c (fixate_value): Use array functions for arrays.
761 2005-11-28 Edward Hervey <edward@fluendo.com>
763 * tools/gst-launch.c: (main):
764 Clarify the output strings, makes it easier to translate.
767 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
770 don't try and build net if we don't even have <sys/socket.h>
772 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
775 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
776 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
777 Add tests for fdsrc seekability
779 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
780 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
781 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
782 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
783 * gst/elements/gstfdsrc.h:
784 fdsrc should not be a 'live' source.
785 Implement seeking on seekable fd's.
787 * gst/gstquery.c: (gst_query_new_seeking),
788 (gst_query_parse_seeking):
790 Implement SEEKING query functions:
791 *_new_seeking and *_parse_seeking
793 2005-11-27 Stefan Kost <ensonic@users.sf.net>
795 * gst/gstelement.c: (gst_element_dispose):
799 * gst/gststructure.c:
802 * libs/gst/controller/gstcontroller.c:
803 (gst_controlled_property_set_interpolation_mode):
804 * libs/gst/controller/gstcontroller.h:
805 * libs/gst/controller/gstinterpolation.c:
806 (interpolate_none_get_enum_value_array):
807 support controlling enums
809 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
812 Improve documentation for gst_value_union().
815 Change return value for union, intersect and subtract functions
816 from gint to gboolean.
818 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
820 * gst/gstvalue.c: (gst_value_serialize_any_list),
821 (gst_value_transform_any_list_string),
822 (gst_value_deserialize_list), (gst_value_deserialize_array),
823 (gst_value_set_int_range), (gst_value_deserialize_int_range),
824 (gst_value_set_double_range), (gst_value_deserialize_double_range),
825 (gst_value_set_fraction_range_full),
826 (gst_value_deserialize_fraction_range),
827 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
828 (gst_value_deserialize_boolean),
829 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
830 (gst_value_serialize_float), (gst_value_deserialize_float),
831 (gst_string_wrap), (gst_value_deserialize_string),
832 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
833 (gst_value_union_int_range_int_range),
834 (gst_value_intersect_int_range_int_range),
835 (gst_value_intersect_double_range_double_range),
836 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
837 (gst_value_subtract_int_range_int_range),
838 (gst_value_subtract_double_double_range),
839 (gst_value_subtract_double_range_double_range),
840 (gst_value_deserialize_fraction):
842 Use gint, gdouble and gchar in our API instead of int, double and
843 char (and make usage in gstvalue.c more consistent).
845 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
848 * libs/gst/controller/Makefile.am:
849 * libs/gst/dataprotocol/Makefile.am:
850 fix up Makefile.am and remove GST_ENABLE_NEW
852 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
856 * gst/base/Makefile.am:
857 * gst/check/Makefile.am:
858 * gst/elements/Makefile.am:
859 * gst/net/Makefile.am:
860 update LDFLAGS use some more
862 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
864 * common/m4/gst-doc.m4:
867 2005-11-26 Edward Hervey <edward@fluendo.com>
869 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
870 This shouldn't issue a g_warning since it returns NULL if it
871 couldn't find the plugin, and all functions using this behave
872 properly on a NULL return. Switching to a GST_WARNING.
874 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
876 * gst/gstbin.c: (gst_bin_handle_message_func):
877 Don't leak clock messages.
879 2005-11-25 Wim Taymans <wim@fluendo.com>
881 * gst/gstutils.c: (gst_util_uint64_scale_int64),
882 (gst_util_uint64_scale_int):
883 Optimisations, remove unneeded vars.
885 2005-11-25 Wim Taymans <wim@fluendo.com>
887 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
888 Added more checks for the high precision uint64 cases.
890 * gst/gstutils.c: (gst_util_uint64_scale_int64),
891 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
892 Implement high precission (guint64 * guint64) / guint64.
894 2005-11-24 Wim Taymans <wim@fluendo.com>
896 * gst/base/gstbasesrc.c: (gst_base_src_query):
897 Fix wrong percentage query.
899 * gst/gstutils.c: (gst_util_uint64_scale),
900 (gst_util_uint64_scale_int):
901 Add some more common cases that can be handled
902 efficiently to _scale.
904 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
906 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
907 (gst_mini_object_suite):
908 don't use check calls from threads; check probably isn't
909 threadsafe and using a lock to make it threadsafe would
910 defeat the purpose of this check
911 * gst/check/gstcheck.c:
912 * gst/check/gstcheck.h:
913 use GST_DEBUG some more
915 2005-11-24 Wim Taymans <wim@fluendo.com>
917 * gst/gstutils.c: (gst_util_uint64_scale),
918 (gst_util_uint64_scale_int):
919 Chain trivial case to _scale_int.
921 2005-11-24 Wim Taymans <wim@fluendo.com>
923 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
924 Added test for scaling.
929 * gst/gstutils.c: (gst_util_uint64_scale_int):
930 Implemented high precision scaling code.
932 2005-11-24 Stefan Kost <ensonic@users.sf.net>
935 do not crash on pad==NULL
937 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
939 Patch by: Stefan Kost
941 * common/gtk-doc.mak:
942 * docs/gst/Makefile.am:
943 * docs/libs/Makefile.am:
944 Fix distcheck issues for the libraries docs build
947 2005-11-24 Michael Smith <msmith@fluendo.com>
949 * docs/manual/basics-helloworld.xml:
950 Fix bug #315027: memory leak in example code in docs.
952 2005-11-24 Michael Smith <msmith@fluendo.com>
954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
955 Unlock the PREROLL_LOCK in a failure case.
957 2005-11-24 Wim Taymans <wim@fluendo.com>
959 * docs/gst/gstreamer-sections.txt:
960 * gst/base/gstadapter.h:
961 * gst/base/gstbasesink.h:
962 * gst/base/gstbasesrc.h:
963 * gst/base/gstbasetransform.h:
964 * gst/base/gstpushsrc.h:
965 * gst/elements/gstfakesink.h:
966 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
967 * gst/elements/gstfakesrc.h:
968 * gst/elements/gstfilesink.h:
969 * gst/elements/gstfilesrc.h:
972 * gst/gstbuffer.c: (_gst_buffer_copy):
975 * gst/gstchildproxy.c:
978 * gst/gstelementfactory.c:
979 * gst/gstelementfactory.h:
983 * gst/gstinterface.h:
984 * gst/gstminiobject.c:
985 * gst/gstminiobject.h:
988 * gst/gstpadtemplate.h:
990 * gst/gstpluginfeature.h:
995 * gst/gsttagsetter.c:
996 * gst/gsttagsetter.h:
1002 * gst/net/gstnetclientclock.c:
1003 * gst/net/gstnetclientclock.h:
1004 * gst/net/gstnettimepacket.c:
1005 * gst/net/gstnettimeprovider.c:
1006 * gst/net/gstnettimeprovider.h:
1009 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1011 * configure.ac: back to HEAD
1013 === release 0.9.6 ===
1015 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1018 releasing 0.9.6, "Always On Time"
1020 2005-11-23 Wim Taymans <wim@fluendo.com>
1022 * docs/gst/gstreamer-sections.txt:
1023 * gst/glib-compat.c:
1024 * gst/gsttagsetter.c:
1026 * gst/net/gstnetclientclock.c:
1027 * gst/net/gstnettimepacket.h:
1030 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1032 * docs/faq/using.xml:
1033 * docs/libs/tmpl/gstcontrol.sgml:
1034 * docs/manual/advanced-dparams.xml:
1035 * docs/manual/appendix-checklist.xml:
1036 * docs/manual/basics-elements.xml:
1037 * docs/pwg/other-source.xml:
1038 * docs/random/moving-plugins:
1040 * tools/gst-launch.1.in:
1041 remove mentions of sinesrc
1043 2005-11-23 Michael Smith <msmith@fluendo.com>
1045 * docs/gst/gstreamer-sections.txt:
1046 Update for new API and API changes.
1048 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1050 Documentation typo fix.
1051 * gst/net/gstnettimepacket.c:
1052 Documentation fixes for arguments.
1054 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1056 * gst/gststructure.c: (gst_structure_get_fraction),
1057 (gst_structure_parse_value),
1058 (gst_structure_fixate_field_nearest_fraction):
1059 * gst/gststructure.h:
1060 * gst/gstutils.c: (gst_util_uint64_scale_int):
1062 * scripts/update-funcnames:
1064 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1065 Make gst_structure_fixate_field_nearest_fraction take a numerator
1066 and denominator argument instead of a GValue
1067 add gst_structure_get_fraction helper function.
1069 2005-11-23 Wim Taymans <wim@fluendo.com>
1071 * docs/design/part-TODO.txt:
1074 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1075 * gst/net/gstnetclientclock.h:
1076 Use parent fields for timeout and window_size.
1078 2005-11-23 Andy Wingo <wingo@pobox.com>
1080 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1081 rate_num/rate_denom change.
1083 * gst/net/gstnetclientclock.c
1084 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1085 OBJECT_LOCK. Don't call add_observation with the lock.
1087 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1089 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1091 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1092 deal with rate as a fraction whose numerator and denominator are
1093 GstClockTime values.
1094 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1095 master; the other fields are protected by the SLAVE_LOCK.
1096 (do_linear_regression): Note that this must be called with the
1098 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1099 OBJECT_LOCK. Call set_calibration instead of touching the
1101 (gst_clock_set_property, gst_clock_get_property): Protect
1102 master/slave parameters with the SLAVE_LOCK.
1104 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1105 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1106 note that all of the instance variables that add_observation and
1107 the set_master functions use are protected by that lock and not
1109 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1111 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1112 the caller to take the object lock.
1114 2005-11-23 Wim Taymans <wim@fluendo.com>
1116 * gst/gsterror.c: (_gst_core_errors_init):
1118 Add error for clock stuff.
1120 * gst/gstpipeline.c: (gst_pipeline_change_state),
1121 (gst_pipeline_set_clock):
1122 Post clock error when clock cannot be used in a pipeline.
1124 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1126 * docs/gst/gstreamer-sections.txt:
1127 make two symbols from gstinfo private for the docs
1128 * gst/base/gstcollectpads.h:
1130 fix doc typos, update docs
1132 2005-11-22 Wim Taymans <wim@fluendo.com>
1134 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1135 (gst_base_sink_wait), (gst_base_sink_do_sync),
1136 (gst_base_sink_handle_event):
1137 * gst/base/gstbasesink.h:
1138 No need to store the clock, the parent element class already
1141 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1142 Updates for clock_set returning a gboolean
1144 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1145 (gst_clock_id_wait_async), (gst_clock_class_init),
1146 (gst_clock_init), (gst_clock_finalize),
1147 (gst_clock_get_internal_time), (gst_clock_get_time),
1148 (gst_clock_slave_callback), (gst_clock_set_master),
1149 (gst_clock_get_master), (do_linear_regression),
1150 (gst_clock_add_observation), (gst_clock_set_property),
1151 (gst_clock_get_property):
1153 Implement master/slave. When setting a clock as a slave, a
1154 periodic timeout is scheduled to sample master and slave times.
1155 Then the slave clock is recalibrated to match offset and rate
1156 of the master clock.
1157 Update logging a bit.
1158 Add flag so that a clock can state that is cannot be slaved to
1161 * gst/gstelement.c: (gst_element_set_clock):
1163 The set clock returns a gboolean for when an element cannot
1164 deal with the selected clock in the pipeline.
1166 * gst/gstpipeline.c: (gst_pipeline_change_state),
1167 (gst_pipeline_set_clock):
1168 * gst/gstpipeline.h:
1169 Handle the case where the selected clock cannot be set on
1172 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1173 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1174 (gst_net_client_clock_set_property),
1175 (gst_net_client_clock_get_property),
1176 (gst_net_client_clock_observe_times):
1177 * gst/net/gstnetclientclock.h:
1178 Use regression code in GstClock parent, remove duplicated
1181 2005-11-22 Michael Smith <msmith@fluendo.com>
1183 * gst/gstutils.c: (gst_util_clock_time_scale):
1185 * docs/gst/gstreamer-sections.txt:
1186 Rename method to have extra underscore.
1188 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1190 * gst/elements/Makefile.am:
1191 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1192 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1193 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1194 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1195 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1196 * gst/elements/gstfakesrc.h:
1197 * gst/gstqueue.c: (queue_leaky_get_type):
1198 correctly fix GEnumValues so that nick is the short lowercase
1200 * tools/gst-inspect.c: (print_element_properties_info):
1201 also show the nick, since it's useful to use from parse_launch
1205 2005-11-22 Michael Smith <msmith@fluendo.com>
1207 * gst/gstutils.c: (gst_util_clocktime_scale):
1209 * docs/gst/gstreamer-sections.txt:
1210 Add util method for scaling a clocktime by a fraction. Useful
1211 implementation is left as an exercise for the reader.
1213 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1215 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1216 If needed, allocate storage in the destination value during
1219 2005-11-22 Edward Hervey <edward@fluendo.com>
1221 * docs/gst/gstreamer-sections.txt:
1226 * gst/gstutils.c: (gst_util_set_object_arg):
1227 * tools/gst-compprep.c: (main):
1228 * tools/gst-inspect.c: (print_element_properties_info):
1229 Removed GstURI, closes bug #321061
1231 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1233 * check/gst/gststructure.c: (GST_START_TEST):
1234 * gst/gststructure.c: (gst_structure_parse_value):
1235 Oops, broke automatic string type parsing.
1236 Add a test to catch it in future.
1238 2005-11-22 Andy Wingo <wingo@pobox.com>
1240 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1241 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1242 Actually rename the function implementations. Grr.
1244 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1246 * check/gst/capslist.h:
1248 * check/gst/gststructure.c: (GST_START_TEST),
1249 (gst_structure_suite):
1250 Test automatic value type detection in gst_structure_from_string.
1251 * gst/gststructure.c: (gst_structure_parse_value):
1252 Add fraction as a type we try and guess automatically in
1253 caps/structure strings.
1255 2005-11-22 Andy Wingo <wingo@pobox.com>
1257 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1259 * gst/gsttagsetter.h:
1260 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1261 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1262 (gst_tag_setter_add_tag_valist)
1263 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1264 _add_values, _add_valist, and _add_valist_values. Since this is an
1265 interface the function suffixes should be more explicit so
1266 language binding don't end up with element.add_valist ->
1267 gst_tag_setter_add_valist, for example. Fixes #322069.
1269 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1271 * check/gst/gstcaps.c: (GST_START_TEST):
1272 Extend caps string tests to check that a caps to string
1273 conversion is reversible and produces the same caps.
1275 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1276 Output "fraction" as the generic type fraction range, so caps
1277 serialisation and deserialisation works.
1278 * check/gst/capslist.h:
1279 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1280 Support 'MIN' and 'MAX' for deserialising fractions.
1282 2005-11-22 Andy Wingo <wingo@pobox.com>
1284 * gst/gstevent.h (gst_event_new_new_segment)
1285 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1286 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1287 Renamed from *_newsegment, *_buffersize, *_notarget.
1289 * scripts/update-funcnames: New script, performs the changes
1292 2005-11-22 Wim Taymans <wim@fluendo.com>
1294 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1295 Make sure the GstFlowReturn is returned.
1297 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1298 (gst_bus_add_signal_watch):
1300 add gst_bus_add_signal_watch_full.
1302 * gst/gstplugin.c: (gst_plugin_load_file):
1303 Small style cleanup.
1305 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1307 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1308 Block the fakesrc srcpad when we send an event, to avoid
1309 contention on the stream_lock causing random test failures.
1311 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1313 * check/gst/gstvalue.c: (GST_START_TEST):
1314 * gst/gstvalue.c: (gst_value_fraction_subtract):
1317 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1320 include "gstchildproxy.h"
1321 * gst/gstchildproxy.h:
1322 * libs/gst/controller/gstcontroller.h:
1323 use G_GNUC_NULL_TERMINATED
1325 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1327 * check/gst/capslist.h:
1328 * check/gst/gstcaps.c: (GST_START_TEST):
1329 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1330 * gst/gststructure.c: (gst_structure_parse_range),
1331 (gst_structure_fixate_field_nearest_fraction):
1332 * gst/gststructure.h:
1333 * gst/gstvalue.c: (gst_value_init_fraction_range),
1334 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1335 (gst_value_collect_fraction_range),
1336 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1337 (gst_value_set_fraction_range_full),
1338 (gst_value_get_fraction_range_min),
1339 (gst_value_get_fraction_range_max),
1340 (gst_value_serialize_fraction_range),
1341 (gst_value_transform_fraction_range_string),
1342 (gst_value_compare_fraction_range),
1343 (gst_value_deserialize_fraction_range),
1344 (gst_value_intersect_fraction_fraction_range),
1345 (gst_value_intersect_fraction_range_fraction_range),
1346 (gst_value_subtract_fraction_fraction_range),
1347 (gst_value_subtract_fraction_range_fraction),
1348 (gst_value_subtract_fraction_range_fraction_range),
1349 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1350 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1351 (gst_value_transform_string_fraction), (_gst_value_initialize):
1353 Implement fraction ranges and extend GstFraction to support
1354 arithmetic subtraction, as well as deserialization from integer
1355 strings such as "100"
1356 Add a testsuite as for int and double range set operations
1358 2005-11-21 Andy Wingo <wingo@pobox.com>
1362 * gst/gststructure.h: Add glib-compat.h.
1364 2005-11-21 Wim Taymans <wim@fluendo.com>
1366 * gst/gstbin.c: (gst_bin_change_state_func):
1369 2005-11-21 Wim Taymans <wim@fluendo.com>
1372 And add a nice define too.
1374 2005-11-21 Wim Taymans <wim@fluendo.com>
1376 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1377 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1378 (gst_segment_set_duration), (gst_segment_set_last_stop),
1379 (gst_segment_set_seek), (gst_segment_set_newsegment),
1380 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1383 Make binding friendly.
1385 2005-11-21 Andy Wingo <wingo@pobox.com>
1387 * gst/gsttagsetter.h:
1389 * gst/gststructure.h:
1391 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1394 * gst/gsterror.c (_gst_core_errors_init):
1395 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1398 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1399 (noinst_HEADERS): noinst the -private.
1401 2005-11-21 Michael Smith <msmith@fluendo.com>
1404 * gst/gstregistry.h:
1405 Remove unimplemented declarations for which we can see no sensible
1408 2005-11-21 Andy Wingo <wingo@pobox.com>
1410 * gst/gst.h: Include glib-compat.h.
1412 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1414 * gst/glib-compat.c: Include the public and the private header.
1416 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1420 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1422 * check/gst/gstevent.c (create_custom_events): Check that
1423 FLUSH_STOP is serialized.
1425 * check/elements/identity.c (event_func):
1426 * check/elements/fakesrc.c (event_func): No stream lock, the core
1429 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1430 stream lock taking, yay.
1432 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1433 ensure that core takes the stream lock.
1435 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1438 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1439 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1440 it already. For the flush start we do take it though so we get the
1441 right preroll state change messages.
1443 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1444 the stream lock here, the core does it for us.
1446 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1447 GST_STREAM_GET_LOCK.
1448 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1449 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1450 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1451 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1452 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1453 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1455 * gst/gstpad.c: Update for stream lock name change.
1457 * gst/base/gstbasesink.c: Update for preroll lock name change.
1459 2005-11-21 Wim Taymans <wim@fluendo.com>
1461 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1462 (gst_clock_get_master):
1464 * gst/gstsystemclock.c: (gst_system_clock_init):
1465 Convert Clock flags to object flags.
1466 Added methods to manage master/slave clocks.
1468 2005-11-21 Wim Taymans <wim@fluendo.com>
1470 * check/gst/gstsegment.c: (GST_START_TEST):
1471 * docs/design/part-TODO.txt:
1472 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1473 (gst_base_sink_event), (gst_base_sink_do_sync),
1474 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1475 (gst_base_sink_query), (gst_base_sink_change_state):
1476 * gst/base/gstbasesink.h:
1477 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1478 (gst_base_src_default_newsegment),
1479 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1480 (gst_base_src_get_range), (gst_base_src_loop),
1481 (gst_base_src_change_state):
1482 * gst/base/gstbasesrc.h:
1483 * gst/base/gstbasetransform.c:
1484 (gst_base_transform_prepare_output_buf),
1485 (gst_base_transform_event), (gst_base_transform_change_state):
1486 * gst/base/gstbasetransform.h:
1487 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1488 (gst_collect_pads_event):
1489 * gst/base/gstcollectpads.h:
1490 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1491 (gst_fake_src_create):
1492 * gst/elements/gstfakesrc.h:
1493 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1494 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1495 (gst_segment_set_last_stop), (gst_segment_set_seek),
1496 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1497 (gst_segment_to_running_time), (gst_segment_clip):
1499 More segment updates, replace code in plugins with segment
1502 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1504 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1505 Don't ignore sscanf results
1507 2005-11-21 Andy Wingo <wingo@pobox.com>
1509 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1512 * *.c: Ran scripts/update-macros. Oh yes.
1514 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1515 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1518 * scripts/update-macros: New script. Run it on your files to
1519 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1522 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1524 * docs/gst/Makefile.am:
1525 * docs/gst/gstreamer-docs.sgml:
1526 * docs/gst/gstreamer-sections.txt:
1527 * docs/gst/gstreamer.types:
1529 more docs fixes, add new api to the docs
1531 2005-11-21 Andy Wingo <wingo@pobox.com>
1533 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1534 state_broadcast call.
1536 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1538 2005-11-21 Julien MOUTTE <julien@moutte.net>
1540 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1541 function calls for arrays.
1543 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1545 * docs/random/ensonic/media-device-daemon.txt:
1546 wild idea, can this be done?
1547 * docs/gst/gstreamer-sections.txt:
1552 * gst/gstpluginfeature.c:
1556 doc fixes and additions
1558 2005-11-21 Andy Wingo <wingo@pobox.com>
1560 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1561 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1562 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1563 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1564 private to the basesrc implementation.
1566 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1567 behalf of event function if necessary. It should no longer be
1568 necessary to take the stream lock in pad's event functions. Fixes
1571 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1572 * docs/gst/gstreamer-sections.txt:
1573 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1574 (gst_structure_fixate_field_nearest_double),
1575 (gst_structure_fixate_field_boolean):
1576 * gst/gststructure.h:
1577 * win32/common/libgstreamer.def:
1578 * win32/gstreamer.def:
1580 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1583 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1585 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1586 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1587 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1588 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1589 (gst_fdsrc_uri_handler_init):
1590 * gst/elements/gstfdsrc.h:
1591 Port fd:// URI handler from 0.8 to fdsrc
1593 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1595 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1596 (gst_value_serialize_fourcc):
1598 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1599 consistent with our other format defines (#320324).
1601 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1603 * gst/gstvalue.c: (gst_value_is_fixed):
1604 Revert previous commit. Value lists are by definition
1605 not fixed, as they are a list of possible values.
1607 2005-11-21 Andy Wingo <wingo@pobox.com>
1609 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1610 during the stable series if we need it. Fixes #319178.
1612 * gst/gstevent.c (gst_event_new_filler): Removed.
1614 * check/gst/gstevent.c: Update comment about filler events.
1616 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1618 * gst/gstvalue.c: (gst_value_is_fixed):
1619 Should handle both value arrays and value lists.
1621 2005-11-21 Andy Wingo <wingo@pobox.com>
1623 patch by: Alessandro Dessina <alessandro nnva org>
1625 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1626 functions to access arrays. Fixes #321962.
1628 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1630 * docs/gst/gstreamer.types:
1631 gst_collectpads_get_type => gst_collect_pads_get_type.
1633 * gst/base/gstbasetransform.c:
1634 Remove unused SIGNAL_HANDOFF enum.
1636 2005-11-21 Andy Wingo <wingo@pobox.com>
1638 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1639 the event type (upstream, downstream, serialized). Renamed
1640 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1641 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1642 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1644 * gst/gstevent.c: Update for new CUSTOM event names.
1646 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1649 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1652 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1654 * docs/gst/gstreamer-sections.txt:
1655 * win32/common/libgstbase.def:
1656 * win32/libgstbase.def:
1657 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1658 (gst_collect_pads_class_init), (gst_collect_pads_init),
1659 (gst_collect_pads_finalize), (gst_collect_pads_new),
1660 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1661 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1662 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1663 (gst_collect_pads_start), (gst_collect_pads_stop),
1664 (gst_collect_pads_peek), (gst_collect_pads_pop),
1665 (gst_collect_pads_available), (gst_collect_pads_read),
1666 (gst_collect_pads_flush), (gst_collect_pads_event),
1667 (gst_collect_pads_chain):
1668 * gst/base/gstcollectpads.h:
1669 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1670 unimplemented functions as unimplemented. Add padding to
1671 GstCollectData. (#320766, #320423)
1673 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1676 Improve docs for DURATION message (usage of duration parameter)
1679 2005-11-20 Wim Taymans <wim@fluendo.com>
1681 * check/Makefile.am:
1682 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1686 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1687 (gst_segment_set_seek), (gst_segment_set_newsegment),
1688 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1691 Added segment helper structure and methods. Not fully implemented
1693 Added segment check.
1695 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1697 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1698 Add a deserialisation test for fractions
1699 * examples/metadata/read-metadata.c: (message_loop),
1700 (make_pipeline), (main):
1701 Fix up metadata reading sample.
1702 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1704 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1705 Don't try and fixate empty caps
1706 * gst/gst_private.h:
1707 Wrap in G_BEGIN_DECLS/G_END_DECLS
1708 * gst/gstvalue.c: (gst_value_collect_fraction),
1709 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1710 (gst_value_transform_string_fraction),
1711 (gst_value_compare_fraction):
1712 Add some extra guards to ensure that we don't end up
1713 with an invalid denominator of 0 in a gstfraction and
1714 that fractions always get reduced.
1716 2005-11-20 Wim Taymans <wim@fluendo.com>
1718 * docs/gst/gstreamer-sections.txt:
1729 2005-11-20 Wim Taymans <wim@fluendo.com>
1731 * docs/design/part-TODO.txt:
1733 Make a proper enum of the flag.
1735 2005-11-19 Wim Taymans <wim@fluendo.com>
1737 * docs/design/part-TODO.txt:
1738 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1739 (gst_format_to_quark), (gst_format_register):
1741 * gst/gstquery.c: (_gst_query_initialize),
1742 (gst_query_type_get_name), (gst_query_type_to_quark),
1743 (gst_query_type_register):
1745 Add type to quark and type to string conversions.
1747 2005-11-19 Andy Wingo <wingo@pobox.com>
1749 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1752 2005-11-19 Wim Taymans <wim@fluendo.com>
1754 * docs/design/part-TODO.txt:
1755 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1756 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1757 (gst_bin_handle_message_func):
1759 Make message handling overridable.
1761 2005-11-19 Andy Wingo <wingo@pobox.com>
1763 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1766 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1768 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1769 is a GstClockTime. Fixes #321710.
1771 * gst/gstclock.h (GstClock): Remove offset property. Add
1772 internal_calibration and external_calibration. Fix padding. Pad
1773 also by GstClockTime so we don't run into problems.
1775 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1776 (gst_clock_get_rate_offset): Remove.
1777 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1780 * gst/gstutils.c (g_static_rec_cond_wait)
1781 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1783 * gst/gstbin.c: Remove terrible continue_state prototype.
1785 * gst/gstelement.h (gst_element_continue_state): Make public.
1788 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1789 by continue_state. Fixes #319389.
1791 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1792 Really fixes #168438. However I don't see anywhere where the
1793 filter function is called... stupid GStreamer...
1795 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1796 don't have a dispose function, so it won't get called when the
1797 object is unreffed, but oh well!
1799 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1800 allows a destroy function to be set so user_data can be freed.
1802 (gst_index_set_filter): Call gst_index_set_filter_full.
1804 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1806 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1807 string should produce an error, given the lack of a way to
1808 represent NULL strings. Fixes #165650.
1811 * gst/gstvalue.c (gst_value_array_append_value)
1812 (gst_value_array_prepend_value, gst_value_array_get_size)
1813 (gst_value_array_get_value): New API, copied from
1814 gst_value_list_*, only operates on arrays.
1815 (gst_value_list_append_value, gst_value_list_prepend_value)
1816 (gst_value_list_concat, gst_value_list_get_size)
1817 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1819 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1820 init_list, because it works on both.
1821 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1822 (gst_value_copy_list_or_array): Renamed from copy_list.
1823 (gst_value_free_list_or_array): Renamed from free_list.
1824 (gst_value_collect_list_or_array): Renamed from collect_list.
1825 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1826 (gst_value_list_or_array_peek_pointer): Renamed from
1828 (_gst_value_array_value_table, _gst_value_list_value_table):
1829 Update value table functions.
1830 (gst_value_compare_list_or_array): Renamed from compare_list.
1832 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1836 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1837 GstTagList*. Fixes #143472.
1839 * gst/gststructure.h: Clarify what the foreach/map functions can
1840 or can't do to their arguments.
1842 2005-11-18 Wim Taymans <wim@fluendo.com>
1844 * gst/gstclock.c: (gst_clock_set_calibration),
1845 (gst_clock_get_calibration):
1847 Calibration can be set with internal time equal to current
1850 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1856 2005-11-18 Andy Wingo <wingo@pobox.com>
1859 * pkgconfig/gstreamer-net.pc.in:
1860 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1861 * pkgconfig/Makefile.am: Add net pkgconfig files.
1863 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1866 * gst/gstghostpad.c:
1872 2005-11-18 Andy Wingo <wingo@pobox.com>
1874 * gst/net/gstnetclientclock.c: Turn off debugging.
1876 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1877 times connverge somewhat. Can't make a real test.
1879 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1880 integer arithmetic. Return the minimum of the domain, which can be
1881 set as "internal" for gst_clock_set_calibration.
1882 (gst_net_client_clock_observe_times): Call _set_calibration.
1883 (gst_net_client_clock_new): Call _set_calibration instead of
1886 * check/net/gstnetclientclock.c (test_functioning): Use the right
1890 * gst/gstclock.c (gst_clock_get_calibration)
1891 (gst_clock_set_calibration): New functions, obsolete the ones I
1892 added yesterday. Doh. Precision issues mean we have to extrapolate
1893 from a point in the more recent past than 1970.
1894 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1896 (gst_clock_adjust_unlocked): Use the right calibration data.
1898 2005-11-18 Edward Hervey <edward@fluendo.com>
1900 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1901 Also reset the ->current_* values in READY->PAUSED
1903 2005-11-18 Andy Wingo <wingo@pobox.com>
1905 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1906 Whoops, check the right fd. Also add some debugging.
1907 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1908 (do_linear_regression): Add a crapload of debugging. Subtract off
1909 the minimum values from the input series to discard unneeded bits.
1910 Use only int arithmetic. There is still double arithmetic when
1911 calculating the intercept that needs fixing. Return boolean to
1912 indicate success; FALSE would mean the domain or range is too
1913 great. Still needs fixes.
1915 2005-11-18 Wim Taymans <wim@fluendo.com>
1917 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1918 For the current position in stream time, we need to subtract
1921 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1922 Release lock before calling the callback function of async
1925 2005-11-18 Andy Wingo <wingo@pobox.com>
1927 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1928 Port goes all the way to MAXUINT16.
1930 * gst/net/gstnettimeprovider.c: Make the port range the same as
1931 for the kernel: 0 assigns, otherwise ports are less than
1934 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1937 * check/net/gstnetclientclock.c (test_functioning): Add the start
1940 2005-11-18 Wim Taymans <wim@fluendo.com>
1942 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1943 (gst_bin_remove_func), (bin_bus_handler):
1945 Removing a clock provider from a bin, triggers a clock lost message
1946 so that a new clock will be selected.
1947 Adding a clock to a bin triggers a clock provider message.
1948 Make sure we reselect a clock when we received a clock lost message.
1949 Keep a reference to the element that provided the clock.
1951 2005-11-18 Andy Wingo <wingo@pobox.com>
1953 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1954 the clock initially so it produces values around the base time.
1955 (gst_net_client_clock_class_init): Typo fix.
1956 (gst_net_client_clock_thread): Add note on when the socket gets
1959 2005-11-17 Wim Taymans <wim@fluendo.com>
1961 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1962 Free remote and local time arrays.
1964 2005-11-17 Wim Taymans <wim@fluendo.com>
1966 * gst/net/gstnetclientclock.c: (do_linear_regression),
1967 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1968 Fix compilation, uninitialized vars and a forgotten continue.
1970 2005-11-17 Andy Wingo <wingo@pobox.com>
1972 * check/Makefile.am (check_PROGRAMS):
1973 * check/net/gstnetclientclock.c: Add a most minimal test for the
1974 net client clock. More to come later.
1977 * gst/net/Makefile.am: Add netclientclock.
1979 * gst/net/gstnetclientclock.h:
1980 * gst/net/gstnetclientclock.c: New files, implement an untested
1981 GstClock that takes its time from a network time provider.
1982 Implements the algorithm in network-clock.scm.
1984 * tests/network-clock.scm (*window-size*): Rename from
1986 * tests/network-clock.scm (network-time):
1987 * tests/network-clock-utils.scm (q-push): Update callers.
1989 2005-11-17 Wim Taymans <wim@fluendo.com>
1991 * gst/gstbin.c: (gst_bin_provide_clock_func),
1992 (gst_bin_sort_iterator_new):
1993 And unref the child too..
1995 2005-11-17 Wim Taymans <wim@fluendo.com>
1997 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1998 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1999 Refactor the sort iterator so it can be used while holding the
2001 Make clock selection select a clock closest to the source.
2003 2005-11-17 Michael Smith <msmith@fluendo.com>
2005 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2006 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2008 Anonymous structs are a gcc (and some other compilers) extension, so
2009 don't use them. Since this is only for ABI-compatibility, and our
2010 API/ABI freeze is over in a few days, this whole thing will only
2011 last a few days, so don't bother trying to think up a meaningful
2012 name for the struct.
2014 2005-11-17 Andy Wingo <wingo@pobox.com>
2016 * gst/gstclock.h (GstClock): Add rate and offset properties,
2017 preserving ABI stability. Add rate/offset accessors. Will file bug
2018 for the freeze break.
2020 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2021 and offset, trying to keep precision and avoiding
2023 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2024 functions. Make gst_clock_set_time_adjust obsolete.
2025 (gst_clock_set_time_adjust): Note that this function is obsolete.
2028 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2029 greppable by using GST_PADDING-1+1.
2031 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2033 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2035 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2036 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2038 * gst/gstpadtemplate.h:
2039 * gst/gstpluginfeature.h:
2040 Don't use c++ style comments in headers (#321638).
2042 2005-11-16 Andy Wingo <wingo@pobox.com>
2044 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2047 * check/net/gstnettimeprovider.c: Check to see that the time
2048 provider actually provides times. Works, yo!
2050 2005-11-16 Wim Taymans <wim@fluendo.com>
2052 * check/Makefile.am:
2055 * check/elements/fakesrc.c: (GST_START_TEST):
2056 Set element to NULL before disposing it.
2058 2005-11-16 Andy Wingo <wingo@pobox.com>
2060 * gst/net/Makefile.am:
2062 * gst/net/gstnettimeprovider.c:
2063 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2064 provider, include it from gstnet.h, and add it to the build.
2066 * gst/net/gstnettimepacket.h:
2067 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2068 sending and receiving.
2070 2005-11-16 Wim Taymans <wim@fluendo.com>
2072 * check/Makefile.am:
2073 Enable valgrind check.
2075 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2076 (gst_fake_src_alloc_buffer):
2079 2005-11-16 Wim Taymans <wim@fluendo.com>
2081 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2082 Call parent finalize too.
2084 2005-11-16 Wim Taymans <wim@fluendo.com>
2086 * check/Makefile.am:
2087 Enable valgrind check that should work fine now.
2089 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2090 * gst/gstqueue.c: (gst_queue_init):
2091 Fix memleaks in pad allocation.
2093 2005-11-16 Andy Wingo <wingo@pobox.com>
2095 * gst/net/Makefile.am:
2096 * gst/net/gstnet.h: New part of core to hold network elements and
2097 objects. Put in core because it exposes API that applications want
2098 to use. The library is named libgstnet-tempname right now because
2099 of the existing libgstnet in gst-plugins-base. Solution is
2100 probably to rename the one in plugins-base; will file a bug for
2103 * gst/net/gstnettimeprovider.c:
2104 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2105 get_time call over the network.
2108 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2110 * check/Makefile.am:
2111 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2112 get additions shortly.
2114 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2116 * gst/gstpad.c: (gst_pad_new_from_static_template):
2118 add gst_pad_new_from_static_template functions
2119 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2120 (gst_check_setup_sink_pad):
2121 * gst/elements/gsttee.c: (gst_tee_init):
2124 2005-11-16 Wim Taymans <wim@fluendo.com>
2126 * gst/gstpad.c: (gst_pad_pause_task):
2127 Removed warning, it's not really an error either.
2129 2005-11-16 Wim Taymans <wim@fluendo.com>
2131 * gst/base/gstbasetransform.c:
2132 (gst_base_transform_prepare_output_buf),
2133 (gst_base_transform_event):
2134 Check if the caps are NULL, this can happen if the element
2135 is shutting down and the pad caps are set to NULL.
2137 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2139 * gst/elements/gsttee.c: (gst_tee_init):
2140 fix pad template leak in tee
2142 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2144 * gst/glib-compat.c: (g_value_dup_gst_object):
2145 * gst/glib-compat.h:
2146 * gst/gstpad.c: (gst_pad_set_property):
2147 use gst_object_ref when setting the pad template; this will
2148 trigger the pad template leaks on GLib 2.6 and the slaves
2150 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2152 * gst/glib-compat.c: (gst_flags_get_first_value):
2153 * gst/glib-compat.h:
2154 * gst/gstregistryxml.c:
2155 remove functions copied from GLib 2.6
2157 2005-11-16 Michael Smith <msmith@fluendo.com>
2160 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2161 do, but only breaks with newer valgrind versions. We're not a
2162 valgrind tool, we have no link-time dependencies on libcoregrind.
2164 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2166 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2171 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2173 * gst/base/gstbasesrc.c: (gst_base_src_init):
2174 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2175 * gst/gstqueue.c: (gst_queue_init):
2176 * gst/gstregistryxml.c: (load_feature):
2177 Revert all these unrefs, they don't even pass make check !
2179 2005-11-15 Johan Dahlin <johan@gnome.org>
2181 * gst/base/gstbasesrc.c: (gst_base_src_init):
2182 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2183 * gst/gstqueue.c: (gst_queue_init):
2184 Free pad templates, fixes a couple of leaks.
2186 2005-11-15 Daniel Fischer <dan at f3c dot com>
2188 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2190 * gst/gstpad.c: (gst_pad_get_property):
2191 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2192 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2195 2005-11-15 Wim Taymans <wim@fluendo.com>
2200 2005-11-15 Andy Wingo <wingo@pobox.com>
2202 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2204 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2205 using GST_CLOCK_TIME_NONE to disable base time management.
2206 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2207 time if it was NONE before.
2208 (gst_pipeline_change_state): Only munge the base time if
2209 stream_time != GST_CLOCK_TIME_NONE.
2211 * check/gst/gstpipeline.c (test_base_time): Punt around the
2212 problem of the probe not being called, because that's not the
2213 issue I'm looking at. Add a check that setting stream_time to NONE
2214 disables base time management.
2216 2005-11-15 Wim Taymans <wim@fluendo.com>
2218 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2219 segment_stop == -1 at startup.
2221 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2222 (gst_base_transform_change_state):
2223 Init segment values at start.
2225 2005-11-15 Wim Taymans <wim@fluendo.com>
2227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2228 0 segment values are 0 in any format.
2230 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2231 * gst/base/gstbasetransform.h:
2232 Parse newsegment correctly in basetransform
2234 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2235 Sync to clock using updated segment values.
2237 2005-11-15 Andy Wingo <wingo@pobox.com>
2239 * check/gst/gstpipeline.c (test_base_time): Add check that the
2240 base time and stream time are reset correctly.
2242 2005-11-15 Wim Taymans <wim@fluendo.com>
2244 * docs/design/part-TODO.txt:
2245 Some more TODO items.
2247 2005-11-15 Andy Wingo <wingo@pobox.com>
2249 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2250 error if the user selected "no clock" as the clocking method.
2252 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2253 timestamps with live capture.
2255 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2256 is 0 but we are a live source, timestamp the buffers using the
2259 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2261 * docs/gst/gstreamer-sections.txt:
2263 * gst/gstghostpad.c:
2268 2005-11-14 Wim Taymans <wim@fluendo.com>
2271 add suppressions from Wim's Debian machine
2273 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2276 add suppressions from Andy's AMD64 Ubuntu machine
2278 2005-11-14 Andy Wingo <wingo@pobox.com>
2280 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2281 STATE_LOCK not necessary. Fixes #311489.
2283 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2286 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2287 this function is not implemented.
2289 2005-11-14 Julien MOUTTE <julien@moutte.net>
2291 * gst/base/gstbasetransform.c:
2292 (gst_base_transform_prepare_output_buf):
2293 Ref the source pad caps while we need them.
2296 2005-11-11 Wim Taymans <wim@fluendo.com>
2298 * docs/gst/gstreamer-sections.txt:
2299 Added some docs for GstCollectData.
2301 * gst/base/gstadapter.c:
2302 Some small code example fix.
2304 * gst/base/gstcollectpads.c:
2305 * gst/base/gstcollectpads.h:
2308 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2310 * configure.ac: back to HEAD
2312 === release 0.9.5 ===
2314 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2317 releasing 0.9.5, "Bike Lunch Day"
2319 2005-11-11 Wim Taymans <wim@fluendo.com>
2321 * gst/gstbuffer.c: (_gst_buffer_copy):
2324 * gst/gstcaps.c: (gst_caps_is_equal):
2326 Make _is_equal fast in the trivial cases.
2328 * gst/gstminiobject.c:
2329 * gst/gstminiobject.h:
2330 More docs. Spifify .h file.
2335 2005-11-11 Wim Taymans <wim@fluendo.com>
2337 * gst/base/gstbasetransform.c:
2338 (gst_base_transform_prepare_output_buf),
2339 (gst_base_transform_handle_buffer):
2341 If we're processing a buffer and need to allocate an output
2342 buffer, we cannot accept a format change. If we did get a
2343 format change, we have to alloc a buffer ourselves of the
2346 2005-11-11 Wim Taymans <wim@fluendo.com>
2348 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2349 While checking the flag for reentrancy in the gstcaps function
2350 is nice to detect recursive invocations, it also makes it
2351 impossible to call getcaps from multiple threads, which must be
2352 possible. So, checking for recursive calls has to go.
2354 2005-11-11 Michael Smith <msmith@fluendo.com>
2356 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2357 Don't sync on buffers that fall partially outside our current
2358 segment. Prevents an assertion failure/abort playing some files.
2360 2005-11-10 Andy Wingo <wingo@pobox.com>
2362 * check/gst/gstbin.c (test_message_state_changed_children): Style
2365 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2366 gst_bus_poll with the signal watch. Ensures that poll and a signal
2367 watch see the same messages.
2369 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2370 a poll and a watch at the same time get the same messages.
2372 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2374 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2375 * gst/gstcaps.c: (gst_caps_intersect):
2376 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2377 and it's not needed.
2379 2005-11-10 Wim Taymans <wim@fluendo.com>
2381 * docs/design/part-TODO.txt:
2384 2005-11-10 Wim Taymans <wim@fluendo.com>
2386 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2387 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2388 (gst_base_src_do_sync), (gst_base_src_get_range):
2389 Implement clock sync in base class.
2391 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2393 patch by: Tim-Philipp Müller <tim at centricular dot net>
2395 * gst/gststructure.c: (gst_structure_parse_field),
2396 (gst_structure_from_string):
2397 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2398 so that gst_parse_launch() can deal with spaces in filtered link
2399 caps (fixes #164479)
2400 * check/gst/capslist.h:
2401 * check/gst/gststructure.c: (GST_START_TEST):
2402 add unit tests for this change
2404 2005-11-10 Wim Taymans <wim@fluendo.com>
2406 * docs/gst/gstreamer-sections.txt:
2409 Fix docs, move some STATE macros to private.
2411 2005-11-10 Wim Taymans <wim@fluendo.com>
2413 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2414 Added check for bug #317341
2418 Some more spiffifying.
2420 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2421 Call peer linkfunction if we are a source pad. Totally fixes
2425 Update docs, source pads should call the peer linkfunction
2426 so they can atomically perform the pad link.
2428 2005-11-09 Wim Taymans <wim@fluendo.com>
2432 Uber-spiffy-spiffify some more.
2434 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2436 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2437 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2438 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2439 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2440 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2441 * gst/gstpad.c: (gst_pad_init):
2442 Use GST_DEBUG_FUNCPTR() more extensively.
2444 2005-11-09 Wim Taymans <wim@fluendo.com>
2446 * gst/gstobject.c: (gst_object_class_init):
2448 Documentation fixes.
2450 2005-11-09 Edward Hervey <edward@fluendo.com>
2452 * gst/gsttypefindfactory.c:
2455 2005-11-09 Edward Hervey <edward@fluendo.com>
2457 * gst/base/gsttypefindhelper.c:
2458 * gst/gsttypefind.c:
2459 * gst/gsttypefind.h:
2462 2005-11-09 Wim Taymans <wim@fluendo.com>
2464 * gst/gstiterator.c:
2471 2005-11-09 Wim Taymans <wim@fluendo.com>
2477 2005-11-09 Wim Taymans <wim@fluendo.com>
2479 * docs/gst/gstreamer-sections.txt:
2480 Moved the message async delivery private lock and cond
2481 to the private section.
2487 2005-11-09 Edward Hervey <edward@fluendo.com>
2489 * docs/gst/gstreamer-sections.txt:
2492 Document GstURIHandler
2494 2005-11-09 Wim Taymans <wim@fluendo.com>
2496 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2497 (gst_iterator_find_custom):
2498 * gst/gstiterator.h:
2501 2005-11-09 Wim Taymans <wim@fluendo.com>
2504 Document another field.
2506 * gst/gststructure.c:
2507 * gst/gststructure.h:
2510 2005-11-09 Wim Taymans <wim@fluendo.com>
2515 2005-11-09 Wim Taymans <wim@fluendo.com>
2517 * docs/gst/gstreamer-sections.txt:
2518 Added some new macros.
2525 2005-11-09 Wim Taymans <wim@fluendo.com>
2527 * docs/design/part-TODO.txt:
2528 Some more items for the TODO
2534 2005-11-09 Andy Wingo <wingo@pobox.com>
2536 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2537 to work on something else now tho...
2539 * gst/base/gstadapter.c: More adapter docs.
2541 * gst/elements/gstfilesink.c (gst_file_sink_start)
2542 (gst_file_sink_stop): New functions, replace the state change
2544 (gst_file_sink_class_init): Hook up the start and stop functions.
2545 (gst_file_sink_base_init): Don't set the state change handler any
2546 more. It was a bit ugly too, being set from here...
2547 (gst_file_sink_get_property, gst_file_sink_set_property):
2549 (gst_file_sink_set_location): More robust check that doesn't call
2552 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2554 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2555 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2557 2005-11-08 Wim Taymans <wim@fluendo.com>
2559 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2560 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2561 (gst_base_sink_chain), (gst_base_sink_change_state):
2562 * gst/base/gstbasesink.h:
2563 * gst/base/gstbasesrc.h:
2566 Avoid excessive typechecking in macros.
2568 * gst/gstminiobject.c: (gst_mini_object_get_type),
2569 (gst_mini_object_init), (gst_mini_object_new),
2570 (gst_mini_object_free):
2571 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2572 (gst_object_finalize):
2573 Remove cruft code, optimize alloc_trace.
2575 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2577 * docs/faq/gst-uninstalled:
2578 fix up PS1 for systems that try to reset it
2580 2005-11-07 Wim Taymans <wim@fluendo.com>
2582 * gst/base/gstbasesrc.c: (gst_base_src_init),
2583 (gst_base_src_get_range):
2584 Set the segment_end to -1 initially. Fixed typefind.
2586 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2588 * gst/base/gstadapter.c:
2589 Debug category should be 'adapter', not 'GstAdapter'.
2591 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2592 (gst_collectpads_class_init), (gst_collectpads_init),
2593 (gst_collectpads_peek), (gst_collectpads_pop),
2594 (gst_collectpads_event), (gst_collectpads_chain):
2595 Add debug category and some debugging output. Use boilerplate
2596 macros. Remove some extraneous words from docs.
2598 2005-11-05 Andy Wingo <wingo@pobox.com>
2600 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2603 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2605 * docs/gst/gstreamer-sections.txt:
2608 * gst/gstminiobject.h:
2613 2005-11-04 Wim Taymans <wim@fluendo.com>
2615 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2616 Small update to stop at the configured segment_end
2619 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2621 * gst/gstregistry.c:
2622 * gst/gstregistry.h:
2625 2005-11-04 Edward Hervey <edward@fluendo.com>
2627 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2628 Check if we are doing a segment seek and have arrived at the
2629 end of that segment.
2631 2005-11-04 Wim Taymans <wim@fluendo.com>
2633 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2634 Don't leak a mutex unlock in case of an error.
2639 2005-11-04 Wim Taymans <wim@fluendo.com>
2641 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2643 Get the context to wake up only once.
2645 2005-11-03 Wim Taymans <wim@fluendo.com>
2647 * check/states/sinks.c: (GST_START_TEST):
2648 Uncomment fixed check.
2650 * docs/design/part-TODO.txt:
2653 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2654 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2655 (gst_base_sink_get_position):
2656 If we are going to PLAYING, post the right pending state
2657 when we post the intermediate paused message.
2659 * gst/gstelement.c: (gst_element_continue_state),
2660 (gst_element_set_state_func), (gst_element_change_state):
2661 Don't post state changes that were between the same state
2664 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2666 * docs/gst/gstreamer-sections.txt:
2669 * gst/gstminiobject.h:
2672 more docs and doc style fixes
2674 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2676 * docs/gst/gstreamer-sections.txt:
2678 * gst/gstminiobject.c:
2681 2005-11-03 Andy Wingo <wingo@pobox.com>
2683 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2684 state-changed messages actually have the right order and the right
2687 2005-11-03 Wim Taymans <wim@fluendo.com>
2689 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2690 Added some more checks. Specifically the case where NO_PREROLL
2691 elements are in the pipeline.
2693 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2694 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2695 (gst_base_sink_get_position):
2696 Post READY->PAUSED state change messages too.
2697 Fix bug where VOID was posted as pending state...
2699 * gst/gstbin.c: (gst_bin_recalc_state):
2700 use _element_continue_state() to continue the state change.
2702 * gst/gstelement.c: (gst_element_continue_state),
2703 (gst_element_commit_state), (gst_element_set_state_func),
2704 (gst_element_change_state), (gst_element_change_state_func):
2705 Lots of state change cleanups, assign the STATE_RETURN in
2706 a new continue_state() function that also propagates the
2707 last return value from a state change to the app.
2708 Update some debug statements with proper category.
2710 2005-11-03 Wim Taymans <wim@fluendo.com>
2712 * docs/design/part-events.txt:
2713 * docs/design/part-gstpipeline.txt:
2714 * docs/design/part-messages.txt:
2715 * docs/design/part-overview.txt:
2716 * docs/design/part-seeking.txt:
2717 * docs/design/part-states.txt:
2718 * docs/design/part-trickmodes.txt:
2719 * docs/manual/advanced-position.xml:
2723 People think !! is ugly, this looks better.
2725 * gst/gstpad.c: (gst_pad_set_blocked_async):
2726 Remove !! since it's fixed elsewhere now.
2728 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2730 * gst/gstminiobject.h:
2732 Add !! to _FLAG_IS_SET macros to make the result boolean.
2734 2005-11-03 Edward Hervey <edward@fluendo.com>
2736 * gst/gstpad.c: (gst_pad_set_blocked_async):
2737 comparing a flag and a gboolean rarely returns coherent results...
2738 Added two characters (!!) to make that work correctly.
2740 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2742 * gst/gstbus.c: (gst_bus_class_init):
2745 * gst/gstqueue.c: (gst_queue_loop):
2746 Don't assume a miniobject that isn't a buffer is an
2747 event (it could be that there is a refcounting
2748 problem somewhere and the pointer is stale and
2749 refers to an already destroyed miniobject).
2751 2005-11-03 Julien MOUTTE <julien@moutte.net>
2753 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2755 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2757 * docs/manual/advanced-position.xml:
2758 Update seek example and explanations to current 0.9 API.
2760 * gst/elements/gsttypefindelement.c:
2761 (gst_type_find_element_activate):
2762 Remove FIXME comment now that the found caps
2765 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2767 * gst/gstregistryxml.c: (load_feature):
2768 Add another GST_STR_NULL instance
2770 2005-11-02 Edward Hervey <edward@fluendo.com>
2772 * gst/gstpad.c: (handle_pad_block):
2773 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2775 2005-11-02 Wim Taymans <wim@fluendo.com>
2780 * gst/gstelement.c: (gst_element_commit_state):
2781 Remove unused value.
2783 * gst/gstiterator.c:
2784 Mention that the returned element is reffed in the docs.
2786 2005-11-02 Wim Taymans <wim@fluendo.com>
2788 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2789 (gst_pad_push), (gst_pad_push_event):
2790 Unlock blocked pads when they are flushed.
2792 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2795 * docs/gst/gstreamer-sections.txt:
2798 * gst/gstregistry.c: (gst_registry_scan_path_level):
2799 fix for a nasty little missed situation where an installed plug-in
2800 which was in the cache did not get overridden by an uninstalled one
2801 which was earlier in the plugin path because the newly created plugin
2802 for the uninstalled one (not in the registry) didn't get its
2803 ->registered set to TRUE
2805 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2807 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2808 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2809 (gst_collectpads_is_active), (gst_collectpads_collect),
2810 (gst_collectpads_collect_range), (gst_collectpads_start),
2811 (gst_collectpads_stop), (gst_collectpads_peek),
2812 (gst_collectpads_pop), (gst_collectpads_available),
2813 (gst_collectpads_read), (gst_collectpads_flush):
2814 Guard public API with assertions.
2817 Fix docs for gst_pad_set_link_function().
2819 2005-11-02 Johan Dahlin <johan@gnome.org>
2821 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2822 Unref found_caps after we used it.
2824 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2826 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2827 Don't try to ref NULL.
2829 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2831 * win32/common/config.h.in:
2832 provide a GST_FUNCTION that just gives a string for now
2834 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2836 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2837 (gst_object_flags_get_type), (register_gst_bin_flags),
2838 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2839 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2840 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2841 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2842 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2843 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2844 (gst_clock_flags_get_type), (register_gst_state),
2845 (gst_state_get_type), (register_gst_state_change_return),
2846 (gst_state_change_return_get_type), (register_gst_state_change),
2847 (gst_state_change_get_type), (register_gst_element_flags),
2848 (gst_element_flags_get_type), (register_gst_core_error),
2849 (gst_core_error_get_type), (register_gst_library_error),
2850 (gst_library_error_get_type), (register_gst_resource_error),
2851 (gst_resource_error_get_type), (register_gst_stream_error),
2852 (gst_stream_error_get_type), (register_gst_event_type),
2853 (gst_event_type_get_type), (register_gst_seek_type),
2854 (gst_seek_type_get_type), (register_gst_seek_flags),
2855 (gst_seek_flags_get_type), (register_gst_format),
2856 (gst_format_get_type), (register_gst_index_certainty),
2857 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2858 (gst_index_entry_type_get_type),
2859 (register_gst_index_lookup_method),
2860 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2861 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2862 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2863 (gst_index_flags_get_type), (register_gst_debug_level),
2864 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2865 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2866 (gst_iterator_result_get_type), (register_gst_iterator_item),
2867 (gst_iterator_item_get_type), (register_gst_message_type),
2868 (gst_message_type_get_type), (register_gst_mini_object_flags),
2869 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2870 (gst_pad_link_return_get_type), (register_gst_flow_return),
2871 (gst_flow_return_get_type), (register_gst_activate_mode),
2872 (gst_activate_mode_get_type), (register_gst_pad_direction),
2873 (gst_pad_direction_get_type), (register_gst_pad_flags),
2874 (gst_pad_flags_get_type), (register_gst_pad_presence),
2875 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2876 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2877 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2878 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2879 (gst_plugin_flags_get_type), (register_gst_rank),
2880 (gst_rank_get_type), (register_gst_query_type),
2881 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2882 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2883 (gst_tag_flag_get_type), (register_gst_task_state),
2884 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2885 (gst_alloc_trace_flags_get_type),
2886 (register_gst_type_find_probability),
2887 (gst_type_find_probability_get_type), (register_gst_uri_type),
2888 (gst_uri_type_get_type), (register_gst_parse_error),
2889 (gst_parse_error_get_type):
2890 * win32/common/gstversion.h:
2893 2005-11-01 Luca Ognibene <luogni@tin.it>
2896 fix docs. popt is dead, long live GOption.
2898 2005-10-31 Wim Taymans <wim@fluendo.com>
2903 2005-10-31 Andy Wingo <wingo@pobox.com>
2907 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2909 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2910 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2911 the possibility of deadlocks here if code calling notify() or
2912 set() has a lock that can be taken in another notify handler (ABBA
2913 with class lock and e.g. python GIL state lock).
2915 2005-10-28 Julien MOUTTE <julien@moutte.net>
2917 * gst/gstbus.c: Doc updates.
2919 2005-10-28 Wim Taymans <wim@fluendo.com>
2921 * docs/design/part-TODO.txt:
2922 * gst/gstiterator.c:
2923 * gst/gstsystemclock.c:
2924 * gst/gstsystemclock.h:
2927 2005-10-28 Edward Hervey <edward@fluendo.com>
2929 * docs/gst/gstreamer-docs.sgml:
2930 * docs/gst/gstreamer-sections.txt:
2931 the GstURIType documentation page is private, it only defines GstURIType
2932 which should be defined in the GstURIHandler page
2934 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2936 * gst/gstbin.c: (gst_bin_class_init):
2939 Documentation updates.
2941 2005-10-28 Wim Taymans <wim@fluendo.com>
2943 * docs/gst/gstreamer-sections.txt:
2946 Documented the clocks.
2948 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2950 * docs/gst/gstreamer-sections.txt:
2951 move some macros to private sections
2952 * gst/gstminiobject.c:
2953 * gst/gstminiobject.h:
2954 add descriptions provided by ds and some more
2956 mark macro as to be removed
2958 2005-10-28 Wim Taymans <wim@fluendo.com>
2960 * docs/design/part-TODO.txt:
2961 Add an item to TODO.
2963 * gst/gstiterator.c: (gst_iterator_fold),
2964 (gst_iterator_find_custom):
2965 * gst/gstiterator.h:
2968 2005-10-28 Wim Taymans <wim@fluendo.com>
2970 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2971 (gst_base_transform_init):
2974 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2975 An EOS event marks the queue as completely filled.
2977 2005-10-27 Wim Taymans <wim@fluendo.com>
2979 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2980 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2981 Some more debugging.
2983 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2984 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2985 (gst_base_transform_event), (gst_base_transform_getrange),
2986 (gst_base_transform_chain):
2987 * gst/base/gstbasetransform.h:
2989 Protect transform and concurrent buffer alloc with a new lock.
2990 Try not to break ABI/API.
2992 2005-10-27 Wim Taymans <wim@fluendo.com>
2994 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2995 (gst_base_src_init), (gst_base_src_query),
2996 (gst_base_src_default_newsegment),
2997 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2998 (gst_base_src_send_event), (gst_base_src_event_handler),
2999 (gst_base_src_pad_get_range), (gst_base_src_loop),
3000 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3001 (gst_base_src_start), (gst_base_src_deactivate),
3002 (gst_base_src_activate_push), (gst_base_src_change_state):
3003 Move some stuff around and cleanup things.
3005 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3007 * gst/base/gstbasesrc.c: (gst_base_src_query):
3008 Add missing break statements.
3010 2005-10-27 Wim Taymans <wim@fluendo.com>
3012 * check/gst/gstbin.c: (GST_START_TEST):
3013 An extra refcount is taken in basesrc.
3015 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3016 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3017 (gst_base_src_loop):
3018 Small cleanups, check for flushing after being unlocked from the
3019 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3020 Don't send out EOS when going to READY.
3022 2005-10-27 Wim Taymans <wim@fluendo.com>
3024 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3025 (gst_base_sink_get_position):
3028 * gst/gstbin.c: (message_check), (bin_replace_message),
3029 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3030 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3031 (bin_query_duration_init), (bin_query_duration_fold),
3032 (bin_query_duration_done), (bin_query_generic_fold),
3034 * tools/gst-launch.c: (main):
3037 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3039 * examples/controller/audio-example.c: (main):
3040 * examples/queue/queue.c: (event_loop):
3041 * gst/base/gstbasetransform.h:
3042 * gst/gstelement.c: (gst_element_send_event):
3044 * gst/gstpad.c: (gst_pad_send_event):
3047 changing log priority in error situations
3049 2005-10-25 Wim Taymans <wim@fluendo.com>
3051 * gst/gstbin.c: (message_check), (bin_replace_message),
3052 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3053 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3054 (bin_query_duration_init), (bin_query_duration_fold),
3055 (bin_query_duration_done), (bin_query_generic_fold),
3057 Some doc and debug updates.
3058 Cache previously requested query DURATION for speed. invalidate
3059 cached duration if element posts a DURATION message.
3061 2005-10-25 Wim Taymans <wim@fluendo.com>
3063 * docs/design/part-TODO.txt:
3066 * gst/gstbin.c: (message_check), (bin_replace_message),
3067 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3068 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3069 (bin_query_duration_init), (bin_query_duration_fold),
3070 (bin_query_duration_done), (bin_query_generic_fold),
3072 Handle SEGMENT_START/DONE messages correctly.
3073 More evolved query algorithm that handles duration queries
3076 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3077 (gst_element_get_state_func), (gst_element_abort_state),
3078 (gst_element_commit_state), (gst_element_lost_state):
3079 Some more debugging.
3084 2005-10-25 Wim Taymans <wim@fluendo.com>
3086 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3087 Don't use invalid stream_time.
3089 * gst/gstevent.c: (gst_event_new_newsegment):
3090 stream_time in newsegment cannot be undefined.
3092 2005-10-24 Wim Taymans <wim@fluendo.com>
3097 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3099 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3101 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3103 * docs/libs/tmpl/gstdparam.sgml:
3104 * docs/libs/tmpl/gstdplinint.sgml:
3105 * docs/libs/tmpl/gstdpman.sgml:
3106 * docs/libs/tmpl/gstdpsmooth.sgml:
3107 * docs/libs/tmpl/gstunitconvert.sgml:
3110 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3115 === release 0.9.4 ===
3117 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3120 releasing 0.9.4, "Tyrannosaurus Rex"
3122 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3124 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3125 (gst_file_sink_get_current_offset):
3126 Use fseeko() and ftello() if available. When falling back on
3127 lseek() to get the current offset, fflush() first to make sure
3128 everything is up-to-date and we get the right offset.
3130 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3133 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3134 * gst/gsterror.c: (_gst_stream_errors_init):
3136 * gst/gstqueue.c: (gst_queue_loop):
3138 remove prematurely added error category and clean up the instances
3140 2005-10-21 Wim Taymans <wim@fluendo.com>
3142 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3143 (gst_base_sink_get_position), (gst_base_sink_query),
3144 (gst_base_sink_change_state):
3145 Simply set the right flag when going to playing, that's all
3146 we need to do instead of calling a function inside the object
3147 lock (that could take the lock as well and deadlock)
3149 2005-10-21 Wim Taymans <wim@fluendo.com>
3151 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3152 (gst_base_src_loop):
3153 Don't warn, the peer element knows what to do best when
3154 the seek failed, it might try something else.
3156 2005-10-21 Wim Taymans <wim@fluendo.com>
3158 * gst/base/gstbasesrc.c: (gst_base_src_init),
3159 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3162 2005-10-21 Wim Taymans <wim@fluendo.com>
3164 * docs/design/part-segments.txt:
3167 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3168 Correctly set caps, even on the subbufer.
3170 2005-10-21 Wim Taymans <wim@fluendo.com>
3172 * docs/gst/gstreamer-docs.sgml:
3173 * docs/gst/gstreamer-sections.txt:
3180 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3184 And 2% more doc coverage.
3186 2005-10-21 Andy Wingo <wingo@pobox.com>
3188 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3191 2005-10-20 Wim Taymans <wim@fluendo.com>
3193 * gst/gsterror.c: (gst_error_get_message):
3196 * gst/gststructure.c:
3201 2005-10-20 Wim Taymans <wim@fluendo.com>
3206 Another 1% more coverage.
3208 2005-10-20 Wim Taymans <wim@fluendo.com>
3210 * docs/gst/gstreamer-sections.txt:
3211 * gst/gstelement.c: (gst_element_get_state_func),
3212 (gst_element_abort_state), (gst_element_commit_state),
3213 (gst_element_lost_state):
3215 * gst/gstquery.c: (gst_query_set_position),
3216 (gst_query_parse_position), (gst_query_set_duration),
3217 (gst_query_parse_duration), (gst_query_new_convert):
3219 Yay! 1% more docs coverage.
3221 2005-10-20 Wim Taymans <wim@fluendo.com>
3224 * gst/gstquery.c: (gst_query_set_position),
3225 (gst_query_parse_position), (gst_query_set_duration),
3226 (gst_query_parse_duration), (gst_query_new_convert):
3228 * gst/gstutils.c: (gst_element_query_convert):
3230 Docs and consistency fixes.
3232 2005-10-20 Wim Taymans <wim@fluendo.com>
3238 2005-10-20 Wim Taymans <wim@fluendo.com>
3240 * gst/gstbin.c: (message_check), (bin_replace_message),
3241 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3242 (update_degree), (gst_bin_sort_iterator_next),
3243 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3244 Reworked the message handling a bit, cache the messages instead of
3245 only the senders. alows us to do more in the future.
3247 2005-10-20 Wim Taymans <wim@fluendo.com>
3249 * docs/design/part-TODO.txt:
3252 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3253 (gst_base_sink_query):
3254 Don't use clock time to report position when in EOS.
3256 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3258 * tools/gst-inspect.c: (print_interfaces),
3259 (print_element_properties_info), (print_element_info):
3260 Fix interface output with gst-inspect -a; don't print
3261 newlines after double/float properties.
3263 2005-10-20 Wim Taymans <wim@fluendo.com>
3265 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3266 (gst_base_sink_query):
3267 Speed up current position calculation.
3269 * gst/base/gstbasesrc.c: (gst_base_src_query),
3270 (gst_base_src_default_newsegment):
3271 Correctly set stream position in newsegment.
3273 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3274 (update_degree), (gst_bin_sort_iterator_next),
3275 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3276 * gst/gstmessage.c: (gst_message_new_custom):
3277 Clean up debugging info
3279 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3280 (gst_queue_loop), (gst_queue_handle_src_query):
3283 2005-10-19 Wim Taymans <wim@fluendo.com>
3285 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3286 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3287 Fix query handling again.
3289 2005-10-19 Wim Taymans <wim@fluendo.com>
3291 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3292 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3293 * gst/base/gstbasesrc.c: (gst_base_src_query):
3294 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3295 * gst/elements/gsttypefindelement.c:
3296 (gst_type_find_handle_src_query), (find_element_get_length),
3297 (gst_type_find_element_activate):
3300 * gst/gstquery.c: (gst_query_new_position),
3301 (gst_query_set_position), (gst_query_parse_position),
3302 (gst_query_new_duration), (gst_query_set_duration),
3303 (gst_query_parse_duration), (gst_query_set_segment),
3304 (gst_query_parse_segment):
3306 Bundling query position/duration is not a good idea since duration
3307 does not change much and we don't want to recalculate it for every
3308 position query, so they are separated again..
3309 Base value in segment query is not needed.
3311 * gst/gstqueue.c: (gst_queue_handle_src_query):
3312 * gst/gstutils.c: (gst_element_query_position),
3313 (gst_element_query_duration), (gst_pad_query_position),
3314 (gst_pad_query_duration):
3316 Updates for query API change.
3317 Added some docs here and there.
3319 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3321 * check/gst/gstbin.c: (GST_START_TEST):
3322 * check/gst/gstghostpad.c: (GST_START_TEST):
3323 * check/pipelines/cleanup.c: (GST_START_TEST):
3324 wait on thread to die so we can check refcount correctly
3326 2005-10-18 Wim Taymans <wim@fluendo.com>
3328 * check/pipelines/stress.c: (GST_START_TEST):
3329 Make check a little more time consuming.
3331 2005-10-18 Wim Taymans <wim@fluendo.com>
3333 * check/Makefile.am:
3334 * check/pipelines/stress.c: (GST_START_TEST),
3335 (simple_launch_lines_suite), (main):
3336 Small state change torture test.
3338 * docs/design/part-states.txt:
3339 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3340 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3341 (gst_base_sink_change_state):
3342 Never take state lock from streaming thread, clean up ugly
3343 hacks. Unfortunatly core does not yet support nice ways to
3346 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3348 Start state recalc if a STATE_DIRTY message is posted, but only
3349 on the toplevel bin.
3351 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3352 (gst_element_get_state_func), (gst_element_abort_state),
3353 (gst_element_commit_state), (gst_element_lost_state),
3354 (gst_element_set_state_func), (gst_element_change_state):
3356 State variables are now protected with the LOCK, the state
3357 lock is only used to serialize _set_state().
3359 2005-10-18 Wim Taymans <wim@fluendo.com>
3361 * check/gst/gstbin.c: (GST_START_TEST):
3362 * check/gst/gstmessage.c: (GST_START_TEST):
3363 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3364 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3366 * gst/gstelement.c: (gst_element_abort_state),
3367 (gst_element_commit_state), (gst_element_lost_state):
3368 * gst/gstmessage.c: (gst_message_new_state_changed),
3369 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3370 (gst_message_new_segment_done), (gst_message_new_duration),
3371 (gst_message_parse_state_changed),
3372 (gst_message_parse_segment_start),
3373 (gst_message_parse_segment_done), (gst_message_parse_duration):
3375 * tools/gst-launch.c: (event_loop):
3376 Seriously, this is better than a previous commit as we only need
3377 to notify the fact that an element changed state in a streaming
3378 thread, marking the state of the parents dirty, hence the
3379 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3382 2005-10-18 Wim Taymans <wim@fluendo.com>
3384 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3385 (gst_bin_recalc_func):
3386 * gst/gstelement.c: (gst_element_set_clock),
3387 (gst_element_abort_state), (gst_element_lost_state):
3388 Cleanups, prepare for state change fixes.
3390 2005-10-18 Wim Taymans <wim@fluendo.com>
3393 * gst/gstelement.c: (gst_element_class_init),
3394 (gst_element_set_state), (gst_element_set_state_func):
3396 Pending ABI changes.
3397 GThreadPool in GstBinClass to monitor async state changes.
3398 state_cookie in GstElement to detect concurrent gst/set state.
3399 set_state is now virtual too in case a very complicated element
3400 has to be constructed.
3402 2005-10-18 Wim Taymans <wim@fluendo.com>
3404 * check/gst/gstbin.c: (GST_START_TEST):
3405 * check/gst/gstmessage.c: (GST_START_TEST):
3406 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3407 * gst/gstbin.c: (bin_bus_handler):
3408 * gst/gstelement.c: (gst_element_commit_state),
3409 (gst_element_lost_state):
3410 * gst/gstmessage.c: (gst_message_new_state_changed),
3411 (gst_message_new_segment_start), (gst_message_new_segment_done),
3412 (gst_message_new_duration), (gst_message_parse_state_changed),
3413 (gst_message_parse_segment_start),
3414 (gst_message_parse_segment_done), (gst_message_parse_duration):
3416 * tools/gst-launch.c: (event_loop):
3417 Make messages future proof.
3418 state-change gets a flag if it was a message comming from the
3420 segment-start/stop can also be specified in other formats.
3421 A message to notify an app that a pipeline changed playback
3423 Also fix a GstMessage leak in -launch
3425 2005-10-18 Andy Wingo <wingo@pobox.com>
3427 * gst/gstelement.c (gst_element_dispose): More helpful message.
3429 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3431 reviewed by: <delete if not using a buddy>
3433 * common/gtk-doc.mak:
3435 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3437 * gst/gstregistry.c: (gst_registry_scan_path_level):
3438 unref a plug-in we get that was already initialized
3440 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3442 * docs/gst/gstreamer-sections.txt:
3443 * docs/libs/gstreamer-libs-sections.txt:
3448 2005-10-17 Andy Wingo <wingo@pobox.com>
3450 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3453 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3455 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3457 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3458 (gst_element_get_state_func): Better debug message.
3459 (gst_element_commit_state): s/INFO/DEBUG/.
3460 (gst_element_lost_state, gst_element_change_state):
3462 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3463 (gst_message_new_custom): s/INFO/LOG/.
3465 2005-10-17 Michael Smith <msmith@fluendo.com>
3467 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3468 Check if end time is valid using end time, not start time.
3470 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3472 * check/gst-libs/controller.c: (GST_START_TEST),
3473 (gst_controller_suite):
3474 * libs/gst/controller/gstcontroller.c:
3475 (gst_controlled_property_set_interpolation_mode):
3476 * libs/gst/controller/gstcontroller.h:
3477 * libs/gst/controller/gstinterpolation.c:
3478 * testsuite/controller/.cvsignore:
3479 * testsuite/controller/Makefile.am:
3480 * testsuite/controller/interpolator.c:
3481 merge controller testsuites
3483 remove mem-chunk from docs
3485 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3487 * gst/gstmemchunk.c:
3488 * gst/gstmemchunk.h:
3489 * gst/gsttrashstack.c:
3490 * gst/gsttrashstack.h:
3491 out. get out. you're fired. to the Attic !
3493 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3495 * gst/gstcaps.c: (gst_caps_intersect):
3496 fix signedness issues in a (hopefully) correct way
3497 * gst/gstelement.c: (gst_element_pads_activate):
3499 * gst/gstobject.c: (gst_object_set_parent):
3502 2005-10-17 Julien MOUTTE <julien@moutte.net>
3504 * gst/gstvalue.h: Fix prototypes.
3506 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3508 * docs/gst/gstreamer-sections.txt:
3509 * gst/gst.c: (gst_version_string):
3511 * gst/gstversion.h.in:
3512 * win32/common/libgstreamer.def:
3513 add gst_version_string ()
3515 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3519 * gst/gst.c: (init_post):
3520 * win32/common/config.h.in:
3522 * gst/gstcaps.c: (gst_caps_intersect):
3523 use gint64, the range could be bigger than a guint
3525 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3528 document potential problem in 2038
3530 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3532 * gst/gstcaps.c: (gst_caps_intersect):
3533 Fix guint j diving under 0
3535 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3538 * win32/common/config.h:
3539 * win32/common/config.h.in:
3540 check for process.h, declares getpid() on Windows
3542 include process.h if we have it
3543 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3544 * gst/gstmemchunk.h:
3545 fix signedness issues
3546 * win32/common/libgstreamer.def:
3549 2005-10-16 Julien MOUTTE <julien@moutte.net>
3551 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3552 fix. Because of unsigned ints, caps intersection was going nuts and
3553 trying to access structures with G_MAXUINT index. That fixes
3554 videotestsrc ! ffmpegcolorspace ! fakesink
3555 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3558 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3561 use the gettext macro
3562 * gst/elements/gstelements.c:
3564 * gst/indexers/gstindexers.c:
3565 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3566 * win32/common/config.h:
3568 * win32/common/config.h.in:
3569 add the template to generate config.h
3570 * win32/common/gstenumtypes.c:
3571 * win32/common/gstversion.h:
3574 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3576 * gst/gst.c: (gst_version):
3577 * gst/gstversion.h.in:
3580 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3583 Oops, add missing closing bracket.
3585 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3588 use common m4's for argument checking
3590 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3592 * docs/gst/gstreamer-sections.txt:
3594 Add GST_EVENT_TYPE_NAME() macro.
3596 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3599 * gst/gstpluginfeature.c:
3601 privatize more symbols
3603 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3606 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3607 everything that uses GStreamer API should have the includes
3609 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3611 * docs/gst/gstreamer-sections.txt:
3612 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3614 give each value a _get_type, removes the DATA exports
3616 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3620 remove _gst_registry_auto_load, not used anymore
3621 * gst/gstbin.c: (gst_bin_get_type):
3623 * gst/gstelement.c: (gst_element_get_type):
3625 * gst/gstobject.c: (gst_object_get_type):
3627 * gst/gstpad.c: (gst_pad_get_type):
3629 make _get_type functions similar, fixes data export from library
3631 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3634 correctly make conditionals
3635 * gst/elements/Makefile.am:
3636 * gst/elements/gstelements.c:
3637 fix typo causing fdsrc not to build
3639 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3641 * testsuite/Makefile.am:
3642 * testsuite/bytestream/.cvsignore:
3643 * testsuite/bytestream/Makefile.am:
3644 * testsuite/bytestream/filepadsink.c:
3645 * testsuite/bytestream/gstbstest.c:
3646 * testsuite/bytestream/test1.c:
3647 * testsuite/bytestream/testfile1:
3648 * testsuite/caps/normalisation.c:
3649 * testsuite/caps/random.c: (main):
3650 * testsuite/cleanup/.cvsignore:
3651 * testsuite/cleanup/Makefile.am:
3652 * testsuite/cleanup/cleanup1.c:
3653 * testsuite/cleanup/cleanup2.c:
3654 * testsuite/cleanup/cleanup3.c:
3655 * testsuite/cleanup/cleanup4.c:
3656 * testsuite/cleanup/cleanup5.c:
3657 * testsuite/controller/interpolator.c:
3658 * testsuite/debug/printf_extension.c: (main):
3659 * testsuite/elements/tee.c:
3660 * testsuite/negotiation/.cvsignore:
3661 * testsuite/negotiation/Makefile.am:
3662 * testsuite/negotiation/pad_link.c:
3663 * testsuite/pad/Makefile.am:
3664 * testsuite/pad/chainnopull.c:
3665 * testsuite/pad/getnopush.c:
3666 * testsuite/pad/link.c:
3667 * testsuite/refcounting/sched.c: (create_pipeline):
3668 * testsuite/registry/Makefile.am:
3669 * testsuite/registry/gst-print-formats.c:
3670 * testsuite/schedulers/.cvsignore:
3671 * testsuite/schedulers/142183-2.c:
3672 * testsuite/schedulers/142183.c:
3673 * testsuite/schedulers/143777-2.c:
3674 * testsuite/schedulers/143777.c:
3675 * testsuite/schedulers/147713.c:
3676 * testsuite/schedulers/147819.c:
3677 * testsuite/schedulers/147894-2.c:
3678 * testsuite/schedulers/147894.c:
3679 * testsuite/schedulers/Makefile.am:
3680 * testsuite/schedulers/group_link.c:
3681 * testsuite/schedulers/queue_link.c:
3682 * testsuite/schedulers/relink.c:
3683 * testsuite/schedulers/unlink.c:
3684 * testsuite/schedulers/unref.c:
3685 * testsuite/schedulers/useless_iteration.c:
3686 * testsuite/states/bin.c:
3687 clean out/remove some stuff from the testsuite directories
3689 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3692 check for some headers
3693 * gst/elements/Makefile.am:
3694 * gst/elements/gstelements.c:
3695 don't compile fdsrc without sys/socket.h
3696 * gst/indexers/Makefile.am:
3697 * gst/indexers/gstindexers.c: (plugin_init):
3698 don't compile fileindex without mmap
3700 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3707 * check/Makefile.am:
3708 * docs/gst/Makefile.am:
3709 * examples/helloworld/Makefile.am:
3711 * gst/base/Makefile.am:
3712 * gst/check/Makefile.am:
3713 * gst/elements/Makefile.am:
3714 * gst/indexers/Makefile.am:
3715 * gst/parse/Makefile.am:
3716 * libs/gst/controller/Makefile.am:
3717 * libs/gst/dataprotocol/Makefile.am:
3718 * examples/helloworld/helloworld.c: (event_loop):
3719 compile fixes, though it's not being compiled currently
3721 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3723 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3724 Add some simple tests for the new taglist date API.
3726 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3728 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3729 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3730 Beautify 'last-message' output: print 'none' for buffer timestamps
3731 and durations if none is set; improve alignment with next messages.
3733 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3735 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3736 * gst/gstpluginfeature.h:
3737 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3738 * gst/gstregistry.h:
3739 * docs/gst/gstreamer-sections.txt:
3740 Add new API to check plugin feature version requirements.
3742 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3743 Some basic tests for the above.
3745 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3747 * gst/gststructure.c: (gst_structure_to_string):
3748 guard against NULL printf - happens when for example
3749 a message structure with GstClock gets serialized
3751 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3753 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3754 Fix presumable copy'n'pasto.
3756 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3758 * gst/elements/gstfakesrc.h:
3759 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3760 * gst/elements/gsttypefindelement.c:
3762 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3763 I wonder if this could actually write +2GB files before
3765 2005-10-13 Andy Wingo <wingo@pobox.com>
3767 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3768 Fix Timmeke Waymans bug.
3769 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3770 string of the proper length to gst_caps_from_string. There's a
3771 potential for, before this fix, that this could cause someone
3772 connecting over the network to cause a segfault if the payload is
3775 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3777 * docs/design/draft-push-pull.txt:
3778 * docs/design/part-overview.txt:
3779 * docs/random/TODO-pre-0.9:
3780 * docs/random/old/ChangeLog.gstreamer:
3781 * gst/base/gstpushsrc.c:
3785 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3787 * gst/glib-compat.c: (gst_flags_get_first_value):
3788 * gst/glib-compat.h:
3789 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3790 (gst_value_compare_double), (gst_value_serialize_flags):
3791 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3794 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3797 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3799 * tools/gst-launch.c: (event_loop):
3800 print out clock nicely
3802 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3804 * docs/gst/gstreamer-sections.txt:
3806 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3807 (gst_tag_list_get_date_index):
3808 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3809 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3811 2005-10-13 Julien MOUTTE <julien@moutte.net>
3813 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3814 (gst_collectpads_chain):
3815 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3818 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3820 * docs/gst/gstreamer-sections.txt:
3823 * tools/gst-inspect.c: (main):
3824 * tools/gst-launch.c: (main):
3825 * tools/gst-run.c: (main):
3826 * tools/gst-xmlinspect.c: (main):
3827 fix GOption context leaks
3830 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3834 * win32/common/config.h:
3836 * win32/vs6/grammar.dsp:
3837 * win32/vs6/libgstelements.dsp:
3838 * win32/vs6/libgstreamer.dsp:
3841 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3844 * gst/base/gstbasesrc.c: (gst_base_src_query):
3845 fix more guint64<->gdouble conversions
3847 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3850 add win32-update target
3851 * win32/common/gstconfig.h:
3852 * win32/common/gstenumtypes.c:
3853 * win32/common/gstenumtypes.h:
3854 * win32/common/gstversion.h:
3855 add files that visual studio can't generate
3857 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3860 add a win32-update target
3863 2005-10-12 Wim Taymans <wim@fluendo.com>
3865 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3866 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3867 * gst/gstelement.c: (gst_element_commit_state),
3868 (gst_element_set_state):
3869 Protect flags with proper lock.
3870 unref provided cached clock in dispose.
3872 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3875 * gst/gstminiobject.h:
3877 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3878 removed unused flags from miniobject
3881 2005-10-12 Wim Taymans <wim@fluendo.com>
3883 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3884 (gst_file_sink_event), (gst_file_sink_render):
3885 Flush before seeking.
3887 2005-10-12 Andy Wingo <wingo@pobox.com>
3889 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3890 always been the case.
3892 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3894 * check/gst/gstbin.c: (GST_START_TEST):
3895 * docs/gst/gstreamer-sections.txt:
3896 * gst/base/gstbasesink.c: (gst_base_sink_init):
3897 * gst/base/gstbasesrc.c: (gst_base_src_init),
3898 (gst_base_src_get_range), (gst_base_src_check_get_range),
3899 (gst_base_src_start), (gst_base_src_stop):
3900 * gst/base/gstbasesrc.h:
3901 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3902 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3903 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3907 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3909 * gst/gstelement.c: (gst_element_is_locked_state),
3910 (gst_element_set_locked_state), (gst_element_commit_state),
3911 (gst_element_set_state):
3913 * gst/gstindex.c: (gst_index_init):
3915 * gst/gstminiobject.h:
3916 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3917 (gst_object_set_parent):
3919 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3920 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3922 * gst/gstpadtemplate.h:
3923 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3924 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3925 * gst/gstpipeline.h:
3926 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3927 (gst_file_index_commit):
3928 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3929 * testsuite/pad/link.c: (gst_test_src_init),
3930 (gst_test_filter_init), (gst_test_sink_init):
3931 * testsuite/states/locked.c: (main):
3932 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3933 moved bitshift from macro to enum definition
3935 2005-10-12 Wim Taymans <wim@fluendo.com>
3937 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3938 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3939 (gst_file_sink_render):
3940 Some more debugging info.
3942 2005-10-12 Wim Taymans <wim@fluendo.com>
3944 * docs/design/part-states.txt:
3945 * tools/gst-launch.c: (main):
3947 Revert non-intentional change.
3949 2005-10-12 Wim Taymans <wim@fluendo.com>
3951 * check/gst/gstbin.c: (GST_START_TEST):
3952 * check/gst/gstelement.c: (GST_START_TEST):
3953 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3954 * check/gst/gstghostpad.c: (GST_START_TEST):
3955 * check/gst/gstpipeline.c: (GST_START_TEST):
3956 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3957 * check/states/sinks.c: (GST_START_TEST):
3958 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3959 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3960 (gst_bin_remove_func), (gst_bin_get_state_func),
3961 (gst_bin_recalc_state), (gst_bin_change_state_func),
3963 * gst/gstelement.c: (gst_element_get_state_func),
3964 (gst_element_get_state), (gst_element_abort_state),
3965 (gst_element_commit_state), (gst_element_set_state),
3966 (gst_element_change_state), (gst_element_change_state_func):
3968 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3969 (gst_pipeline_provide_clock_func):
3970 * gst/gstutils.c: (gst_element_link_pads_filtered):
3971 * tools/gst-launch.c: (main):
3972 * tools/gst-typefind.c: (main):
3973 Use GstClockTime in _get_state() instead of GTimeVal.
3974 Remove old code in gstutils.c
3976 2005-10-12 Andy Wingo <wingo@pobox.com>
3978 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3981 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3982 there is no task. Shouldn't affect any code, as nothing in our
3983 plugins checks this return value.
3984 (gst_pad_stop_task): Also take the stream lock if the pad has no
3987 2005-10-12 Wim Taymans <wim@fluendo.com>
3989 * gst/gstpad.c: (pre_activate), (post_activate),
3990 (gst_pad_activate_pull), (gst_pad_activate_push):
3991 Cleanup activation code. Reset old state if
3994 2005-10-12 Wim Taymans <wim@fluendo.com>
3996 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3997 (gst_base_sink_change_state):
3998 No need to prerol after receiving EOS.
4000 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4001 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4002 * gst/elements/gstidentity.c: (gst_identity_event):
4003 Print events more verbosely.
4005 2005-10-12 Wim Taymans <wim@fluendo.com>
4007 * check/Makefile.am:
4008 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4009 * check/states/sinks2.c:
4010 Moved sinks2 testcode in sinks check.
4012 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4013 (gst_bin_remove_func), (gst_bin_recalc_state),
4014 (gst_bin_change_state_func), (bin_bus_handler):
4015 Fix potential race condition when _get_state() iterated over an
4016 ASYNC element right before it posted a state completion.
4019 Do proper cast here.
4021 * gst/gstevent.c: (gst_event_new_newsegment),
4022 (gst_event_parse_newsegment):
4023 A playback rate of 0.0 is not allowed.
4025 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4027 * win32/common/config.h:
4028 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4029 (_trewinddir), (_ttelldir), (_tseekdir):
4030 * win32/common/dirent.h:
4031 * win32/common/gtchar.h:
4032 * win32/common/libgstbase.def:
4033 * win32/common/libgstreamer.def:
4034 * win32/vs6/grammar.dsp:
4035 * win32/vs6/gst_inspect.dsp:
4036 * win32/vs6/gst_launch.dsp:
4037 * win32/vs6/gstreamer.dsw:
4038 * win32/vs6/libgstbase.dsp:
4039 * win32/vs6/libgstelements.dsp:
4040 * win32/vs6/libgstreamer.dsp:
4041 Visual Studio 6 project files, and a new common directory.
4044 2005-10-11 Wim Taymans <wim@fluendo.com>
4046 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4047 (gst_base_sink_do_sync), (gst_base_sink_query),
4048 (gst_base_sink_change_state):
4049 * gst/base/gstbasesink.h:
4050 Correctly parse newsegment info.
4052 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4054 * gst/gst.c: (init_post):
4055 split plugin paths correctly
4057 2005-10-11 Wim Taymans <wim@fluendo.com>
4059 * check/gst/gstevent.c: (GST_START_TEST):
4060 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4061 (gst_base_sink_change_state):
4062 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4063 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4064 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4065 * gst/gstevent.c: (gst_event_new_newsegment),
4066 (gst_event_parse_newsegment):
4068 Added extra flag to newsegment for future API freeze.
4069 Updated check and base elements.
4071 2005-10-11 Julien MOUTTE <julien@moutte.net>
4073 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4074 (gst_collectpads_add_pad), (gst_collectpads_pop),
4075 (gst_collectpads_event), (gst_collectpads_chain):
4076 * gst/base/gstcollectpads.h: Handle EOS correctly.
4078 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4080 * tools/gst-launch.c: (main):
4081 more null protecting
4083 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4085 * gst/gst-i18n-lib.h:
4086 check for ENABLE_NLS, not GETTEXT_PACKAGE
4087 * gst/gstregistry.c: (gst_registry_add_plugin),
4088 (gst_registry_scan_path_level),
4089 (_gst_registry_remove_cache_plugins):
4090 protect possibly NULL strings
4091 * gst/parse/types.h:
4092 config.h already included before
4093 * tools/gst-inspect.c: (main):
4094 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4095 check for ENABLE_NLS, not GETTEXT_PACKAGE
4096 * tools/gst-launch.c: (main):
4097 check for ENABLE_NLS, not GETTEXT_PACKAGE
4099 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4102 if we don't have glib, fail before testing 2.8
4103 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4104 fix a leak, should fix plugins-base testsuite
4106 2005-10-11 Andy Wingo <wingo@pobox.com>
4108 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4109 take the mode we're going to as an arg. Go head and set the mode
4110 and flushing flags now, so that if the activate function starts a
4111 thread all the flags will be in the right state.
4112 (post_activate): Renamed also. Just handle making sure streaming
4113 finishes for the deactivation case, and setting the deactivated
4115 (gst_pad_set_active): Complain loudly if deactivation fails.
4116 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4117 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4118 remove the terrible hack.
4120 2005-10-11 Wim Taymans <wim@fluendo.com>
4122 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4123 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4124 (gst_bin_recalc_state), (gst_bin_change_state_func),
4125 (gst_bin_dispose), (bin_bus_handler):
4127 Prepare to make current EOS message queue more generic.
4130 * gst/gstevent.c: (gst_event_new_newsegment),
4131 (gst_event_parse_newsegment):
4133 Rename base to stream_time.
4138 2005-10-11 Wim Taymans <wim@fluendo.com>
4140 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4141 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4142 (gst_bin_change_state_func), (bin_bus_handler):
4144 Work on proper clock selection.
4146 2005-10-11 Edward Hervey <edward@fluendo.com>
4148 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4149 * libs/gst/controller/gstcontroller.h:
4150 Added GList* version of _remove_properties() in order to be able to wrap
4153 2005-10-11 Wim Taymans <wim@fluendo.com>
4155 * docs/design/part-states.txt:
4158 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4159 (gst_bin_change_state_func), (bin_bus_handler):
4160 Doc updates. Don't distribute the same clock over and over again.
4166 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4167 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4168 (gst_pad_send_event):
4170 Make probe emission threadsafe again.
4171 Register quarks and move _get_name() from utils.
4174 * gst/gstpipeline.c: (gst_pipeline_class_init),
4175 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4176 Only redistribute the clock of it changed.
4178 * gst/gstsystemclock.h:
4183 Moved the _flow_get_name() to GstPad.
4185 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4187 * check/gst-libs/gdp.c: (GST_START_TEST):
4188 * check/gst/gstcaps.c: (GST_START_TEST):
4189 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4190 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4191 (gst_dp_packet_from_caps):
4192 fix more valgrind warnings before turning up the heat
4194 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4196 * gst/parse/grammar.y:
4197 some cleanup before the hacking
4199 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4201 * gst/base/gstbasesrc.c: (gst_base_src_query):
4203 * gst/gstutils.c: (gst_guint64_to_gdouble),
4204 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4206 externalize, basesrc uses it
4207 obviously the implementation needs testing
4209 2005-10-10 Wim Taymans <wim@fluendo.com>
4211 * tests/sched/Makefile.am:
4212 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4213 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4215 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4217 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4218 apparently converting from guint64 to double is not implemented
4221 2005-10-10 Wim Taymans <wim@fluendo.com>
4223 * check/Makefile.am:
4224 * check/generic/states.c: (GST_START_TEST):
4225 * check/gst/gstbin.c: (GST_START_TEST):
4226 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4227 * check/states/sinks.c: (GST_START_TEST):
4228 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4230 Check fixes, use API as stated in design docs, remove hacks.
4232 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4233 (gst_base_sink_change_state):
4234 Catch stopping our task while we're shutting down.
4236 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4237 (gst_bin_remove_func), (gst_bin_get_state_func),
4238 (gst_bin_recalc_state), (gst_bin_change_state_func),
4241 * gst/gstelement.c: (gst_element_init),
4242 (gst_element_get_state_func), (gst_element_abort_state),
4243 (gst_element_commit_state), (gst_element_lost_state),
4244 (gst_element_set_state), (gst_element_change_state),
4245 (gst_element_change_state_func):
4247 New state change algorithm (see #318116)
4249 * gst/gstpipeline.c: (gst_pipeline_class_init),
4250 (gst_pipeline_init), (gst_pipeline_set_property),
4251 (gst_pipeline_get_property), (do_pipeline_seek),
4252 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4253 * gst/gstpipeline.h:
4254 Remove crude state change hacks.
4259 * tools/gst-launch.c: (main):
4260 Fixes for state change. Needs some more work to fully use the
4263 2005-10-10 Andy Wingo <wingo@pobox.com>
4265 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4267 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4268 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4271 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4273 * gst/gstiterator.c: (gst_iterator_new):
4274 Fix my previous commit: GTypes passed to gst_iterator_new()
4275 can be fundamental types.
4277 2005-10-10 Wim Taymans <wim@fluendo.com>
4279 * gst/gstelement.c: (gst_element_iterate_pad_list),
4280 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4281 (gst_element_iterate_sink_pads):
4282 Use src/sink pads lists for the respective iterators instead
4285 2005-10-10 Andy Wingo <wingo@pobox.com>
4287 Merged in popt removal + GOption addition patch from Ronald, bug
4290 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4291 GstElement macros around, remove popt-related symbols, add goption
4294 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4296 * docs/gst/Makefile.am:
4297 * docs/libs/Makefile.am: No POPT_CFLAGS.
4299 * examples/manual/Makefile.am:
4300 * docs/manual/basics-init.xml: Doc updates with an example.
4302 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4303 (gst_init), (parse_one_option), (parse_goption_arg):
4304 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4305 bit of hand merging and debugging to get the GOption stuff working
4308 * tests/Makefile.am:
4309 * tools/Makefile.am:
4310 * tools/gst-inspect.c: (main):
4311 * tools/gst-launch.c: (main):
4312 * tools/gst-run.c: (main):
4313 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4315 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4317 * gst/gstiterator.c: (gst_iterator_new):
4318 Add assertions to make sure passed GType is likely to really
4319 be a GType (as the compiler won't catch it if the size and
4320 GType arguments get mixed up, see #318447).
4322 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4324 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4326 * gst/gstbin.c: (gst_bin_iterate_sorted):
4327 Pass GType and size arguments to gst_iterator_new() in the right
4328 order (maybe we should make _new() take the GType as first argument
4329 just like _new_list()?) (#318447).
4332 2005-10-10 Wim Taymans <wim@fluendo.com>
4334 * gst/gstelement.c: (gst_element_finalize):
4335 And free the GStaticRecMutex too
4337 2005-10-10 Andy Wingo <wingo@pobox.com>
4339 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4340 Allocate and free the mutex properly.
4342 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4344 (GstElement): The state_lock is now recursive. Rebuild your
4345 plugins, suckers. Old macros adapted.
4347 * docs/gst/gstreamer-sections.txt: Doc updates.
4350 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4351 (g_static_rec_cond_wait): Ported from state changes patch, while
4352 we wait on bug #317802 to be solved in a well-distributed GLib.
4354 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4355 gst_element_change_state, variable name changes.
4356 (gst_element_change_state): Split out of gst_element_set_state in
4357 preparation for the state change merge. Doesn't pay attention to
4358 the 'transition' argument.
4359 (gst_element_set_state): Updates, hopefully purely cosmetic.
4360 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4362 (gst_element_get_state_func): Renamed from get_state, cosmetic
4365 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4367 * gst/elements/gstelements.c:
4368 * win32/GStreamer.vcproj:
4370 * win32/dirent.c: (_tseekdir):
4371 * win32/gst-inspect.vcproj:
4372 * win32/gst-launch.vcproj:
4373 * win32/gstconfig.h:
4374 * win32/gstelements.vcproj:
4375 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4376 * win32/gstreamer.def:
4378 updates for the win32 build (patch from Sebastien Moutte)
4380 2005-10-10 Andy Wingo <wingo@pobox.com>
4382 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4383 gst_bin_get_state, cleaned up (but no logic changes).
4384 (bin_element_is_sink): Comment updates.
4385 (sink_iterator_filter): Remove needless cast.
4386 (gst_bin_iterate_sinks): Doc update.
4387 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4388 cleaned up (but no logic changes).
4390 * check/states/sinks.c (test_src_sink): Cleanups from the state
4392 (test_livesrc_sink): Sync on the state.
4394 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4395 the state change patch.
4397 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4400 * check/gst/gstbin.c: Merge in some style fixes and additional
4401 checks from Wim's state change patch.
4403 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4405 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4406 (gst_type_find_helper):
4407 Check whether we have the requested data already in our list of
4408 cached buffers before pulling a new buffer; also make the buffer
4409 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4411 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4416 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4417 don't use long long, it's not portable. Replacing with
4418 gint64 seems to work; let's hope no skeletons fall out of the closet.
4420 2005-10-10 Andy Wingo <wingo@pobox.com>
4422 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4424 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4426 * docs/gst/gstreamer-sections.txt:
4431 * gst/gstmessage.c: (gst_message_parse_state_changed):
4434 more docs, fix compilation
4436 2005-10-09 Philippe Khalaf <burger@speedy.org>
4438 Fixed a few forgotten variables on previous commit
4440 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4442 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4443 Fix evil typefind crasher: getrange() might return a short
4444 buffer at the end of a file, but gst_type_find_peek() must
4445 either return the full data as requested or NULL, but
4446 never a short buffer.
4448 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4450 * gst/gstmessage.c: (gst_message_new_state_changed),
4451 (gst_message_parse_state_changed):
4453 don't use "new", it's a C++ keyword
4455 2005-10-08 Wim Taymans <wim@fluendo.com>
4457 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4458 * gst/gstelement.c: (gst_element_post_message):
4459 * gst/gstpipeline.c: (gst_pipeline_change_state):
4460 Small docs and debug updates.
4462 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4464 * docs/gst/gstreamer-sections.txt:
4465 * gst/gstelementfactory.c:
4470 2005-10-08 Wim Taymans <wim@fluendo.com>
4472 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4473 (gst_bin_dispose), (bin_bus_handler):
4474 Fix typos, add comments.
4475 Clear EOS list when going to PAUSED from any direction and do it
4476 in a threadsafe way.
4477 Get base time in a threadsafe way too.
4478 Fix confusing debug in the change_state function.
4479 Various other small cleanups.
4481 * gst/gstelement.c: (gst_element_post_message):
4482 Fix very verbose bus posting code.
4484 * gst/gstpipeline.c: (gst_pipeline_class_init),
4485 (gst_pipeline_set_property), (gst_pipeline_get_property),
4486 (gst_pipeline_change_state):
4487 Small ARG_ -> PROP_ cleanup
4489 2005-10-08 Wim Taymans <wim@fluendo.com>
4491 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4492 Do a less CPU demanding EOS check because we can.
4494 2005-10-08 Wim Taymans <wim@fluendo.com>
4496 * libs/gst/dataprotocol/dataprotocol.c:
4497 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4498 (gst_dp_packet_from_event):
4499 * libs/gst/dataprotocol/dataprotocol.h:
4500 * libs/gst/dataprotocol/dp-private.h:
4501 It's about time we bump the version number.
4502 Since event types don't fit in the guint8 anymore describing
4503 the payload type, make payload type 16 bits wide.
4505 2005-10-08 Wim Taymans <wim@fluendo.com>
4507 * docs/design/part-TODO.txt:
4508 * docs/design/part-clocks.txt:
4509 * docs/design/part-events.txt:
4510 * docs/design/part-gstbin.txt:
4511 * docs/design/part-gstelement.txt:
4512 * docs/design/part-gstpipeline.txt:
4513 * docs/design/part-live-source.txt:
4514 * docs/design/part-messages.txt:
4515 * docs/design/part-overview.txt:
4516 * docs/design/part-states.txt:
4519 2005-10-08 Wim Taymans <wim@fluendo.com>
4523 Fix event quark registration.
4524 Add some space between events so we can insert them in the
4527 2005-10-08 Wim Taymans <wim@fluendo.com>
4529 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4530 (gst_base_sink_handle_buffer):
4537 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4538 (gst_queue_set_property), (gst_queue_get_property):
4540 Remove old unused properties.
4542 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4543 * docs/gst/gstreamer-sections.txt:
4546 * gst/gstminiobject.c:
4547 * gst/gstminiobject.h:
4551 lots of new docs and doc fixes
4553 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4555 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4557 * gst/gstregistry.c: (gst_registry_lookup_locked),
4558 (gst_registry_scan_path_level):
4559 * gst/gstregistryxml.c: (load_plugin):
4560 Only ever load one plugin for a given plugin basename.
4561 This ensures correct overriding of GST_PLUGIN_PATH over
4562 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4563 system installed plugins.
4565 2005-10-08 Wim Taymans <wim@fluendo.com>
4567 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4568 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4569 Prepare for doing QOS.
4571 2005-10-08 Wim Taymans <wim@fluendo.com>
4573 * check/gst/gstbin.c: (GST_START_TEST):
4574 * check/pipelines/cleanup.c: (GST_START_TEST):
4575 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4576 Allow new clock message too.
4578 2005-10-08 Wim Taymans <wim@fluendo.com>
4580 * gst/gstmessage.c: (gst_message_new_error),
4581 (gst_message_new_warning), (gst_message_new_tag),
4582 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4583 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4584 (gst_message_new_segment_start), (gst_message_new_segment_done),
4585 (gst_message_parse_state_changed),
4586 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4587 (gst_message_parse_new_clock):
4589 Also carry the clock in question.
4591 2005-10-08 Wim Taymans <wim@fluendo.com>
4593 * gst/gstmessage.c: (gst_message_new_custom),
4594 (gst_message_new_eos), (gst_message_new_error),
4595 (gst_message_new_warning), (gst_message_new_tag),
4596 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4597 (gst_message_new_new_clock), (gst_message_new_segment_start),
4598 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4599 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4602 Added clock related messages.
4604 * gst/gstpipeline.c: (gst_pipeline_change_state):
4605 Post message when the clock changed.
4607 * tools/gst-launch.c: (event_loop):
4610 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4612 * tools/gst-inspect.c: (print_element_properties_info):
4613 Can't pass NULL strings to g_print() on windows.
4615 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4618 * docs/gst/Makefile.am:
4619 * docs/gst/gstreamer-docs.sgml:
4620 * docs/gst/running.xml:
4621 * docs/version.entities.in:
4622 add a chapter on running GStreamer.
4623 document GST_DEBUG and GST_PLUGIN* env vars
4625 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4630 remove PLUGINS_BUILDDIR stuff
4631 * gst/gst.c: (init_post):
4632 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4634 remove, it was condescending and not needed
4636 2005-10-08 Wim Taymans <wim@fluendo.com>
4638 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4639 (gst_base_sink_handle_object), (gst_base_sink_event),
4640 (gst_base_sink_wait), (gst_base_sink_handle_event),
4641 (gst_base_sink_change_state):
4642 * gst/base/gstbasesink.h:
4643 Repost EOS message while going to PLAYING if still EOS.
4644 Make sure that when receiving a FLUSH_START we don't attempt
4645 to sync on the clock anymore.
4647 2005-10-08 Wim Taymans <wim@fluendo.com>
4649 * tools/gst-launch.c: (event_loop):
4650 Better message printout.
4652 2005-10-08 Wim Taymans <wim@fluendo.com>
4654 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4655 (gst_bin_child_proxy_get_children_count):
4656 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4657 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4658 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4659 (gst_child_proxy_set_valist):
4660 * gst/parse/grammar.y:
4661 Make ChildProxy threadsafe and fix mem leaks.
4663 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4665 * gst/gst.c: (init_post):
4666 debug the GST_PLUGIN_ env vars
4668 2005-10-08 Wim Taymans <wim@fluendo.com>
4670 * check/gst/gstbin.c: (GST_START_TEST):
4671 * check/gst/gstmessage.c: (GST_START_TEST):
4672 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4673 * gst/gstelement.c: (gst_element_commit_state),
4674 (gst_element_lost_state):
4675 * gst/gstmessage.c: (gst_message_new_state_changed),
4676 (gst_message_parse_state_changed):
4678 * tools/gst-launch.c: (event_loop):
4679 Added extra field to STATE_CHANGE message with the pending
4680 state, which will be different from the new state soon.
4682 2005-10-08 Wim Taymans <wim@fluendo.com>
4684 * gst/gstbus.c: (gst_bus_pop):
4686 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4687 Small cleanups and doc updates.
4689 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4691 * gst/gst.c: (init_pre):
4692 * gst/gstbin.c: (gst_bin_add_func):
4693 log distributing clocks and base time
4694 * gst/gstregistry.c: (gst_registry_add_plugin),
4695 (gst_registry_scan_path_level), (gst_registry_scan_path):
4696 clean up the debugging output a little
4697 * gst/gstutils.c: (gst_element_state_get_name):
4698 warn about a memleak (I've actually seen this be used, though
4699 it was probably a bug)
4701 2005-10-07 Wim Taymans <wim@fluendo.com>
4703 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4704 (gst_base_src_init), (gst_base_src_default_newsegment),
4705 (gst_base_src_newsegment), (gst_base_src_do_seek),
4706 (gst_base_src_loop), (gst_base_src_start):
4707 * gst/base/gstbasesrc.h:
4708 Make the newsegment event customizable by subclasses.
4710 2005-10-07 Wim Taymans <wim@fluendo.com>
4712 * gst/gstevent.c: (gst_event_new_buffersize),
4713 (gst_event_parse_buffersize):
4715 New event for future idea.
4717 2005-10-07 Andy Wingo <wingo@pobox.com>
4719 * gst/gstelement.c (gst_element_post_message): Doc update.
4721 * docs/gst/gstreamer-sections.txt: Update.
4723 * gst/gstmessage.c (gst_message_new_application): Made into a
4724 function like honest API calls.
4725 (gst_message_new_element): New message type.
4727 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4729 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4730 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4733 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4734 NO_PREROLL from gst_element_change_state to fall through.
4736 2005-10-07 Wim Taymans <wim@fluendo.com>
4738 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4739 (gst_ghost_pad_do_activate_push):
4740 Activating a ghostpad with no internal pad in push mode
4743 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4746 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4747 Fixes compilation on Windows.
4749 2005-10-07 Michael Smith <msmith@fluendo.com>
4751 * tools/gst-inspect.c:
4752 Print out feature and plugin count at the end when printing out
4755 2005-10-04 Michael Smith <msmith@fluendo.com>
4757 * gst/gsterror.c: (_gst_stream_errors_init):
4758 Add another error string used in a few existing plugins.
4761 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4762 * tools/gst-inspect.c: (print_element_info):
4763 When a feature disappears from a plugin (and the feature exists in
4764 the cached registry file), things went horribly wrong. This isn't a
4765 complete fix, we should actually be removing the 'missing' features
4766 from the features list when we load the actual plugin. That's not
4769 2005-10-04 Johan Dahlin <johan@gnome.org>
4771 * check/gst/gstiterator.c: (GST_START_TEST):
4772 * gst/gstbin.c: (gst_bin_iterate_elements),
4773 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4774 * gst/gstelement.c: (gst_element_iterate_pads):
4775 * gst/gstformat.c: (gst_format_iterate_definitions):
4776 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4777 (gst_iterator_new_list), (gst_iterator_filter):
4778 * gst/gstiterator.h:
4779 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4780 Add a GType to GstIterator, update callsites and tests.
4782 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4784 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4785 give events a chance to be handled by event probes when the pad
4788 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4790 * gst/gstevent.c: (gst_event_type_get_name),
4791 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4793 add string representations for event types
4795 2005-10-06 Wim Taymans <wim@fluendo.com>
4797 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4798 Don't use NULL pointers.
4800 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4802 * gst/gst_private.h:
4806 * gst/gstpluginfeature.c:
4807 widen the debug category in output to fit the biggest one we have
4808 add a bus category and use it
4809 play with the colors
4810 fix up some categories
4812 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4814 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4815 add push activation of sink ghost pads.
4816 Andye, please verify
4818 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4820 * gst/gstutils.c: (gst_element_link_pads):
4821 fix a bug in the case where neither element has a pad
4822 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4823 add a test for that case
4825 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4827 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4828 emit have-data before checking for peers. This allows
4829 for probe handlers to connect elements. This helps autopluggers.
4830 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4832 add six checks, linked/unlinked with no/true/false probe
4834 2005-10-04 Wim Taymans <wim@fluendo.com>
4836 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4837 (gst_fake_sink_event), (gst_fake_sink_preroll),
4838 (gst_fake_sink_render), (gst_fake_sink_change_state):
4839 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4840 (gst_fake_src_get_property), (gst_fake_src_create),
4841 (gst_fake_src_stop):
4842 * gst/elements/gstidentity.c: (gst_identity_stop):
4843 Protect last_message with lock.
4845 2005-10-04 Edward Hervey <edward@fluendo.com>
4848 Added precision in the comments for GST_FORMAT_DEFAULT
4850 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4852 * tools/gst-launch.c: (main):
4853 Don't try to run erroneous pipelines.
4855 2005-10-04 Julien MOUTTE <julien@moutte.net>
4857 * gst/gstbus.c: We don't need this header.
4859 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4864 === release 0.9.3 ===
4866 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4870 Releasing 0.9.3, "Unregistered"
4872 2005-10-03 Andy Wingo <wingo@pobox.com>
4874 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4875 whereby calling a pad's activatepush() function can start a thread
4876 that starts to push or pull before the pad gets the FLUSHING flag
4877 unset. Hack around it by holding the stream lock until the flag is
4878 set. Need to replace this with a proper solution. Together with
4879 the ghost pad fixes, this fixes mp3 playing/tagreading.
4881 * docs/design/part-gstghostpad.txt: Add a note about activation of
4882 proxy pads outside of ghost pads.
4884 * gst/gstghostpad.c: Implement the ghost pad activation design.
4886 2005-10-02 Andy Wingo <wingo@pobox.com>
4888 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4889 It is volatile, after all.
4891 * docs/design/part-gstghostpad.txt: Flesh out activation with
4894 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4897 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4900 Fix (unused) AM_CONDITIONAL tests.
4902 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4904 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4906 * gst/gstutils.c: (gst_pad_query_convert):
4907 Add assertion that makes sure src_val is >=0, just like
4908 gst_query_new_convert() has. (#315895)
4910 2005-09-30 Edward Hervey <edward@fluendo.com>
4912 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4913 Let's not iterate pads we're not interested in, it avoids getting
4914 sky-high refcounts on sinkpad.
4916 2005-09-30 Wim Taymans <wim@fluendo.com>
4918 * gst/gstelement.c: (gst_element_set_state),
4919 (gst_element_change_state):
4920 Small tweak, element in ASYNC remains ASYNC.
4922 2005-09-30 Wim Taymans <wim@fluendo.com>
4924 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4925 Only error is an error.
4927 * gst/gstbin.c: (gst_bin_change_state):
4930 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4931 Also call pad_block in pad alloc.
4933 * gst/gstutils.c: (gst_flow_get_name):
4936 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4938 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4939 (gst_base_src_get_range):
4940 Fix documentation typos. Add some more debug info.
4942 2005-09-29 David Schleef <ds@schleef.org>
4944 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4945 more end-user friendly.
4946 * tools/gst-inspect.c: (main): Check if command-line argument is
4947 a file and attempt to load that file as a plugin.
4949 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4951 * check/gst/gstbin.c:
4952 * check/states/sinks.c:
4953 fix tests for the new warning
4954 * check/gst/gstpipeline.c:
4955 add a test for pipeline and bus interaction
4957 elements should be NULL if they get disposed; add a warning if not
4959 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4962 for 2.6 refcounting, make debug log more correct by printing
4963 the actual refcounts at the time of swap (Wim)
4965 2005-09-29 Andy Wingo <wingo@pobox.com>
4967 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4968 removes signal watches previously added via
4969 gst_bus_add_signal_watch.
4970 (gst_bus_add_signal_watch): Don't return the source id, just store
4971 it on the bus if there wasn't an id already.
4973 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4974 add_signal_watch and remove_signal_watch.
4976 2005-09-29 Edward Hervey <edward@fluendo.com>
4978 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4979 Better if we actually iterate the list :)
4981 2005-09-29 Wim Taymans <wim@fluendo.com>
4983 * check/gst/gstbin.c: (GST_START_TEST):
4984 Change for new bus API.
4986 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4987 (send_messages), (GST_START_TEST), (gstbus_suite):
4988 Change for new bus signal API.
4990 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4991 (gst_bus_source_prepare), (gst_bus_source_check),
4992 (gst_bus_create_watch), (gst_bus_add_watch_full),
4993 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4994 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4996 Remove support for multiple GSources operating on different
4997 message types as it is too complex and unneeded when using
4999 Added support for receiving signals from the bus.
5001 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5003 * docs/libs/tmpl/gstdataprotocol.sgml:
5004 * docs/manual/advanced-dataaccess.xml:
5005 * gst/elements/gstcapsfilter.c:
5007 rename filter-caps to caps property
5009 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5011 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5012 More robust fraction string parsing.
5014 * docs/pwg/appendix-porting.xml:
5015 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5017 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5019 * gst/gstcaps.c: (gst_caps_do_simplify):
5020 Thou shalt not free a structure and then continue using it
5021 in the next loop iteration.
5023 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5025 Add test case for caps simplification.
5027 2005-09-29 Wim Taymans <wim@fluendo.com>
5029 * check/gst/gstbin.c: (GST_START_TEST):
5032 2005-09-29 Wim Taymans <wim@fluendo.com>
5034 * check/gst/gstbin.c: (GST_START_TEST):
5037 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5038 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5039 (find_element), (gst_bin_sort_iterator_next),
5040 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5041 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5042 (gst_bin_change_state), (gst_bin_dispose):
5043 A bin does not have a bus, it gets the bus from the parent.
5045 * gst/gstelement.c: (gst_element_requires_clock),
5046 (gst_element_provides_clock), (gst_element_is_indexable),
5047 (gst_element_is_locked_state), (gst_element_change_state),
5048 (gst_element_set_bus_func):
5051 * gst/gstpipeline.c: (gst_pipeline_class_init),
5052 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5053 The pipeline provides a bus.
5055 2005-09-28 Johan Dahlin <johan@gnome.org>
5057 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5058 gst_structure_get_enum instead of gst_structure_get_int
5060 * gst/gststructure.c (gst_structure_get_enum): Impl.
5062 * gst/gststructure.h (gst_structure_get_enum): Add
5064 * docs/gst/gstreamer-sections.txt: Ditto
5066 * gst/gstmessage.c (gst_message_new_state_changed): Use
5067 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5068 which does introspection.
5069 Reviewed by Christian Schaller
5071 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5073 * gst/gstinfo.c: (gst_debug_log_default):
5074 don't do dummy g_strdup()s
5075 * libs/gst/controller/gstcontroller.c:
5076 (on_object_controlled_property_changed),
5077 (gst_controlled_property_new), (gst_controller_new_valist),
5078 (gst_controller_new_list),
5079 (gst_controller_remove_properties_valist), (gst_controller_set),
5080 (gst_controller_get), (gst_controller_sync_values),
5081 (gst_controller_get_value_array), (_gst_controller_class_init),
5082 (gst_controller_get_type):
5083 * libs/gst/controller/gstcontroller.h:
5084 * libs/gst/controller/gstinterpolation.c:
5085 (gst_controlled_property_find_timed_value_node):
5086 convert // to /**/ comments
5088 2005-09-28 Wim Taymans <wim@fluendo.com>
5090 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5091 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5092 (gst_bus_sync_signal_handler):
5094 Added async-message and sync-message signals to the bus.
5095 Added helper BusFunc to emit signals for all posted messages.
5097 * gst/gstmessage.c: (gst_message_type_get_name),
5098 (gst_message_type_to_quark), (gst_message_get_type):
5100 Register quarks for message names.
5102 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5104 * docs/libs/gstreamer-libs-sections.txt:
5105 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5106 (gst_controller_new_list):
5107 * libs/gst/controller/gstcontroller.h:
5108 added another constructor for language bindings
5110 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5112 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5116 * gst/gstinfo.c: (_gst_debug_init):
5117 slightly more readable color for refcount debugging
5119 2005-09-28 Wim Taymans <wim@fluendo.com>
5121 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5122 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5123 (find_element), (gst_bin_sort_iterator_next),
5124 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5125 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5126 (gst_bin_change_state), (gst_bin_dispose):
5127 Small doc fixes. get_clock -> provide_clock.
5129 * gst/gstelement.c: (gst_element_class_init),
5130 (gst_element_provides_clock), (gst_element_provide_clock),
5131 (gst_element_get_clock), (gst_element_commit_state),
5132 (gst_element_lost_state):
5134 Make get/set_clock() symetric. Add provide_clock vmethod since
5135 that is actually what this function does.
5137 * gst/gstpipeline.c: (gst_pipeline_class_init),
5138 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5139 (gst_pipeline_get_clock):
5140 get_clock -> provide_clock.
5142 2005-09-28 Andy Wingo <wingo@pobox.com>
5144 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5145 lieu of real docs...
5147 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5149 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5151 * gst/elements/gstcapsfilter.c:
5152 * gst/elements/gstfakesink.c:
5153 * gst/elements/gstfakesrc.c:
5154 * gst/elements/gstfdsink.c:
5155 * gst/elements/gstfdsrc.c:
5156 * gst/elements/gstfilesink.c:
5157 * gst/elements/gstfilesrc.c:
5158 * gst/elements/gstidentity.c:
5159 * gst/elements/gsttee.c:
5160 * gst/elements/gsttypefindelement.c:
5161 Make element details static.
5163 2005-09-28 Wim Taymans <wim@fluendo.com>
5165 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5166 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5167 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5168 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5169 (gst_bin_change_state), (gst_bin_dispose):
5170 Some documentation updates.
5171 Clean up dispose handlers.
5173 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5174 * gst/gstpad.c: (gst_pad_dispose):
5175 Clean up dispose handler.
5177 * gst/gstpipeline.c: (gst_pipeline_change_state):
5178 Removed spurious UNLOCK.
5180 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5182 * docs/gst/gstreamer-sections.txt:
5183 * gst/base/gstbasesrc.h:
5188 * gst/gstpipeline.c:
5189 * gst/gstpipeline.h:
5192 added two new functions to the docs
5193 documents all undocumented GstXXXFlags
5194 completed some incomplete docs
5196 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5198 * gst/gstbin.c: (gst_bin_dispose):
5199 * gst/gstelement.c: (gst_element_dispose):
5200 remove now useless and leaky resurrection code in dispose
5201 * gst/base/gstbasesrc.c: (gst_base_src_init):
5202 * gst/gstelementfactory.c: (gst_element_factory_create):
5203 * gst/gstobject.c: (gst_object_set_parent):
5206 2005-09-27 Wim Taymans <wim@fluendo.com>
5208 * docs/design/part-TODO.txt:
5211 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5212 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5213 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5214 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5215 (gst_bin_change_state):
5217 Remove element variable, we keep element info in the iterator now.
5219 2005-09-27 Andy Wingo <wingo@pobox.com>
5221 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5224 2005-09-27 Wim Taymans <wim@fluendo.com>
5226 * check/gst/gstbin.c: (GST_START_TEST):
5227 Enable check that works now.
5229 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5230 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5231 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5232 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5233 (gst_bin_change_state):
5235 Redid the state change algorithm using a topological sort algo.
5236 Handles all cases correctly.
5237 Exposed iterator for state change order.
5240 Temp storage for state changes. Need to get rid of this soon.
5242 2005-09-27 Wim Taymans <wim@fluendo.com>
5244 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5245 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5246 (link_fold_func), (gst_pad_proxy_setcaps):
5247 Leak fixes, the fold functions need to unref the passed object and
5248 _get_parent_*() returns ref to parent.
5250 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5252 * check/gst/gstbuffer.c: (test_make_writable):
5253 Plug leak in test case and fix 'make check-valgrind'
5255 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5257 * gst/gstbuffer.c: (gst_subbuffer_init):
5258 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5259 works correctly in all circumstances (we could have just copied
5260 the parent buffer's readonly flag, but conceptually it seems
5261 cleaner to mark all subbuffers as read-only). (based on patch
5262 by Alessandro Decina, #314710).
5264 * check/gst/gstbuffer.c: (create_read_only_buffer),
5265 (test_make_writable), (test_subbuffer_make_writable),
5267 Add some tests for gst_buffer_make_writable().
5269 2005-09-27 Wim Taymans <wim@fluendo.com>
5271 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5272 use gst_object_has_ancestor().
5274 * gst/gstobject.c: (gst_object_has_ancestor):
5276 gst_object_has_ancestor() copied from gstbin.c as it is a
5279 * tests/instantiate/create.c: (create_all_elements):
5280 * tests/lat.c: (handoff_src), (handoff_sink):
5281 * tests/sched/runxml.c: (main):
5282 * tests/seeking/seeking1.c: (main):
5283 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5285 Fix compilation of some tests.
5287 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5290 Remove comment. GST_TYPE_G_ERROR is here to stay,
5291 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5294 2005-09-26 Wim Taymans <wim@fluendo.com>
5296 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5297 Added check that shows error in state change order.
5299 2005-09-26 Wim Taymans <wim@fluendo.com>
5301 * gst/gstbin.c: (gst_bin_change_state):
5302 Make state change function use 3 queues again, we were
5303 adding elements in the wrong order.
5305 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5308 * gst/gstpad.c: (gst_pad_dispose):
5309 Added some debug info first.
5311 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5313 * docs/design/draft-push-pull.txt:
5314 * docs/design/part-events.txt:
5315 * docs/design/part-overview.txt:
5316 * docs/design/part-scheduling.txt:
5317 Replace all _pull_region() with _pull_range()
5319 2005-09-26 Andy Wingo <wingo@pobox.com>
5321 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5323 * check/gst-libs/controller.c: Update for controller api change.
5326 * tests/Makefile.am:
5327 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5328 over by GLib bug 118439.
5330 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5331 routines to a function.
5333 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5335 * libs/gst/controller/gsthelper.c:
5336 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5337 (gst_object_sync_values): Renamed from sink_values. Ugh.
5339 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5341 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5342 Renamed from controller_key, as it is exported.
5344 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5346 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5351 * gst/gstpadtemplate.h:
5354 * gst/gstqueryutils.c:
5355 * gst/gstqueryutils.h:
5356 remove queryutils headers after moving the two used functions
5357 to gstquery. also fixes build problem for gstsiddec
5359 2005-09-26 Michael Smith <msmith@fluendo.com>
5361 * tools/gst-launch.1.in:
5362 Correct documentation in manpage of debug syntax
5364 2005-09-26 Wim Taymans <wim@fluendo.com>
5366 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5367 (gst_base_src_is_seekable), (gst_base_src_change_state):
5368 Some more debugging info.
5370 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5372 * docs/gst/gstreamer-sections.txt:
5373 * gst/base/gstbasetransform.h:
5377 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5379 * docs/gst/.cvsignore:
5380 * docs/gst/tmpl/.cvsignore:
5381 * docs/gst/tmpl/gstpipeline.sgml:
5382 * docs/gst/tmpl/gstplugin.sgml:
5383 * gst/gstpipeline.c:
5386 inlined the last two docs files
5387 removed the tmpl directory from cvs (no more conflicts here!)
5389 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5391 * docs/gst/gstreamer-sections.txt:
5392 * docs/gst/tmpl/.cvsignore:
5393 * docs/gst/tmpl/gstpad.sgml:
5394 * docs/gst/tmpl/gstpadtemplate.sgml:
5396 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5397 (gst_pad_finalize), (gst_pad_set_pad_template):
5399 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5400 (gst_pad_template_class_init), (gst_pad_template_init),
5401 (gst_pad_template_dispose), (name_is_valid),
5402 (gst_static_pad_template_get), (gst_pad_template_new),
5403 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5404 (gst_pad_template_pad_created):
5405 * gst/gstpadtemplate.h:
5406 inlined two more docs
5407 factored gstpadtemplate out of gstpad
5409 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5411 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5412 (test_children_state_change_order_semi_sink):
5413 Fix test case: we can't rely on a fixed state change order when
5414 going from READY => PAUSED because the sink might commit its
5415 new state first when the first buffer created by the source
5416 reaches the sink before the source has finished its change state.
5417 (Test case still fails at times, see #316856, comment 5 onwards)
5419 2005-09-24 Wim Taymans <wim@fluendo.com>
5421 * docs/design/part-events.txt:
5422 * docs/design/part-gstbus.txt:
5423 * docs/design/part-gstpipeline.txt:
5424 * docs/design/part-messages.txt:
5425 * docs/design/part-overview.txt:
5426 * docs/design/part-segments.txt:
5433 * gst/gstiterator.c:
5434 Various documentation updates.
5436 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5439 Well, that's embarassing. Luckily we weren't using
5440 GST_CLOCK_DIFF anywhere.
5442 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5444 * common/gtk-doc.mak:
5445 don't fail on building XML, FC4 slave shows a bunch of doc
5446 missing bits that I don't get
5448 * gst/gstpipeline.c:
5449 * gst/gststructure.c:
5452 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5454 * docs/design/part-gstbin.txt:
5455 * docs/design/part-gstbus.txt:
5457 Add blurb about how the bus goes into flushing mode and
5458 drops all messages when its bin goes from READY into NULL
5461 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5463 * docs/gst/gstreamer-sections.txt:
5464 * gst/gststructure.c: (gst_structure_get_clock_time):
5465 * gst/gststructure.h:
5466 add a method to get a GstClockTime out of a structure
5468 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5470 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5471 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5472 Added test to check state change order in bins (can still be made
5473 to fail here under heavy disk load; bails out with 'Push on pad
5474 fakesink:sink0, but it was not activated in push mode').
5476 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5477 Fix state change order when there is only a semi sink (#316856)
5479 * gst/gstbus.c: (gst_bus_class_init):
5480 Use _class_peek_parent(), not _class_ref(); fix docs to say
5481 'default main context' instead of 'mainloop' where that is
5484 * gst/gstelement.c: (gst_element_commit_state),
5485 (gst_element_set_state):
5486 Fix typos in debug messages
5488 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5491 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5492 * gst/gstpluginfeature.c:
5495 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5496 change an assert into an error until it gets fixed properly
5498 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5500 * docs/gst/gstreamer-sections.txt:
5501 * docs/gst/tmpl/.cvsignore:
5502 * docs/gst/tmpl/gstelement.sgml:
5503 * docs/gst/tmpl/gstinfo.sgml:
5504 * docs/gst/tmpl/gstobject.sgml:
5509 * gst/gstobject.c: (gst_object_class_init):
5511 inlined 3 more biiiig doc files and added some missing docs on the fly
5513 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5515 * check/gst/.cvsignore:
5516 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5517 * gst/gstregistryxml.c: (load_plugin),
5518 (gst_registry_xml_save_plugin):
5519 put back source in registry. add checks for find_plugin.
5520 * testsuite/states/bin.c: (assert_state), (empty_bin),
5521 (test_adding_one_element), (main):
5522 * testsuite/states/locked.c: (main):
5523 some compile/run fixes
5525 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5527 * check/gst/gstvalue.c: (GST_START_TEST):
5528 fix leaks in the test itself
5530 2005-09-22 Wim Taymans <wim@fluendo.com>
5532 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5533 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5534 (gst_base_sink_query):
5535 Prepare for more accurate position reporting and query
5538 * gst/gstelement.c: (gst_element_send_event),
5539 (gst_element_set_state):
5542 2005-09-22 Wim Taymans <wim@fluendo.com>
5544 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5545 (gst_query_parse_segment):
5548 Add segment query for future use.
5550 2005-09-22 Wim Taymans <wim@fluendo.com>
5552 * gst/gstbin.c: (gst_bin_add_func):
5553 Some more debug info.
5555 * gst/gstelement.c: (gst_element_send_event):
5559 Don't know how flags got broken.
5564 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5566 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5567 Add simplistic test suite for GST_TYPE_DATE serialisation and
5570 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5572 * docs/gst/gstreamer-sections.txt:
5573 * gst/gststructure.c: (gst_structure_set_valist),
5574 (gst_structure_get_date):
5575 * gst/gststructure.h:
5576 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5577 (gst_date_copy), (gst_value_compare_date),
5578 (gst_value_serialize_date), (gst_value_deserialize_date),
5579 (gst_value_transform_date_string),
5580 (gst_value_transform_string_date), (_gst_value_initialize):
5582 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5583 bunch of utility functions along with a hack that checks that
5584 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5585 is required. Part of the grand scheme in #170777.
5587 2005-09-22 Andy Wingo <wingo@pobox.com>
5589 * gst/gstconfig.h.in: Psych out gtk-doc.
5591 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5593 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5595 * tools/gst-inspect.c (print_element_list): Plug some
5596 inconsequential leaks.
5598 * gst/gstregistry.c (gst_registry_get_default): Doc.
5600 * check/gst/gstplugin.c:
5601 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5602 * gst/gstelementfactory.c (gst_element_factory_create):
5603 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5606 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5607 (gst_plugin_feature_load): Doc, don't eat refs.
5609 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5610 (gst_plugin_list_free): Doc.
5611 (gst_plugin_load_file): Doc updates.
5613 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5614 accessors returning refcounted objects, return a ref.
5616 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5617 accessor for caps. IDEMPOTENCE. Oh yes.
5619 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5621 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5623 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5624 (_gst_debug_register_funcptr):
5625 Add mutex to serialise access to the hash table with
5626 the function pointer => function name string mapping;
5627 make that hash table static scope (#316809).
5629 * gst/registries/.cvsignore:
5630 Remove left-over file.
5632 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5634 * docs/pwg/appendix-porting.xml:
5635 And something about newsegment events and caps-on-buffers to
5636 the porting guide (feel free to improve).
5638 2005-09-21 Andy Wingo <wingo@pobox.com>
5640 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5641 data and event probes on the same pad.
5642 (test_buffer_probe_once): Test that removing probes from within
5643 the probe functions works.
5645 2005-09-21 Andy Wingo <wingo@pobox.com>
5647 * check/gst/gstutils.c: New file.
5648 (test_buffer_probe_n_times): A simple buffer probe test. More to
5651 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5652 have-data::buffer, not have-data.
5653 (gst_pad_add_event_probe): Likewise for have-data::event.
5654 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5655 peer' isn't quite right yet though.
5656 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5657 (gst_pad_remove_data_probe): Change to take the guint handler_id
5658 as their arg, not the function+data, which is more glib-like.
5660 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5661 the signal emission to indicate if the data is a buffer or an
5663 (gst_pad_get_type): Initialize buffer and event quarks.
5664 (gst_pad_class_init): have-data is now a detailed signal, yes it
5667 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5669 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5670 * gst/gstutils.c: (gst_util_set_value_from_string),
5671 (gst_util_set_object_arg):
5672 Don't put functional code in g_return_if_fail() or
5673 g_return_val_if_fail() statements, otherwise things will
5674 break when G_DISABLE_CHECKS is defined during compilation.
5676 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5678 * docs/gst/tmpl/.cvsignore:
5679 * docs/gst/tmpl/gstvalue.sgml:
5682 inlied another one and added some obvious docs
5684 2005-09-21 Wim Taymans <wim@fluendo.com>
5686 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5687 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5688 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5689 (gst_fdsrc_get_property), (gst_fdsrc_create):
5690 * gst/elements/gstfdsrc.h:
5691 Properly implement fdsrc. Removed signal and timeout,
5692 better implemented somewhere else.
5694 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5696 * docs/gst/tmpl/.cvsignore:
5697 * docs/gst/tmpl/gstimplementsinterface.sgml:
5698 * gst/gstinterface.c:
5701 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5703 * docs/gst/gstreamer-sections.txt:
5704 * docs/gst/tmpl/.cvsignore:
5705 * docs/gst/tmpl/gstenumtypes.sgml:
5706 remove obsolete doc file
5708 2005-09-21 David Schleef <ds@schleef.org>
5710 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5711 little beer, fix a little leak.
5713 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5715 * docs/gst/gstreamer-docs.sgml:
5716 * docs/gst/gstreamer-sections.txt:
5717 * docs/gst/tmpl/.cvsignore:
5722 * gst/gstindex.c: (gst_index_class_init):
5724 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5725 (gst_index_factory_class_init), (gst_index_factory_init),
5726 (gst_index_factory_finalize), (gst_index_factory_new),
5727 (gst_index_factory_destroy), (gst_index_factory_find),
5728 (gst_index_factory_create), (gst_index_factory_make):
5729 * gst/gstindexfactory.h:
5730 * gst/gstpluginfeature.c:
5731 * gst/gstpluginfeature.h:
5732 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5733 more docs inlined, splitted gstindex.{c,h}
5735 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5737 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5740 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5742 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5743 Set sync to FALSE by default.
5745 2005-09-20 Wim Taymans <wim@fluendo.com>
5747 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5748 (gst_base_sink_init):
5749 Make sync property settable from subclass.
5751 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5752 (gst_fake_sink_change_state):
5753 Set sync to FALSE by default.
5755 2005-09-20 Wim Taymans <wim@fluendo.com>
5757 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5758 * tools/gst-launch.c: (main):
5759 The timeout handler should have lower priority than the source
5760 so we don't timeout before popping a message with 0 timeout.
5761 Dump error messages after failed state change.
5763 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5765 * tools/gst-inspect.c: (print_element_properties_info):
5768 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5770 * check/gst/gstevent.c:
5771 * gst/elements/gstfakesink.c:
5772 * gst/elements/gstfakesink.h:
5773 remove the sync property from fakesink.
5774 has the side effect of setting sync TRUE
5775 for fakesink, which is a change. Anyone who knows how
5776 to fix this nicely in a GObject-y way, feel free.
5778 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5780 * docs/gst/gstreamer-docs.sgml:
5781 remove probe refsection
5783 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5785 * check/Makefile.am:
5786 disable valgrinding the controller test again
5787 * docs/gst/gstreamer-sections.txt:
5788 update for api-changes
5790 2005-09-20 Wim Taymans <wim@fluendo.com>
5792 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5793 (gst_base_sink_set_property), (gst_base_sink_get_property),
5794 (gst_base_sink_do_sync):
5795 * gst/base/gstbasesink.h:
5796 Added sync property to basesink to disable clock sync.
5798 2005-09-20 Andy Wingo <wingo@pobox.com>
5800 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5801 eating the caller's refcount.
5803 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5804 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5807 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5808 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5809 of GLib 2.8 public, so we can know which refcount to check in
5812 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5813 (gst_object_init): Only set the gst refcount if we're going ahead
5814 with the refcount hack.
5816 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5818 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5819 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5820 more leaks plumbed, added more debug-logging
5824 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5827 remove include of gstmemchunk.h
5829 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5831 * gst/gstclock.c: (_gst_clock_id_free):
5832 Commit from the Political Party For More Atomic CVS Commits,
5833 so that people don't waste too much of their day fishing
5834 out obvious leaks out of massive commits.
5835 Oh, and fix a pretty damn obvious leak in the memchunk
5838 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5840 * check/Makefile.am:
5841 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5842 plug mem-leak, re-add to valgrindable tests
5844 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5847 unbreak the build for those who have chronic arthritis
5848 and typing "make check" is just too taxing on the hands
5850 2005-09-20 Andy Wingo <wingo@pobox.com>
5852 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5853 really want it out, you should fix plugins at the same time.
5855 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5858 * docs/gst/gstreamer-sections.txt:
5860 added missing symbols to api docs
5861 disable ref-count hack if we have glib >= 2.8
5863 2005-09-19 David Schleef <ds@schleef.org>
5865 * docs/gst/Makefile.am: Ignore a few more internal headers
5866 * docs/gst/gstreamer-docs.sgml: Remove old sections
5867 * docs/gst/gstreamer-sections.txt: Remove old sections
5868 * docs/gst/tmpl/gstobject.sgml: update
5869 * docs/gst/tmpl/gstplugin.sgml: update
5870 * docs/gst/tmpl/gstpluginfeature.sgml: update
5871 * docs/random/ds/0.9-suggested-changes: update.
5872 * gst/Makefile.am: remove memchunk and trashstack, since they're
5874 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5875 * gst/gst.h: don't include some headers
5876 * gst/gstchildproxy.c: add gstmarshal.h
5877 * gst/gstclock.c: Don't use memchunks
5878 * gst/gstminiobject.c: Add some docs
5879 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5880 * gst/gstobject.h: same
5881 * gst/gstplugin.c: include gstmacros.h
5882 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5883 * gst/gstquery.c: don't use memchunks
5884 * gst/gstregistry.c: rename gst_registry_deinit()
5885 * gst/gstregistry.h: same
5887 2005-09-19 David Schleef <ds@schleef.org>
5889 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5890 * docs/libs/gstreamer-libs-sections.txt:
5891 * docs/libs/tmpl/gstgetbits.sgml:
5892 * docs/libs/tmpl/gstputbits.sgml:
5894 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5896 * win32/gstenumtypes.c:
5897 * win32/gstenumtypes.h:
5900 2005-09-19 Wim Taymans <wim@fluendo.com>
5902 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5903 Automatically PAUSE and RESUME a pipeline when a flushing seek
5906 2005-09-19 Andy Wingo <wingo@pobox.com>
5908 * gst/gstregistry.h: Spacing fixen.
5910 2005-09-19 Wim Taymans <wim@fluendo.com>
5912 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5913 Handle state change failure more correctly.
5915 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5917 * check/Makefile.am:
5918 * check/pipelines/cleanup.c: (run_pipeline):
5919 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5921 enable cleanup again after fixing the leak
5923 some more info on docs
5925 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5927 * check/Makefile.am:
5928 re-enable tests now that leaks are plugged
5930 * check/gst/gstbin.c:
5931 * check/gst/gstpipeline.c:
5932 add some more tests while fixing leaks
5934 make sure binaries are uptodate when valgrinding/gdbing
5936 * gst/gstelementfactory.c:
5937 remove a ref too many, and add a FIXME for when we get
5938 round to disposing of classes
5940 fix the refcounting when loading a plugin from a file and
5941 the code pretends that the pointer is the same even though
5942 of course it can change
5943 * gst/gstpluginfeature.c:
5944 unref plugins marked cached (a bit confusing as a name)
5945 as the docs state should be done
5946 various doc additions to explain refcounting
5947 * gst/gstregistry.c:
5948 * gst/gstregistryxml.c:
5951 2005-09-19 Wim Taymans <wim@fluendo.com>
5953 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5954 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5955 (send_messages), (GST_START_TEST), (gstbus_suite):
5956 * check/gst/gstpipeline.c: (GST_START_TEST):
5957 * check/pipelines/cleanup.c: (run_pipeline):
5958 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5960 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5961 (gst_bus_source_check), (gst_bus_source_dispatch),
5962 (gst_bus_create_watch), (gst_bus_add_watch_full),
5963 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5965 * tools/gst-launch.c: (event_loop):
5966 * tools/gst-md5sum.c: (event_loop):
5967 GstBusHandler -> GstBusFunc, return value has the same meaning as
5968 any other GSource (FALSE == remove source).
5969 _add_watch() and _add_watch_full() now take a MessageType mask to
5970 only handle specific types of messages.
5971 _poll() returns the GstMessage instead of the message type to avoid
5973 _have_pending() takes a MessageType mask now too.
5974 Added testsuite for multiple bus watches.
5975 Fix testsuites and applications for new bus API.
5977 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5979 * check/Makefile.am:
5980 mark a bunch of the tests as to fix until we fix them
5982 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5985 use GST_PLUGIN settings for valgrind tests as well, so we're
5986 valgrinding the correct thing
5987 * gst/gst.c: (init_post):
5990 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5992 * gst/gst.c: (init_post), (gst_deinit):
5993 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5994 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5995 * gst/gstindex.c: (gst_index_factory_class_init),
5996 (gst_index_factory_finalize):
5997 * gst/gstobject.c: (gst_object_dispose):
5998 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5999 (gst_plugin_load_file), (gst_plugin_desc_free):
6000 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6001 (gst_plugin_feature_finalize):
6002 * gst/gstregistry.c: (gst_registry_class_init),
6003 (gst_registry_init), (gst_registry_finalize),
6004 (gst_registry_get_default), (gst_registry_deinit):
6005 * gst/gstregistry.h:
6006 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6007 various cleanups and memleak plugging. make valgrind is happy now.
6009 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6012 add a check-valgrind target
6014 2005-09-18 David Schleef <ds@schleef.org>
6016 * tools/gst-inspect.c: Revert the GOption code.
6018 2005-09-17 David Schleef <ds@schleef.org>
6020 * check/Makefile.am: Fix environment variables.
6021 * check/gst/gstplugin.c: Fix for API changes.
6022 * tools/gst-inspect.c: Fix for API changes.
6023 * tools/gst-xmlinspect.c: Fix for API changes.
6024 * gst/gstelementfactory.c:
6027 * gst/gstpluginfeature.c:
6028 * gst/gstpluginfeature.h:
6029 * gst/gstregistry.c:
6030 * gst/gstregistry.h:
6031 * gst/gstregistryxml.c:
6032 * gst/gsttypefind.c:
6033 * gst/gsttypefindfactory.c:
6034 * gst/indexers/gstfileindex.c:
6035 * gst/indexers/gstmemindex.c:
6036 * gst/schedulers/Makefile.am:
6037 Change registry to keep track of both plugins and features,
6038 removing the feature tracking from plugins themselves.
6040 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6042 * check/Makefile.am:
6043 * tools/gst-register.1.in:
6046 2005-09-15 David Schleef <ds@schleef.org>
6048 * check/gst/gstplugin.c:
6049 * gst/gstelementfactory.c:
6051 * gst/gstpluginfeature.c:
6052 * gst/gstregistry.c:
6053 Getting tired of debugging. Disabled all the unreffing of
6054 plugins and features, which fixes the segfaults, but of
6055 course leaks like crazy. At least playbin works.
6057 2005-09-15 David Schleef <ds@schleef.org>
6059 * check/gst/gstplugin.c: (register_check_elements),
6060 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6062 * gst/elements/gsttypefindelement.c: Fix refcounting.
6063 * gst/gsttypefind.c:
6064 * gst/gsttypefindfactory.c:
6065 * gst/gsttypefindfactory.h:
6067 2005-09-15 David Schleef <ds@schleef.org>
6069 * gst/gstindex.c: get refcounting correct.
6070 * gst/gstregistry.c: Handle the case where a feature/plugin is
6073 2005-09-15 David Schleef <ds@schleef.org>
6075 * check/Makefile.am:
6076 * check/gst/gstplugin.c: Add test
6077 * gst/gstplugin.c: Fix problems noticed by testsuite
6079 * gst/gstregistry.c:
6080 * gst/gstregistry.h:
6082 2005-09-15 David Schleef <ds@schleef.org>
6084 * gst/gstplugin.c: Implement semi-decent recounting and locking
6085 in plugins and plugin features.
6087 * gst/gstpluginfeature.c:
6088 * gst/gstpluginfeature.h:
6089 * gst/gstregistry.c:
6091 2005-09-15 Michael Smith <msmith@fluendo.com>
6093 * gst/gstregistry.c: (gst_registry_get_feature_list):
6094 Implement this. Makes oggdemux work; decodebin still broken.
6096 2005-09-14 David Schleef <ds@schleef.org>
6098 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6100 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6101 * gst/check/Makefile.am:
6102 * libs/gst/controller/Makefile.am:
6103 * libs/gst/dataprotocol/Makefile.am:
6105 2005-09-14 David Schleef <ds@schleef.org>
6107 * configure.ac: Remove getbits library. Nothing uses it, and
6108 it should be in something like liboil if someone did want
6110 * libs/gst/Makefile.am:
6111 * libs/gst/getbits/Makefile.am:
6112 * libs/gst/getbits/gbtest.c:
6113 * libs/gst/getbits/getbits.c:
6114 * libs/gst/getbits/getbits.h:
6115 * libs/gst/getbits/gstgetbits_generic.c:
6116 * libs/gst/getbits/gstgetbits_i386.s:
6117 * libs/gst/getbits/gstgetbits_inl.h:
6119 2005-09-14 David Schleef <ds@schleef.org>
6121 * gst/Makefile.am: Dist glib-compat.h
6123 2005-09-14 David Schleef <ds@schleef.org>
6125 * configure.ac: Remove gst/registries, since it's no longer used.
6126 * gst/registries/Makefile.am:
6127 * gst/registries/gstlibxmlregistry.c:
6128 * gst/registries/gstlibxmlregistry.h:
6129 * gst/registries/gstxmlregistry.c:
6130 * gst/registries/gstxmlregistry.h:
6131 * gst/registries/registrytest.c:
6133 2005-09-14 David Schleef <ds@schleef.org>
6135 * gst/glib-compat.h:
6136 * gst/gstregistryxml.c:
6137 Convergence is near. Seriously.
6139 2005-09-14 David Schleef <ds@schleef.org>
6141 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6142 * gst/glib-compat.h:
6143 Attempt #4 to appease the buildbots.
6145 2005-09-14 David Schleef <ds@schleef.org>
6147 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6150 2005-09-14 David Schleef <ds@schleef.org>
6152 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6155 2005-09-14 David Schleef <ds@schleef.org>
6157 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6160 2005-09-14 David Schleef <ds@schleef.org>
6162 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6163 * gst/glib-compat.h: Add some functions that are in newer versions
6164 of glib than we care to require.
6165 * gst/gstregistryxml.c: Use them.
6167 2005-09-14 David Schleef <ds@schleef.org>
6169 * po/POTFILES.in: remove gst-register.c
6171 2005-09-14 David Schleef <ds@schleef.org>
6173 * docs/gst/gstreamer-docs.sgml:
6174 * docs/gst/gstreamer-sections.txt:
6175 * docs/gst/gstreamer.types:
6176 * docs/gst/tmpl/gstelement.sgml:
6177 * docs/gst/tmpl/gstplugin.sgml:
6178 * docs/gst/tmpl/gstpluginfeature.sgml:
6179 Documentation updates for registry changes.
6181 2005-09-14 David Schleef <ds@schleef.org>
6183 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6184 because we don't require glib-2.8.
6186 2005-09-14 David Schleef <ds@schleef.org>
6188 * gst/gstregistryxml.c: Added. Essentially moved out of the
6189 registries directory.
6191 2005-09-14 David Schleef <ds@schleef.org>
6193 * check/Makefile.am:
6194 * check/generic/states.c:
6198 * gst/gst_private.h:
6199 * gst/gstelementfactory.c:
6204 * gst/gstpluginfeature.c:
6205 * gst/gstpluginfeature.h:
6206 * gst/gstregistry.c:
6207 * gst/gstregistry.h:
6208 * gst/gstregistrypool.c: remove
6209 * gst/gstregistrypool.h: remove
6210 * gst/gsttypefind.c:
6211 * gst/gsttypefindfactory.c:
6213 * tools/Makefile.am:
6214 * tools/gst-compprep.c:
6215 * tools/gst-inspect.c:
6216 * tools/gst-register.c: remove
6217 * tools/gst-xmlinspect.c:
6218 Registry rewrite. Changes registry from being a file created
6219 by a tool into a simple cache file created automatically by
6220 libgstreamer. Removed gst-register (because it's no longer
6221 needed). Remove registry pools, because we only have one
6222 registry implementation (XML). Fix up other subsystems as
6225 2005-09-13 Michael Smith <msmith@fluendo.com>
6227 * gst/gstconfig.h.in:
6228 Don't Use windows linking attributes for MinGW. Fixes #316157
6230 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6232 * gst/gstutils.c: (set_state_async_thread_func),
6233 (gst_element_set_state_async):
6234 Apparently people think it's better if this function doesn't
6235 try to set the state to whatever state was asked for on the first
6236 call to this function for any object. Seriously.
6238 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6240 * check/gst/gstpipeline.c: (GST_START_TEST):
6241 * docs/gst/gstreamer-sections.txt:
6242 * gst/gstutils.c: (set_state_async_thread_func),
6243 (gst_element_set_state_async):
6245 add a "gst_element_set_state_async" method that
6246 sets the state and starts a thread to make sure the state
6247 change completes as best as it can
6249 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6251 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6252 codify design+behaviour in testsuite after discussion
6254 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6256 * docs/gst/tmpl/gstelement.sgml:
6257 * docs/manual/appendix-quotes.xml:
6259 * gst/gstelement.c: (gst_element_set_state):
6262 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6264 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6265 (gst_base_transform_prepare_output_buf),
6266 (gst_base_transform_handle_buffer):
6267 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6268 (gst_capsfilter_prepare_buf):
6269 Remove the requirement for sub-classes to call the parent
6270 implementation of prepare_output_buffer with a wrapper function.
6273 * gst/gsttagsetter.h:
6276 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6278 * docs/gst/gstreamer-sections.txt:
6281 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6283 * docs/gst/gstreamer-sections.txt:
6284 * docs/gst/tmpl/gstelement.sgml:
6285 * docs/gst/tmpl/gstplugin.sgml:
6286 * gst/gstminiobject.c:
6288 docs now stop throwing warnings
6290 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6292 * docs/gst/gstreamer-sections.txt:
6293 * docs/gst/gstreamer.types:
6294 * docs/gst/tmpl/gstpad.sgml:
6295 * docs/gst/tmpl/gsttypes.sgml:
6296 * gst/base/gstadapter.h:
6297 * gst/base/gstbasesink.h:
6298 * gst/base/gstbasesrc.h:
6308 * gst/gststructure.c:
6309 * gst/registries/gstlibxmlregistry.h:
6310 various documentation fixes
6312 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6314 * docs/gst/gstreamer-sections.txt:
6315 * docs/gst/tmpl/gstvalue.sgml:
6316 rearrange gstvalue section
6317 * gst/gstutils.c: (gst_element_state_get_name):
6319 * gst/gstvalue.c: (_gst_value_initialize):
6323 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6325 * check/gst-libs/controller.c:
6327 * gst/base/gstbasetransform.c:
6328 (gst_base_transform_default_prepare_buf),
6329 (gst_base_transform_handle_buffer):
6330 * gst/base/gstbasetransform.h:
6331 Some more basetransform changes and fixes to enable sub-classes
6332 that modify buffer metadata only.
6333 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6334 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6335 (gst_capsfilter_prepare_buf):
6336 If the output pad has fixed allowed caps and input buffers
6337 don't have any, set the fixed caps on outgoing buffers.
6339 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6340 * check/elements/identity.c: (GST_START_TEST):
6341 Make the error a little clearer when the test fails because
6342 identity made a copy of the buffer.
6343 * docs/gst/gstreamer-sections.txt:
6344 New symbols in gstbasetransform.h
6345 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6346 (gst_base_transform_init), (gst_base_transform_transform_size),
6347 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6348 (gst_base_transform_default_prepare_buf),
6349 (gst_base_transform_get_unit_size),
6350 (gst_base_transform_buffer_alloc),
6351 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6352 (gst_base_transform_change_state),
6353 (gst_base_transform_set_passthrough),
6354 (gst_base_transform_set_in_place),
6355 (gst_base_transform_is_in_place):
6356 * gst/base/gstbasetransform.h:
6357 Change BaseTransform to separate in_place operate from same_caps
6358 output. in_place implies that the element can perform the transform
6359 on incoming buffers in-place, even if the caps on the output are
6361 Sub-class elements can now implement special buffer allocation
6362 methods for outgoing buffers if they wish to.
6363 Big documentation addition.
6364 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6365 * gst/elements/gstelements.c:
6366 Changes for basetransform modifications.
6367 * gst/elements/Makefile.am:
6368 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6369 Compile fix. Extra debug output.
6371 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6373 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6375 add tests for valid pad naming
6376 * gst/check/gstcheck.c: (gst_check_log_message_func),
6377 (gst_check_log_critical_func):
6379 remove printing of code, it is fragile when the code contains
6380 % and the line number is enough info
6381 * gst/check/gstcheck.h:
6382 * gst/gstpad.c: (gst_pad_template_new):
6385 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6388 say what CHECK flags we use
6389 * docs/libs/gstreamer-libs.types:
6390 * libs/gst/controller/Makefile.am:
6391 * libs/gst/controller/gst-controller.c:
6392 * libs/gst/controller/gst-controller.h:
6393 * libs/gst/controller/gst-helper.c:
6394 * libs/gst/controller/gst-interpolation.c:
6395 * libs/gst/controller/gstcontroller.c:
6396 * libs/gst/controller/gsthelper.c:
6397 * libs/gst/controller/gstinterpolation.c:
6398 * tools/gst-inspect.c: (print_plugin_info):
6399 we don't use dashes in header names
6401 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6403 * check/Makefile.am:
6404 * check/gst/.cvsignore:
6405 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6406 (gst_pipeline_suite), (main):
6407 adding a test for pipelines and state changes
6408 * gst/gstutils.c: (get_state_func):
6410 * gstreamer.spec.in:
6413 2005-09-08 Michael Smith <msmith@fluendo.com>
6415 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6416 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6417 (gst_file_src_is_seekable), (gst_file_src_get_size),
6418 (gst_file_src_start):
6419 * gst/elements/gstfilesrc.h:
6420 Various fixes for unseekable, unmmapable, and non-normal files, so
6421 that fallback to read() rather than mmap() works.
6422 * gst/gstevent.c: (gst_event_new_newsegment):
6423 Allow newsegment events with segment_start == segment_end, as will
6424 correctly happen if you use filesrc on a zero-size file, for
6427 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6429 * gst/gstplugin.c: (gst_plugin_load_file):
6430 Call g_module_close when we don't load the module
6432 * gst/registries/gstlibxmlregistry.c:
6433 (gst_xml_registry_get_property):
6434 Port leak fix from 0.8
6436 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6438 * docs/gst/gstreamer-docs.sgml:
6439 * docs/gst/tmpl/.cvsignore:
6440 * docs/gst/tmpl/gsttrace.sgml:
6441 * docs/gst/tmpl/gsttrashstack.sgml:
6450 * gst/gsttaginterface.c:
6451 * gst/gsttaginterface.h:
6454 * gst/gsttagsetter.c:
6455 * gst/gsttagsetter.h:
6458 * gst/gsttrashstack.c:
6459 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6460 inlined docs for gsttrace, gsttrashstack
6462 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6465 * gst/elements/gstbufferstore.h:
6466 * gst/elements/gsttypefindelement.c:
6467 * gst/elements/gsttypefindelement.h:
6469 * gst/gsttypefind.c:
6470 * gst/gsttypefind.h:
6471 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6472 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6473 (gst_type_find_factory_dispose),
6474 (gst_type_find_factory_unload_thyself),
6475 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6476 (gst_type_find_factory_get_caps),
6477 (gst_type_find_factory_get_extensions),
6478 (gst_type_find_factory_call_function):
6479 * gst/gsttypefindfactory.h:
6480 * gst/registries/gstlibxmlregistry.c:
6481 * gst/registries/gstxmlregistry.c:
6482 splitted gsttypefind into gsttypefind, gsttypefindfactory
6484 2005-09-07 Andy Wingo <wingo@pobox.com>
6486 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6487 condition whereby the pad's task function is entered before the
6488 pad_mode variable was set.
6490 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6492 * gst/gstpad.c: (gst_pad_alloc_buffer):
6493 Catch misbehaving pad_alloc functions that don't
6494 set up caps and do it for them.
6496 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6498 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6500 * docs/gst/tmpl/.cvsignore:
6501 * docs/gst/tmpl/gstmemchunk.sgml:
6502 * docs/gst/tmpl/gstparse.sgml:
6503 * docs/gst/tmpl/gsttaglist.sgml:
6504 * docs/gst/tmpl/gsttagsetter.sgml:
6505 * docs/gst/tmpl/gsttypefind.sgml:
6506 * docs/gst/tmpl/gsttypefindfactory.sgml:
6507 * gst/gstmemchunk.c:
6510 * gst/gsttaginterface.c:
6511 * gst/gsttypefind.c:
6512 * gst/gsttypefind.h:
6515 === release 0.9.2 ===
6517 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6522 releasing 0.9.2, "South"
6524 2005-09-05 Andy Wingo <wingo@pobox.com>
6526 * gst/registries/gstxmlregistry.h:
6527 * gst/registries/gstxmlregistry.c: Um... resurrect...
6529 * gst/registries/gstxmlregistry.h:
6530 * gst/registries/gstxmlregistry.c: and update to newer API.
6531 Incidentally they should be a bit faster now that they don't have
6534 2005-09-05 Andy Wingo <wingo@pobox.com>
6536 * gst/registries/gstxmlregistry.h:
6537 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6538 replaced by the libxml registry a while back
6540 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6542 * docs/gst/tmpl/gstplugin.sgml:
6543 * gst/elements/gstelements.c:
6545 * gst/gstplugin.c: (gst_plugin_register_func),
6546 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6547 (gst_plugin_get_source):
6549 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6550 (gst_xml_registry_save_plugin):
6551 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6552 (gst_xml_registry_save_plugin):
6553 * tools/gst-inspect.c: (print_plugin_info):
6554 add a "source" plugin description field, to represent the source
6555 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6556 will set it to PACKAGE, which is automake's idea of the name of
6559 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6565 * docs/faq/Makefile.am:
6566 * docs/gst/tmpl/gstelement.sgml:
6567 * docs/gst/tmpl/gsttypes.sgml:
6568 * docs/htmlinstall.mak:
6569 * docs/manual/Makefile.am:
6570 * docs/pwg/Makefile.am:
6571 reorganize doc build a little
6572 split out docbook and gtk-doc stuff
6573 have two separate --enable's and enable them through autogen
6574 but disable by default in configure (to be similar to other
6576 * gstreamer.spec.in:
6577 clean up docs install
6597 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6599 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6602 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6603 (gst_fake_sink_change_state):
6604 Make state change function thread-safe.
6606 * gst/gstpad.c: (gst_pad_alloc_buffer):
6607 Set offset on generic buffer allocated by fallback.
6609 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6611 * docs/gst/gstreamer-sections.txt:
6612 * docs/gst/tmpl/gstelement.sgml:
6614 * libs/gst/controller/gst-controller.c:
6615 (gst_controlled_property_set_interpolation_mode),
6616 (gst_controlled_property_new),
6617 (gst_controller_find_controlled_property):
6618 run the wingo-magic script against the docs
6620 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6622 * docs/gst/gstreamer-docs.sgml:
6623 * docs/gst/gstreamer-sections.txt:
6624 * docs/gst/tmpl/.cvsignore:
6625 * docs/gst/tmpl/gstelementdetails.sgml:
6626 * docs/gst/tmpl/gstelementfactory.sgml:
6629 * gst/gstelementfactory.c:
6630 * gst/gstelementfactory.h:
6631 merged elementdetails docs into elementfactory docs
6634 2005-09-02 Andy Wingo <wingo@pobox.com>
6636 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6637 consider this enum an enum and not a flags.
6639 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6641 * docs/gst/gstreamer-docs.sgml:
6642 * docs/gst/tmpl/.cvsignore:
6643 * docs/gst/tmpl/gstghostpad.sgml:
6644 * docs/gst/tmpl/gstiterator.sgml:
6645 * docs/gst/tmpl/gstmacros.sgml:
6646 * docs/gst/tmpl/gstrealpad.sgml:
6647 * docs/gst/tmpl/gstregistry.sgml:
6648 * docs/gst/tmpl/gstregistrypool.sgml:
6649 * docs/gst/tmpl/gststructure.sgml:
6650 * docs/gst/tmpl/gstsystemclock.sgml:
6651 * docs/gst/tmpl/gsttrace.sgml:
6652 * gst/gstghostpad.c:
6654 * gst/gstmemchunk.c:
6655 * gst/gstmemchunk.h:
6657 * gst/gstregistry.c:
6658 * gst/gstregistrypool.c:
6659 * gst/gststructure.c:
6660 * gst/gstsystemclock.c:
6663 2005-09-02 Andy Wingo <wingo@pobox.com>
6665 * gst/gstelement.h (GstState): Renamed from GstElementState,
6666 changed to be a normal enum instead of flags.
6667 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6668 munged to be GST_STATE_CHANGE_*.
6669 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6670 work with the new state representation.
6671 (GstStateChange): New enumeration of possible state transitions.
6672 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6673 (GstElementClass::change_state): Pass the GstStateChange along as
6674 an argument. Helps language bindings, so they don't have to use
6675 tricky lock-needing macros like GST_STATE_CHANGE ().
6677 * scripts/update-states (file): New script. Run it on a file to
6678 update it for state naming and API changes. Updates files in
6681 * All files updated for the new API.
6683 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6685 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6686 * gst/gstutils.c: (gst_util_set_value_from_string),
6687 (gst_util_set_object_arg):
6688 fix a bunch of unchecked return values
6689 * tools/gst-complete.c: (main):
6690 * gstreamer.spec.in:
6693 2005-09-01 Wim Taymans <wim@fluendo.com>
6695 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6696 (gst_base_sink_event), (gst_base_sink_do_sync),
6697 (gst_base_sink_handle_event):
6698 * gst/base/gstbasesink.h:
6699 Handle newsegments more correctly.
6704 * gst/gstevent.c: (gst_event_new_newsegment):
6705 A newsegment cannot have a start_time of -1
6707 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6709 * win32/gstenumtypes.c:
6710 * win32/gstenumtypes.h:
6713 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6715 * libs/gst/controller/gst-controller.c:
6716 (gst_controlled_property_set_interpolation_mode),
6717 (gst_controlled_property_new):
6720 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6722 * docs/faq/gst-uninstalled:
6727 * gst/gstutils.c: (gst_element_link_filtered):
6729 add gst_element_link_filtered
6731 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6733 * docs/gst/gstreamer-docs.sgml:
6734 * docs/gst/gstreamer-sections.txt:
6735 * docs/gst/tmpl/.cvsignore:
6736 * docs/gst/tmpl/gsterror.sgml:
6737 * docs/gst/tmpl/gstfilter.sgml:
6738 * docs/gst/tmpl/gsturihandler.sgml:
6739 * docs/gst/tmpl/gsturitype.sgml:
6740 * docs/gst/tmpl/gstutils.sgml:
6741 * docs/gst/tmpl/gstxml.sgml:
6749 inlined more docs, fixed double id-ref
6751 2005-08-31 Wim Taymans <wim@fluendo.com>
6753 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6754 (gst_base_transform_handle_buffer):
6755 Passthrough elements don't need the caps as they don't care.
6757 2005-08-31 Wim Taymans <wim@fluendo.com>
6759 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6760 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6761 Don't leak refcounts on buffers.
6763 2005-08-31 Wim Taymans <wim@fluendo.com>
6765 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6766 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6767 (gst_base_transform_chain), (gst_base_transform_change_state):
6768 * gst/base/gstbasetransform.h:
6769 Handle the case where we are not negotiated more gracefully.
6771 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6773 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6774 (gst_file_src_map_region):
6775 Set READONLY flag on mmap'ed buffers, otherwise
6776 gst_buffer_make_writable() won't work properly (#314708).
6778 2005-08-31 Wim Taymans <wim@fluendo.com>
6780 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6781 passthrough elements can even do inplace on non writable
6782 buffers (as they don't touch them).
6784 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6786 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6787 (gst_test_mono_source_set_property),
6788 (gst_test_mono_source_class_init), (GST_START_TEST),
6789 (gst_controller_suite):
6790 more tests (hehe I have the most)
6792 describe popping messages whenusing mulltiple sources
6793 * libs/gst/controller/gst-controller.c:
6794 (gst_controlled_property_set_interpolation_mode),
6795 (gst_controlled_property_new):
6796 * libs/gst/controller/gst-controller.h:
6797 * libs/gst/controller/gst-interpolation.c:
6798 implement boolean properties
6800 2005-08-31 Wim Taymans <wim@fluendo.com>
6802 * gst/gstminiobject.c: (gst_mini_object_ref):
6803 Cannot assert that the refcount has to be positive
6804 since a disposed object can be resurrected.
6806 2005-08-31 Wim Taymans <wim@fluendo.com>
6808 * gst/gstpad.c: (gst_pad_init):
6809 Revert change, need to first fix badly behaving
6812 2005-08-30 Wim Taymans <wim@fluendo.com>
6814 * check/elements/fakesrc.c: (setup_fakesrc):
6815 * check/elements/identity.c: (setup_identity):
6816 Activate pads before using them.
6818 2005-08-30 Wim Taymans <wim@fluendo.com>
6820 * gst/base/gstadapter.c: (gst_adapter_flush):
6821 Flushing out 0 bytes is ok for this function.
6823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6824 no newsegment gives a warning and sets the start/stop to
6827 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6828 (gst_base_transform_set_passthrough):
6831 * gst/gstminiobject.c: (gst_mini_object_ref):
6832 Check refcount here too.
6834 * gst/gstpad.c: (gst_pad_init):
6835 Pads are initially flushing and refusing data.
6837 * gst/gstutils.c: (gst_element_link_pads_filtered):
6838 When adding a capsfilter element make sure it has the
6839 same state as the parent bin.
6841 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6843 * docs/gst/tmpl/.cvsignore:
6844 * docs/gst/tmpl/gstformat.sgml:
6845 * docs/gst/tmpl/gstversion.sgml:
6849 * gst/gstversion.h.in:
6850 more docs and two more inlined
6852 2005-08-30 Wim Taymans <wim@fluendo.com>
6854 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6855 Don't sync to clock.
6857 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6859 * docs/gst/gstreamer-sections.txt:
6860 ultral33t func10ns deserve to appear in the docs actually
6861 * docs/gst/tmpl/.cvsignore:
6862 * docs/gst/tmpl/gstcompat.sgml:
6863 * docs/gst/tmpl/gstconfig.sgml:
6864 * gst/check/gstcheck.c:
6866 * gst/gstconfig.h.in:
6869 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6871 * docs/gst/tmpl/.cvsignore:
6872 * docs/gst/tmpl/gstquery.sgml:
6873 * docs/gst/tmpl/gstutils.sgml:
6876 inlined and extended docs
6878 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6880 * check/gst-libs/controller.c: (GST_START_TEST),
6881 (gst_controller_suite):
6883 * docs/gst/tmpl/gstutils.sgml:
6884 * docs/libs/gstreamer-libs-sections.txt:
6885 * docs/libs/tmpl/gstdataprotocol.sgml:
6887 * examples/controller/audio-example.c: (main):
6888 controller example works now
6891 * tools/gst-inspect.c: (print_element_properties_info):
6892 show param spec flags
6894 2005-08-29 Andy Wingo <wingo@pobox.com>
6896 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6898 2005-08-28 Andy Wingo <wingo@pobox.com>
6900 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6901 as having two arguments instead of just one. Allows superclasses
6902 to access information on subclasses -- see the terrible for() loop
6903 in gtype.c:g_type_create_instance for the reason why. All callers
6906 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6908 * docs/design/part-messages.txt:
6910 * docs/gst/tmpl/.cvsignore:
6911 * docs/gst/tmpl/gstcaps.sgml:
6912 * docs/gst/tmpl/gstclock.sgml:
6919 added descriptions for bus and message
6920 inline caps and clock docs
6922 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6928 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6930 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6933 2005-08-26 Andy Wingo <wingo@pobox.com>
6935 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6936 element_set_state's return val.
6937 (test_2_elements): Add test that's been disabled for months.
6939 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6940 can-activate-pull properties.
6942 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6943 can-activate-pull properties. Implement is_seekable so fakesrc can
6944 operate in pull mode.
6946 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6948 (gst_base_sink_activate, gst_base_sink_activate_pull)
6949 (gst_base_sink_activate_push): Make activation mode choosing work.
6951 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6952 is right. Make pull mode work. Post an eos before pausing in pull
6954 (gst_base_sink_change_state): Pay attention to the core's
6955 change_state() return val.
6957 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6958 has-getrange properties. Cleanups.
6960 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6961 has_getrange and replace with can_activate_pull and
6964 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6965 locking comments. Remove has_loop, has_chain and replace with
6966 can_activate_pull and can_activate_push.
6968 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6971 * examples/Makefile.am:
6972 * examples/metadata/Makefile.am:
6973 * examples/metadata/read-metadata.c: (message_loop),
6974 (have_pad_handler), (make_pipeline), (print_tag), (main):
6975 Add metadata reading example that loops over a list of filenames,
6976 dumping any tags found.
6978 * gst/gstbus.c: (gst_bus_dispose):
6979 * gst/gstelement.c: (gst_element_dispose):
6980 Release a few potentially-held references in dispose.
6982 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6984 * docs/gst/tmpl/gstminiobject.sgml:
6985 do *not* add tmpl/*.sgml files to CVS!
6987 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6989 * libs/gst/bytestream/.cvsignore:
6990 * libs/gst/bytestream/Makefile.am:
6991 * libs/gst/bytestream/adapter.c:
6992 * libs/gst/bytestream/adapter.h:
6993 * libs/gst/bytestream/bytestream.c:
6994 * libs/gst/bytestream/bytestream.h:
6995 * libs/gst/bytestream/filepad.c:
6996 * libs/gst/bytestream/filepad.h:
6997 removing obsolete files
6999 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7001 * docs/gst/gstreamer-docs.sgml:
7002 * docs/libs/gstreamer-libs-docs.sgml:
7003 disabed additional index entries again, as this makes docs-gen just
7004 slow and they aren't useful yet
7005 * docs/libs/gstreamer-libs-sections.txt:
7006 little -section.txt cleanup for libs
7008 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7010 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7011 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7012 fix up some debugging
7013 (gst_base_transform_get_unit_size),
7014 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7015 (gst_base_transform_handle_buffer):
7016 * gst/base/gstbasetransform.h:
7017 handle and store timed NEWSEGMENT events so that subclasses that
7018 calculate time by counting samples have a segment_start time they
7019 need to add to their timestamps - see audioresample
7021 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7024 removed ';' from the end of macro defs
7025 * docs/gst/gstreamer-docs.sgml:
7026 * docs/gst/gstreamer-sections.txt:
7027 * docs/gst/tmpl/.cvsignore:
7029 * gst/gstelement.c: (gst_element_class_init),
7030 (gst_element_set_state), (activate_pads),
7031 (gst_element_save_thyself):
7032 * gst/gstevent.c: (gst_event_new_newsegment):
7034 * gst/gstiterator.c:
7035 * gst/gstiterator.h:
7038 * gst/gstutils.c: (gst_pad_query_convert):
7040 fixed parameter name mismatches between source, header and docs
7041 added some more docs, resolved the last batch of unused elements in
7042 docs (now someone needs to doc them)
7044 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7046 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7047 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7048 don't walk through the plugins backwards. Where is all this
7049 reversed logic coming from ?
7051 2005-08-25 Wim Taymans <wim@fluendo.com>
7053 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7054 (gst_base_transform_transform_size),
7055 (gst_base_transform_configure_caps),
7056 (gst_base_transform_get_unit_size),
7057 (gst_base_transform_buffer_alloc),
7058 (gst_base_transform_change_state):
7059 * gst/base/gstbasetransform.h:
7060 Cache caps unit_size.
7061 Make sure we cannot negotiate up and downstream at the
7064 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7066 * gst/gst.c: (init_pre), (init_post):
7067 register the installed plugin path after the env var
7068 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7069 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7070 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7071 directories, so the tests can prefer uninstalled over installed
7073 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7075 * gst/base/gstbasetransform.h:
7080 2005-08-25 Wim Taymans <wim@fluendo.com>
7082 * gst/gstbin.c: (bin_bus_handler):
7083 Be a bit more conservative about the posted message.
7085 * gst/gstbus.c: (gst_bus_post):
7086 Some cleanups, warn wrong return values.
7088 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7090 * check/gst/gstbin.c: (GST_START_TEST):
7091 * gst/gstbin.c: (bin_bus_handler):
7092 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7093 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7094 (gst_message_new_warning), (gst_message_new_tag),
7095 (gst_message_new_state_changed), (gst_message_new_segment_start),
7096 (gst_message_new_segment_done), (gst_message_new_custom):
7098 * tools/gst-launch.c: (event_loop):
7099 * tools/gst-md5sum.c: (event_loop):
7100 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7102 2005-08-25 Wim Taymans <wim@fluendo.com>
7104 * check/generic/states.c: (GST_START_TEST):
7105 Cleanup can be done at the end.
7107 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7108 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7109 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7110 Oh boy.. Thanks for finding this, Thomas.
7112 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7114 * docs/gst/gstreamer.types:
7117 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7119 * docs/gst/gstreamer-docs.sgml:
7120 * docs/gst/gstreamer-sections.txt:
7121 * docs/gst/tmpl/.cvsignore:
7123 * gst/gstiterator.c:
7125 * gst/registries/gstxmlregistry.h:
7126 added missing classes and symbols (123 more to go)
7127 removed removed symbols from section file
7128 fixed many doc-comments
7130 2005-08-24 Wim Taymans <wim@fluendo.com>
7132 * check/generic/states.c: (GST_START_TEST):
7133 Make sure all tasks are stopped.
7135 * check/gst/gstbin.c: (GST_START_TEST):
7136 Unref after usage for proper valgrinding.
7138 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7139 Really wait for the task to stop before destroying the
7142 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7143 (gst_queue_src_activate_push):
7144 Small cleanups. Don't stop the task when we did not start
7147 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7148 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7149 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7152 Protect the stream lock with the object lock.
7153 Disallow setting the stream lock when running.
7154 Add cleanup_all to wait for the threadpool to finish.
7155 Remove code to autoallocate a mutex if none was provided.
7156 Add _join() to wait for a task to stop.
7157 Protect the thread pool with a global lock.
7159 2005-08-24 Wim Taymans <wim@fluendo.com>
7161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7162 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7163 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7164 * gst/base/gstbasesink.h:
7165 Handle newsegment events correctly.
7166 Drop buffers out of the segment range.
7168 2005-08-22 Andy Wingo <wingo@pobox.com>
7170 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7171 macro, implements an interface and gstimplementsinterface for a
7174 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7176 * check/Makefile.am:
7177 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7178 add a test that does a bunch of state changes on elements
7179 needs some fixing for valgrind
7180 * check/states/sinks.c: (gst_object_suite):
7183 add prototype for gst_caps_is_equal_fixed
7185 * gst/gstregistrypool.c:
7188 2005-08-24 Andy Wingo <wingo@pobox.com>
7190 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7191 convert a negative value. Doesn't make much sense. Mostly this is
7192 here to force callers to ensure -1 maps to -1.
7194 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7196 * docs/pwg/advanced-types.xml:
7197 Well done to Michael for catching my deliberate introduction
7198 of this spelling mistake.
7199 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7201 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7202 unlink pads before removing the element from the bin.
7204 2005-08-24 Andy Wingo <wingo@pobox.com>
7206 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7207 the same thing as GST_DEBUG=*:4.
7208 (parse_debug_level, parse_debug_category): New helper parsers.
7210 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7212 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7213 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7214 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7215 (gst_base_transform_buffer_alloc),
7216 (gst_base_transform_handle_buffer):
7217 use gboolean return values and pointers to size so we can use the
7218 full GST_BUFFER_SIZE range (guint) for buffer sizes
7219 use GstPadDirection for transform_caps
7220 * gst/base/gstbasetransform.h:
7221 rename get_size to get_unit_size since that's what it is
7222 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7223 use GstPadDirection for transform_caps
7224 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7226 cleanup and debugging
7228 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7230 * gst/gstelement.c: (gst_element_class_init),
7231 (gst_element_set_state), (activate_pads),
7232 (gst_element_save_thyself):
7233 * tools/gst-compprep.c: (main):
7234 * tools/gst-inspect.c: (print_element_properties_info):
7235 * tools/gst-xmlinspect.c: (print_element_properties):
7236 Fixed long standing mem-leak
7238 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7240 * check/gst/gstbin.c: (GST_START_TEST):
7241 * gst/gstbin.c: (bin_bus_handler):
7242 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7243 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7244 (gst_message_new_warning), (gst_message_new_tag),
7245 (gst_message_new_state_changed), (gst_message_new_segment_start),
7246 (gst_message_new_segment_done), (gst_message_new_custom):
7248 * tools/gst-launch.c: (event_loop):
7249 * tools/gst-md5sum.c: (event_loop):
7250 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7251 that applications can sensibly post custom messages with references
7252 to their own objects.
7254 2005-08-24 Andy Wingo <wingo@pobox.com>
7256 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7259 2005-08-24 Wim Taymans <wim@fluendo.com>
7261 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7262 (gst_base_transform_transform_caps),
7263 (gst_base_transform_transform_size),
7264 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7265 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7266 (gst_base_transform_handle_buffer):
7267 * gst/base/gstbasetransform.h:
7268 Many fixes and new features added by Thomas. Can now also do
7269 transforms with variable sizes and a custom fixate_caps function.
7271 2005-08-24 Wim Taymans <wim@fluendo.com>
7273 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7277 Cast to ClockTime before formatting to time.
7282 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7284 * check/gst-libs/controller.c: (GST_START_TEST),
7285 (gst_controller_suite):
7286 * docs/gst/tmpl/gstcaps.sgml:
7287 * docs/gst/tmpl/gstghostpad.sgml:
7288 * docs/gst/tmpl/gstquery.sgml:
7289 * docs/gst/tmpl/gstutils.sgml:
7290 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7291 (gst_object_sink_values), (gst_object_get_value_arrays),
7292 (gst_object_get_value_array):
7293 gracefully handle helper method calls to objects that are not beeing
7294 controlled, added test case for that
7296 2005-08-23 Wim Taymans <wim@fluendo.com>
7298 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7299 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7300 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7301 (gst_event_parse_qos), (gst_event_new_seek),
7302 (gst_event_parse_seek):
7304 Some more debugging output and doc cleanups.
7306 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7307 Fix possible deadlock.
7309 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7311 * docs/gst/gstreamer-docs.sgml:
7312 * docs/gst/gstreamer-sections.txt:
7313 * docs/gst/gstreamer.types:
7314 * docs/gst/tmpl/.cvsignore:
7319 added 100 symbols from gstreamer-unused.txt to the right sections
7320 fixed more broken comments
7321 added GstBus to docs
7323 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7325 * docs/gst/gstreamer-sections.txt:
7326 * docs/gst/tmpl/.cvsignore:
7327 * docs/gst/tmpl/gstbin.sgml:
7328 * docs/gst/tmpl/gstbuffer.sgml:
7329 * gst/base/gstbasesrc.c:
7330 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7333 * tools/gst-launch.1.in:
7334 inlined more doc comments, added missing comments and fixed comments
7337 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7339 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7343 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7345 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7346 * gst/gststructure.h:
7347 add a fixate function for booleans; add a FIXME that these func
7348 names should probably be gst_structure_fixate_*
7350 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7352 * docs/gst/gstreamer-docs.sgml:
7353 * docs/gst/gstreamer-sections.txt:
7355 * gst/gstbin.c: (gst_bin_get_type),
7356 (gst_bin_child_proxy_get_child_by_index),
7357 (gst_bin_child_proxy_get_children_count),
7358 (gst_bin_child_proxy_init):
7359 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7360 (gst_child_proxy_get_child_by_index),
7361 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7362 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7363 (gst_child_proxy_get), (gst_child_proxy_set_property),
7364 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7365 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7366 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7367 * gst/gstchildproxy.h:
7368 * gst/parse/grammar.y:
7369 * tools/gst-inspect.c: (print_interfaces),
7370 (print_element_properties_info), (print_element_info):
7371 ported gstchildproxy over from 0.8
7372 ported gst-inspect fixes and enhancements over from 0.8
7374 2005-08-22 Wim Taymans <wim@fluendo.com>
7376 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7377 (gst_base_transform_handle_buffer):
7378 Also call the transform function if we have ANY caps.
7380 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7383 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7385 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7386 Don't pretend to handle seek events if the source is not seekable
7388 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7390 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7391 Remove extra parameter to debug output
7393 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7394 (gst_base_src_do_seek), (gst_base_src_activate_push):
7395 Fix seek event handling.
7397 * gst/gstpipeline.c: (gst_pipeline_change_state):
7398 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7399 (gst_queue_src_activate_push):
7400 Don't start the src pad task on FLUSH_STOP if the pad
7404 2005-08-22 Wim Taymans <wim@fluendo.com>
7406 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7407 Added check for gst_static_caps_get() refcounting.
7409 2005-08-22 Wim Taymans <wim@fluendo.com>
7411 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7412 Make _static_caps_get() refcounting sane.
7414 * gst/gstelement.c: (gst_element_set_state):
7415 Add g_return_val_if_fail() to protect against segfaults.
7417 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7419 * docs/gst/tmpl/gstevent.sgml:
7422 inlined remaining docs, added missing doc comments
7424 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7426 * check/gst/gstbin.c: (GST_START_TEST):
7427 since we don't know when preroll is done, use refcount range
7429 * gst/check/gstcheck.h:
7430 add macro for checking refcount range
7432 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7434 * check/Makefile.am:
7435 clean up environment for when registry gets built versus
7436 when actual tests are run; valgrind seems to not report
7437 leaks if GST_PLUGIN_PATH is set to some specific values
7438 * check/gst/gstbin.c: (GST_START_TEST):
7439 add more refcounting checks; maybe this exposes a
7442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7443 * gst/check/gstcheck.h:
7444 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7445 (gst_bin_change_state):
7446 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7447 add/fix debugging/whitespace
7449 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7451 * check/gst/gstevent.c: (event_probe), (test_event),
7453 Er, don't call gst_bin_watch_for_state_change you idiot.
7455 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7457 * check/Makefile.am:
7458 Use CHECK_CFLAGS and CHECK_LIBS
7459 * check/gst/gstevent.c: (event_probe), (test_event),
7462 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7463 (gst_base_src_start), (gst_base_src_stop),
7464 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7465 (gst_base_src_change_state):
7466 Sprinkle gst_base_src_stop liberally around error paths to fix
7467 problems reusing a source after failed state changes.
7468 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7469 (helper_find_suggest), (gst_type_find_helper):
7470 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7472 * docs/gst/tmpl/gstevent.sgml:
7473 Migrate part of the docs from the SGML file. Wait for ensonic to
7474 tell me how I did it wrong ;)
7475 * tools/gst-typefind.c: (main):
7476 Extra robustness to state changes between files.
7478 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7480 * check/Makefile.am:
7481 don't valgrind the controller test - it's leaking - Stefan, HELP
7482 * gst/check/gstcheck.c: (gst_check_message_error),
7483 (gst_check_chain_func), (gst_check_setup_element),
7484 (gst_check_teardown_element), (gst_check_setup_src_pad),
7485 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7486 (gst_check_teardown_sink_pad):
7487 * gst/check/gstcheck.h:
7488 add a bunch of methods to set up elements, and src and sink pads
7489 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7490 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7495 whitespace/doc fixes
7497 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7500 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7501 be handled by the application and not always printed as well
7503 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7505 * check/Makefile.am:
7507 * gst/check/gstcheck.c: (gst_check_message_error):
7508 * gst/check/gstcheck.h:
7509 add a fail_unless_equals_int
7510 add fail_unless for error messages
7512 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7514 * check/Makefile.am:
7516 * common/Makefile.am:
7519 factor out some of the common stuff so we can use it
7521 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7523 * check/Makefile.am:
7524 * check/gst/gstiterator.c: (GST_START_TEST):
7525 * check/gst/gstsystemclock.c: (GST_START_TEST),
7526 (gst_systemclock_suite):
7527 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7531 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7533 * check/elements/.cvsignore:
7534 * check/elements/gstfakesrc.c:
7535 rename to name of element
7536 * check/elements/identity.c: (chain_func), (event_func),
7537 (setup_identity), (cleanup_identity), (GST_START_TEST),
7538 (identity_suite), (main):
7539 add a test for identity
7540 * check/Makefile.am:
7541 * pkgconfig/Makefile.am:
7542 * pkgconfig/gstreamer-check.pc.in:
7543 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7547 move the check stuff to a library that gets installed
7548 * check/gst-libs/controller.c: (GST_START_TEST):
7549 * check/gst-libs/gdp.c:
7550 * check/gst/gst.c: (GST_START_TEST):
7551 * check/gst/gstbin.c:
7552 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7553 * check/gst/gstbus.c:
7554 * check/gst/gstcaps.c: (GST_START_TEST):
7555 * check/gst/gstelement.c:
7556 * check/gst/gstghostpad.c:
7557 * check/gst/gstiterator.c:
7558 * check/gst/gstmessage.c:
7559 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7560 * check/gst/gstobject.c:
7561 * check/gst/gstpad.c: (GST_START_TEST):
7562 * check/gst/gststructure.c: (GST_START_TEST):
7563 * check/gst/gstsystemclock.c: (GST_START_TEST),
7564 (gst_systemclock_suite):
7565 * check/gst/gsttag.c: (gst_tag_suite):
7566 * check/gst/gstvalue.c:
7567 * check/pipelines/cleanup.c:
7568 * check/pipelines/simple_launch_lines.c:
7569 * check/states/sinks.c:
7570 change include statement
7572 * docs/gst/gstreamer-sections.txt:
7573 * docs/gst/tmpl/gstpad.sgml:
7574 document more pad stuff
7575 * gst/gstminiobject.c: (gst_mini_object_ref),
7576 (gst_mini_object_unref):
7579 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7581 * docs/gst/tmpl/gst.sgml:
7583 eliminate another tmpl file, fix spelling in the long-description
7585 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7587 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7588 (test_event), (timediff), (gstevents_suite):
7589 Should fix build on 64-bit arch's
7591 2005-08-18 Andy Wingo <wingo@pobox.com>
7593 Make sure that when a pipeline goes to PLAYING, that data has
7594 actually hit the sink.
7596 * check/states/sinks.c (test_sink): A sink that doesn't get any
7597 data shouldn't return SUCCESS for going to either PLAYING or
7598 PAUSED. Test also the return values on the way back down.
7600 * gst/gstelement.c (gst_element_set_state): When changing the
7601 state of an element currently changing state asynchronously, go to
7602 lost-state after commiting the pending state. Makes future calls
7603 to get_state continue to return ASYNC.
7605 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7606 ASYNC when going to PLAYING if we still don't have preroll, as can
7607 happen with live sources.
7609 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7611 * docs/pwg/advanced-types.xml:
7612 Hack long paragraph into 2 chunks as a workaround for buggy
7613 jadetex version in sid and breezy that loops infinitely and
7616 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7618 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7619 (test_event), (timediff), (gstevents_suite):
7620 Provide more error margin in clock measurements to allow for
7621 g_get_current_time inaccuracies.
7623 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7625 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7626 (test_event), (timediff), (gstevents_suite):
7627 Fix error message output so I might be able to tell why the
7628 test works here but fails on the build farm.
7630 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7632 * check/Makefile.am:
7633 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7634 (test_event), (timediff), (gstevents_suite), (main):
7637 * docs/design/part-seeking.txt:
7640 * docs/gst/tmpl/gstevent.sgml:
7641 * docs/gst/tmpl/gstfakesrc.sgml:
7644 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7645 Treat a buffer-without-newsegment the same as a receiving
7646 a newsegment not in time format, and disable syncing to the clock
7649 * gst/gstbus.c: (gst_bus_set_sync_handler):
7650 Assert if anyone tries to replace the existing sync_handler for bus,
7651 as only the owner should be setting it.
7654 Have a fixed set of custom event enums with events identified by
7655 their structure name (as in 0.8), rather than a free-for-all
7656 allowing collisions between enum values from different plugins.
7658 * gst/gstpad.c: (gst_pad_class_init):
7661 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7662 Handle out-of-band downstream events from the sending thread.
7664 2005-08-17 Andy Wingo <wingo@pobox.com>
7666 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7667 play-timeout==0 to mean no timeout at all. In that case, don't
7668 bother with a get_state or a warning, just return directly, even
7671 * gst/base/gstbasetransform.c: Debug changes.
7674 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7675 ensure bins post state change messages. A bit of a hack but I can't
7676 think of a way to avoid it.
7678 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7680 2005-08-16 Andy Wingo <wingo@pobox.com>
7682 * gst/base/gstadapter.h:
7683 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7684 peek() but you own the data. Not terribly efficient atm.
7686 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7688 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7689 (gst_element_found_tags):
7691 Add two utility functions for tag handling.
7693 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7695 * docs/manual/advanced-dataaccess.xml:
7696 * docs/manual/basics-helloworld.xml:
7697 Fix docs to use _bin_add() before _link(), which fixes the examples
7698 with recent core versions (reported by Madhan Raj M
7699 <raj_madan@rediffmail.com>, #313199).
7701 2005-08-16 Wim Taymans <wim@fluendo.com>
7703 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7704 Added subtract checks.
7706 * docs/design/part-events.txt:
7707 Some more docs about newsegment
7709 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7712 * gst/gstcaps.c: (gst_caps_to_string):
7713 Add comments, cleanups.
7715 * gst/gstelement.c: (gst_element_save_thyself):
7718 * gst/gstvalue.c: (gst_value_collect_int_range),
7719 (gst_string_unwrap), (gst_value_union_int_int_range),
7720 (gst_value_union_int_range_int_range),
7721 (gst_value_intersect_int_int_range),
7722 (gst_value_intersect_int_range_int_range),
7723 (gst_value_intersect_double_double_range),
7724 (gst_value_intersect_double_range_double_range),
7725 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7726 (gst_value_subtract_int_range_int),
7727 (gst_value_subtract_double_range_double),
7728 (gst_value_subtract_double_range_double_range),
7729 (gst_value_subtract_from_list), (gst_value_subtract_list),
7730 (gst_value_can_compare), (gst_value_compare_fraction):
7731 Cleanups, add comments, remove unneeded asserts.
7733 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7735 * tools/gst-launch.c: (event_loop):
7736 don't convert NULL structures to strings
7738 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7740 * docs/gst/gstreamer-sections.txt:
7741 made some defines private
7742 * docs/gst/tmpl/gstconfig.sgml:
7743 * docs/gst/tmpl/gstqueue.sgml:
7744 * docs/gst/tmpl/gsttaglist.sgml:
7745 * docs/gst/tmpl/gsttypes.sgml:
7746 * docs/gst/tmpl/gstutils.sgml:
7747 * docs/pwg/appendix-porting.xml:
7748 * gst/base/gstbasesink.h:
7749 * gst/base/gstbasesrc.c:
7750 * gst/base/gstbasesrc.h:
7751 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7752 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7753 * gst/gstelement.c: (gst_element_class_init):
7754 * gst/gstpad.c: (gst_pad_class_init):
7755 * gst/gstqueue.c: (gst_queue_class_init):
7756 * gst/gstxml.c: (gst_xml_class_init):
7757 documented all undocumented signal inline
7758 * libs/gst/controller/gst-controller.h:
7761 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7763 * docs/pwg/appendix-porting.xml:
7764 Document _set_link_function -> _set_setcaps_function.
7766 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7768 * check/Makefile.am:
7769 add a .check target for running the check
7770 * check/gst-libs/controller.c: (GST_START_TEST):
7772 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7773 complete checks for gstbuffer; would be nice if I could get the
7774 gcov stuff to work so I can see if I actually completed gstbuffer.c
7776 add ASSERT_BUFFER_REFCOUNT
7778 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7780 * docs/gst/gstreamer-sections.txt:
7781 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7783 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7784 spew out a warning if a tag that is already registered
7785 is re-registered, unless it is re-registered with a
7786 different type (#308438).
7788 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7790 * docs/pwg/appendix-porting.xml:
7791 * docs/pwg/building-state.xml:
7792 Add some paragraphs about state changes in 0.9 to the PWG
7793 and the porting guide, in particular about the new meaning
7794 of GST_STATE_PAUSED and how to write state change functions
7795 with concurrent access by multiple threads in mind.
7797 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7799 * docs/gst/gstreamer-docs.sgml:
7800 * docs/libs/gstreamer-libs-docs.sgml:
7801 added deprecation and since indexes
7802 * libs/gst/controller/gst-controller.c:
7803 * libs/gst/controller/gst-helper.c:
7807 2005-08-11 Wim Taymans <wim@fluendo.com>
7809 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7810 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7811 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7812 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7813 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7814 (gst_ghost_pad_set_target):
7815 Actually implement (re)setting the target on a ghostpad
7816 as described in the docs.
7818 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7820 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7821 Check whether GST_DEBUG_NO_COLOR environment variable is
7822 set and disable coloured debug output if that is the case.
7824 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7826 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7827 (gst_type_find_helper):
7828 The memory returned by gst_type_find_peek() needs to
7829 stay valid until the end of a typefind function, and
7830 typefind functions may keep results from different
7831 offsets around, so we can't just unref the buffer from
7832 the previous _peek(), but have to save all buffers
7833 returned by _peek() until typefinding is done and only
7836 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7838 * docs/gst/gstreamer-sections.txt:
7840 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7842 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7844 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7845 Fix a pretty good memleak.
7847 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7849 * gst/gstiterator.h:
7850 Fix wrong include and 'make distcheck'.
7852 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7854 * gst/gstbin.c: (bin_bus_handler):
7855 Use gst_element_post_message() instead.
7857 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7859 * gst/base/gstadapter.h:
7860 * gst/base/gstbasesink.h:
7861 * gst/base/gstbasesrc.h:
7862 * gst/base/gstbasetransform.h:
7863 * gst/base/gstcollectpads.h:
7864 * gst/base/gstpushsrc.h:
7865 * gst/gstiterator.h:
7866 Add padding to our base elements' class and instance structs and
7867 to GstIterator (you will need to rebuild all plugins and apps!)
7869 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7871 * gst/gstbin.c: (bin_bus_handler):
7872 Make default message forwarding from child->bus to bin->bus
7873 threadsafe and make it not emit warnings if the parent has no bus.
7875 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7877 * gst/gstelement.c: (activate_pads):
7878 On paused->ready, set pad->caps to NULL, as is the documented
7879 behaviour in this state change. Fixes playback of series of
7880 media files when visualization is enabled in Totem.
7882 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7884 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7885 Allow NULL as filter-caps (which means "any").
7887 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7889 * docs/libs/gstreamer-libs-sections.txt:
7890 * libs/gst/controller/gst-controller.c:
7891 * libs/gst/controller/gst-controller.h:
7892 * libs/gst/controller/gst-helper.c:
7893 adding more entries to the docs and fix small doc-bugs
7895 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7897 * docs/gst/gstreamer-docs.sgml:
7898 * docs/gst/gstreamer-sections.txt:
7899 * docs/gst/gstreamer.types:
7900 * docs/gst/tmpl/gstbasesink.sgml:
7901 * docs/gst/tmpl/gstbasesrc.sgml:
7902 * docs/gst/tmpl/gstbasetransform.sgml:
7903 * docs/gst/tmpl/gstfakesrc.sgml:
7904 * gst/base/gstcollectpads.c:
7905 * gst/base/gstcollectpads.h:
7906 * libs/gst/controller/gst-controller.c:
7907 * libs/gst/controller/gst-controller.h:
7908 * libs/gst/controller/gst-helper.c:
7909 * libs/gst/controller/gst-interpolation.c:
7910 * libs/gst/controller/lib.c:
7911 added long/short desc for controller docs
7912 added collectpads base class docs
7913 added correct includes to base-class docs
7915 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7917 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7918 (gst_test_mono_source_set_property),
7919 (gst_test_mono_source_class_init), (GST_START_TEST),
7920 (gst_controller_suite):
7921 * docs/gst/gstreamer-docs.sgml:
7922 * docs/gst/gstreamer-sections.txt:
7923 * docs/gst/gstreamer.types:
7924 * docs/libs/gstreamer-libs-docs.sgml:
7925 * docs/libs/gstreamer-libs-sections.txt:
7926 * gst/base/gstadapter.c:
7927 * libs/gst/controller/gst-controller.c:
7928 (gst_controlled_property_new), (gst_controlled_property_free),
7929 (gst_controller_new_valist),
7930 (gst_controller_remove_properties_valist),
7931 (gst_controller_sink_values), (_gst_controller_finalize):
7932 * libs/gst/controller/gst-controller.h:
7933 * libs/gst/controller/gst-helper.c:
7934 (gst_object_control_properties), (gst_object_uncontrol_properties),
7935 (gst_object_get_controller), (gst_object_set_controller),
7936 (gst_object_sink_values), (gst_object_get_value_arrays),
7937 (gst_object_get_value_array):
7938 more tests (and fixes) for the controller
7939 more docs for the controller
7940 integrated companies docs for the adapter
7942 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7944 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7945 (GST_START_TEST), (fakesrc_suite):
7946 add tests for sizetype
7948 2005-08-04 Andy Wingo <wingo@pobox.com>
7950 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7951 fixes buffer_alloc proxying among other things.
7953 * gst/base/gstbasetransform.c:
7954 * gst/base/gstbasetransform.h:
7955 Revert patch to gstbasetransform from 7-28 removing
7958 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7959 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7960 Semantics changed, should return not the size of the output buffer
7961 but the byte size of a buffer with a given caps.
7963 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7965 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7966 out) are not the pad caps until setcaps finishes.
7967 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7968 not-in-place case as well. Deal with changing from in-place to
7969 not-in-place within calling pad_alloc_buffer. Still a bit
7970 concerned about the overhead here...
7972 2005-08-03 Andy Wingo <wingo@pobox.com>
7974 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7975 fixating is an error.
7977 2005-08-04 Edward Hervey <edward@fluendo.com>
7979 * gst/base/gstadapter.h:
7980 Added gst_adapter_get_type() to the header
7982 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7984 * check/Makefile.am:
7985 * check/gst-libs/controller.c:
7986 * libs/gst/controller/gst-controller.c:
7987 (gst_controller_new_valist):
7988 added check test suite for the controller
7989 * gst/base/gstpushsrc.c:
7992 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7994 * docs/gst/Makefile.am:
7995 * docs/gst/gstreamer-docs.sgml:
7996 * docs/gst/gstreamer-sections.txt:
7997 * docs/gst/gstreamer.types:
7998 * docs/gst/tmpl/gstfakesrc.sgml:
8000 * gst/base/gstbasesink.c:
8001 * gst/base/gstbasesink.h:
8002 * gst/base/gstbasesrc.c:
8003 * gst/base/gstbasesrc.h:
8004 * gst/base/gstbasetransform.c:
8005 * gst/base/gstpushsrc.c:
8006 * gst/base/gstpushsrc.h:
8007 add short/long description docs to base classes
8008 add pushsrc to the docs
8009 remove consolidated doc fragments
8011 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8014 * docs/libs/Makefile.am:
8015 * docs/libs/gstreamer-libs-docs.sgml:
8016 * docs/libs/gstreamer-libs-sections.txt:
8017 * docs/libs/gstreamer-libs.types:
8018 * examples/Makefile.am:
8019 * examples/controller/.cvsignore:
8020 * examples/controller/Makefile.am:
8021 * examples/controller/audio-example.c: (main):
8022 * libs/gst/Makefile.am:
8023 * libs/gst/controller/.cvsignore:
8024 * libs/gst/controller/Makefile.am:
8025 * libs/gst/controller/gst-controller.c:
8026 (on_object_controlled_property_changed), (gst_timed_value_compare),
8027 (gst_timed_value_find),
8028 (gst_controlled_property_set_interpolation_mode),
8029 (gst_controlled_property_new), (gst_controlled_property_free),
8030 (gst_controller_find_controlled_property),
8031 (gst_controller_new_valist), (gst_controller_new),
8032 (gst_controller_remove_properties_valist),
8033 (gst_controller_remove_properties), (gst_controller_set),
8034 (gst_controller_set_from_list), (gst_controller_unset),
8035 (gst_controller_get), (gst_controller_get_all),
8036 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8037 (gst_controller_get_value_array),
8038 (gst_controller_set_interpolation_mode),
8039 (_gst_controller_finalize), (_gst_controller_init),
8040 (_gst_controller_class_init), (gst_controller_get_type):
8041 * libs/gst/controller/gst-controller.h:
8042 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8043 (g_object_uncontrol_properties), (g_object_get_controller),
8044 (g_object_set_controller), (g_object_sink_values),
8045 (g_object_get_value_arrays), (g_object_get_value_array):
8046 * libs/gst/controller/gst-interpolation.c:
8047 (gst_controlled_property_find_timed_value_node),
8048 (interpolate_none_get), (interpolate_trigger_get),
8049 (interpolate_trigger_get_value_array):
8050 * libs/gst/controller/lib.c: (gst_controller_init):
8051 * pkgconfig/Makefile.am:
8052 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8053 * pkgconfig/gstreamer-control.pc.in:
8054 * testsuite/Makefile.am:
8055 * testsuite/controller/.cvsignore:
8056 * testsuite/controller/Makefile.am:
8057 * testsuite/controller/interpolator.c: (main):
8058 added controller code
8059 removed dparam pc files
8061 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8062 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8063 (gst_collectpads_stop):
8064 Broadcast the condition when shutting down, to make sure we wake all
8065 threads up. Shut down pads on finalize, for safety.
8067 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8068 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8069 (gst_base_transform_handle_buffer),
8070 (gst_base_transform_change_state):
8071 Handle PAUSED->READY->PAUSED transition after negotiation
8073 * gst/gstmessage.c: (gst_message_init):
8074 Extra piece of debug for new messages.
8076 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8079 * docs/gst/tmpl/gstbasesrc.sgml:
8080 * docs/gst/tmpl/gstelement.sgml:
8081 * docs/gst/tmpl/gstevent.sgml:
8082 * docs/gst/tmpl/gstfakesrc.sgml:
8083 * docs/gst/tmpl/gstformat.sgml:
8084 * docs/gst/tmpl/gstghostpad.sgml:
8085 * docs/gst/tmpl/gstpad.sgml:
8086 * docs/gst/tmpl/gstquery.sgml:
8087 * docs/gst/tmpl/gststructure.sgml:
8088 * docs/gst/tmpl/gsttaglist.sgml:
8089 * docs/gst/tmpl/gstvalue.sgml:
8090 * docs/libs/gstreamer-libs-docs.sgml:
8091 * docs/libs/gstreamer-libs-sections.txt:
8092 * docs/libs/gstreamer-libs.types:
8093 * libs/gst/Makefile.am:
8094 * libs/gst/control/.cvsignore:
8095 * libs/gst/control/Makefile.am:
8096 * libs/gst/control/control.c:
8097 * libs/gst/control/control.h:
8098 * libs/gst/control/dparam.c:
8099 * libs/gst/control/dparam.h:
8100 * libs/gst/control/dparam_smooth.c:
8101 * libs/gst/control/dparam_smooth.h:
8102 * libs/gst/control/dparamcommon.h:
8103 * libs/gst/control/dparammanager.c:
8104 * libs/gst/control/dparammanager.h:
8105 * libs/gst/control/dplinearinterp.c:
8106 * libs/gst/control/dplinearinterp.h:
8107 * libs/gst/control/unitconvert.c:
8108 * libs/gst/control/unitconvert.h:
8109 * testsuite/Makefile.am:
8110 * testsuite/dynparams/.cvsignore:
8111 * testsuite/dynparams/Makefile.am:
8112 * testsuite/dynparams/dparamstest.c:
8113 * tools/Makefile.am:
8114 * tools/gst-inspect.c: (print_element_info), (main):
8115 * tools/gst-xmlinspect.c: (print_element_info), (main):
8116 deactivate and remove dparams (libgstcontrol)
8118 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8120 * gst/elements/gsttypefindelement.c:
8121 (gst_type_find_element_have_type), (gst_type_find_element_init),
8122 (stop_typefinding), (gst_type_find_element_handle_event),
8123 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8124 * gst/elements/gsttypefindelement.h:
8125 Set caps on all outgoing buffers, not just the first one.
8127 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8129 * gst/elements/gsttypefindelement.c:
8130 (gst_type_find_element_have_type),
8131 (gst_type_find_element_check_set_buffer_caps),
8132 (gst_type_find_element_init), (stop_typefinding),
8133 (gst_type_find_element_handle_event),
8134 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8135 * gst/elements/gsttypefindelement.h:
8136 Set caps on first outgoing buffer when we've found the type.
8138 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8140 * docs/gst/gstreamer-docs.sgml:
8141 * docs/gst/gstreamer-sections.txt:
8142 * docs/gst/tmpl/gstscheduler.sgml:
8143 * docs/gst/tmpl/gstschedulerfactory.sgml:
8144 Remove some old cruft from docs.
8146 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8149 Fix inline docs for GstPadLinkReturn.
8151 * gst/gststructure.c: (gst_structure_has_name):
8152 * gst/gststructure.h:
8153 * docs/gst/gstreamer-sections.txt:
8154 New API: gst_structure_has_name().
8156 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8159 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8160 and _LARGEFILE_SOURCE in config.h as required. Do not
8161 export those flags in our .pc files any longer (#142209).
8163 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8165 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8166 (gst_file_sink_do_seek), (gst_file_sink_event),
8167 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8168 Redo seek/tell calls with large file support in mind; add some
8169 debugging messages; add log message that tells us when large
8170 file support is unavailable or not enabled for some reason.
8172 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8173 Add log message that tells us when large file support
8174 is unavailable or not enabled for some reason.
8176 2005-07-29 Wim Taymans <wim@fluendo.com>
8178 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8179 Added test for removing an element with ghostpad from a bin.
8180 Fixed test as current implementation does the right thing.
8182 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8183 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8184 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8185 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8186 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8187 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8188 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8189 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8190 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8191 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8192 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8193 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8194 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8195 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8196 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8197 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8198 * gst/gstghostpad.h:
8199 Clean up ghostpads, remove properties for internal stuff.
8202 Prepare for switching targets, not all use cases work yet.
8204 2005-07-29 Wim Taymans <wim@fluendo.com>
8206 * docs/design/part-gstghostpad.txt:
8209 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8210 (gst_bin_remove_func):
8211 Unlinking pads while holding the bin LOCK is not a good
8214 * gst/gstpad.c: (gst_pad_class_init),
8215 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8216 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8217 No prob setting template after creating the pad.
8219 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8221 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8222 (gst_bus_peek), (gst_bus_source_dispatch),
8223 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8224 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8225 gst_bus_poll may be called from other threads. Handle
8226 this nicely by not making poll_data disappear off the
8227 stack once gst_bus_poll returns.
8228 gst_bus_peek now increments the refcount on the returned
8231 2005-07-29 Wim Taymans <wim@fluendo.com>
8233 * docs/design/part-gstghostpad.txt:
8234 Overview of current GhostPad datastructures and use
8235 cases for changing the target.
8237 2005-07-28 Wim Taymans <wim@fluendo.com>
8239 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8240 Added checks for hierarchy consistency whan adding linked
8243 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8244 Added check to test element scheduling without bin/pipeline.
8246 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8247 First add elements to bin, then link.
8249 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8250 (gst_bin_remove_func):
8251 Unlink pads from elements added/removed from bin to maintain
8252 hierarchy consistency.
8254 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8256 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8257 (gst_base_transform_handle_buffer):
8258 * gst/base/gstbasetransform.h:
8259 Remove broken delay_configure (fixes renegotiation of software
8260 scaling pipelines); remove some leftover printf()s.
8262 2005-07-28 Wim Taymans <wim@fluendo.com>
8264 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8265 Added some more tests for wrong hierarchy
8267 * docs/design/part-overview.txt:
8270 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8273 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8274 (gst_element_dispose):
8277 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8278 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8279 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8280 (gst_pad_set_caps), (gst_pad_send_event):
8281 Check for correct hierarchy when linking pads. Moving to
8282 strict requirement for ghostpads when linking elements in
8286 Clean ups. Added WRONG_HIERARCHY return value.
8288 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8290 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8291 Better debug if no transform is possible.
8293 2005-07-27 Wim Taymans <wim@fluendo.com>
8295 * docs/random/wtay/network-transp:
8298 2005-07-27 Wim Taymans <wim@fluendo.com>
8300 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8301 (gst_dp_event_from_packet):
8302 Fix serialization of seek events.
8304 2005-07-27 Wim Taymans <wim@fluendo.com>
8306 * check/gst-libs/gdp.c: (GST_START_TEST):
8307 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8308 Fix compilation and fix event serialization.
8310 2005-07-27 Wim Taymans <wim@fluendo.com>
8313 * docs/design/part-TODO.txt:
8314 * docs/design/part-events.txt:
8317 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8318 (gst_base_sink_event), (gst_base_sink_do_sync),
8319 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8320 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8321 (gst_base_src_do_seek), (gst_base_src_event_handler),
8322 (gst_base_src_loop):
8323 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8324 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8325 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8326 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8327 (gst_base_transform_set_passthrough),
8328 (gst_base_transform_is_passthrough):
8329 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8330 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8336 * gst/gstelement.c: (gst_element_seek):
8338 Update gst_element_seek.
8340 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8341 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8342 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8343 (gst_event_new_eos), (gst_event_new_newsegment),
8344 (gst_event_parse_newsegment), (gst_event_new_tag),
8345 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8346 (gst_event_parse_qos), (gst_event_new_seek),
8347 (gst_event_parse_seek), (gst_event_new_navigation):
8349 Make GstEvent use GstStructure. Add parsing code, make sure the
8350 API is sufficiently generic.
8351 Mark possible directions of events and serialization.
8353 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8354 (_gst_message_copy), (gst_message_new_segment_start),
8355 (gst_message_new_segment_done), (gst_message_new_custom),
8356 (gst_message_parse_segment_start),
8357 (gst_message_parse_segment_done):
8360 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8361 (gst_pad_set_caps), (gst_pad_send_event):
8362 Update for new events.
8363 Catch events sent in wrong directions.
8365 * gst/gstqueue.c: (gst_queue_link_src),
8366 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8367 (gst_queue_handle_src_query):
8372 Remove event code from this file.
8374 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8375 (gst_dp_event_from_packet):
8378 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8380 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8381 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8382 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8383 Make debugging actually useful.
8385 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8387 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8388 (gst_pad_fixate_caps):
8389 Implement default fixation once again, so that gst_pad_fixate()
8390 actually does anything at all. This probably needs to be some
8391 sort of a last resort, and use profile-based fixation first, but
8392 since that doesn't exist yet, this is the best we have. Fixes
8393 visualization in Totem.
8395 2005-07-22 Wim Taymans <wim@fluendo.com>
8397 * docs/design/part-events.txt:
8400 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8401 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8402 (gst_base_sink_activate_pull):
8405 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8406 (gst_fake_src_create):
8407 Fix handoff marshall.
8409 * gst/elements/gstidentity.c: (gst_identity_class_init),
8410 (gst_identity_transform_ip):
8411 We're a real inplace element.
8413 * gst/gstbus.c: (gst_bus_post):
8414 Added some comments.
8416 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8417 * tests/muxing/case1.c: (main):
8418 * tests/sched/dynamic-pipeline.c: (main):
8419 * tests/sched/interrupt1.c: (main):
8420 * tests/sched/interrupt2.c: (main):
8421 * tests/sched/interrupt3.c: (main):
8422 * tests/sched/runxml.c: (main):
8423 * tests/sched/sched-stress.c: (main):
8424 * tests/seeking/seeking1.c: (event_received), (main):
8425 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8427 * tests/threadstate/threadstate3.c: (main):
8428 * tests/threadstate/threadstate4.c: (main):
8429 * tests/threadstate/threadstate5.c: (main):
8432 2005-07-21 Wim Taymans <wim@fluendo.com>
8434 * docs/design/part-seeking.txt:
8435 Some small additions.
8437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8438 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8439 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8440 * gst/base/gstbasesink.h:
8441 discont values are gint64, handle the math correctly.
8443 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8444 Make the basesrc report error if the source pad is not linked.
8446 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8447 (gst_queue_loop), (gst_queue_handle_src_query),
8448 (gst_queue_src_activate_push):
8449 Make queue collect data even if the srcpad is not linked.
8450 Start pushing out data as soon as it is linked.
8452 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8454 Added gst_flow_get_name() to ease error reporting.
8456 2005-07-20 Wim Taymans <wim@fluendo.com>
8458 * gst/gstmessage.c: (gst_message_new_segment_start),
8459 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8460 (gst_message_parse_segment_done):
8462 Added a bunch of messages for advanced seeking.
8464 * gst/parse/grammar.y:
8465 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8466 (gst_dpman_state_changed):
8467 Fix some new-pad -> pad-added signals
8469 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8471 * docs/manual/appendix-porting.xml:
8472 * docs/pwg/appendix-porting.xml:
8473 Document new-pad/state-change signal renames and the FixedList
8476 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8478 * docs/manual/advanced-autoplugging.xml:
8479 * docs/manual/basics-helloworld.xml:
8480 * docs/manual/basics-pads.xml:
8481 * docs/random/ds/0.9-suggested-changes:
8482 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8487 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8488 (gst_structure_parse_array), (gst_structure_parse_value):
8489 * gst/gstvalue.c: (gst_type_is_fixed),
8490 (gst_value_list_prepend_value), (gst_value_list_append_value),
8491 (gst_value_list_get_size), (gst_value_list_get_value),
8492 (gst_value_transform_array_string), (gst_value_serialize_array),
8493 (gst_value_deserialize_array), (gst_value_intersect_array),
8494 (gst_value_is_fixed), (_gst_value_initialize):
8496 GstElement::new-pad -> pad-added, GstElement::state-change ->
8497 state-changed, GstValueFixedList -> GstValueArray, add format and
8498 flags as their own arguments in gst_element_seek() (should improve
8499 "bindeability"), remove function generators since they don't work
8500 under a whole bunch of compilers (they were deprecated already
8503 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8505 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8506 (_gst_debug_register_funcptr):
8508 Fix illegal cast on some platforms (#309253).
8510 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8512 * gst/gstmessage.c: (gst_message_new_custom):
8514 Add _new_custom, make _new_application a macro to _new_custom.
8516 2005-07-20 Wim Taymans <wim@fluendo.com>
8518 * gst/base/gstbasesrc.c: (gst_base_src_init),
8519 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8520 * gst/base/gstbasesrc.h:
8521 Add a gboolean to decide when to push out a discont.
8523 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8524 (gst_queue_loop), (gst_queue_handle_src_query),
8525 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8526 (gst_queue_set_property), (gst_queue_get_property):
8529 * tests/threadstate/threadstate1.c: (main):
8530 Make a thread test compile and run... very silly..
8533 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8535 * docs/manual/appendix-porting.xml:
8536 Mention removal of libgstgconf-0.9.la and existence of gconf
8539 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8541 * docs/pwg/advanced-clock.xml:
8542 * docs/pwg/appendix-porting.xml:
8543 * docs/pwg/intro-preface.xml:
8544 * docs/pwg/other-base.xml:
8545 * docs/pwg/other-manager.xml:
8546 * docs/pwg/other-nton.xml:
8547 * docs/pwg/other-ntoone.xml:
8548 * docs/pwg/other-oneton.xml:
8550 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8551 demuxer), remove n-to-n (was never written), fix some code examples
8552 and links and update the porting section to include all this.
8554 2005-07-19 Wim Taymans <wim@fluendo.com>
8556 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8557 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8558 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8559 (gst_queue_src_activate_push), (gst_queue_change_state),
8560 (gst_queue_get_property):
8562 Propagate GstFlowReturn more intelligently upstream and output
8563 an ERROR/EOS when streaming stopped due to fatal error.
8565 2005-07-19 Wim Taymans <wim@fluendo.com>
8567 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8568 Don't block forever for the state change to complete, the
8569 pipeline already did with a sensible timeout.
8571 2005-07-19 Wim Taymans <wim@fluendo.com>
8573 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8574 Make sure we never call the create function is we
8577 2005-07-19 Andy Wingo <wingo@pobox.com>
8579 * gst/parse/parse.l: Attempt to solve bug #172815.
8581 2005-07-19 Wim Taymans <wim@fluendo.com>
8583 * docs/design/part-clocks.txt:
8584 * docs/design/part-events.txt:
8585 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8587 Only update the seeking values when we are not
8590 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8592 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8593 Oops, ignore the result of gst_pad_push_event here.
8595 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8597 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8598 (gst_base_src_activate_push):
8599 Send discont event from the loop function, as pads
8600 aren't activated yet in the activate_push handler.
8602 * gst/gstbin.c: (bin_bus_handler):
8603 Don't leak element name.
8605 2005-07-18 Andy Wingo <wingo@pobox.com>
8607 * configure.ac: Use AS_LIBTOOL_TAGS.
8609 2005-07-18 Wim Taymans <wim@fluendo.com>
8611 * docs/gst/gstreamer.types:
8612 Remove deleted types.
8614 2005-07-18 Wim Taymans <wim@fluendo.com>
8616 * check/elements/gstfakesrc.c: (GST_START_TEST):
8619 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8620 (init_popt_callback):
8622 * gst/gst_private.h:
8623 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8624 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8627 * gst/gstconfig.h.in:
8628 * gst/gstelement.c: (gst_element_class_init),
8629 (gst_element_set_base_time), (gst_element_get_base_time),
8630 (iterator_fold_with_resync), (gst_element_change_state),
8631 (gst_element_dispose), (gst_element_get_bus):
8633 * gst/gstelementfactory.h:
8634 * gst/gsterror.c: (_gst_core_errors_init):
8637 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8639 * gst/gstinfo.c: (_gst_debug_init):
8640 * gst/gstmessage.c: (_gst_message_copy):
8642 * gst/gstminiobject.h:
8645 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8646 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8649 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8650 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8651 (gst_pipeline_get_last_stream_time):
8652 * gst/gstpipeline.h:
8653 * gst/gstpluginfeature.h:
8655 * gst/gstscheduler.c:
8656 * gst/gstscheduler.h:
8657 * gst/gststructure.h:
8658 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8659 (gst_task_finalize), (gst_task_func), (gst_task_create),
8660 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8661 (gst_task_stop), (gst_task_pause):
8663 * gst/gsttypefind.h:
8665 * gst/registries/gstlibxmlregistry.c: (load_feature),
8666 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8667 * gst/registries/gstxmlregistry.c:
8668 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8669 * gst/schedulers/threadscheduler.c:
8670 * libs/gst/control/dparammanager.h:
8671 * tools/gst-inspect.c: (print_element_list),
8672 (print_plugin_features), (print_element_features):
8673 * tools/gst-xmlinspect.c: (print_element_list),
8674 (print_plugin_info), (main):
8675 Removed plugable schedulers.
8676 Removed Scheduler/Manager from elements.
8677 Removed gsttypes.h, rearranged includes.
8678 Removed dependency pad<->element, element<>pipeline, and
8679 various others, fix includes.
8680 implement gst_pad_get_parent() with gst_object_get_parent()
8681 Make GstTask sefcontained.
8682 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8684 Fix endless loop in iterator_fold_with_resync.
8687 2005-07-18 Wim Taymans <wim@fluendo.com>
8693 2005-07-18 Wim Taymans <wim@fluendo.com>
8698 2005-07-18 Wim Taymans <wim@fluendo.com>
8704 2005-07-18 Wim Taymans <wim@fluendo.com>
8706 * docs/design/part-dynamic.txt:
8707 * docs/design/part-events.txt:
8708 * docs/design/part-seeking.txt:
8709 Some more docs in the works.
8711 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8712 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8713 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8714 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8715 (gst_base_transform_handle_buffer),
8716 (gst_base_transform_sink_activate_push),
8717 (gst_base_transform_src_activate_pull),
8718 (gst_base_transform_set_passthrough),
8719 (gst_base_transform_is_passthrough):
8722 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8725 * gst/gstevent.c: (gst_event_finalize):
8728 * gst/gstutils.c: (gst_element_unlink),
8729 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8730 (gst_pad_proxy_setcaps):
8732 Add _get_parent_element() to get a pads parent as an element.
8734 2005-07-18 Wim Taymans <wim@fluendo.com>
8736 * check/gst/gstbin.c: (GST_START_TEST):
8739 2005-07-18 Wim Taymans <wim@fluendo.com>
8741 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8742 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8743 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8744 (gst_base_sink_event), (gst_base_sink_do_sync),
8745 (gst_base_sink_chain), (gst_base_sink_loop),
8746 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8747 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8749 Fix logic for returning ASYNC when not prerolled.
8751 2005-07-18 Wim Taymans <wim@fluendo.com>
8753 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8754 Fix nasty refcount bug.
8756 2005-07-16 Philippe Khalaf <burger@speedy.org>
8758 * gst/elements/gstfdsrc.c:
8759 * gst/elements/gstfdsrc.h:
8760 * gst/elements/gstelements.c:
8761 * gst/elements/Makefile.am:
8762 Ported fdsrc to 0.9.
8764 2005-07-16 Wim Taymans <wim@fluendo.com>
8766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8767 (gst_base_sink_do_sync):
8770 2005-07-16 Wim Taymans <wim@fluendo.com>
8772 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8773 (gst_base_sink_event), (gst_base_sink_get_times),
8774 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8775 * gst/base/gstbasesink.h:
8776 Store and use discont values when syncing buffers as described
8779 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8780 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8781 (gst_base_src_activate_push):
8782 Push discont event when starting.
8784 * gst/elements/gstidentity.c: (gst_identity_transform):
8787 * gst/gstbin.c: (gst_bin_change_state):
8788 Small cleanups in base_time distribution.
8790 * gst/gstelement.c: (gst_element_set_base_time),
8791 (gst_element_get_base_time), (gst_element_change_state):
8793 Added methods for the base_time of the element.
8796 * gst/gstpipeline.c: (gst_pipeline_send_event),
8797 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8798 (gst_pipeline_get_last_stream_time):
8799 * gst/gstpipeline.h:
8801 Handle seeking as described in design doc, remove stream_time
8803 Cleanups clock and stream_time selection code. Added accessors
8804 for the stream_time.
8807 2005-07-16 Andy Wingo <wingo@pobox.com>
8809 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8812 2005-07-16 Wim Taymans <wim@fluendo.com>
8814 * check/gst/gstbin.c: (GST_START_TEST):
8815 Make elements silent as the deep_notify refs the
8816 parent, which might make the test fail.
8818 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8819 Don't hold the lock for too long.
8821 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8823 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8824 Don't unref the caps we passed to gst_caps_make_writable() after
8825 passing them. gst_caps_make_writable() will do that for us.
8827 2005-07-15 Andy Wingo <wingo@pobox.com>
8829 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8832 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8833 own marshalling function for the handoff signal. Properly type the
8834 buffer as a buffer. Fixes some warnings. Should do a more general
8836 (gst_identity_class_init): Plug into the right marshaller.
8838 2005-07-15 Wim Taymans <wim@fluendo.com>
8840 * docs/design/part-TODO.txt:
8841 * docs/design/part-clocks.txt:
8842 * docs/design/part-element-sink.txt:
8843 * docs/design/part-events.txt:
8844 * docs/design/part-gstpipeline.txt:
8845 Updated docs, mostly DISCONT related.
8847 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8849 * docs/pwg/building-pads.xml:
8850 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8852 2005-07-15 Andy Wingo <wingo@pobox.com>
8854 * tools/gst-typefind.c: Update, add copyright block.
8856 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8857 Normalize and truncate caps before fixation.
8860 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8861 discards all but the first structure from its argument.
8863 2005-07-15 Wim Taymans <wim@fluendo.com>
8865 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8866 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8867 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8868 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8869 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8870 (gst_base_transform_chain), (gst_base_transform_change_state),
8871 (gst_base_transform_set_passthrough),
8872 (gst_base_transform_is_passthrough):
8873 * gst/base/gstbasetransform.h:
8874 Make passthrough work using the bufferpools.
8875 Changed API a bit, subclasses have to write into a buffer
8876 provided by the base class.
8877 More debug info in nego functions.
8879 * gst/elements/gstidentity.c: (gst_identity_init),
8880 (gst_identity_transform):
8881 Port to new base class.
8883 2005-07-15 Wim Taymans <wim@fluendo.com>
8885 * gst/gstmessage.c: (gst_message_new_state_changed):
8886 * tools/gst-launch.c: (event_loop), (main):
8887 Totally dump messages in -launch with the -m option.
8888 Fix message name for State messages,
8890 2005-07-14 Wim Taymans <wim@fluendo.com>
8892 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8893 Post error messages on errors.
8895 2005-07-14 Wim Taymans <wim@fluendo.com>
8897 * gst/gstcaps.c: (gst_caps_do_simplify):
8901 Define error for stream stopped.
8903 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8904 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8905 Do proper return values.
8907 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8908 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8909 (gst_pad_get_range):
8910 Better return values.
8913 Reorganise return values, add macro to check for fatal errors.
8915 * gst/gstqueue.c: (gst_queue_chain):
8916 Return proper GstFlowReturn values,
8918 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8920 * docs/gst/gstreamer-sections.txt:
8921 * docs/gst/gstreamer.types:
8922 * docs/gst/tmpl/gst.sgml:
8923 * docs/gst/tmpl/gstbasesink.sgml:
8924 * docs/gst/tmpl/gstbasesrc.sgml:
8925 * docs/gst/tmpl/gstbasetransform.sgml:
8926 * docs/gst/tmpl/gstbin.sgml:
8927 * docs/gst/tmpl/gstbuffer.sgml:
8928 * docs/gst/tmpl/gstcaps.sgml:
8929 * docs/gst/tmpl/gstclock.sgml:
8930 * docs/gst/tmpl/gstcompat.sgml:
8931 * docs/gst/tmpl/gstconfig.sgml:
8932 * docs/gst/tmpl/gstelement.sgml:
8933 * docs/gst/tmpl/gstelementdetails.sgml:
8934 * docs/gst/tmpl/gstelementfactory.sgml:
8935 * docs/gst/tmpl/gstenumtypes.sgml:
8936 * docs/gst/tmpl/gsterror.sgml:
8937 * docs/gst/tmpl/gstevent.sgml:
8938 * docs/gst/tmpl/gstfakesink.sgml:
8939 * docs/gst/tmpl/gstfakesrc.sgml:
8940 * docs/gst/tmpl/gstfilesink.sgml:
8941 * docs/gst/tmpl/gstfilesrc.sgml:
8942 * docs/gst/tmpl/gstfilter.sgml:
8943 * docs/gst/tmpl/gstformat.sgml:
8944 * docs/gst/tmpl/gstghostpad.sgml:
8945 * docs/gst/tmpl/gstimplementsinterface.sgml:
8946 * docs/gst/tmpl/gstindex.sgml:
8947 * docs/gst/tmpl/gstindexfactory.sgml:
8948 * docs/gst/tmpl/gstinfo.sgml:
8949 * docs/gst/tmpl/gstiterator.sgml:
8950 * docs/gst/tmpl/gstmacros.sgml:
8951 * docs/gst/tmpl/gstmemchunk.sgml:
8952 * docs/gst/tmpl/gstminiobject.sgml:
8953 * docs/gst/tmpl/gstobject.sgml:
8954 * docs/gst/tmpl/gstpad.sgml:
8955 * docs/gst/tmpl/gstpadtemplate.sgml:
8956 * docs/gst/tmpl/gstparse.sgml:
8957 * docs/gst/tmpl/gstpipeline.sgml:
8958 * docs/gst/tmpl/gstplugin.sgml:
8959 * docs/gst/tmpl/gstpluginfeature.sgml:
8960 * docs/gst/tmpl/gstquery.sgml:
8961 * docs/gst/tmpl/gstqueue.sgml:
8962 * docs/gst/tmpl/gstregistry.sgml:
8963 * docs/gst/tmpl/gstregistrypool.sgml:
8964 * docs/gst/tmpl/gstscheduler.sgml:
8965 * docs/gst/tmpl/gstschedulerfactory.sgml:
8966 * docs/gst/tmpl/gststructure.sgml:
8967 * docs/gst/tmpl/gstsystemclock.sgml:
8968 * docs/gst/tmpl/gsttaglist.sgml:
8969 * docs/gst/tmpl/gsttagsetter.sgml:
8970 * docs/gst/tmpl/gsttrace.sgml:
8971 * docs/gst/tmpl/gsttrashstack.sgml:
8972 * docs/gst/tmpl/gsttypefind.sgml:
8973 * docs/gst/tmpl/gsttypefindfactory.sgml:
8974 * docs/gst/tmpl/gsttypes.sgml:
8975 * docs/gst/tmpl/gsturihandler.sgml:
8976 * docs/gst/tmpl/gsturitype.sgml:
8977 * docs/gst/tmpl/gstutils.sgml:
8978 * docs/gst/tmpl/gstvalue.sgml:
8979 * docs/gst/tmpl/gstversion.sgml:
8980 * docs/gst/tmpl/gstxml.sgml:
8981 * docs/libs/tmpl/gstcontrol.sgml:
8982 * docs/libs/tmpl/gstdataprotocol.sgml:
8983 * docs/libs/tmpl/gstdparam.sgml:
8984 * docs/libs/tmpl/gstdplinint.sgml:
8985 * docs/libs/tmpl/gstdpman.sgml:
8986 * docs/libs/tmpl/gstdpsmooth.sgml:
8987 * docs/libs/tmpl/gstgetbits.sgml:
8988 * docs/libs/tmpl/gstunitconvert.sgml:
8989 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8990 (gst_push_src_base_init), (gst_push_src_class_init),
8991 (gst_push_src_init), (gst_push_src_create):
8992 * gst/base/gstpushsrc.h:
8993 * gst/elements/gstelements.c:
8994 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8995 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8996 (gst_fake_sink_init), (gst_fake_sink_set_property),
8997 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8998 (gst_fake_sink_event), (gst_fake_sink_preroll),
8999 (gst_fake_sink_render), (gst_fake_sink_change_state):
9000 * gst/elements/gstfakesink.h:
9001 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9002 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9003 (gst_fake_src_base_init), (gst_fake_src_class_init),
9004 (gst_fake_src_init), (gst_fake_src_event_handler),
9005 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9006 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9007 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9008 (gst_fake_src_create_buffer), (gst_fake_src_create),
9009 (gst_fake_src_start), (gst_fake_src_stop):
9010 * gst/elements/gstfakesrc.h:
9011 * gst/elements/gstfilesink.c: (_do_init),
9012 (gst_file_sink_base_init), (gst_file_sink_class_init),
9013 (gst_file_sink_init), (gst_file_sink_dispose),
9014 (gst_file_sink_set_location), (gst_file_sink_set_property),
9015 (gst_file_sink_get_property), (gst_file_sink_open_file),
9016 (gst_file_sink_close_file), (gst_file_sink_query),
9017 (gst_file_sink_event), (gst_file_sink_render),
9018 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9019 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9020 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9021 * gst/elements/gstfilesink.h:
9022 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9023 (gst_file_src_class_init), (gst_file_src_init),
9024 (gst_file_src_finalize), (gst_file_src_set_location),
9025 (gst_file_src_set_property), (gst_file_src_get_property),
9026 (gst_file_src_map_region), (gst_file_src_map_small_region),
9027 (gst_file_src_create_mmap), (gst_file_src_create_read),
9028 (gst_file_src_create), (gst_file_src_is_seekable),
9029 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9030 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9031 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9032 (gst_file_src_uri_handler_init):
9033 * gst/elements/gstfilesrc.h:
9034 more autistic cleanliness in functions/names/defines
9036 2005-07-13 Andy Wingo <wingo@pobox.com>
9038 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9039 source couldn't negotiate.
9041 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9045 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9046 function. I am channeling Hades. Put your boots on suckers!!!
9048 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9050 * testsuite/caps/Makefile.am:
9051 * testsuite/caps/value_compare.c:
9052 * testsuite/caps/value_intersect.c:
9053 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9054 move two testsuite apps over to the check dir
9056 2005-07-12 Wim Taymans <wim@fluendo.com>
9058 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9059 Added more debug info in the negotiate process.
9062 Prepare for segment playback.
9064 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9070 * tools/gst-launch.c: (main):
9071 NULL pipeline on errors.
9073 2005-07-12 Andy Wingo <wingo@pobox.com>
9075 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9076 not it comes from a malloc region. Make sure our copy gets freed.
9078 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9080 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9081 * check/gst/gstmessage.c: (GST_START_TEST):
9082 * check/gst/gststructure.c: (GST_START_TEST),
9083 (gst_structure_suite), (main):
9085 * gst/gstelement.c: (gst_element_message_full):
9086 clean up GError and debug string now that they get copied
9087 * gst/gstmessage.c: (gst_message_new_error),
9088 (gst_message_new_warning), (gst_message_parse_error),
9089 (gst_message_parse_warning):
9090 use GST_TYPE_G_ERROR for structure_new, and take copies of
9091 arguments, so that we don't mess up refcounting
9093 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9095 * check/Makefile.am:
9096 add per-test valgrind targets
9097 * check/gst-libs/gdp.c: (GST_START_TEST),
9098 (gst_data_protocol_suite), (main):
9101 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9103 * check/Makefile.am:
9104 instate more valgrindable tests
9105 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9106 (GST_START_TEST), (fakesrc_suite):
9107 * check/gst/gstpad.c: (GST_START_TEST):
9108 * check/gst/gststructure.c: (GST_START_TEST):
9110 * docs/gst/tmpl/gstminiobject.sgml:
9111 * gst/gstpad.c: (gst_pad_finalize):
9112 fix the static mutex leak
9114 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9116 * check/Makefile.am:
9117 add two more tests for valgrinding
9118 * check/gst/gstvalue.c: (GST_START_TEST):
9119 test refcount of deserialized buffer, found a leak
9120 * docs/gst/gstreamer-docs.sgml:
9121 * docs/gst/gstreamer-sections.txt:
9122 * docs/gst/gstreamer.types:
9123 * docs/gst/tmpl/gstminiobject.sgml:
9124 add miniobject to docs
9125 * gst/gstminiobject.c:
9127 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9128 (gst_string_unwrap):
9129 fix a hard-to-find invalid write for one of the tests
9130 fix a leak for deserialized buffers
9132 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9134 * docs/pwg/advanced-events.xml:
9135 * docs/pwg/advanced-request.xml:
9136 * docs/pwg/advanced-scheduling.xml:
9137 * docs/pwg/appendix-porting.xml:
9138 * docs/pwg/building-boiler.xml:
9139 * docs/pwg/intro-preface.xml:
9140 * docs/pwg/other-ntoone.xml:
9141 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9142 of example code and explanation for pad activation, loop() and
9143 getrange() functions and a bit more. Remove old comments pointing
9145 * examples/pwg/Makefile.am:
9146 Add loop/getrange examples.
9148 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9151 check for valgrind binary + some fixes
9153 valgrind suppressions for the tests
9154 * check/Makefile.am:
9155 add a valgrind: target that valgrinds the unit tests
9156 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9157 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9158 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9159 * check/gst/gstghostpad.c:
9161 * check/gst/gstdata.c:
9163 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9164 (thread_unref), (gst_mini_object_suite), (main):
9166 * gst/gst.c: (gst_deinit):
9168 add a method to clean up.
9169 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9170 (gst_system_clock_obtain):
9171 allow for disposing the system clock.
9172 * tools/gst-launch.c: (main):
9175 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9177 * docs/gst/tmpl/gstbasesrc.sgml:
9178 * docs/gst/tmpl/gstfakesrc.sgml:
9179 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9180 (gst_base_src_init), (gst_base_src_set_property),
9181 (gst_base_src_get_property), (gst_base_src_get_range),
9182 (gst_base_src_start):
9183 * gst/base/gstbasesrc.h:
9184 add num-buffers property
9185 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9186 (gst_fakesrc_init), (gst_fakesrc_set_property),
9187 (gst_fakesrc_get_property), (gst_fakesrc_create),
9188 (gst_fakesrc_start):
9189 remove num-buffers property
9191 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9193 * docs/gst/gstreamer-sections.txt:
9194 * docs/gst/tmpl/gstbasesink.sgml:
9195 * docs/gst/tmpl/gstbasesrc.sgml:
9196 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9197 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9198 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9199 (gst_base_sink_set_property), (gst_base_sink_get_property),
9200 (gst_base_sink_handle_object), (gst_base_sink_event),
9201 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9202 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9203 (gst_base_sink_loop), (gst_base_sink_deactivate),
9204 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9205 (gst_base_sink_change_state):
9206 * gst/base/gstbasesink.h:
9207 * gst/base/gstbasesrc.h:
9208 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9209 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9210 (gst_filesink_init):
9211 more macro splitting
9213 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9215 * gst/gstelement.c: (gst_element_get_bus):
9217 * tools/gst-launch.c: (check_intr), (event_loop):
9220 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9222 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9225 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9227 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9228 (gst_base_src_finalize):
9229 add finalize method and clean up properly
9230 * gst/gstpipeline.c: (gst_pipeline_dispose):
9233 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9235 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9237 add more things to check
9238 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9242 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9244 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9245 (GST_START_TEST), (fakesrc_suite):
9246 * check/gst-libs/gdp.c: (GST_START_TEST):
9247 * check/gst/gst.c: (GST_START_TEST):
9248 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9249 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9250 * check/gst/gstbus.c: (GST_START_TEST):
9251 * check/gst/gstcaps.c: (GST_START_TEST):
9252 * check/gst/gstdata.c: (GST_START_TEST):
9253 * check/gst/gstelement.c: (GST_START_TEST):
9254 * check/gst/gstghostpad.c: (GST_START_TEST):
9255 * check/gst/gstiterator.c: (GST_START_TEST):
9256 * check/gst/gstmessage.c: (GST_START_TEST):
9257 * check/gst/gstobject.c: (GST_START_TEST):
9258 * check/gst/gstpad.c: (GST_START_TEST):
9259 * check/gst/gststructure.c: (GST_START_TEST):
9260 * check/gst/gstsystemclock.c: (GST_START_TEST),
9261 (gst_systemclock_suite):
9262 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9263 * check/gst/gstvalue.c: (GST_START_TEST):
9264 * check/pipelines/cleanup.c: (GST_START_TEST):
9265 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9266 * check/states/sinks.c: (GST_START_TEST):
9267 * check/gstcheck.c: (gst_check_init):
9269 add debugging category
9270 use GST_START_TEST now, so we add a debug line
9272 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9274 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9275 add test for state change message on a bin
9276 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9278 * gst/gstbin.c: (gst_bin_init):
9279 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9280 * gst/gstelement.c: (gst_element_post_message),
9281 (gst_element_set_state):
9282 * gst/gstelementfactory.c: (gst_element_factory_create):
9283 * gst/gstmessage.c: (gst_message_new):
9284 * gst/gstscheduler.c:
9285 various debugging additions and cleanups
9287 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9289 * check/Makefile.am:
9290 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9292 adding tests for elements
9293 * gst/gstelement.c: (gst_element_dispose):
9295 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9297 * gst/registries/gstlibxmlregistry.c: (load_feature):
9298 plug more leaks. A simple gst_init() now is leakfree, yay.
9300 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9302 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9303 (gst_xml_registry_load):
9304 plug another memleak
9306 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9309 use GST_SET_ERROR_CFLAGS
9311 change to ERROR_CFLAGS
9313 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9316 make GST_ERROR_CFLAGS overridable and re-enable Werror
9318 add a note about error CFLAGS
9319 * docs/gst/tmpl/gstfakesrc.sgml:
9320 * gst/elements/gstfakesrc.c:
9321 comment out some unused code
9322 * gst/gst.c: (split_and_iterate):
9323 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9327 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9329 * common/Makefile.am:
9330 * common/gtk-doc.mak:
9331 * docs/gst/Makefile.am:
9332 factor out gtk-doc.mak
9334 2005-07-07 Wim Taymans <wim@fluendo.com>
9336 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9337 (gst_thread_scheduler_dispose):
9338 Unlock the STREAM_LOCK completely.
9340 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9342 * check/Makefile.am:
9343 * check/elements/.cvsignore:
9344 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9345 (START_TEST), (fakesrc_suite), (main):
9346 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9347 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9348 (gst_fakesrc_create), (gst_fakesrc_start):
9349 * gst/elements/gstfakesrc.h:
9350 adding a first element test
9352 2005-07-07 Andy Wingo <wingo@pobox.com>
9354 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9357 2005-07-07 Wim Taymans <wim@fluendo.com>
9363 2005-07-07 Wim Taymans <wim@fluendo.com>
9365 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9366 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9367 Allow subclasses to implement their own negotiation.
9369 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9371 * docs/design/part-gstbin.txt:
9372 * docs/design/part-gstpipeline.txt:
9373 Update design notes to reflect the movement of
9374 responsibility for bus handling from GstPipeline to
9377 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9380 Remove unnecessary queue2/3/4 examples.
9382 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9384 * examples/Makefile.am:
9385 * examples/helloworld/helloworld.c: (event_loop), (main):
9386 * examples/queue/queue.c: (event_loop), (main):
9387 * examples/queue2/queue2.c: (main):
9388 Update a couple of the examples to work again.
9390 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9391 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9392 Spelling corrections and extra debug.
9394 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9395 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9396 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9398 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9399 (gst_pipeline_change_state):
9400 * gst/gstpipeline.h:
9401 Move the bus handler for children to the GstBin, and create a
9402 separate bus for receiving messages from children to the one the
9403 bus sends 'upwards' on.
9405 2005-07-06 Wim Taymans <wim@fluendo.com>
9408 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9409 (gst_base_sink_handle_object), (gst_base_sink_loop),
9410 (gst_base_sink_change_state):
9411 * gst/base/gstbasesink.h:
9412 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9413 (gst_base_src_init), (gst_base_src_setcaps),
9414 (gst_base_src_getcaps), (gst_base_src_loop),
9415 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9416 (gst_base_src_start), (gst_base_src_change_state):
9417 * gst/base/gstbasesrc.h:
9418 Make basesrc negotiate.
9419 Handle the case where preroll fails in basesink.
9422 2005-07-06 Wim Taymans <wim@fluendo.com>
9424 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9425 Implement the fixate function.
9426 Clean up acceptcaps.
9428 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9430 * docs/pwg/building-filterfactory.xml:
9432 Remove never-written filter-factory chapter; I'll add the various
9433 base classes to part 4 ("other element types") later on.
9435 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9437 * docs/pwg/advanced-negotiation.xml:
9438 * docs/pwg/building-boiler.xml:
9439 * docs/pwg/building-pads.xml:
9441 * examples/pwg/Makefile.am:
9442 Add a chapter on caps negotiation, simplify the original code
9443 samples a bit w.r.t. caps negotiation, add link to the advanced
9444 section. Add a bunch of examples showing different use cases of
9445 different types of caps negotiation. Upstream renegotiation isn't
9446 fully documented yet since nobody knows how that works.
9448 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9450 * check/gst/gstpad.c:
9452 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9453 if pad has no parent, return NULL as list of internal links
9455 2005-07-05 Andy Wingo <wingo@pobox.com>
9457 * gst/elements/gstfilesrc.c:
9458 * gst/elements/gstfakesrc.c:
9459 * gst/base/gstpushsrc.c:
9460 * gst/base/gstbasesrc.h:
9461 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9463 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9466 better report generation target (lcov needs a patch)
9468 2005-07-05 Andy Wingo <wingo@pobox.com>
9470 * gst/elements, testsuite: Null if we got it...
9472 2005-07-05 Wim Taymans <wim@fluendo.com>
9475 * libs/gst/dataprotocol/Makefile.am:
9476 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9477 * libs/gst/dataprotocol/dataprotocol.h:
9478 * pkgconfig/Makefile.am:
9479 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9480 * pkgconfig/gstreamer-dataprotocol.pc.in:
9481 Ported dataprotol to 0.9.
9482 Added pkgconfig files.
9484 2005-07-05 Andy Wingo <wingo@pobox.com>
9486 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9487 Default to returning TRUE for the case when tranform_caps returns
9488 a fixed caps, like for identity or volume.
9490 * check/gst/gstbus.c (pound_bus_with_messages):
9491 * check/gst/gstmessage.c (START_TEST):
9492 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9495 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9496 logic weaks here: always run transform_caps, trying passthrough
9497 operation only if the original caps intersects with the transform.
9499 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9500 source and sink caps.
9502 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9503 Intersect the peer caps with the pad template before going into
9505 (gst_base_transform_transform_caps): More debugging.
9507 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9510 2005-07-04 Edward Hervey <edward@fluendo.com>
9514 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9517 2005-07-04 Andy Wingo <wingo@pobox.com>
9519 * check/gst/gstpad.c: Only set explicit caps on pads.
9521 2005-07-01 Andy Wingo <wingo@pobox.com>
9523 * tests/network-clock.scm: Commentary update.
9525 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9526 Didn't really make sense, not implementable with basetransform,
9528 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9529 attempt at implementing the sync property, needs an unlock method.
9531 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9532 New func, by default returns the same caps (the identity
9534 (gst_base_transform_getcaps): Uses transform_caps to return
9536 (gst_base_transform_setcaps): Complicated logic to get caps on
9537 both pads, even if they are different, and to call set_caps once
9538 for every time both pads get their caps set.
9539 (gst_base_transform_handle_buffer): Give the ref to the transform
9540 function. Allows in-place modification of the buffer.
9542 * gst/base/gstbasetransform.h (transform_caps): New class method.
9543 Given caps on one side, what can I do on the other.
9544 (set_caps): Take two caps, one for each side of the element.
9547 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9548 caps in place. This is safe because we can check the mutability of
9549 the caps, and a good idea because fixate functions are just called
9550 as a matter of last resort. (Not actually implemented.)
9551 (gst_pad_set_caps): If the caps we're setting is actually the same
9552 as the existing pad caps, just update the pointer without calling
9553 setcaps. Assert that caps is either NULL or fixed, as per the
9556 * gst/gstghostpad.c: Update for fixate changes.
9558 2005-07-02 Andy Wingo <wingo@pobox.com>
9561 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9562 two refcounts makes it immutable, which is enough. Doc more.
9564 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9566 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9567 Put the mini_object into GValue as a mini_object,
9568 not a gpointer, since that's how we declared
9571 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9573 * examples/pwg/Makefile.am:
9576 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9578 * docs/pwg/building-testapp.xml:
9580 * examples/pwg/Makefile.am:
9583 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9586 * examples/Makefile.am:
9587 * examples/pwg/Makefile.am:
9588 * examples/pwg/extract.pl:
9589 Enable building the PWG examples.
9590 * docs/pwg/advanced-interfaces.xml:
9591 Add URI interface stub.
9592 * docs/pwg/advanced-types.xml:
9593 * docs/pwg/other-autoplugger.xml:
9594 * docs/pwg/appendix-porting.xml:
9596 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9597 * docs/pwg/building-boiler.xml:
9598 * docs/pwg/building-chainfn.xml:
9599 * docs/pwg/building-pads.xml:
9600 * docs/pwg/building-props.xml:
9601 * docs/pwg/building-state.xml:
9602 * docs/pwg/building-testapp.xml:
9603 Update the building-*.xml parts for 0.9 changes. All examples
9604 code blocks compile in examples/pwg/*.
9606 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9608 * docs/manual/advanced-autoplugging.xml:
9609 * docs/manual/appendix-checklist.xml:
9610 * docs/manual/appendix-integration.xml:
9611 * docs/manual/highlevel-components.xml:
9612 Fix playbin/decodebin examples, update docs a bit, mention bus
9613 instead of signals in various places, mention kmplayer and
9614 kaffeine since they have a working GStreamer backend in the KDE
9617 2005-06-30 Wim Taymans <wim@fluendo.com>
9620 * docs/design/draft-ghostpads.txt:
9621 * docs/design/draft-push-pull.txt:
9622 * docs/design/draft-query.txt:
9623 * docs/design/part-TODO.txt:
9624 * docs/design/part-query.txt:
9625 Added CHANGES-0.9 doc, updated status of other docs.
9630 2005-06-30 Wim Taymans <wim@fluendo.com>
9632 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9633 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9634 (gst_base_sink_change_state):
9635 * gst/base/gstbasesink.h:
9636 Some tweaks, only EOS and a buffer complete a preroll.
9638 2005-06-30 Andy Wingo <wingo@pobox.com>
9640 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9641 activate_push down to the internal pad as well.
9643 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9645 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9647 * gst/gsttaginterface.c:
9648 Some documentation fixes (#307394 and #307397).
9650 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9652 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9654 * gst/gstvalue.c: (gst_value_intersect_list):
9655 Fix memleak (#309125).
9657 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9659 * docs/manual/advanced-dataaccess.xml:
9660 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9661 * docs/manual/basics-pads.xml:
9662 Add reference for filtered caps to above chapter.
9664 2005-06-30 Wim Taymans <wim@fluendo.com>
9666 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9667 (gst_bin_change_state):
9669 Lame attempt at making the state change function a bit
9672 2005-06-30 Wim Taymans <wim@fluendo.com>
9674 * docs/design/part-clocks.txt:
9675 * docs/design/part-element-sink.txt:
9676 * docs/design/part-events.txt:
9677 * docs/design/part-preroll.txt:
9678 * docs/design/part-states.txt:
9679 Some more tweeks and additions to the docs.
9681 2005-06-30 Wim Taymans <wim@fluendo.com>
9683 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9684 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9685 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9686 (gst_pad_check_pull_range), (gst_pad_get_range),
9687 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9689 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9690 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9691 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9692 (gst_pad_remove_buffer_probe):
9693 Removed atomic operations, use existing LOCK.
9694 Move exception handling out of main code path.
9696 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9698 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9699 (silly_return_true_function), (gst_pad_class_init),
9700 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9701 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9702 (gst_pad_send_event):
9703 Fix accumulator, add default value by using _emitv() instead
9704 of _emit() for signal emission.
9706 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9708 * docs/manual/advanced-dataaccess.xml:
9709 * examples/manual/Makefile.am:
9711 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9714 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9716 * gst/elements/gstfilesink.c: (gst_filesink_render):
9717 Simplify code so that we don't have to handle short
9718 writes and return GST_FLOW_ERROR if an error occured.
9720 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9722 * docs/gst/gstreamer-docs.sgml:
9725 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9727 * docs/gst/gstreamer-sections.txt:
9728 * docs/gst/tmpl/gstpad.sgml:
9729 * docs/gst/tmpl/gstprobe.sgml:
9731 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9732 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9733 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9734 (gst_pad_push_event), (gst_pad_send_event):
9736 * gst/gstutils.c: (gst_pad_add_data_probe),
9737 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9738 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9739 (gst_pad_remove_buffer_probe):
9741 Remove old probes, add new g-signal-based probes and some utility
9744 2005-06-29 Edward Hervey <edward@fluendo.com>
9746 * gst/gstelementfactory.c:
9749 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9750 the definition to the header file.
9752 2005-06-29 Andy Wingo <wingo@pobox.com>
9754 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9755 plugins from the source directory.
9757 2005-06-29 Wim Taymans <wim@fluendo.com>
9759 * docs/gst/tmpl/gstbuffer.sgml:
9760 * docs/gst/tmpl/gstclock.sgml:
9761 Some fixings for blantently wrong text.
9763 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9765 * check/Makefile.am:
9766 * gst/gst.c: (add_path_func), (init_pre):
9767 * gst/gstregistry.c: (gst_registry_add_path):
9768 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9769 only scan the GST_PLUGIN_PATH locations, and not add
9772 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9774 * docs/gst/gstreamer-sections.txt:
9775 * docs/gst/tmpl/gstbasesrc.sgml:
9782 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9784 * docs/manual/advanced-autoplugging.xml:
9785 Fix autoplugging example.
9787 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9789 * docs/manual/advanced-autoplugging.xml:
9790 * docs/manual/mime-world.fig:
9791 Try to get autoplugging working, fix type detection. Fix text
9792 in hello-world image.
9794 2005-06-29 Wim Taymans <wim@fluendo.com>
9796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9797 (gst_base_sink_change_state):
9801 map SIGNAL and BROADCAST to the right function.
9804 Remove redundant braces.
9806 * gst/gstpad.c: (gst_pad_set_caps):
9807 Don't call setcaps function when reseting caps to NULL.
9809 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9810 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9811 (gst_system_clock_id_unschedule):
9812 Use BROADCAST as this is what we do.
9814 2005-06-29 Wim Taymans <wim@fluendo.com>
9816 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9817 We are actually prerolling before commiting the state
9820 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9822 * docs/manual/advanced-clocks.xml:
9823 * docs/manual/advanced-interfaces.xml:
9824 * docs/manual/advanced-metadata.xml:
9825 * docs/manual/advanced-position.xml:
9826 * docs/manual/advanced-schedulers.xml:
9827 * docs/manual/advanced-threads.xml:
9828 * docs/manual/appendix-porting.xml:
9829 * docs/manual/basics-bins.xml:
9830 * docs/manual/basics-bus.xml:
9831 * docs/manual/basics-elements.xml:
9832 * docs/manual/basics-helloworld.xml:
9833 * docs/manual/basics-pads.xml:
9834 * docs/manual/highlevel-components.xml:
9835 * docs/manual/manual.xml:
9836 * docs/manual/thread.fig:
9837 Update (until threads/scheduling) Application Development Manual;
9838 remove GstThread, add GstBus, add simple porting checklist, add
9839 documentation for tag writing, clocks, make all examples until this
9840 part compile and run.
9841 * examples/manual/Makefile.am:
9842 Update from changes to Application Development Manual; add bus
9843 example, remove thread example.
9845 2005-06-28 Wim Taymans <wim@fluendo.com>
9847 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9848 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9849 (gst_bus_source_dispatch):
9850 Add debugging messages.
9851 Make internal methods static.
9852 Handle the case where the bus is flushed in the handler.
9854 * gst/gstelement.c: (gst_element_get_bus):
9855 Fix refcount in _get_bus();
9857 * gst/gstpipeline.c: (gst_pipeline_change_state),
9858 (gst_pipeline_get_clock_func):
9859 Clock refcounting fixes.
9860 Handle the case where preroll timed out more gracefully.
9862 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9863 Clean up the internal thread in dispose. This is needed
9864 for subclasses that actually get disposed.
9866 * gst/schedulers/threadscheduler.c:
9867 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9868 (gst_thread_scheduler_dispose):
9869 Free thread pool in dispose.
9871 2005-06-28 Andy Wingo <wingo@pobox.com>
9873 * tests/network-clock-utils.scm (debug, print-event): New utils.
9875 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9876 (*packet-loss*): Unified loss probability.
9877 (network-time): Report out-of-band events.
9879 * tests/plot-data: Add support for out-of-band events. Hack it
9880 into this script instead of passing it down the pipe; should fix
9883 2005-06-28 Wim Taymans <wim@fluendo.com>
9885 * docs/gst/gstreamer.types:
9886 * docs/gst/tmpl/gstbasesrc.sgml:
9887 * docs/gst/tmpl/gstpad.sgml:
9890 2005-06-28 Wim Taymans <wim@fluendo.com>
9892 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9893 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9894 (gst_proxy_pad_do_fixatecaps):
9895 Correctly proxy the check_pull_range function.
9897 2005-06-28 Andy Wingo <wingo@pobox.com>
9899 * tests/network-clock.scm: Removed need for slib.
9901 2005-06-28 Wim Taymans <wim@fluendo.com>
9903 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9904 (gst_basesink_preroll_queue_flush):
9905 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9906 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9907 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9908 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9909 (gst_proxy_pad_set_property):
9912 * gst/gstqueue.c: (gst_queue_init):
9913 The deprecated pad loop function is removed now.
9915 2005-06-28 Andy Wingo <wingo@pobox.com>
9917 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9918 New parameters, simulate network packet loss.
9920 * tests/network-clock-utils.scm: Initialize the RNG.
9922 2005-06-28 Wim Taymans <wim@fluendo.com>
9924 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9925 (gst_basesink_event), (gst_basesink_deactivate):
9926 Flushing the preroll queue always needs to unlock the waiters.
9928 2005-06-28 Edward Hervey <edward@fluendo.com>
9930 * gst/gstpipeline.c: (gst_pipeline_send_event):
9931 Wheen a seek was successful on a pipeline, set the stream_time to the
9932 seek offset in order to have a synchronized stream_time.
9934 2005-06-28 Wim Taymans <wim@fluendo.com>
9936 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9937 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9938 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9939 (gst_proxy_pad_do_fixatecaps):
9940 Call wrapper function instead of just calling the function
9941 pointers. This takes care of any locking and whatmore.
9943 2005-06-28 Wim Taymans <wim@fluendo.com>
9945 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9946 (gst_pad_pull_range):
9948 CONNECTED -> LINKED.
9950 2005-06-28 Andy Wingo <wingo@pobox.com>
9952 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9953 source-munging commit!!!
9955 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9956 (gst_object_sink): Take gpointer arguments, not GstObject --
9957 avoids casts. Like GLib.
9959 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9962 2005-06-27 Andy Wingo <wingo@pobox.com>
9964 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9967 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9968 returns a sorted copy of the trace list.
9969 (gst_alloc_trace_print_live): New API, only prints traces with
9970 live objects. Sort the list.
9971 (gst_alloc_trace_print_all): Sort the list.
9972 (gst_alloc_trace_print): Align columns.
9974 * gst/elements/gstttypefindelement.c:
9975 * gst/elements/gsttee.c:
9976 * gst/base/gstbasesrc.c:
9977 * gst/base/gstbasesink.c:
9978 * gst/base/gstbasetransform.c:
9979 * gst/gstqueue.c: Adapt for pad activation changes.
9981 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9983 (gst_pipeline_dispose): Drop ref on sched.
9985 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9986 (gst_pad_activate_default): Push mode by default.
9987 (pre_activate_switch, post_activate_switch): New stubs, things to
9988 do before and after switching activation modes on pads.
9989 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9990 the pad's activate function to choose which mode to activate.
9991 Shortcut on deactivation and call the right function directly.
9992 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9994 (gst_pad_activate_push): New API, same for push mode.
9995 (gst_pad_set_activate_function)
9996 (gst_pad_set_activatepull_function)
9997 (gst_pad_set_activatepush_function): Setters for new API.
9999 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10000 Trace all miniobjects.
10001 (gst_mini_object_make_writable): Unref the arg if we copy, like
10002 gst_caps_make_writable.
10004 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10006 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10007 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10008 Adapt for new pad API.
10010 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10012 * gst/gstelement.h:
10013 * gst/gstelement.c (gst_element_iterate_src_pads)
10014 (gst_element_iterate_sink_pads): New API functions.
10016 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10017 should fold into gstiterator.c in some form.
10018 (gst_element_pads_activate): Simplified via use of fold and
10019 delegation of decisions to gstpad->activate.
10021 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10024 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10025 class once in init, like gstmessage. Didn't run into this issue
10026 but it seems correct. Don't initialize a trace, gstminiobject does
10029 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10030 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10032 (assert_live_count): New util function, uses alloc traces to check
10035 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10036 To be modified when unlink drops the internal pad.
10038 2005-06-27 Wim Taymans <wim@fluendo.com>
10040 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10041 (gst_bin_change_state):
10042 Cleanup the get_state() function a little, make sure it
10043 iterates the same set of elements.
10044 Added stub iterate_state_order().
10046 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10048 * docs/gst/gstreamer-docs.sgml:
10049 * docs/gst/gstreamer-sections.txt:
10050 * docs/gst/gstreamer.types:
10051 * docs/gst/tmpl/gstbasesink.sgml:
10052 * docs/gst/tmpl/gstbasesrc.sgml:
10053 * docs/gst/tmpl/gstbasetransform.sgml:
10054 * docs/gst/tmpl/gstelement.sgml:
10055 * docs/gst/tmpl/gstiterator.sgml:
10056 * gst/base/gstbasesrc.c:
10057 * gst/base/gstbasesrc.h:
10058 * gst/base/gstbasetransform.h:
10059 * gst/gstelement.c:
10060 * gst/gstiterator.h:
10061 adding basetransform and iterator docs
10063 2005-06-27 Andy Wingo <wingo@pobox.com>
10065 * docs/design/part-activation.txt: Notes on how activation should
10066 work -- not quite implemented yet.
10068 2005-06-25 Wim Taymans <wim@fluendo.com>
10070 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10071 At least get the chain function correct, needs more
10074 2005-06-25 Wim Taymans <wim@fluendo.com>
10076 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10077 (gst_basesink_handle_object), (gst_basesink_event),
10078 (gst_basesink_do_sync), (gst_basesink_handle_event),
10079 (gst_basesink_change_state):
10081 Right, two problems here: ghostpads don't take locks and
10082 glib _rec_mutex_lock_full() with depth==0 still locks.
10083 Catch illegal locking and g_warn them.
10085 2005-06-25 Wim Taymans <wim@fluendo.com>
10087 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10088 Have to check for completion now...
10090 2005-06-25 Wim Taymans <wim@fluendo.com>
10092 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10093 (gst_basesink_handle_object), (gst_basesink_event),
10094 (gst_basesink_do_sync), (gst_basesink_handle_event),
10095 (gst_basesink_change_state):
10097 Unlock STREAM_LOCK whatever the recursion was.
10099 2005-06-25 Wim Taymans <wim@fluendo.com>
10101 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10102 (gst_basesink_preroll_queue_empty),
10103 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10104 (gst_basesink_event), (gst_basesink_do_sync),
10105 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10106 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10107 (gst_basesink_change_state):
10108 Reworked the base sink, handle event and buffer serialisation
10109 correctly and removed possible deadlock.
10110 Handle EOS correctly.
10112 2005-06-25 Wim Taymans <wim@fluendo.com>
10114 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10115 (gst_pipeline_change_state):
10116 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10117 Allow elements to post EOS in the state change function.
10118 Fix up -launch, make it exit the poll loop when the
10119 pipeline actually changed state.
10120 Fix up warning parsing in -launch.
10122 2005-06-25 Wim Taymans <wim@fluendo.com>
10124 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10125 (gst_tee_sink_activate):
10126 Core takes STREAM_LOCK for us now.
10128 2005-06-25 Wim Taymans <wim@fluendo.com>
10130 * gst/gstelement.c: (gst_element_get_state_func),
10131 (gst_element_set_state):
10132 * gst/gstelement.h:
10133 * gst/gstmessage.c: (gst_message_parse_error),
10134 (gst_message_parse_warning):
10135 Keep track of current target state while performing a state
10136 change so that subclasses can do something interesting.
10137 Fix parsing of warning/error messages when GError is NULL.
10139 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10141 * docs/gst/Makefile.am:
10142 * docs/gst/gstreamer-docs.sgml:
10143 * docs/gst/gstreamer-sections.txt:
10144 * docs/gst/gstreamer.types:
10145 * docs/gst/tmpl/gstbasesink.sgml:
10146 * docs/gst/tmpl/gstbasesrc.sgml:
10147 * docs/gst/tmpl/gstbin.sgml:
10148 * docs/gst/tmpl/gstcompat.sgml:
10149 * docs/gst/tmpl/gstfakesink.sgml:
10150 * docs/gst/tmpl/gstfakesrc.sgml:
10151 * docs/gst/tmpl/gstfilesink.sgml:
10152 * docs/gst/tmpl/gstfilesrc.sgml:
10153 * docs/gst/tmpl/gstindex.sgml:
10154 * docs/manual/appendix-quotes.xml:
10155 * gst/base/gstbasesrc.h:
10156 * gst/elements/gstfakesrc.h:
10157 * gst/gstmessage.h:
10158 start pulling in base classes and elements in our docs
10160 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10162 * docs/gst/Makefile.am:
10163 * docs/libs/Makefile.am:
10164 fixed make distcheck with gtk-doc 1.3
10166 2005-06-23 Wim Taymans <wim@fluendo.com>
10168 * gst/gstelement.c: (gst_element_get_state_func),
10169 (gst_element_set_state), (gst_element_change_state):
10170 When the state did not change, also report NO_PREROLL
10173 2005-06-23 Wim Taymans <wim@fluendo.com>
10175 * gst/gstpad.c: (gst_pad_event_default):
10176 * gst/gstqueue.c: (gst_queue_loop):
10177 No unsafe task pausing please.
10179 2005-06-23 Wim Taymans <wim@fluendo.com>
10181 * gst/schedulers/threadscheduler.c:
10182 (gst_thread_scheduler_task_start),
10183 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10184 Ref the task before pushing it on the threadpool. This
10185 makes sure that we have a ref when the threadfunction is
10188 2005-06-23 Andy Wingo <wingo@pobox.com>
10190 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10191 offset is greater than the file's size.
10193 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10194 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10195 * gst/gstobject.c (gst_object_class_init): Make the class lock
10196 recursive. Wim won't let me drop deep_notify. Decodebin works
10197 again, whoopdy doo.
10199 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10200 internal pad, and hacks accordingly. Doesn't do it on the target
10201 pad because we change its caps. Probably catches all cases of
10203 (gst_ghost_pad_set_property): Connect to notify::caps as
10206 * tests/network-clock.scm (plot-simulation): Pipe data to the
10207 elite python skript.
10209 * tests/network-clock-utils.scm (define-parameter): New macro,
10210 defines a parameter that can be set via the command line.
10211 (set-parameter!, parse-parameter-arguments): Command line args
10214 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10217 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10219 * gst/elements/gsttypefindelement.c:
10220 (gst_type_find_element_handle_event):
10221 Don't restart typefinding on a discont.
10222 * gst/gstelement.c: (gst_element_set_state):
10223 Debug spelling fix.
10224 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10225 Allow changing mode of an active pad.
10226 Debug output fixes.
10227 * gst/registries/gstlibxmlregistry.c: (load_feature):
10228 Don't cast a static pad template to a normal pad template.
10230 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10232 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10233 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10234 remove gst_strtoll completely, since it didn't actually do
10235 anything more than what g_ascii_strtoull already does.
10236 check for range errors when deserializing
10237 do a cast for the unsigned cases; but further fixing needs
10238 a decision on what the interpretation of "(int)" and
10239 deserialization should be for values that fall outside the
10240 type's boundaries (ie, refuse, or interpret as casting)
10242 2005-06-23 Wim Taymans <wim@fluendo.com>
10244 * check/Makefile.am:
10245 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10246 * docs/design/part-live-source.txt:
10247 * docs/design/part-states.txt:
10248 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10249 (gst_basesrc_set_live), (gst_basesrc_is_live),
10250 (gst_basesrc_get_range), (gst_basesrc_activate),
10251 (gst_basesrc_change_state):
10252 * gst/base/gstbasesrc.h:
10253 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10254 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10255 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10256 * gst/gstelement.c: (gst_element_get_state_func),
10257 (gst_element_set_state):
10258 * gst/gstelement.h:
10260 * tools/gst-launch.c: (event_loop), (main):
10261 Added support for live sources and other elements that
10263 Updated design docs, added live-source design doc.
10264 Implemented live source functionality in basesrc
10265 Fix error condition in _bin_get_state()
10266 Implement live source handling in -launch.
10267 Added check for live sources.
10268 Fixed case in GstBin where elements were changed state
10272 2005-06-23 Andy Wingo <wingo@pobox.com>
10274 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10275 borken refcounting.
10277 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10278 gst_caps_replace takes care of this for us.
10280 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10281 gst_pad_set_caps on the target, not just its setcaps() function.
10283 * tests/network-clock.scm:
10284 * tests/network-clock-utils.scm: A network clock simulator.
10285 Something of an algorithmic testbed before doing something in C.
10287 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10289 * check/Makefile.am:
10290 * check/gst/capslist.h:
10291 copy over from 0.8, and add two with bitmasks specified with
10293 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10294 add test to parse everything from capslist.h
10295 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10297 add test for structure deserialization
10298 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10299 add tests for deserialization of strings to int types
10300 * gst/gststructure.c: (gst_structure_nth_field_name):
10301 * gst/gststructure.h:
10302 add a way to get the name of a field referenced by index
10303 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10304 instead of checking if the resulting long long lies between
10305 min and max, we check if the long long would fit into
10306 a number of bytes for the final type.
10307 This fixes cases where a string represents 2^32 - 1, which
10308 when cast to int would be the (valid) -1, but is bigger than
10311 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10313 * gst/parse/grammar.y:
10314 add a log line for type deserialization
10316 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10318 * check/gst/gstvalue.c: (START_TEST):
10319 * gst/gstvalue.c: (gst_value_deserialize):
10320 return long long, not int, so gint64 deserialization actually
10321 works. Is there any flag that makes the compiler check this ?
10324 2005-06-22 Wim Taymans <wim@fluendo.com>
10327 Added convenience macros for setting buffers in GValue.
10329 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10331 * check/gst/.cvsignore:
10332 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10333 add a test deserializing int64, and comment part out because
10336 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10338 * check/Makefile.am:
10339 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10340 * testsuite/Makefile.am:
10341 * testsuite/caps/Makefile.am:
10342 * testsuite/caps/value_serialize.c:
10343 * testsuite/test_gst_init.c:
10344 move a value_serialize test over
10346 2005-06-20 Wim Taymans <wim@fluendo.com>
10351 * gst/gstvalue.c: (gst_value_compare_buffer),
10352 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10353 (gst_value_compare_flags), (gst_value_serialize_flags),
10354 (gst_value_deserialize_flags), (_gst_value_initialize):
10355 Fix serialisation of buffers, they are not boxed types anymore
10357 2005-06-20 Wim Taymans <wim@fluendo.com>
10359 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10360 Testcase to show error in buffer-on-caps serialisation.
10362 2005-06-20 Andy Wingo <wingo@pobox.com>
10364 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10365 will be adding to later.
10367 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10368 if its socks fill with rocks.
10369 (gst_system_clock_obtain): Set the name on object construction.
10370 Avoid double-checked locking.
10372 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10374 * gst/gsturi.c: (gst_element_make_from_uri):
10375 Fix potential endless loop.
10377 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10379 * check/Makefile.am:
10381 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10383 move over from testsuite dir and clean up
10386 * testsuite/Makefile.am:
10387 * testsuite/tags/.cvsignore:
10388 * testsuite/tags/Makefile.am:
10389 * testsuite/tags/merge.c:
10390 remove testsuite/tags
10392 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10394 * docs/gst/gstreamer-sections.txt:
10395 * docs/gst/tmpl/gstenumtypes.sgml:
10396 * win32/gstenumtypes.c:
10397 clean up documentation build a little
10399 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10401 * check/gstcheck.h:
10402 add macros for checking refcounts on objects and caps
10403 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10404 add some more unit tests
10405 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10406 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10407 fix leaked refcounts (I hope :)) so unittest works
10411 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10413 * configure.ac: back to HEAD
10415 === release 0.9.1 ===
10417 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10423 2005-06-17 Andy Wingo <wingo@pobox.com>
10425 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10426 assert; it's always possible that the pad gets deactivated in
10427 between the checks in gstpad.c and the implementation. Rely on
10428 finish_preroll() to return a FLUSHING or similar instead of on the
10431 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10432 clock and post an EOS message if we come out of finish_preroll in
10435 2005-06-16 David Schleef <ds@schleef.org>
10437 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10438 (gst_capsfilter_set_property): Allow NULL as possible value
10439 for filter_caps property, indicating GST_CAPS_ANY.
10441 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10443 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10445 * gst/schedulers/Makefile.am:
10447 * gstreamer.spec.in:
10450 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10452 * gstreamer.spec.in:
10455 2005-06-08 Andy Wingo <wingo@pobox.com>
10457 * gst/gstutils.c: RPAD fixes all around.
10458 (gst_element_link_pads): Refcounting fixes.
10460 * tools/gst-inspect.c:
10461 * tools/gst-xmlinspect.c:
10463 * gst/base/gsttypefindhelper.c:
10464 * gst/base/gstbasesink.c:
10465 * gst/gstqueue.c: RPAD fixes.
10467 * gst/gstghostpad.h:
10468 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10469 pads. The tricky thing is they provide both source and sink
10470 interfaces, since they proxy the internal pad for the external
10471 pad, and vice versa. Implement with lower-level ProxyPad objects,
10472 with the interior proxy pad as a child of the exterior ghost pad.
10473 Should write a doc on this.
10475 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10476 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10479 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10480 pads are real pads. No ghost pads in this file. Not documenting
10481 the myriad s/RPAD/PAD/ and REALIZE fixes.
10482 (gst_pad_class_init): Add properties for "direction" and
10483 "template". Both are construct-only, so they can't change during
10484 the life of the pad. Fixes properly deriving from GstPad.
10485 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10486 derived objects, just set properties when creating the objects via
10488 (gst_pad_get_parent): Implement as a function, return NULL if the
10489 parent is not an element.
10490 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10491 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10493 * gst/gstobject.c (gst_object_class_init): Make name a construct
10494 property. Don't set it in the object init.
10496 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10497 with UNKNOWN direction.
10498 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10499 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10500 (gst_element_remove_pad): Remove ghost-pad special cases.
10501 (gst_element_pads_activate): Remove rpad cruft.
10503 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10504 catch the pad's-parent-not-an-element case.
10506 * gst/gst.h: Include gstghostpad.h.
10508 * gst/gst.c (init_post): No more real, ghost pads.
10510 * gst/Makefile.am: Add gstghostpad.[ch].
10512 * check/Makefile.am:
10513 * check/gst/gstbin.c:
10514 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10515 into a bin creates ghost pads, and that the refcounts are right.
10516 Partly moved from gstbin.c.
10518 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10520 * check/gst-libs/.cvsignore:
10521 * check/gst/.cvsignore:
10522 * check/pipelines/.cvsignore:
10524 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10525 (START_TEST), (cleanup_suite), (main):
10526 add some tests related to cleanup after running pipelines
10528 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10530 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10531 add a testsuite for GstBuffer
10533 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10535 * gst/gstminiobject.h:
10536 add defines for accessing the refcount
10538 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10540 * Makefile.am: added support for html unit test coverage reports
10542 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10544 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10545 Free existing caps if the capsfilter changes. Add a FIXME about
10546 setting those caps on the pads.
10548 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10549 Before adding a ghost pad to a parent bin, check that there isn't
10550 already one for the element on the bin. Prevents infinite recursion
10551 when using decodebin in parse pipelines. Andy says he'll rewrite the
10552 way this works anyway, so ignore the hack.
10554 2005-06-02 Andy Wingo <wingo@pobox.com>
10556 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10557 file size, pass it on to the type find helper.
10559 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10560 segment_start and segment_end properly according to the seek
10561 method. Segment_end is still a bit flaky because offset can be
10562 negative for CUR and END cases, but it takes -1 as an "unset"
10565 2005-06-02 Wim Taymans <wim@fluendo.com>
10567 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10568 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10569 (gst_basesink_activate):
10570 * gst/base/gstbasesink.h:
10571 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10572 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10573 (gst_pad_query), (gst_pad_start_task):
10575 * gst/gstqueue.c: (gst_queue_bufferalloc),
10576 (gst_queue_handle_sink_event), (gst_queue_chain):
10577 Bufferalloc: return GstFlowReturn to more accuratly report
10578 why allocation failed.
10580 2005-06-02 Wim Taymans <wim@fluendo.com>
10582 * gst/gstpipeline.c: (gst_pipeline_send_event):
10583 Take snapshot of state without blocking.
10585 2005-06-02 Wim Taymans <wim@fluendo.com>
10587 * docs/design/part-TODO.txt:
10588 * docs/design/part-caps.txt:
10589 * docs/design/part-clocks.txt:
10590 * docs/design/part-negotiation.txt:
10591 * docs/design/part-preroll.txt:
10594 2005-05-30 Wim Taymans <wim@fluendo.com>
10596 * gst/elements/gstidentity.c: (gst_identity_event),
10597 (gst_identity_transform), (gst_identity_get_property):
10598 Protect last_message property as it is accessed from
10601 2005-05-30 Wim Taymans <wim@fluendo.com>
10603 * gst/gstelement.c: (gst_element_init),
10604 (gst_element_pads_activate), (gst_element_change_state):
10605 Slicker pad activation code.
10607 2005-05-30 Wim Taymans <wim@fluendo.com>
10610 * gst/gstelement.h:
10611 * gst/gstelementfactory.h:
10613 Move elementfactory methods to separate .h file.
10615 2005-05-30 Wim Taymans <wim@fluendo.com>
10617 * docs/design/part-overview.txt:
10618 * gst/gstsystemclock.h:
10619 Small typo fixes, doc updates.
10621 2005-05-30 Wim Taymans <wim@fluendo.com>
10623 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10624 (init_popt_callback):
10625 Remove cpu-opt flag.
10627 2005-05-30 Wim Taymans <wim@fluendo.com>
10629 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10630 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10632 Avoid typechecking in places where not needed.
10633 Added accessor for malloc_data.
10635 2005-05-30 Wim Taymans <wim@fluendo.com>
10637 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10638 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10639 (gst_pad_configure_sink), (gst_pad_configure_src),
10640 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10641 (gst_pad_start_task):
10642 Propagate errors from _set_caps() in configure_src/sink
10643 functions instead of returning TRUE.
10644 FLUSH events can travel up and downstream
10647 2005-05-30 Wim Taymans <wim@fluendo.com>
10649 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10650 (gst_basesink_activate):
10651 Handle EOS in preroll.
10653 2005-05-30 Wim Taymans <wim@fluendo.com>
10655 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10656 (gst_queue_loop), (gst_queue_handle_src_event):
10657 Remove old pieces of code
10658 Flushing the queue in an upstream event is a very bad idea.
10660 2005-05-26 Andy Wingo <wingo@pobox.com>
10662 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10663 gst_value_set_mini_object so as to add a ref on the object (which
10664 will be removed when the value is unset).
10666 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10667 arg type in ::handoff.
10669 * gst/gstelement.c (gst_element_change_state): Also deactivate
10670 pads in READY->NULL, just in case the element didn't make it to
10671 PAUSED. Wingo tested, Wim approved.
10673 2005-05-26 Wim Taymans <wim@fluendo.com>
10675 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10676 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10677 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10678 A flushing pad cannot be used to alloc_buffer from.
10680 2005-05-26 Wim Taymans <wim@fluendo.com>
10682 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10683 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10684 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10685 (gst_bus_create_watch), (gst_bus_add_watch_full):
10687 Implement a real GSource and use g_main_context_wakeup() to
10688 signal new messages instead of the socketpair.
10690 2005-05-25 Wim Taymans <wim@fluendo.com>
10692 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10693 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10694 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10695 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10696 (gst_pad_send_event), (gst_pad_start_task):
10697 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10698 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10699 (gst_queue_sink_activate), (gst_queue_src_activate),
10700 (gst_queue_change_state):
10702 Fix state changes for non sinks. We now change sinks, then elements
10703 with unconnected srcpads, then the rest.
10704 More efficient queue unlocking in flush and state changes.
10705 Set the pad activate mode even if it does not have an activate
10708 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10710 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10711 Don't go in pull mode for non-seekable sources.
10712 * gst/elements/gsttypefindelement.h:
10713 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10714 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10715 (free_entry), (stop_typefinding),
10716 (gst_type_find_element_handle_event), (find_peek),
10717 (gst_type_find_element_chain), (do_pull_typefind),
10718 (gst_type_find_element_change_state):
10719 Allow typefinding (w/o seeking) in push-mode, simplified version
10720 of what was in 0.8.
10721 * gst/gstutils.c: (gst_buffer_join):
10723 gst_buffer_join() from 0.8.
10725 2005-05-25 Wim Taymans <wim@fluendo.com>
10727 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10728 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10729 (gst_pad_send_event), (gst_pad_start_task):
10730 Disable attempt at mode switching until it is figured out.
10732 2005-05-25 Wim Taymans <wim@fluendo.com>
10734 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10735 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10736 (gst_basesink_finish_preroll), (gst_basesink_chain),
10737 (gst_basesink_loop), (gst_basesink_activate),
10738 (gst_basesink_change_state):
10739 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10740 (gst_basesrc_get_range), (gst_basesrc_loop),
10741 (gst_basesrc_activate):
10742 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10743 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10744 (gst_real_pad_init), (gst_real_pad_set_property),
10745 (gst_real_pad_get_property), (gst_pad_set_active),
10746 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10747 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10748 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10749 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10750 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10751 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10752 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10753 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10754 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10755 (gst_pad_stop_task):
10757 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10758 (gst_queue_loop), (gst_queue_src_activate):
10759 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10760 (gst_task_get_state):
10762 * gst/schedulers/threadscheduler.c:
10763 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10764 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10766 Remove ACTIVE pad flag, use FLUSHING everywhere
10767 Added _pad_chain(), _pad_get_range() to call chain/getrange
10769 Add locks around IS_FLUSHING when reading.
10770 Take STREAM lock in chain(), get_range() functions so plugins
10771 don't need to take it anymore.
10775 2005-05-25 Wim Taymans <wim@fluendo.com>
10777 * tools/gst-launch.c: (event_loop):
10778 Unref message after using its contents instead of
10781 2005-05-24 Wim Taymans <wim@fluendo.com>
10783 * docs/design/draft-ghostpads.txt:
10784 * docs/design/draft-push-pull.txt:
10785 * docs/design/draft-query.txt:
10786 * docs/design/part-overview.txt:
10787 Docs updates, added general overview doc.
10789 2005-05-21 David Schleef <ds@schleef.org>
10791 * docs/gst/tmpl/old/GstBin.sgml:
10792 * docs/gst/tmpl/old/GstBuffer.sgml:
10793 * docs/gst/tmpl/old/GstCaps.sgml:
10794 * docs/gst/tmpl/old/GstClock.sgml:
10795 * docs/gst/tmpl/old/GstCompat.sgml:
10796 * docs/gst/tmpl/old/GstData.sgml:
10797 * docs/gst/tmpl/old/GstElement.sgml:
10798 * docs/gst/tmpl/old/GstEvent.sgml:
10799 * docs/gst/tmpl/old/GstIndex.sgml:
10800 * docs/gst/tmpl/old/GstStructure.sgml:
10801 * docs/gst/tmpl/old/GstTag.sgml:
10802 * docs/gst/tmpl/old/cothreads.sgml:
10803 * docs/gst/tmpl/old/cothreads_compat.sgml:
10804 * docs/gst/tmpl/old/gettext.sgml:
10805 * docs/gst/tmpl/old/gobject2gtk.sgml:
10806 * docs/gst/tmpl/old/grammar.tab.sgml:
10807 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10808 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10809 * docs/gst/tmpl/old/gst_private.sgml:
10810 * docs/gst/tmpl/old/gstaggregator.sgml:
10811 * docs/gst/tmpl/old/gstarch.sgml:
10812 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10813 * docs/gst/tmpl/old/gstbufferstore.sgml:
10814 * docs/gst/tmpl/old/gstdata_private.sgml:
10815 * docs/gst/tmpl/old/gstdisksink.sgml:
10816 * docs/gst/tmpl/old/gstdisksrc.sgml:
10817 * docs/gst/tmpl/old/gstelementfactory.sgml:
10818 * docs/gst/tmpl/old/gstextratypes.sgml:
10819 * docs/gst/tmpl/old/gstfakesink.sgml:
10820 * docs/gst/tmpl/old/gstfakesrc.sgml:
10821 * docs/gst/tmpl/old/gstfdsink.sgml:
10822 * docs/gst/tmpl/old/gstfdsrc.sgml:
10823 * docs/gst/tmpl/old/gstfilesink.sgml:
10824 * docs/gst/tmpl/old/gstfilesrc.sgml:
10825 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10826 * docs/gst/tmpl/old/gstidentity.sgml:
10827 * docs/gst/tmpl/old/gstindexfactory.sgml:
10828 * docs/gst/tmpl/old/gstmarshal.sgml:
10829 * docs/gst/tmpl/old/gstmd5sink.sgml:
10830 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10831 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10832 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10833 * docs/gst/tmpl/old/gstpipefilter.sgml:
10834 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10835 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10836 * docs/gst/tmpl/old/gstshaper.sgml:
10837 * docs/gst/tmpl/old/gstspider.sgml:
10838 * docs/gst/tmpl/old/gstspideridentity.sgml:
10839 * docs/gst/tmpl/old/gststatistics.sgml:
10840 * docs/gst/tmpl/old/gsttee.sgml:
10841 * docs/gst/tmpl/old/gsttimecache.sgml:
10842 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10843 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10844 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10845 * docs/gst/tmpl/old/types.sgml:
10846 I didn't intend to add these or check them in.
10848 2005-05-19 David Schleef <ds@schleef.org>
10850 * configure.ac: Use -no-common everywhere. In a sane world, it
10851 would be the default in libtool, because without it, you can't
10852 build DLLs on Windows.
10853 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10854 * docs/gst/gstreamer-sections.txt:
10855 * docs/gst/tmpl/gstcpu.sgml:
10856 * docs/gst/tmpl/gstdata.sgml:
10857 * docs/gst/tmpl/gstthread.sgml:
10859 2005-05-19 David Schleef <ds@schleef.org>
10861 * gst/gstminiobject.c: (gst_value_set_mini_object),
10862 (gst_value_take_mini_object), (gst_value_get_mini_object):
10863 * gst/gstminiobject.h: Add GValue set/get functions.
10865 2005-05-19 Wim Taymans <wim@fluendo.com>
10867 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10868 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10869 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10871 * gst/gstbus.c: (gst_bus_post):
10872 * gst/gstelement.c: (gst_element_get_random_pad):
10873 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10874 Make subbufer unref the parent in finalize.
10875 some more debugging info.
10878 2005-05-19 Wim Taymans <wim@fluendo.com>
10880 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10881 (gst_basesink_init), (gst_basesink_finalize),
10882 (gst_basesink_activate), (gst_basesink_change_state):
10883 Don't free preroll queue too early.
10885 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10889 Hi, I'm outdated. Please shoot me.
10891 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10893 * gst/gstpipeline.c: (gst_pipeline_send_event):
10894 Do not access variables after they have been deleted.
10896 2005-05-19 Wim Taymans <wim@fluendo.com>
10898 * tools/gst-inspect.c: (print_plugin_features):
10899 A plugin feature does unfortunatly not use the
10902 2005-05-18 Wim Taymans <wim@fluendo.com>
10904 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10905 Port _span() functions to new subbuffers.
10907 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10909 * gst/gstbin.c: (gst_bin_add_func):
10910 Fix clock settery in bins when adding kids after the clock has
10913 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10915 * gst/elements/gstidentity.c: (gst_identity_class_init):
10916 Workaround until signals support GstMiniObject.
10918 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10921 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10923 2005-05-18 Wim Taymans <wim@fluendo.com>
10925 * gst/base/Makefile.am:
10926 * gst/base/gstadapter.c: (gst_adapter_base_init),
10927 (gst_adapter_class_init), (gst_adapter_init),
10928 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10929 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10930 (gst_adapter_flush), (gst_adapter_available),
10931 (gst_adapter_available_fast):
10932 * gst/base/gstadapter.h:
10933 Ported and added adapter to the base classes.
10935 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10938 * gst/gstmessage.c:
10939 Make sure the class is reffed/unreffed once before threads can be
10940 used. Fixes #304551.
10942 2005-05-17 Wim Taymans <wim@fluendo.com>
10944 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10945 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10946 * gst/gstminiobject.c: (gst_mini_object_get_type),
10947 (gst_mini_object_free):
10948 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10949 (gst_pad_push), (gst_pad_push_event):
10950 * gst/gstqueue.c: (gst_queue_change_state):
10951 Don't queue buffers in basesink when we are flushing.
10952 Unref buffer when flushing in basesink.
10953 Flush queue when going to READY
10954 Unref buffer when _push() returns an error.
10955 Don't free MiniObject instance when refcount is incremented
10956 in _finalize() so that we can recover objects.
10958 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10960 * docs/manual/advanced-schedulers.xml:
10961 * docs/manual/appendix-checklist.xml:
10962 * docs/pwg/advanced-clock.xml:
10963 * docs/pwg/advanced-interfaces.xml:
10964 * docs/pwg/advanced-request.xml:
10965 * docs/pwg/advanced-types.xml:
10966 * docs/pwg/intro-preface.xml:
10967 * examples/plugins/example.c: (gst_example_get_type),
10968 (gst_example_class_init), (gst_example_chain),
10969 (gst_example_set_property), (gst_example_get_property),
10970 (gst_example_change_state), (plugin_init):
10971 * examples/plugins/example.h:
10974 2005-05-17 Wim Taymans <wim@fluendo.com>
10976 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10977 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10978 * gst/gstqueue.c: (gst_queue_change_state):
10979 Clear queue when going to READY.
10980 Remove IN_SETCAPS flag too.
10982 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10984 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10985 Remove implicit cast from gboolean to GstElementStateReturn;
10986 make sure we still return failure in paused => ready case if
10987 the parent class fails to change state and our own stop
10990 2005-05-17 Wim Taymans <wim@fluendo.com>
10992 * tools/gst-launch.c: (event_loop):
10993 Message was unreffed too soon.
10995 2005-05-16 Andy Wingo <wingo@pobox.com>
10997 * gst/gstbin.c (sink_iterator_filter): Err... um...
10999 * check/gst/gstbin.c (test_ghost_pads): New test for the
11000 ghosting-if-elements-not-in-same-bin behavior.
11002 2005-05-16 David Schleef <ds@schleef.org>
11004 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11005 accessing refcount directly.
11007 2005-05-15 David Schleef <ds@schleef.org>
11009 * check/Makefile.am: remove GstData checks
11010 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11011 * gst/Makefile.am: add miniobject, remove data
11012 * gst/gst.h: add miniobject, remove data
11013 * gst/gstdata.c: remove
11014 * gst/gstdata.h: remove
11015 * gst/gstdata_private.h: remove
11016 * gst/gsttypes.h: remove GstEvent and GstMessage
11017 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11018 * gst/gstmarshal.list: change BOXED -> OBJECT
11020 Implement GstMiniObject.
11021 * gst/gstminiobject.c:
11022 * gst/gstminiobject.h:
11024 Modify to be subclasses of GstMiniObject.
11025 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11026 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11027 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11028 (gst_subbuffer_get_type), (gst_subbuffer_init),
11029 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11032 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11033 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11034 (_gst_event_copy), (gst_event_new):
11036 * gst/gstmessage.c: (_gst_message_initialize),
11037 (gst_message_get_type), (gst_message_class_init),
11038 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11039 (gst_message_new), (gst_message_new_error),
11040 (gst_message_new_warning), (gst_message_new_tag),
11041 (gst_message_new_state_changed), (gst_message_new_application):
11042 * gst/gstmessage.h:
11043 * gst/gstprobe.c: (gst_probe_perform),
11044 (gst_probe_dispatcher_dispatch):
11046 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11047 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11048 (_gst_query_copy), (gst_query_new):
11050 Update elements for GstData -> GstMiniObject changes
11052 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11053 (gst_queue_chain), (gst_queue_loop):
11054 * gst/elements/gstbufferstore.c:
11055 (gst_buffer_store_add_buffer_func),
11056 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11057 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11058 (gst_fakesink_render):
11059 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11060 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11061 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11062 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11063 (gst_filesrc_create_read):
11064 * gst/elements/gstidentity.c: (gst_identity_class_init):
11065 * gst/elements/gsttypefindelement.c:
11066 (gst_type_find_element_src_event), (free_entry_buffers),
11067 (gst_type_find_element_handle_event):
11068 * libs/gst/dataprotocol/dataprotocol.c:
11069 (gst_dp_header_from_buffer):
11070 * libs/gst/dataprotocol/dataprotocol.h:
11071 * libs/gst/dataprotocol/dp-private.h:
11073 2005-05-15 David Schleef <ds@schleef.org>
11075 * gst/elements/gstelements.c: Don't include headers that were
11078 2005-05-15 David Schleef <ds@schleef.org>
11080 * gst/elements/Makefile.am: Remove some elements that don't
11081 need to be in the core (or even exist at all).
11082 * gst/elements/gstaggregator.c:
11083 * gst/elements/gstaggregator.h:
11084 * gst/elements/gstmd5sink.c:
11085 * gst/elements/gstmd5sink.h:
11086 * gst/elements/gstmultifilesrc.c:
11087 * gst/elements/gstmultifilesrc.h:
11088 * gst/elements/gstpipefilter.c:
11089 * gst/elements/gstpipefilter.h:
11090 * gst/elements/gstshaper.c:
11091 * gst/elements/gstshaper.h:
11092 * gst/elements/gststatistics.c:
11093 * gst/elements/gststatistics.h:
11094 * po/POTFILES.in: Remove above files.
11096 2005-05-14 Andy Wingo <wingo@pobox.com>
11098 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11099 so as to get the refs right.
11100 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11101 unreffing objects that don't pass the filter.
11103 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11104 gst_element_set_bus.
11105 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11106 normal cases, this will destroy the bus.
11108 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11111 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11114 2005-05-13 Andy Wingo <wingo@pobox.com>
11116 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11117 gst_pad_link, call pad_link_maybe_ghosting,
11118 (pad_link_maybe_ghosting): Links pads, making sure that the
11119 elements being linked are in the same bin.
11120 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11121 Helpers for pad_link_maybe_ghosting.
11123 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11126 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11128 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11130 * docs/design/part-element-source.txt:
11133 2005-05-12 Wim Taymans <wim@fluendo.com>
11135 * gst/base/gstbasesink.c: (gst_basesink_init),
11136 (gst_basesink_activate):
11137 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11138 (gst_basesrc_is_seekable):
11139 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11140 (bin_element_is_sink), (gst_bin_change_state):
11141 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11142 * gst/gstelement.h:
11143 Identify sinks by their flag to avoid overly complicated
11145 Do state changes even for elements not reachable from the
11147 BaseSink is a sink now :)
11148 Some more debugging info in the basesrc.
11151 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11153 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11154 Implement _query on a bin, similar to _send_event.
11156 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11158 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11159 Discont event offset format should be GST_FORMAT_BYTES,
11160 not GST_FORMAT_TIME.
11162 2005-05-12 Wim Taymans <wim@fluendo.com>
11164 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11165 Same fix as Ronald's but without the signal.
11167 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11169 * gst/gstutils.c: (gst_element_query_position):
11170 No, an element is not a pad.
11172 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11174 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11175 (gst_bin_get_state):
11176 If a child is removed from a bin while we remove the child from
11177 the bin and while we're retrieving its state, signal this to the
11178 get_state function so we abort the wait (instead of waiting for
11179 a timeout) and can immediately re-iterate over all other elements.
11181 2005-05-12 Wim Taymans <wim@fluendo.com>
11183 * gst/base/Makefile.am:
11184 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11185 (gst_basesrc_start):
11186 * gst/base/gstbasesrc.h:
11187 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11188 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11189 (gst_pushsrc_init), (gst_pushsrc_create):
11190 * gst/base/gstpushsrc.h:
11191 Added is_seekable to BaseSrc
11192 Added simple PushSrc.
11194 2005-05-11 Wim Taymans <wim@fluendo.com>
11196 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11197 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11198 (gst_element_link_pads), (gst_element_query_position),
11199 (gst_element_query_convert), (intersect_caps_func),
11200 (gst_pad_query_position), (gst_pad_query_convert):
11201 Fix refcounting in utils function.
11202 No point in trying to activate a pad when it's added, it could
11203 be added from the state change function and then we deadlock, the
11204 element has to decide what to do.
11206 2005-05-10 Andy Wingo <wingo@pobox.com>
11208 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11209 *all* the arguments.
11211 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11212 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11213 lock (according to the docs -- if this is wrong change the docs).
11215 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11216 flush messages in the NULL state.
11218 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11219 message immediately and return.
11220 (gst_bus_set_flushing): New function. If a bus is flushing, it
11221 flushes out any queued messages and immediately unrefs new
11222 messages. This is so when an element goes to NULL, all of the
11223 unhandled messages coming from it can be freed, and their
11224 references to the element dropped. In other words: message source
11225 ref considered harmful :P
11227 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11228 we're finished with it.
11230 * gst/gstmessage.c (gst_message_new_state_changed):
11232 2005-05-10 Wim Taymans <wim@fluendo.com>
11234 * gst/gstvalue.c: (gst_value_compare_flags),
11235 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11236 (_gst_value_initialize):
11237 Added flags serialize/deserialize/compare code.
11239 2005-05-09 Andy Wingo <wingo@pobox.com>
11241 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11242 Intersect the peer's caps with our caps.
11244 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11246 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11247 * gst/elements/gsttypefindelement.c: (find_peek):
11248 Handle negative offsets better. Fixes decodebin.
11250 2005-05-09 Wim Taymans <wim@fluendo.com>
11252 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11253 (gst_base_transform_event):
11254 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11255 Implement accept_caps.
11256 Fix silly lock/unlock mismatch in base class.
11258 2005-05-09 Wim Taymans <wim@fluendo.com>
11260 * docs/design/draft-push-pull.txt:
11261 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11262 * gst/elements/gstfilesink.c: (gst_filesink_init),
11263 (gst_filesink_query):
11264 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11265 (gst_type_find_handle_src_query), (find_element_get_length):
11266 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11267 * gst/gstelement.h:
11268 * gst/gstmessage.c:
11269 * gst/gstmessage.h:
11270 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11271 (gst_real_pad_get_caps_unlocked),
11272 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11273 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11274 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11275 (gst_real_pad_dispose), (gst_real_pad_finalize),
11276 (gst_pad_load_and_link), (gst_pad_save_thyself),
11277 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11278 (gst_pad_check_pull_range), (gst_pad_pull_range),
11279 (gst_pad_template_get_type), (gst_pad_template_class_init),
11280 (gst_pad_template_init), (gst_pad_template_dispose),
11281 (name_is_valid), (gst_static_pad_template_get),
11282 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11283 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11284 (gst_pad_get_element_private), (gst_pad_start_task),
11285 (gst_pad_pause_task), (gst_pad_stop_task),
11286 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11287 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11288 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11289 (gst_ghost_pad_new):
11291 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11292 (gst_query_new_position), (gst_query_set_position),
11293 (gst_query_parse_position), (gst_query_new_convert),
11294 (gst_query_set_convert), (gst_query_parse_convert):
11296 * gst/gstqueryutils.c:
11297 * gst/gstqueryutils.h:
11298 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11299 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11300 (gst_queue_handle_src_query):
11301 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11302 (gst_element_query_position), (gst_element_query_convert),
11303 (intersect_caps_func), (gst_pad_query_position),
11304 (gst_pad_query_convert):
11306 * tools/gst-inspect.c: (print_pad_info):
11307 * tools/gst-xmlinspect.c: (print_element_info):
11308 Remove old query functions. Ported old code.
11309 Added position/convert helper functions to gstutils.
11310 Reordered gstpad.c code, grouping relevant things.
11311 Remove gst_message_new(), always need to speficy a specific
11315 2005-05-09 Andy Wingo <wingo@pobox.com>
11317 * gst/gstiterator.h: Add some includes.
11319 * gst/gstqueryutils.h: Include more headers.
11322 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11323 some uses of gst_pad_query.
11325 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11326 NULL out parameters.
11327 (gst_query_new_position): New proc, allocates a new position
11330 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11331 gstqueryutils.c to the build.
11333 * gst/gststructure.c (gst_structure_set_valist): Implement with
11334 the generic G_VALUE_COLLECT.
11336 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11338 * gst/Makefile.am: (gst_headers):
11339 Added gstqueryutils.h to the list of headers to install, that was
11340 a 'nachty' move wingo :)
11342 2005-05-06 Andy Wingo <wingo@pobox.com>
11345 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11346 GstData, init a memchunk.
11347 (standard_definitions): Add a few query types, deprecate a few.
11348 (gst_query_get_type): New proc.
11349 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11351 (gst_query_new_application, gst_query_get_structure): New public
11354 * docs/design/draft-query.txt: Removed LINKS from the query types,
11355 because all the rest can be dispatched to other pads -- seemed
11356 ugly to have a query that couldn't be dispatched. internal_links
11357 is fine as a pad method.
11359 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11360 in gstpad.c, but maintain binary compatibility for the moment.
11361 Will fix before 0.9 is out.
11363 * gst/gstqueryutils.c:
11364 * gst/gstqueryutils.h: New files, implement 3 methods for each
11365 query type: parse_query, parse_response, and set. Probably need an
11368 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11370 * gst/elements/gstfilesink.c (gst_filesink_query2):
11371 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11372 query_types, and formats methods.
11374 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11375 (gst_pad_set_query2_function): New functions.
11376 (gst_real_pad_init): Set query2_default as the default query2
11377 function. Basically just dispatches to internally linked pads.
11381 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11382 without using the atomic operations. Only one thread can possibly
11383 be accessing the data at this point. Changed so as to avoid
11384 gst_atomic operations.
11386 2005-05-06 Wim Taymans <wim@fluendo.com>
11388 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11389 Also set caps if we use the fallback buffer alloc.
11391 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11393 * docs/gst/Makefile.am:
11394 * docs/gst/gstreamer-docs.sgml:
11395 * docs/gst/gstreamer-sections.txt:
11396 * docs/gst/tmpl/gstatomic.sgml:
11397 * docs/gst/tmpl/gstmemchunk.sgml:
11398 * testsuite/elements/struct_i386.h:
11399 * win32/GStreamer.vcproj:
11401 Purge GstAtomic stuff from docs and win32 makefiles as well
11403 2005-05-06 Wim Taymans <wim@fluendo.com>
11405 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11406 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11407 * gst/gstpad.c: (gst_pad_peer_get_caps):
11408 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11409 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11410 (gst_queue_src_activate), (gst_queue_change_state):
11412 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11413 (intersect_caps_func):
11414 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11415 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11416 Some fixes for the peer_get_caps() change.
11418 2005-05-06 Wim Taymans <wim@fluendo.com>
11420 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11421 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11422 (gst_basesink_activate):
11423 Actually do something with error codes returned from the push
11426 2005-05-06 Wim Taymans <wim@fluendo.com>
11428 * docs/design/part-element-sink.txt:
11429 * docs/design/part-element-source.txt:
11430 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11431 (gst_basesink_event), (gst_basesink_activate):
11432 * gst/base/gstbasesink.h:
11433 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11434 (gst_basesrc_activate):
11435 * gst/base/gstbasesrc.h:
11436 * gst/gstelement.c: (gst_element_pads_activate):
11437 Some more documentation.
11438 Fixed scheduling decision in _pads_activate().
11440 2005-05-05 Andy Wingo <wingo@pobox.com>
11442 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11445 2005-05-05 Wim Taymans <wim@fluendo.com>
11447 * gst/base/Makefile.am:
11448 * gst/base/gstbasesink.h:
11449 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11450 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11451 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11452 (gst_collectpads_class_init), (gst_collectpads_init),
11453 (gst_collectpads_finalize), (gst_collectpads_new),
11454 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11455 (find_pad), (gst_collectpads_remove_pad),
11456 (gst_collectpads_is_active), (gst_collectpads_collect),
11457 (gst_collectpads_collect_range), (gst_collectpads_start),
11458 (gst_collectpads_stop), (gst_collectpads_peek),
11459 (gst_collectpads_pop), (gst_collectpads_available),
11460 (gst_collectpads_read), (gst_collectpads_flush),
11461 (gst_collectpads_chain):
11462 * gst/base/gstcollectpads.h:
11463 * gst/elements/Makefile.am:
11464 * gst/elements/gstelements.c:
11465 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11466 (gst_fakesink_get_times), (gst_fakesink_event),
11467 (gst_fakesink_preroll), (gst_fakesink_render):
11468 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11469 (gst_filesink_init), (gst_filesink_set_location),
11470 (gst_filesink_open_file), (gst_filesink_close_file),
11471 (gst_filesink_pad_query), (gst_filesink_event),
11472 (gst_filesink_render), (gst_filesink_change_state):
11473 * gst/elements/gstfilesink.h:
11474 Added object to help in making collect pad based elements.
11476 Make event function in sink baseclass return gboolean.
11478 2005-05-05 Wim Taymans <wim@fluendo.com>
11480 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11481 (gst_bin_get_by_name):
11483 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11484 (gst_clock_finalize):
11485 * gst/gstdata.c: (gst_data_replace):
11487 * gst/gstelement.c: (gst_element_request_pad),
11488 (gst_element_pads_activate):
11489 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11490 (gst_object_unref):
11491 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11492 (gst_pad_set_checkgetrange_function),
11493 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11494 (gst_pad_check_pull_range), (gst_pad_pull_range),
11495 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11496 (gst_pad_pause_task), (gst_pad_stop_task):
11497 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11498 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11499 Fix name lookup in GstBin.
11500 Added _data_replace() function and _buffer_replace()
11501 Use finalize method to clean up clock.
11502 Fix refcounting on request pads.
11503 Fix pad schedule mode error.
11504 Some more object refcounting debug info,
11507 2005-05-04 Andy Wingo <wingo@pobox.com>
11509 * check/Makefile.am:
11510 * docs/gst/tmpl/gstatomic.sgml:
11511 * docs/gst/tmpl/gstplugin.sgml:
11512 * gst/base/gstbasesink.c: (gst_basesink_activate):
11513 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11514 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11515 (gst_basesrc_query), (gst_basesrc_set_property),
11516 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11517 (gst_basesrc_activate):
11518 * gst/base/gstbasesrc.h:
11519 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11520 (gst_base_transform_src_activate):
11521 * gst/elements/gstelements.c:
11522 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11523 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11524 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11525 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11526 (gst_type_find_element_checkgetrange),
11527 (gst_type_find_element_activate):
11528 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11529 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11530 (gst_caps_load_thyself):
11531 * gst/gstelement.c: (gst_element_pads_activate),
11532 (gst_element_save_thyself), (gst_element_restore_thyself):
11533 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11534 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11536 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11537 (gst_xml_parse_file), (gst_xml_parse_memory),
11538 (gst_xml_get_element), (gst_xml_make_element):
11539 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11540 (_file_index_id_save_xml), (gst_file_index_commit):
11541 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11542 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11544 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11545 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11546 * tools/gst-complete.c: (main):
11547 * tools/gst-compprep.c: (main):
11548 * tools/gst-inspect.c: (print_element_properties_info):
11549 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11550 * tools/gst-xmlinspect.c: (print_element_properties):
11553 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11555 * gst/gstplugin.c: (gst_plugin_check_module),
11556 (gst_plugin_check_file), (gst_plugin_load_file):
11557 apply patch from #172526 to make register work on MacOSX
11559 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11561 * docs/gst/tmpl/gstconfig.sgml:
11562 * gst/gstconfig.h.in:
11563 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11564 * testsuite/debug/printf_extension.c: (main):
11565 Do not use GST_PTR_FORMAT on pointers to types with
11566 sizeof < sizeof(gpointer). Fixes test on 64-bit
11567 * testsuite/elements/property.h:
11568 use correct printf format
11570 2005-05-02 Wim Taymans <wim@fluendo.com>
11572 * docs/design/draft-push-pull.txt:
11573 * docs/design/draft-query.txt:
11574 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11575 (gst_basesrc_start):
11576 Added draft for new query API.
11577 Added draft for better selecting scheduling methods.
11578 Make basesrc ignore length if the subclass does not support
11581 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11584 possible fixes for automake-1.5 - _LIBADD is reserved
11586 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11588 * docs/faq/Makefile.am:
11589 * docs/manual/Makefile.am:
11590 * docs/manuals.mak:
11591 * docs/pwg/Makefile.am:
11593 possible fixes for automake-1.5
11595 2005-04-28 Wim Taymans <wim@fluendo.com>
11597 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11598 (gst_basesink_pad_getcaps), (gst_basesink_init),
11599 (gst_basesink_do_sync):
11600 * gst/gstclock.c: (gst_clock_entry_new):
11601 * gst/gstevent.c: (gst_event_discont_get_value):
11602 * gst/gstpipeline.c: (pipeline_bus_handler),
11603 (gst_pipeline_change_state):
11604 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11605 Better debugging of clocking info.
11606 Allow NULL values when getting discont values.
11608 2005-04-27 Wim Taymans <wim@fluendo.com>
11610 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11611 * check/gst/gstpad.c: (gst_pad_suite):
11612 Increase timeout for checks.
11614 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11616 * check/Makefile.am:
11617 fix the broken rule for cleanup. Apparently this rule is
11618 only needed on FC2, so maybe this warrants further autotool
11621 2005-04-26 Wim Taymans <wim@fluendo.com>
11623 * gst/gsttrashstack.h:
11624 Ooohh. a nasty one! After having a failed pop() from the stack,
11625 it's possible that the stack is empty. In that case, don't
11626 follow the NULL pointer.
11628 2005-04-25 Wim Taymans <wim@fluendo.com>
11630 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11631 (gst_pad_set_checkgetrange_function),
11632 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11633 (gst_pad_check_pull_range), (gst_pad_pull_range),
11634 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11635 (gst_pad_pause_task), (gst_pad_stop_task):
11636 * gst/gstplugin.c: (gst_plugin_load):
11638 Remove gst_library_load as it does more harm than good with
11639 the new g_module flags.
11640 Revert bogus caps template check in pad linking, pad caps
11641 are important when linking not the template, which is more
11642 general than the current caps.
11644 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11646 * gst/autoplug/.cvsignore:
11647 * gst/autoplug/Makefile.am:
11648 * gst/autoplug/gstsearchfuncs.c:
11649 * gst/autoplug/gstsearchfuncs.h:
11650 * gst/autoplug/gstspider.c:
11651 * gst/autoplug/gstspider.h:
11652 * gst/autoplug/gstspideridentity.c:
11653 * gst/autoplug/gstspideridentity.h:
11654 * gst/autoplug/spidertest.c:
11657 2005-04-25 Wim Taymans <wim@fluendo.com>
11659 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11660 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11661 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11662 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11664 Added stubs for unimplemented functions.
11666 2005-04-24 David Schleef <ds@schleef.org>
11668 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11671 2005-04-24 David Schleef <ds@schleef.org>
11673 Convert everything from GstAtomicInt to g_atomic_int_*, and
11678 * gst/gstatomic_impl.h:
11686 * gst/gstdata_private.h:
11690 * gst/gstmessage.c:
11693 * gst/gststructure.c:
11694 * gst/gststructure.h:
11695 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11698 2005-04-24 David Schleef <ds@schleef.org>
11700 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11701 make the regressions tests work. Remove some code that is no
11703 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11704 Disable warning for pads without templates.
11706 2005-04-24 David Schleef <ds@schleef.org>
11708 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11709 functions that handle filtered links.
11710 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11712 * gst/gstutils.c: Fix/remove utility functions that handle
11715 * gst/gstvalue.c: Add serialization/deserialization of caps
11716 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11717 requires fixing so that the filter caps notation creates
11718 a capsfilter element and sets the filter_caps property. I
11719 think everyone probably wants to keep the shorthand notation.
11720 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11721 * docs/gst/tmpl/gstpad.sgml:
11723 * gst/elements/gstelements.c: Register capsfilter element.
11724 * gst/Makefile.am: fix spacing
11725 * docs/random/ds/0.9-suggested-changes: random
11727 2005-04-23 David Schleef <ds@schleef.org>
11729 * gst/elements/Makefile.am:
11730 * gst/elements/gstcapsfilter.c: New element that acts like an
11731 identity, but filters caps. Will eventually replace filtered
11732 caps in pad linking.
11733 * gst/gstutils.c: (gst_element_create_all_pads): New function
11734 to create all the ALWAYS pads that are registered with an
11735 element class. This functionality should eventually be
11736 merged in with GstElement initialization.
11738 * testsuite/trigger/README: part of trigger test code that should
11739 have been checked in a long time ago.
11741 2005-04-23 David Schleef <ds@schleef.org>
11743 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11744 needed with new versions of libtool (nobody will confirm this),
11745 and hard to carry around.
11746 * gst/autoplug/Makefile.am:
11747 * gst/base/Makefile.am:
11748 * gst/elements/Makefile.am:
11749 * gst/indexers/Makefile.am:
11750 * gst/schedulers/Makefile.am:
11751 * libs/gst/bytestream/Makefile.am:
11752 * libs/gst/control/Makefile.am:
11753 * libs/gst/dataprotocol/Makefile.am:
11754 * libs/gst/getbits/Makefile.am:
11756 2005-04-21 Wim Taymans <wim@fluendo.com>
11758 * docs/design/draft-push-pull.txt:
11759 * docs/design/part-MT-refcounting.txt:
11760 * docs/design/part-TODO.txt:
11761 * docs/design/part-caps.txt:
11762 * docs/design/part-events.txt:
11763 * docs/design/part-gstbus.txt:
11764 * docs/design/part-gstpipeline.txt:
11765 * docs/design/part-messages.txt:
11766 * docs/design/part-push-pull.txt:
11767 * docs/design/part-query.txt:
11770 2005-04-21 Wim Taymans <wim@fluendo.com>
11772 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11773 (gst_message_new), (gst_message_new_error),
11774 (gst_message_new_warning), (gst_message_new_tag),
11775 (gst_message_new_state_changed), (gst_message_new_application),
11776 (gst_message_get_structure):
11777 * gst/gstmessage.h:
11778 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11779 (gst_structure_copy_conditional):
11780 Use parent refcount in GstMessage to ensure GstStructure
11782 Cleaned up headers a bit.
11785 2005-04-20 Wim Taymans <wim@fluendo.com>
11787 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11788 (gst_basesink_pad_getcaps), (gst_basesink_init),
11789 (gst_basesink_chain_unlocked):
11790 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11791 (gst_type_find_helper):
11792 * gst/elements/gsttypefindelement.c:
11793 (gst_type_find_element_have_type), (gst_type_find_element_init),
11794 (stop_typefinding), (gst_type_find_element_handle_event),
11795 (find_suggest), (gst_type_find_element_chain),
11796 (gst_type_find_element_checkgetrange),
11797 (gst_type_find_element_getrange), (do_typefind),
11798 (gst_type_find_element_activate):
11799 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11800 (gst_buffer_default_free), (gst_buffer_default_copy),
11801 (gst_buffer_set_caps):
11802 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11803 (gst_caps_replace):
11804 * gst/gstmessage.c: (gst_message_new),
11805 (gst_message_new_state_changed):
11806 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11807 (gst_pad_set_checkgetrange_function),
11808 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11809 (gst_pad_set_caps), (gst_pad_check_pull_range),
11810 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11812 * gst/gsttypefind.c: (gst_type_find_register):
11813 Make gst_caps_replace() work like other _replace() functions.
11814 Use _caps_replace() where possible.
11815 Make sure _message_new() initialises its field.
11816 Add gst_static_pad_template_get_caps()
11819 2005-04-18 Andy Wingo <wingo@pobox.com>
11821 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11822 on the peer, not the pad. I think that was a typo. Pass an extra
11823 arg to see if random access is possible. Activate the pads as
11824 PULL_RANGE if possible.
11826 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11828 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11829 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11832 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11834 * docs/faq/using.xml:
11835 Add note on gstreamer-properties (#154996).
11837 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11839 * docs/random/bbb/optional-properties:
11840 Some analysis on optional properties.
11842 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11844 * docs/gst/tmpl/gstelementfactory.sgml:
11845 * gst/gstelement.h:
11846 * gst/gstelementfactory.c: (gst_element_factory_init),
11847 (gst_element_factory_cleanup), (gst_element_register),
11848 (__gst_element_factory_add_static_pad_template),
11849 (gst_element_factory_get_static_pad_templates),
11850 (gst_element_factory_can_src_caps),
11851 (gst_element_factory_can_sink_caps):
11852 * gst/registries/Makefile.am:
11853 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11854 (gst_xml_registry_class_init), (gst_xml_registry_init),
11855 (gst_xml_registry_new), (gst_xml_registry_set_property),
11856 (gst_xml_registry_get_property), (get_time), (make_dir),
11857 (gst_xml_registry_get_perms_func),
11858 (plugin_times_older_than_recurse), (plugin_times_older_than),
11859 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11860 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11861 (add_to_char_array), (read_string), (read_uint), (read_enum),
11862 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11863 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11864 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11865 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11866 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11867 (gst_xml_registry_rebuild):
11868 * gst/registries/gstlibxmlregistry.h:
11869 * tools/gst-compprep.c: (main):
11870 * tools/gst-inspect.c: (print_pad_templates_info):
11871 * tools/gst-xmlinspect.c: (print_element_info):
11872 Use libxml2 for registry parsing, use staticpadtemplates in
11873 elementfactories. Makes gst_init() +/- 10x faster.
11875 2005-04-12 Wim Taymans <wim@fluendo.com>
11877 * gst/base/Makefile.am:
11878 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11879 (gst_basesink_pad_getcaps), (gst_basesink_init),
11880 (gst_basesink_event), (gst_basesink_change_state):
11881 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11882 (gst_basesrc_init), (gst_basesrc_query),
11883 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11884 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11885 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11886 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11887 (gst_basesrc_stop), (gst_basesrc_activate),
11888 (gst_basesrc_change_state):
11889 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11890 (helper_find_suggest), (gst_type_find_helper):
11891 * gst/base/gsttypefindhelper.h:
11892 * gst/elements/Makefile.am:
11893 * gst/elements/gstelements.c:
11894 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11895 (gst_fakesink_get_times), (gst_fakesink_event),
11896 (gst_fakesink_preroll), (gst_fakesink_render):
11897 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11898 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11899 (gst_fakesrc_get_property), (gst_fakesrc_create),
11900 (gst_fakesrc_start), (gst_fakesrc_stop):
11901 * gst/elements/gstfakesrc.h:
11902 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11903 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11904 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11905 (gst_filesrc_create_read), (gst_filesrc_create),
11906 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11907 (gst_filesrc_start):
11908 * gst/elements/gsttypefindelement.c:
11909 (gst_type_find_element_have_type), (gst_type_find_element_init),
11910 (start_typefinding), (stop_typefinding), (push_buffer_store),
11911 (gst_type_find_element_handle_event),
11912 (gst_type_find_element_chain),
11913 (gst_type_find_element_checkgetrange),
11914 (gst_type_find_element_getrange), (do_typefind),
11915 (gst_type_find_element_activate),
11916 (gst_type_find_element_change_state):
11917 * gst/elements/gsttypefindelement.h:
11918 * gst/gstpipeline.c: (pipeline_bus_handler):
11919 Added typefind helper.
11920 Small preroll fix in the base sink.
11921 Disable typefind code in basesrc.
11922 Crude port of typefindelement.
11926 2005-04-11 Wim Taymans <wim@fluendo.com>
11928 * check/gst/gstbus.c: (gstbus_suite):
11929 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11930 * check/gstcheck.h:
11931 Fix up the timeout so that the test does not fail.
11933 2005-04-06 Wim Taymans <wim@fluendo.com>
11936 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11937 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11938 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11939 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11940 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11941 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11942 (gst_basesrc_stop), (gst_basesrc_activate),
11943 (gst_basesrc_change_state), (basesrc_find_peek),
11944 (basesrc_find_suggest), (gst_basesrc_type_find):
11945 * gst/base/gstbasesrc.h:
11946 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11947 (gst_filesrc_class_init), (gst_filesrc_init),
11948 (gst_filesrc_finalize), (gst_filesrc_set_location),
11949 (gst_filesrc_set_property), (gst_filesrc_get_property),
11950 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11951 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11952 (gst_filesrc_create_read), (gst_filesrc_create),
11953 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11954 * gst/elements/gstfilesrc.h:
11955 * gst/gstelement.c: (gst_element_get_state_func),
11956 (gst_element_lost_state), (gst_element_pads_activate):
11957 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11958 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11959 (gst_pad_pull_range):
11961 More work on the generic source base class, implement seeking,
11963 Make filesrc extend the base source class.
11964 Added gst_pad_set_checkgetrange_function to GstPad.
11966 2005-04-06 Andy Wingo <wingo@pobox.com>
11968 * pkgconfig/gstreamer-base.pc.in:
11969 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11971 * pkgconfig/Makefile.am:
11972 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11974 2005-04-04 Wim Taymans <wim@fluendo.com>
11976 * gst/base/Makefile.am:
11978 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11979 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11980 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11981 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11982 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11983 (gst_basesrc_base_init), (gst_basesrc_class_init),
11984 (gst_basesrc_init), (gst_basesrc_get_formats),
11985 (gst_basesrc_get_query_types), (gst_basesrc_query),
11986 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11987 (gst_basesrc_set_property), (gst_basesrc_get_property),
11988 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11989 (gst_basesrc_loop), (gst_basesrc_activate),
11990 (gst_basesrc_change_state):
11991 * gst/base/gstbasesrc.h:
11992 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11993 (gst_fakesrc_class_init), (gst_fakesrc_init),
11994 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11995 (gst_fakesrc_get_property), (gst_fakesrc_create):
11996 * gst/elements/gstfakesrc.h:
11997 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11998 (gst_filesrc_open_file), (gst_filesrc_loop),
11999 (gst_filesrc_activate), (filesrc_find_peek),
12000 (gst_filesrc_type_find):
12001 Made base source class, make fakesrc extend it.
12002 Add comments to basesink class.
12003 Some filesrc cleanup.
12005 2005-03-31 David Schleef <ds@schleef.org>
12007 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12008 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12009 expected to link against libgstreamer.
12010 * gst/base/Makefile.am: link against libgstreamer
12011 * gst/elements/Makefile.am: same
12013 2005-03-31 Andy Wingo <wingo@pobox.com>
12015 * tests/instantiate/Makefile.am:
12016 * tests/instantiate/caps.c: Add test to test speed of caps copy
12019 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12020 GMemChunk to be fair.
12022 * gst/gsttrashstack.h: Remove warning about using the fallback
12023 trash stack implementation, it's still faster than malloc.
12025 2005-03-30 Andy Wingo <wingo@pobox.com>
12027 * tests/complexity.c: Add a copyright.
12029 2005-03-31 Wim Taymans <wim@fluendo.com>
12031 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12032 (gst_base_transform_class_init), (gst_base_transform_init),
12033 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12034 (gst_base_transform_get_property),
12035 (gst_base_transform_sink_activate),
12036 (gst_base_transform_src_activate),
12037 (gst_base_transform_change_state):
12038 * gst/base/gstbasetransform.h:
12039 * gst/elements/gstidentity.c: (gst_identity_class_init),
12040 (gst_identity_event), (gst_identity_check_perfect),
12041 (gst_identity_transform), (gst_identity_start),
12042 (gst_identity_stop):
12043 Added start/stop methods to transform base class so subclasses
12044 don't need to deal with state changes even.
12046 2005-03-31 Wim Taymans <wim@fluendo.com>
12048 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12049 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12051 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12052 (gst_pad_pull_range):
12053 Added rate to the discont event to prepare for variable speed
12054 and reverse playback.
12056 2005-03-29 David Schleef <ds@schleef.org>
12059 * testsuite/trigger/Makefile.am:
12060 * testsuite/trigger/trigger.c: A little example program to show
12061 how trigger-based elements can work.
12063 2005-03-29 Wim Taymans <wim@fluendo.com>
12065 * gst/base/Makefile.am:
12067 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12068 (gst_basesink_base_init), (gst_basesink_class_init),
12069 (gst_basesink_pad_getcaps), (gst_basesink_init),
12070 (gst_basesink_activate), (gst_basesink_change_state):
12071 * gst/base/gstbasesink.h:
12072 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12073 (gst_base_transform_base_init), (gst_base_transform_finalize),
12074 (gst_base_transform_class_init), (gst_base_transform_init),
12075 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12076 (gst_base_transform_event), (gst_base_transform_getrange),
12077 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12078 (gst_base_transform_set_property),
12079 (gst_base_transform_get_property),
12080 (gst_base_transform_sink_activate),
12081 (gst_base_transform_src_activate),
12082 (gst_base_transform_change_state):
12083 * gst/base/gstbasetransform.h:
12084 * gst/elements/gstidentity.c: (gst_identity_finalize),
12085 (gst_identity_class_init), (gst_identity_init),
12086 (gst_identity_event), (gst_identity_check_perfect),
12087 (gst_identity_transform), (gst_identity_set_property),
12088 (gst_identity_get_property), (gst_identity_change_state):
12089 * gst/elements/gstidentity.h:
12090 * gst/gstelement.c: (gst_element_get_state_func),
12091 (gst_element_lost_state), (gst_element_pads_activate):
12092 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12093 (gst_pad_check_pull_range), (gst_pad_pull_range):
12095 Simplify pad activation.
12096 Added function to check if pull_range can be performed.
12097 Error out when pulling inactive or flushing pads.
12098 Removed const from refcounted types as it does not make sense.
12099 Simplify pad templates in basesink
12100 Added base class for simple 1-to-1 transforms.
12101 Make identity subclass the base transform.
12103 2005-03-29 Andy Wingo <wingo@pobox.com>
12105 * docs/libs/gstreamer-libs-overrides.txt:
12106 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12107 really don't understand what's going on, but like whatever. I want
12110 * docs/gst/Makefile.am:
12111 * docs/libs/Makefile.am: Dist the overrides files.
12113 * check/Makefile.am (clean-local): Remove .libs directories.
12115 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12116 elements to EXTRA_DIST, so po/ files are happy.
12118 * po/POTFILES.in: Er, remove it here.
12120 * po/POTFILES: Remove gstspider.c.
12122 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12124 * docs/libs/gstreamer-libs-docs.sgml:
12125 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12128 * tests/complexity.c (main): Set the length of the preroll queue
12129 on the sinks to prevent a lockup.
12131 * libs/gst/dataprotocol/Makefile.am:
12132 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12133 the same as the one in check/gst-libs/gdp.c.
12135 * po/, docs/gst/: Commit automatic changes to docs and po files.
12137 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12138 the versioned libgstbase.
12140 * check/Makefile.am: Depend on an unversioned gst-register, seems
12141 to make autoconf happier.
12143 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12145 2005-03-28 Wim Taymans <wim@fluendo.com>
12148 * docs/design/part-gstelement.txt:
12149 * docs/design/part-negotiation.txt:
12150 * docs/design/part-preroll.txt:
12151 * docs/design/part-scheduling.txt:
12152 * docs/design/part-states.txt:
12154 * gst/base/Makefile.am:
12156 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12157 (gst_basesink_base_init), (gst_basesink_class_init),
12158 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12159 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12160 (gst_basesink_set_pad_functions),
12161 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12162 (gst_basesink_set_property), (gst_basesink_get_property),
12163 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12164 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12165 (gst_basesink_preroll_queue_push),
12166 (gst_basesink_preroll_queue_empty),
12167 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12168 (gst_basesink_event), (gst_basesink_get_times),
12169 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12170 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12171 (gst_basesink_loop), (gst_basesink_activate),
12172 (gst_basesink_change_state):
12173 * gst/base/gstbasesink.h:
12174 * gst/elements/Makefile.am:
12175 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12176 (gst_fakesink_class_init), (gst_fakesink_init),
12177 (gst_fakesink_set_property), (gst_fakesink_get_property),
12178 (gst_fakesink_get_times), (gst_fakesink_event),
12179 (gst_fakesink_preroll), (gst_fakesink_render),
12180 (gst_fakesink_change_state):
12181 * gst/elements/gstfakesink.h:
12182 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12183 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12184 * gst/gstelement.c: (gst_element_add_pad),
12185 (gst_element_get_state_func), (gst_element_abort_state),
12186 (gst_element_commit_state), (gst_element_lost_state),
12187 (gst_element_set_state), (gst_element_pads_activate):
12188 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12189 * gst/gstpipeline.c: (gst_pipeline_send_event),
12190 (gst_pipeline_change_state):
12191 Added state change code.
12192 Added/updated docs.
12193 Added sink base class, make fakesink extend the base class.
12194 Small cleanups in GstPipeline.
12196 2005-03-26 David Schleef <ds@schleef.org>
12198 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12199 is broken and should be implemented in a different library.
12200 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12201 * gst/gst.h: remove gstcpu.h
12202 * gst/gstcpu.c: remove
12203 * gst/gstcpu.h: remove
12204 * gst/Makefile.am.future: Remove this file. It's ancient.
12206 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12208 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12209 (gst_bin_send_event):
12210 Add default event/set_manager handlers. The set_manager handler
12211 takes care that the manager is distributed over kids that were
12212 already in the bin before the manager was set. The event handler
12213 is a utility virtual function that sends the event over all sinks,
12214 so that gst_element_send_event (bin, event); has the expected
12216 * gst/gstpad.c: (gst_pad_event_default):
12217 Re-install default event handling for discontinuities, so that
12218 seeking works without requiring hacks in applications or extra
12220 * gst/gstpipeline.c: (gst_pipeline_class_init),
12221 (gst_pipeline_send_event):
12222 Half hack, half utility: set a pipeline to PAUSED for seek events,
12223 since that is the only way we can guarantee a/v sync. Means that
12224 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12225 and it "just works".
12227 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12229 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12230 Lock/unlock mismatch.
12232 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12234 * docs/faq/gst-uninstalled:
12235 add gst-plugins-base
12236 * docs/gst/Makefile.am:
12237 don't error out until docs are fixed
12238 * docs/gst/gstreamer.types:
12241 2005-03-22 Wim Taymans <wim@fluendo.com>
12243 * check/Makefile.am:
12244 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12245 * gst/gststructure.c: (gst_structure_set_valist),
12246 (gst_structure_copy_conditional):
12247 Activated more tests.
12248 Added message test.
12249 Added G_TYPE_POINTER to GstStructure.
12252 2005-03-22 Wim Taymans <wim@fluendo.com>
12254 * docs/design/part-TODO.txt:
12255 * docs/design/part-events.txt:
12256 * docs/design/part-gstbin.txt:
12257 * docs/design/part-gstbus.txt:
12258 * docs/design/part-gstpipeline.txt:
12259 * docs/design/part-messages.txt:
12261 * gst/gstmessage.c:
12264 2005-03-21 Wim Taymans <wim@fluendo.com>
12266 * gst/gstbus.c: (gst_bus_post):
12267 Fix copy-and-paste error.
12269 2005-03-21 Wim Taymans <wim@fluendo.com>
12271 * check/Makefile.am:
12273 * gst/elements/Makefile.am:
12274 * gst/elements/gstelements.c:
12275 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12276 (gst_fakesink_event), (gst_fakesink_chain):
12277 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12278 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12279 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12280 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12281 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12282 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12283 (gst_fakesrc_loop), (gst_fakesrc_activate),
12284 (gst_fakesrc_change_state):
12285 * gst/elements/gstfakesrc.h:
12286 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12287 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12288 (gst_filesrc_open_file), (gst_filesrc_loop),
12289 (gst_filesrc_activate), (gst_filesrc_change_state),
12290 (filesrc_find_peek), (filesrc_find_suggest),
12291 (gst_filesrc_type_find):
12292 * gst/elements/gstidentity.c: (gst_identity_finalize),
12293 (gst_identity_class_init), (gst_identity_init),
12294 (gst_identity_proxy_getcaps), (identity_queue_push),
12295 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12296 (gst_identity_getrange), (gst_identity_chain),
12297 (gst_identity_sink_loop), (gst_identity_src_loop),
12298 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12299 (gst_identity_set_property), (gst_identity_get_property),
12300 (gst_identity_change_state):
12301 * gst/elements/gstidentity.h:
12302 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12303 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12304 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12305 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12306 (gst_tee_sink_activate):
12307 * gst/elements/gsttee.h:
12308 * gst/gst.c: (gst_register_core_elements), (init_post):
12310 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12311 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12312 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12313 (gst_bin_change_state):
12315 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12316 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12317 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12318 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12319 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12320 (bus_watch_callback), (bus_watch_destroy),
12321 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12322 (poll_timeout), (gst_bus_poll):
12326 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12327 (gst_element_post_message), (gst_element_message_full),
12328 (gst_element_get_state_func), (gst_element_get_state),
12329 (gst_element_abort_state), (gst_element_commit_state),
12330 (gst_element_lost_state), (gst_element_set_state),
12331 (gst_element_pads_activate), (gst_element_change_state),
12332 (gst_element_dispose), (gst_element_set_manager_func),
12333 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12334 (gst_element_set_manager), (gst_element_get_manager),
12335 (gst_element_set_bus), (gst_element_get_bus),
12336 (gst_element_set_scheduler), (gst_element_get_scheduler):
12337 * gst/gstelement.h:
12338 * gst/gstevent.c: (gst_event_new_segment_seek),
12339 (gst_event_new_flush):
12341 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12342 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12343 (gst_message_new_eos), (gst_message_new_error),
12344 (gst_message_new_warning), (gst_message_new_tag),
12345 (gst_message_new_state_changed), (gst_message_new_application),
12346 (gst_message_get_structure), (gst_message_parse_tag),
12347 (gst_message_parse_state_changed), (gst_message_parse_error),
12348 (gst_message_parse_warning):
12349 * gst/gstmessage.h:
12350 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12351 (gst_real_pad_set_property), (gst_pad_set_active),
12352 (gst_pad_is_active), (gst_pad_set_blocked_async),
12353 (gst_pad_set_blocked), (gst_pad_is_blocked),
12354 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12355 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12356 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12357 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12358 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12359 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12360 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12361 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12362 (gst_pad_set_caps), (gst_pad_configure_sink),
12363 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12364 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12365 (gst_real_pad_dispose), (gst_real_pad_finalize),
12366 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12367 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12368 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12370 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12371 (pipeline_bus_handler), (gst_pipeline_change_state),
12372 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12373 * gst/gstpipeline.h:
12375 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12376 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12377 (gst_queue_link_src), (gst_queue_bufferalloc),
12378 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12379 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12380 (gst_queue_loop), (gst_queue_handle_src_event),
12381 (gst_queue_handle_src_query), (gst_queue_src_activate),
12382 (gst_queue_change_state):
12384 * gst/gstscheduler.c: (gst_scheduler_init),
12385 (gst_scheduler_dispose), (gst_scheduler_create_task),
12386 (gst_scheduler_factory_create):
12387 * gst/gstscheduler.h:
12388 * gst/gststructure.c: (gst_structure_get_type),
12389 (gst_structure_copy_conditional):
12390 * gst/gststructure.h:
12391 * gst/gsttaginterface.h:
12392 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12393 (gst_task_init), (gst_task_dispose), (gst_task_create),
12394 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12400 * gst/schedulers/Makefile.am:
12401 * gst/schedulers/cothreads_compat.h:
12402 * gst/schedulers/entryscheduler.c:
12403 * gst/schedulers/faircothreads.c:
12404 * gst/schedulers/faircothreads.h:
12405 * gst/schedulers/fairscheduler.c:
12406 * gst/schedulers/gstbasicscheduler.c:
12407 * gst/schedulers/gstoptimalscheduler.c:
12408 * gst/schedulers/gthread-cothreads.h:
12409 * gst/schedulers/threadscheduler.c:
12410 (gst_thread_scheduler_task_get_type),
12411 (gst_thread_scheduler_task_class_init),
12412 (gst_thread_scheduler_task_init),
12413 (gst_thread_scheduler_task_start),
12414 (gst_thread_scheduler_task_stop),
12415 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12416 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12417 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12418 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12420 * libs/gst/Makefile.am:
12421 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12422 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12423 (gst_file_pad_parent_set):
12424 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12425 (gst_dp_event_from_packet):
12426 * tests/complexity.c: (main):
12427 * tests/mass_elements.c: (main):
12428 * testsuite/states/locked.c: (message_received), (main):
12429 * testsuite/states/parent.c: (main):
12430 * tools/gst-inspect.c: (print_element_flag_info),
12431 (print_implementation_info), (print_pad_info):
12432 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12434 * tools/gst-md5sum.c: (event_loop), (main):
12435 * tools/gst-typefind.c: (main):
12436 * tools/gst-xmlinspect.c: (print_element_info):
12438 Added GstBus for mainloop integration.
12439 Added GstMessage for sending notifications on the bus.
12440 Added GstTask as an abstraction for pipeline entry points.
12442 Removed Schedulers.
12443 Simplified GstQueue for multithreaded core.
12444 Made _link threadsafe, removed old capsnego.
12445 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12446 Added pad blocking functions.
12447 Reworked scheduling functions in GstPad to prepare for
12448 scheduling updates soon.
12449 Moved events out of data stream.
12450 Simplified GstEvent types.
12451 Added return values to push/pull.
12452 Removed clocking from GstElement.
12453 Added prototypes for state change function for next merge.
12454 Removed iterate from bins and state change management.
12455 Fixed some elements, disabled others for now.
12456 Fixed -inspect and -launch.
12457 Added check for GstBus.
12459 2005-03-10 Wim Taymans <wim@fluendo.com>
12461 * docs/design/part-MT-refcounting.txt:
12462 * docs/design/part-clocks.txt:
12463 * docs/design/part-gstelement.txt:
12464 * docs/design/part-gstobject.txt:
12465 * docs/design/part-standards.txt:
12466 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12467 (gst_bin_remove_func), (gst_bin_remove):
12471 * testsuite/clock/clock1.c: (main):
12472 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12474 * testsuite/dlopen/loadgst.c: (do_test):
12475 * testsuite/refcounting/bin.c: (add_remove_test1),
12476 (add_remove_test2), (main):
12477 * testsuite/refcounting/element.c: (main):
12478 * testsuite/refcounting/element_pad.c: (main):
12479 * testsuite/refcounting/pad.c: (main):
12480 * tools/gst-launch.c: (sigint_handler_sighandler):
12481 * tools/gst-typefind.c: (main):
12483 Added doc about clock.
12484 removed gst_bin_iterate_recurse_up(), marked methods
12486 Fix more testsuites.
12488 2005-03-09 Wim Taymans <wim@fluendo.com>
12490 * gst/gstpad.c: (gst_pad_get_direction),
12491 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12492 (gst_pad_collect_valist):
12493 * testsuite/bins/interface.c: (main):
12494 * testsuite/caps/audioscale.c: (test_caps):
12495 * testsuite/caps/caps.c: (test1), (test2), (test3):
12496 * testsuite/caps/deserialize.c: (main):
12497 * testsuite/caps/enumcaps.c: (main):
12498 * testsuite/caps/filtercaps.c: (main):
12499 * testsuite/caps/intersect2.c: (main):
12500 * testsuite/caps/random.c: (main):
12501 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12502 * testsuite/caps/sets.c: (check_caps):
12503 * testsuite/caps/simplify.c: (check_caps), (main):
12504 * testsuite/caps/subtract.c: (check_caps):
12505 Fix _pad_get_direction wrt ghostpads.
12506 Fix caps testsuite.
12508 2005-03-09 Wim Taymans <wim@fluendo.com>
12510 * check/Makefile.am:
12511 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12512 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12513 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12514 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12515 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12516 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12517 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12518 (bin_element_is_sink), (gst_bin_iterate_sinks),
12519 (gst_bin_iterate_all_by_interface):
12521 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12522 (gst_element_change_state), (gst_element_dispose),
12523 (gst_element_finalize), (gst_element_set_loop_function):
12524 * gst/gstelement.h:
12525 * gst/gstiterator.c: (find_custom_fold_func):
12526 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12527 (gst_pad_collectv), (gst_pad_collect_valist),
12528 (gst_pad_template_new):
12529 * gst/gstpipeline.c: (gst_pipeline_class_init),
12530 (gst_pipeline_dispose), (gst_pipeline_set_property),
12531 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12532 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12533 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12535 * gst/schedulers/entryscheduler.c:
12536 * gst/schedulers/gstbasicscheduler.c:
12537 (gst_basic_scheduler_cothreaded_chain),
12538 (gst_basic_scheduler_chain_add_element):
12539 * testsuite/bins/interface.c: (main):
12541 Added GstSystemClock test.
12542 Implemented clock distribution code in GstBin.
12543 Implemented iterate sinks method for future use.
12544 Rearranged gstelement.h
12545 Fix GstIterator comparison bug.
12546 Moved some code to GstPipeline, mostly clocking related.
12548 2005-03-09 Wim Taymans <wim@fluendo.com>
12551 * gst/gst_private.h:
12552 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12553 (gst_bin_remove_func), (gst_bin_remove),
12554 (gst_bin_get_by_name_recurse_up):
12555 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12556 (gst_clock_id_compare_func), (gst_clock_id_wait),
12557 (gst_clock_id_wait_async), (gst_clock_init),
12558 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12559 * gst/gstelement.h:
12560 * gst/gstinfo.c: (_gst_debug_init):
12562 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12563 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12565 Bump version number, we're now 0.9.0
12566 Add future debugging category.
12567 Fix NULL _unref() in _get_by_name_recurse_up
12568 Rearrange gstpad.h.
12571 2005-03-08 Wim Taymans <wim@fluendo.com>
12573 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12574 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12575 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12576 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12577 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12578 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12579 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12580 * gst/elements/gstidentity.c: (gst_identity_class_init):
12581 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12582 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12583 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12584 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12585 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12587 * gst/gstelement.c: (gst_element_class_init),
12588 (gst_element_base_class_init), (gst_element_init),
12589 (gst_element_get_random_pad), (gst_element_wait_state_change),
12590 (gst_element_change_state), (gst_element_dispose),
12591 (gst_element_finalize), (gst_element_set_loop_function):
12592 * gst/gstelement.h:
12593 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12594 * gst/gstthread.c: (gst_thread_class_init),
12595 (gst_thread_release_children_locks), (gst_thread_change_state):
12596 * gst/schedulers/gstbasicscheduler.c:
12597 (gst_basic_scheduler_loopfunc_wrapper),
12598 (gst_basic_scheduler_chain_wrapper),
12599 (gst_basic_scheduler_src_wrapper),
12600 (gst_basic_scheduler_remove_element):
12601 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12602 Remove threadsafe properties. Fix elements because GObject
12603 complains when installing a property before declaring a
12604 set/get_property handler.
12605 Rearrange gstelement.h file, use STATE macros for state locks.
12606 Free mutexes in the finalize method instead of dispose.
12608 2005-03-08 Wim Taymans <wim@fluendo.com>
12610 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12611 * gst/gstthread.c: (gst_thread_release_children_locks):
12612 Added parentage check.
12613 Fix build og GstThread again.
12615 2005-03-08 Wim Taymans <wim@fluendo.com>
12617 * docs/design/part-MT-refcounting.txt:
12618 * docs/design/part-conventions.txt:
12619 * docs/design/part-gstobject.txt:
12620 * docs/design/part-relations.txt:
12621 * docs/design/part-standards.txt:
12622 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12623 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12624 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12625 (gst_bin_iterate_all_by_interface):
12628 * gst/gstelement.c: (gst_element_class_init),
12629 (gst_element_change_state), (gst_element_set_loop_function):
12630 * gst/gstelement.h:
12631 * gst/gstiterator.c:
12632 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12633 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12634 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12635 (gst_object_set_parent), (gst_object_unparent),
12636 (gst_object_check_uniqueness):
12638 Docs updates, clean up some headers.
12640 2005-03-07 Wim Taymans <wim@fluendo.com>
12642 * check/.cvsignore:
12643 * check/Makefile.am:
12644 * check/gst-libs/.cvsignore:
12645 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12646 * check/gst/.cvsignore:
12647 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12648 (START_TEST), (gstbus_suite), (main):
12649 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12650 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12651 (gst_data_suite), (main):
12652 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12653 (add_fold_func), (gstiterator_suite), (main):
12654 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12655 (thread_name_object), (thread_name_object_default),
12656 (gst_object_name_compare), (gst_object_suite), (main):
12657 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12658 (gst_pad_suite), (main):
12659 * check/gstcheck.c: (gst_check_log_message_func),
12660 (gst_check_log_critical_func), (gst_check_init):
12661 * check/gstcheck.h:
12662 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12663 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12666 2005-03-07 Wim Taymans <wim@fluendo.com>
12668 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12669 (gst_list_iterator_next), (gst_list_iterator_resync),
12670 (gst_list_iterator_free), (gst_iterator_new_list),
12671 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12672 (gst_iterator_free), (gst_iterator_push), (filter_next),
12673 (filter_resync), (filter_uninit), (filter_free),
12674 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12675 (gst_iterator_foreach), (find_custom_fold_func),
12676 (gst_iterator_find_custom):
12677 * gst/gstiterator.h:
12678 Added missing files.
12680 2005-03-07 Wim Taymans <wim@fluendo.com>
12684 * docs/design/part-MT-refcounting.txt:
12685 * docs/design/part-conventions.txt:
12686 * docs/design/part-gstobject.txt:
12687 * docs/design/part-relations.txt:
12688 * examples/mixer/mixer.c: (main):
12689 * examples/thread/thread.c: (eos), (main):
12691 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12692 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12693 (gst_spider_plug_from_srcpad):
12694 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12695 (gst_spider_identity_change_state),
12696 (gst_spider_identity_sink_loop_type_finding):
12697 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12698 * gst/elements/gstidentity.c: (gst_identity_init):
12699 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12700 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12701 * gst/elements/gsttypefindelement.c: (free_entry):
12704 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12705 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12706 (gst_bin_set_index), (gst_bin_set_element_sched),
12707 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12708 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12709 (gst_bin_iterate_elements), (iterate_child_recurse),
12710 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12711 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12712 (compare_interface), (gst_bin_get_by_interface),
12713 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12715 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12716 (gst_buffer_default_free), (gst_buffer_default_copy),
12717 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12718 (gst_buffer_create_sub):
12720 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12721 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12722 (gst_caps_unref), (gst_static_caps_get),
12723 (gst_caps_remove_and_get_structure), (gst_caps_append),
12724 (gst_caps_append_structure), (gst_caps_remove_structure),
12725 (gst_caps_copy_nth), (gst_caps_set_simple),
12726 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12727 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12728 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12729 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12730 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12731 (gst_caps_structure_figure_out_union),
12732 (gst_caps_switch_structures), (gst_caps_do_simplify),
12733 (gst_caps_replace), (gst_caps_from_string),
12734 (gst_caps_copy_conditional):
12736 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12737 (_gst_clock_id_free), (gst_clock_id_unref),
12738 (gst_clock_id_compare_func), (gst_clock_id_wait),
12739 (gst_clock_id_wait_async), (gst_clock_class_init),
12740 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12741 (gst_clock_get_time), (gst_clock_set_time_adjust),
12742 (gst_clock_set_property), (gst_clock_get_property):
12745 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12746 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12748 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12749 (gst_element_requires_clock), (gst_element_provides_clock),
12750 (gst_element_set_clock), (gst_element_clock_wait),
12751 (gst_element_wait), (gst_element_set_time_delay),
12752 (gst_element_is_indexable), (gst_element_add_pad),
12753 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12754 (pad_compare_name), (gst_element_get_static_pad),
12755 (gst_element_request_pad), (gst_element_get_request_pad),
12756 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12757 (gst_element_class_get_pad_template_list),
12758 (gst_element_class_get_pad_template), (gst_element_error_func),
12759 (gst_element_get_random_pad), (gst_element_get_event_masks),
12760 (gst_element_send_event), (gst_element_seek),
12761 (gst_element_get_query_types), (gst_element_query),
12762 (gst_element_get_formats), (gst_element_convert),
12763 (gst_element_is_locked_state), (gst_element_set_locked_state),
12764 (gst_element_sync_state_with_parent), (gst_element_change_state),
12765 (gst_element_finalize), (gst_element_yield),
12766 (gst_element_interrupt), (gst_element_set_scheduler),
12767 (gst_element_get_scheduler), (gst_element_set_loop_function):
12768 * gst/gstelement.h:
12770 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12771 (gst_format_get_by_nick), (gst_format_get_details),
12772 (gst_format_iterate_definitions):
12774 * gst/gstindex.c: (gst_index_gtype_resolver):
12777 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12778 (gst_mem_chunk_free):
12779 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12780 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12781 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12782 (gst_object_dispatch_properties_changed),
12783 (gst_object_set_name_default), (gst_object_set_name),
12784 (gst_object_get_name), (gst_object_set_name_prefix),
12785 (gst_object_get_name_prefix), (gst_object_set_parent),
12786 (gst_object_get_parent), (gst_object_unparent),
12787 (gst_object_check_uniqueness), (gst_object_save_thyself),
12788 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12789 (gst_object_set_property), (gst_object_get_property),
12790 (gst_object_get_path_string):
12792 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12793 (gst_real_pad_init), (gst_real_pad_get_property),
12794 (gst_pad_custom_new), (gst_pad_get_direction),
12795 (gst_pad_set_active), (gst_pad_is_active),
12796 (gst_pad_set_event_function), (gst_pad_is_linked),
12797 (gst_pad_link_free), (gst_pad_link_intersect),
12798 (gst_pad_link_fixate), (gst_pad_set_caps),
12799 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12800 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12801 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12802 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12803 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12804 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12805 (gst_pad_realize), (gst_pad_get_allowed_caps),
12806 (gst_real_pad_dispose), (gst_real_pad_finalize),
12807 (gst_pad_collectv), (gst_pad_collect_valist),
12808 (gst_pad_template_dispose), (gst_pad_template_new),
12809 (gst_pad_get_internal_links):
12811 * gst/gstpipeline.c: (gst_pipeline_dispose),
12812 (gst_pipeline_change_state):
12813 * gst/gstpipeline.h:
12815 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12816 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12817 * gst/gstpluginfeature.h:
12818 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12819 * gst/gstquery.c: (_gst_query_type_initialize),
12820 (gst_query_type_register), (gst_query_type_get_by_nick),
12821 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12823 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12824 * gst/gstscheduler.c: (gst_scheduler_add_element),
12825 (gst_scheduler_factory_create):
12826 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12827 (gst_structure_free), (gst_structure_set_name),
12828 (gst_structure_id_set_value), (gst_structure_set_value),
12829 (gst_structure_set_valist), (gst_structure_remove_field),
12830 (gst_structure_remove_fields),
12831 (gst_structure_remove_fields_valist),
12832 (gst_structure_remove_all_fields), (gst_structure_foreach),
12833 (gst_structure_map_in_place),
12834 (gst_caps_structure_fixate_field_nearest_int),
12835 (gst_caps_structure_fixate_field_nearest_double):
12836 * gst/gststructure.h:
12837 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12838 (gst_system_clock_init), (gst_system_clock_dispose),
12839 (gst_system_clock_async_thread),
12840 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12841 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12842 * gst/gstsystemclock.h:
12843 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12844 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12845 * gst/gsttaginterface.c:
12846 * gst/gstthread.c: (gst_thread_dispose),
12847 (gst_thread_release_children_locks), (gst_thread_change_state),
12848 (gst_thread_main_loop):
12849 * gst/gsttrashstack.h:
12850 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12852 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12853 (gst_element_request_pad), (gst_element_get_pad_from_template),
12854 (gst_element_request_compatible_pad),
12855 (gst_element_get_compatible_pad_filtered),
12856 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12857 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12858 (gst_element_link_many), (gst_element_link),
12859 (gst_element_link_pads), (gst_element_unlink_pads),
12860 (gst_element_unlink_many), (gst_element_unlink),
12861 (gst_pad_can_link_filtered), (gst_pad_can_link),
12862 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12863 (gst_object_default_error), (gst_bin_add_many),
12864 (gst_bin_remove_many), (gst_element_populate_std_props),
12865 (gst_element_class_install_std_props), (gst_buffer_merge),
12866 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12867 (link_fold_func), (gst_pad_proxy_setcaps):
12869 * gst/gstvalue.c: (gst_value_deserialize_string):
12870 * gst/parse/grammar.y:
12871 * gst/schedulers/gstbasicscheduler.c:
12872 (gst_basic_scheduler_cothreaded_chain),
12873 (gst_basic_scheduler_chain_recursive_add),
12874 (gst_basic_scheduler_pad_link):
12875 * gst/schedulers/gstoptimalscheduler.c:
12876 (get_group_schedule_function),
12877 (gst_opt_scheduler_state_transition),
12878 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12879 * libs/gst/bytestream/bytestream.c:
12880 * libs/gst/dataprotocol/dataprotocol.c:
12881 (gst_dp_header_from_buffer):
12884 * tests/threadstate/threadstate2.c: (eos):
12885 * tools/gst-compprep.c: (main):
12886 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12887 (print_pad_info), (print_children_info):
12888 * tools/gst-launch.c: (idle_func), (main):
12889 * tools/gst-md5sum.c: (idle_func), (main):
12890 * tools/gst-xmlinspect.c: (print_element_info):
12891 First THREADED backport attempt, focusing on adding locks and
12892 making sure the API is threadsafe. Needs more work. More docs
12895 2005-02-24 Andy Wingo <wingo@pobox.com>
12897 * tests/bench-complexity.scm:
12898 * tests/complexity.gnuplot: New files, good for running complexity
12901 * tests/Makefile.am:
12902 * tests/complexity.c: New test, sets up N elements, at each level
12903 teeing into M streams per element. Eeeenteresting.
12905 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12906 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12907 running bench-mass_elements.scm.
12909 * tests/bench-mass_elements.scm: New script, runs mass_elements
12910 for various numbers of identities, outputting the results to a
12911 file. Requires guile 1.6. Just for testing.
12913 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12915 * gst/schedulers/fairscheduler.c:
12916 compile with debug disabled
12918 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12921 hunting season on 0.9 is now OPEN