1 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
3 * configure.ac:
4 Fix (unused) AM_CONDITIONAL tests.
6 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
8 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10 * gst/gstutils.c: (gst_pad_query_convert):
11 Add assertion that makes sure src_val is >=0, just like
12 gst_query_new_convert() has. (#315895)
14 2005-09-30 Edward Hervey <edward@fluendo.com>
16 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17 Let's not iterate pads we're not interested in, it avoids getting
18 sky-high refcounts on sinkpad.
20 2005-09-30 Wim Taymans <wim@fluendo.com>
22 * gst/gstelement.c: (gst_element_set_state),
23 (gst_element_change_state):
24 Small tweak, element in ASYNC remains ASYNC.
26 2005-09-30 Wim Taymans <wim@fluendo.com>
28 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
29 Only error is an error.
31 * gst/gstbin.c: (gst_bin_change_state):
32 Better debugging.
34 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
35 Also call pad_block in pad alloc.
37 * gst/gstutils.c: (gst_flow_get_name):
38 Better debugging.
40 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
42 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
43 (gst_base_src_get_range):
44 Fix documentation typos. Add some more debug info.
46 2005-09-29 David Schleef <ds@schleef.org>
48 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
49 more end-user friendly.
50 * tools/gst-inspect.c: (main): Check if command-line argument is
51 a file and attempt to load that file as a plugin.
53 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
55 * check/gst/gstbin.c:
56 * check/states/sinks.c:
57 fix tests for the new warning
58 * check/gst/gstpipeline.c:
59 add a test for pipeline and bus interaction
60 * gst/gstelement.c:
61 elements should be NULL if they get disposed; add a warning if not
63 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
65 * gst/gstobject.c:
66 for 2.6 refcounting, make debug log more correct by printing
67 the actual refcounts at the time of swap (Wim)
69 2005-09-29 Andy Wingo <wingo@pobox.com>
71 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
72 removes signal watches previously added via
73 gst_bus_add_signal_watch.
74 (gst_bus_add_signal_watch): Don't return the source id, just store
75 it on the bus if there wasn't an id already.
77 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
78 add_signal_watch and remove_signal_watch.
80 2005-09-29 Edward Hervey <edward@fluendo.com>
82 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
83 Better if we actually iterate the list :)
85 2005-09-29 Wim Taymans <wim@fluendo.com>
87 * check/gst/gstbin.c: (GST_START_TEST):
88 Change for new bus API.
90 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
91 (send_messages), (GST_START_TEST), (gstbus_suite):
92 Change for new bus signal API.
94 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
95 (gst_bus_source_prepare), (gst_bus_source_check),
96 (gst_bus_create_watch), (gst_bus_add_watch_full),
97 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
98 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
99 * gst/gstbus.h:
100 Remove support for multiple GSources operating on different
101 message types as it is too complex and unneeded when using
102 signals.
103 Added support for receiving signals from the bus.
105 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
107 * docs/libs/tmpl/gstdataprotocol.sgml:
108 * docs/manual/advanced-dataaccess.xml:
109 * gst/elements/gstcapsfilter.c:
110 * gst/gstutils.c:
111 rename filter-caps to caps property
113 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
115 * gst/gstvalue.c: (gst_value_deserialize_fraction):
116 More robust fraction string parsing.
118 * docs/pwg/appendix-porting.xml:
119 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
121 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
123 * gst/gstcaps.c: (gst_caps_do_simplify):
124 Thou shalt not free a structure and then continue using it
125 in the next loop iteration.
127 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
128 (gst_caps_suite):
129 Add test case for caps simplification.
131 2005-09-29 Wim Taymans <wim@fluendo.com>
133 * check/gst/gstbin.c: (GST_START_TEST):
134 Oops.
136 2005-09-29 Wim Taymans <wim@fluendo.com>
138 * check/gst/gstbin.c: (GST_START_TEST):
139 Add bus to bin.
141 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
142 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
143 (find_element), (gst_bin_sort_iterator_next),
144 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
145 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
146 (gst_bin_change_state), (gst_bin_dispose):
147 A bin does not have a bus, it gets the bus from the parent.
149 * gst/gstelement.c: (gst_element_requires_clock),
150 (gst_element_provides_clock), (gst_element_is_indexable),
151 (gst_element_is_locked_state), (gst_element_change_state),
152 (gst_element_set_bus_func):
153 Small cleanups.
155 * gst/gstpipeline.c: (gst_pipeline_class_init),
156 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
157 The pipeline provides a bus.
159 2005-09-28 Johan Dahlin <johan@gnome.org>
161 * gst/gstmessage.c (gst_message_parse_state_changed): Use
162 gst_structure_get_enum instead of gst_structure_get_int
164 * gst/gststructure.c (gst_structure_get_enum): Impl.
166 * gst/gststructure.h (gst_structure_get_enum): Add
168 * docs/gst/gstreamer-sections.txt: Ditto
170 * gst/gstmessage.c (gst_message_new_state_changed): Use
171 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
172 which does introspection.
173 Reviewed by Christian Schaller
175 2005-09-28 Stefan Kost <ensonic@users.sf.net>
177 * gst/gstinfo.c: (gst_debug_log_default):
178 don't do dummy g_strdup()s
179 * libs/gst/controller/gstcontroller.c:
180 (on_object_controlled_property_changed),
181 (gst_controlled_property_new), (gst_controller_new_valist),
182 (gst_controller_new_list),
183 (gst_controller_remove_properties_valist), (gst_controller_set),
184 (gst_controller_get), (gst_controller_sync_values),
185 (gst_controller_get_value_array), (_gst_controller_class_init),
186 (gst_controller_get_type):
187 * libs/gst/controller/gstcontroller.h:
188 * libs/gst/controller/gstinterpolation.c:
189 (gst_controlled_property_find_timed_value_node):
190 convert // to /**/ comments
192 2005-09-28 Wim Taymans <wim@fluendo.com>
194 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
195 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
196 (gst_bus_sync_signal_handler):
197 * gst/gstbus.h:
198 Added async-message and sync-message signals to the bus.
199 Added helper BusFunc to emit signals for all posted messages.
201 * gst/gstmessage.c: (gst_message_type_get_name),
202 (gst_message_type_to_quark), (gst_message_get_type):
203 * gst/gstmessage.h:
204 Register quarks for message names.
206 2005-09-28 Stefan Kost <ensonic@users.sf.net>
208 * docs/libs/gstreamer-libs-sections.txt:
209 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
210 (gst_controller_new_list):
211 * libs/gst/controller/gstcontroller.h:
212 added another constructor for language bindings
214 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
216 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
217 add another check
218 * gst/gstbus.c:
219 add some doc
220 * gst/gstinfo.c: (_gst_debug_init):
221 slightly more readable color for refcount debugging
223 2005-09-28 Wim Taymans <wim@fluendo.com>
225 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
226 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
227 (find_element), (gst_bin_sort_iterator_next),
228 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
229 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
230 (gst_bin_change_state), (gst_bin_dispose):
231 Small doc fixes. get_clock -> provide_clock.
233 * gst/gstelement.c: (gst_element_class_init),
234 (gst_element_provides_clock), (gst_element_provide_clock),
235 (gst_element_get_clock), (gst_element_commit_state),
236 (gst_element_lost_state):
237 * gst/gstelement.h:
238 Make get/set_clock() symetric. Add provide_clock vmethod since
239 that is actually what this function does.
241 * gst/gstpipeline.c: (gst_pipeline_class_init),
242 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
243 (gst_pipeline_get_clock):
244 get_clock -> provide_clock.
246 2005-09-28 Andy Wingo <wingo@pobox.com>
248 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
249 lieu of real docs...
251 * gst/elements/gstfdsrc.c: Cleaned up a bit.
253 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
255 * gst/elements/gstcapsfilter.c:
256 * gst/elements/gstfakesink.c:
257 * gst/elements/gstfakesrc.c:
258 * gst/elements/gstfdsink.c:
259 * gst/elements/gstfdsrc.c:
260 * gst/elements/gstfilesink.c:
261 * gst/elements/gstfilesrc.c:
262 * gst/elements/gstidentity.c:
263 * gst/elements/gsttee.c:
264 * gst/elements/gsttypefindelement.c:
265 Make element details static.
267 2005-09-28 Wim Taymans <wim@fluendo.com>
269 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
270 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
271 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
272 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
273 (gst_bin_change_state), (gst_bin_dispose):
274 Some documentation updates.
275 Clean up dispose handlers.
277 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
278 * gst/gstpad.c: (gst_pad_dispose):
279 Clean up dispose handler.
281 * gst/gstpipeline.c: (gst_pipeline_change_state):
282 Removed spurious UNLOCK.
284 2005-09-27 Stefan Kost <ensonic@users.sf.net>
286 * docs/gst/gstreamer-sections.txt:
287 * gst/base/gstbasesrc.h:
288 * gst/gstelement.h:
289 * gst/gstevent.h:
290 * gst/gstobject.h:
291 * gst/gstpad.h:
292 * gst/gstpipeline.c:
293 * gst/gstpipeline.h:
294 * gst/gstutils.h:
295 * gst/gstxml.h:
296 added two new functions to the docs
297 documents all undocumented GstXXXFlags
298 completed some incomplete docs
300 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
302 * gst/gstbin.c: (gst_bin_dispose):
303 * gst/gstelement.c: (gst_element_dispose):
304 remove now useless and leaky resurrection code in dispose
305 * gst/base/gstbasesrc.c: (gst_base_src_init):
306 * gst/gstelementfactory.c: (gst_element_factory_create):
307 * gst/gstobject.c: (gst_object_set_parent):
308 add some debugging
310 2005-09-27 Wim Taymans <wim@fluendo.com>
312 * docs/design/part-TODO.txt:
313 Update TODO.
315 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
316 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
317 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
318 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
319 (gst_bin_change_state):
320 * gst/gstelement.h:
321 Remove element variable, we keep element info in the iterator now.
323 2005-09-27 Andy Wingo <wingo@pobox.com>
325 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
326 values.
328 2005-09-27 Wim Taymans <wim@fluendo.com>
330 * check/gst/gstbin.c: (GST_START_TEST):
331 Enable check that works now.
333 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
334 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
335 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
336 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
337 (gst_bin_change_state):
338 * gst/gstbin.h:
339 Redid the state change algorithm using a topological sort algo.
340 Handles all cases correctly.
341 Exposed iterator for state change order.
343 * gst/gstelement.h:
344 Temp storage for state changes. Need to get rid of this soon.
346 2005-09-27 Wim Taymans <wim@fluendo.com>
348 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
349 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
350 (link_fold_func), (gst_pad_proxy_setcaps):
351 Leak fixes, the fold functions need to unref the passed object and
352 _get_parent_*() returns ref to parent.
354 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
356 * check/gst/gstbuffer.c: (test_make_writable):
357 Plug leak in test case and fix 'make check-valgrind'
359 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
361 * gst/gstbuffer.c: (gst_subbuffer_init):
362 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
363 works correctly in all circumstances (we could have just copied
364 the parent buffer's readonly flag, but conceptually it seems
365 cleaner to mark all subbuffers as read-only). (based on patch
366 by Alessandro Decina, #314710).
368 * check/gst/gstbuffer.c: (create_read_only_buffer),
369 (test_make_writable), (test_subbuffer_make_writable),
370 (gst_test_suite):
371 Add some tests for gst_buffer_make_writable().
373 2005-09-27 Wim Taymans <wim@fluendo.com>
375 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
376 use gst_object_has_ancestor().
378 * gst/gstobject.c: (gst_object_has_ancestor):
379 * gst/gstobject.h:
380 gst_object_has_ancestor() copied from gstbin.c as it is a
381 usefull function.
383 * tests/instantiate/create.c: (create_all_elements):
384 * tests/lat.c: (handoff_src), (handoff_sink):
385 * tests/sched/runxml.c: (main):
386 * tests/seeking/seeking1.c: (main):
387 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
388 (main):
389 Fix compilation of some tests.
391 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
393 * gst/gsterror.h:
394 Remove comment. GST_TYPE_G_ERROR is here to stay,
395 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
396 (#316961, #300610).
398 2005-09-26 Wim Taymans <wim@fluendo.com>
400 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
401 Added check that shows error in state change order.
403 2005-09-26 Wim Taymans <wim@fluendo.com>
405 * gst/gstbin.c: (gst_bin_change_state):
406 Make state change function use 3 queues again, we were
407 adding elements in the wrong order.
409 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
410 Some debug info,
412 * gst/gstpad.c: (gst_pad_dispose):
413 Added some debug info first.
415 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
417 * docs/design/draft-push-pull.txt:
418 * docs/design/part-events.txt:
419 * docs/design/part-overview.txt:
420 * docs/design/part-scheduling.txt:
421 Replace all _pull_region() with _pull_range()
423 2005-09-26 Andy Wingo <wingo@pobox.com>
425 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
427 * check/gst-libs/controller.c: Update for controller api change.
429 * configure.ac:
430 * tests/Makefile.am:
431 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
432 over by GLib bug 118439.
434 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
435 routines to a function.
437 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
439 * libs/gst/controller/gsthelper.c:
440 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
441 (gst_object_sync_values): Renamed from sink_values. Ugh.
443 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
445 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
446 Renamed from controller_key, as it is exported.
448 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
450 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
452 * gst/Makefile.am:
453 * gst/gst.h:
454 * gst/gstpad.h:
455 * gst/gstpadtemplate.h:
456 * gst/gstquery.c:
457 * gst/gstquery.h:
458 * gst/gstqueryutils.c:
459 * gst/gstqueryutils.h:
460 remove queryutils headers after moving the two used functions
461 to gstquery. also fixes build problem for gstsiddec
463 2005-09-26 Michael Smith <msmith@fluendo.com>
465 * tools/gst-launch.1.in:
466 Correct documentation in manpage of debug syntax
468 2005-09-26 Wim Taymans <wim@fluendo.com>
470 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
471 (gst_base_src_is_seekable), (gst_base_src_change_state):
472 Some more debugging info.
474 2005-09-25 Stefan Kost <ensonic@users.sf.net>
476 * docs/gst/gstreamer-sections.txt:
477 * gst/base/gstbasetransform.h:
478 * gst/gstindex.h:
479 added more docs
481 2005-09-25 Stefan Kost <ensonic@users.sf.net>
483 * docs/gst/.cvsignore:
484 * docs/gst/tmpl/.cvsignore:
485 * docs/gst/tmpl/gstpipeline.sgml:
486 * docs/gst/tmpl/gstplugin.sgml:
487 * gst/gstpipeline.c:
488 * gst/gstplugin.c:
489 * gst/gstplugin.h:
490 inlined the last two docs files
491 removed the tmpl directory from cvs (no more conflicts here!)
493 2005-09-25 Stefan Kost <ensonic@users.sf.net>
495 * docs/gst/gstreamer-sections.txt:
496 * docs/gst/tmpl/.cvsignore:
497 * docs/gst/tmpl/gstpad.sgml:
498 * docs/gst/tmpl/gstpadtemplate.sgml:
499 * gst/Makefile.am:
500 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
501 (gst_pad_finalize), (gst_pad_set_pad_template):
502 * gst/gstpad.h:
503 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
504 (gst_pad_template_class_init), (gst_pad_template_init),
505 (gst_pad_template_dispose), (name_is_valid),
506 (gst_static_pad_template_get), (gst_pad_template_new),
507 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
508 (gst_pad_template_pad_created):
509 * gst/gstpadtemplate.h:
510 inlined two more docs
511 factored gstpadtemplate out of gstpad
513 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
515 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
516 (test_children_state_change_order_semi_sink):
517 Fix test case: we can't rely on a fixed state change order when
518 going from READY => PAUSED because the sink might commit its
519 new state first when the first buffer created by the source
520 reaches the sink before the source has finished its change state.
521 (Test case still fails at times, see #316856, comment 5 onwards)
523 2005-09-24 Wim Taymans <wim@fluendo.com>
525 * docs/design/part-events.txt:
526 * docs/design/part-gstbus.txt:
527 * docs/design/part-gstpipeline.txt:
528 * docs/design/part-messages.txt:
529 * docs/design/part-overview.txt:
530 * docs/design/part-segments.txt:
531 * gst/gstbin.c:
532 * gst/gstbuffer.c:
533 * gst/gstclock.c:
534 * gst/gstelement.c:
535 * gst/gstevent.c:
536 * gst/gstfilter.c:
537 * gst/gstiterator.c:
538 Various documentation updates.
540 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
542 * gst/gstclock.h:
543 Well, that's embarassing. Luckily we weren't using
544 GST_CLOCK_DIFF anywhere.
546 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
548 * common/gtk-doc.mak:
549 don't fail on building XML, FC4 slave shows a bunch of doc
550 missing bits that I don't get
551 * gst/gstpad.c:
552 * gst/gstpipeline.c:
553 * gst/gststructure.c:
554 some doc updates
556 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
558 * docs/design/part-gstbin.txt:
559 * docs/design/part-gstbus.txt:
560 * gst/gstbus.c:
561 Add blurb about how the bus goes into flushing mode and
562 drops all messages when its bin goes from READY into NULL
563 state.
565 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
567 * docs/gst/gstreamer-sections.txt:
568 * gst/gststructure.c: (gst_structure_get_clock_time):
569 * gst/gststructure.h:
570 add a method to get a GstClockTime out of a structure
572 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
574 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
575 (test_children_state_change_order_semi_sink), (gst_bin_suite):
576 Added test to check state change order in bins (can still be made
577 to fail here under heavy disk load; bails out with 'Push on pad
578 fakesink:sink0, but it was not activated in push mode').
580 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
581 Fix state change order when there is only a semi sink (#316856)
583 * gst/gstbus.c: (gst_bus_class_init):
584 Use _class_peek_parent(), not _class_ref(); fix docs to say
585 'default main context' instead of 'mainloop' where that is
586 what's meant.
588 * gst/gstelement.c: (gst_element_commit_state),
589 (gst_element_set_state):
590 Fix typos in debug messages
592 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
594 * docs/README:
595 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
596 * gst/gstpluginfeature.c:
597 * gst/gstutils.c:
598 various doc updates
599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
600 change an assert into an error until it gets fixed properly
602 2005-09-23 Stefan Kost <ensonic@users.sf.net>
604 * docs/gst/gstreamer-sections.txt:
605 * docs/gst/tmpl/.cvsignore:
606 * docs/gst/tmpl/gstelement.sgml:
607 * docs/gst/tmpl/gstinfo.sgml:
608 * docs/gst/tmpl/gstobject.sgml:
609 * gst/gstelement.c:
610 * gst/gstelement.h:
611 * gst/gstinfo.c:
612 * gst/gstinfo.h:
613 * gst/gstobject.c: (gst_object_class_init):
614 * gst/gstobject.h:
615 inlined 3 more biiiig doc files and added some missing docs on the fly
617 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
619 * check/gst/.cvsignore:
620 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
621 * gst/gstregistryxml.c: (load_plugin),
622 (gst_registry_xml_save_plugin):
623 put back source in registry. add checks for find_plugin.
624 * testsuite/states/bin.c: (assert_state), (empty_bin),
625 (test_adding_one_element), (main):
626 * testsuite/states/locked.c: (main):
627 some compile/run fixes
629 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
631 * check/gst/gstvalue.c: (GST_START_TEST):
632 fix leaks in the test itself
634 2005-09-22 Wim Taymans <wim@fluendo.com>
636 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
637 (gst_base_sink_send_event), (gst_base_sink_peer_query),
638 (gst_base_sink_query):
639 Prepare for more accurate position reporting and query
640 handling.
642 * gst/gstelement.c: (gst_element_send_event),
643 (gst_element_set_state):
644 Add some comment.
646 2005-09-22 Wim Taymans <wim@fluendo.com>
648 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
649 (gst_query_parse_segment):
650 * gst/gstquery.h:
651 More documentation.
652 Add segment query for future use.
654 2005-09-22 Wim Taymans <wim@fluendo.com>
656 * gst/gstbin.c: (gst_bin_add_func):
657 Some more debug info.
659 * gst/gstelement.c: (gst_element_send_event):
660 Simplify send_event
662 * gst/gstelement.h:
663 Don't know how flags got broken.
665 * gst/gstquery.h:
666 Added new query.
668 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
670 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
671 Add simplistic test suite for GST_TYPE_DATE serialisation and
672 deserialisation.
674 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
676 * docs/gst/gstreamer-sections.txt:
677 * gst/gststructure.c: (gst_structure_set_valist),
678 (gst_structure_get_date):
679 * gst/gststructure.h:
680 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
681 (gst_date_copy), (gst_value_compare_date),
682 (gst_value_serialize_date), (gst_value_deserialize_date),
683 (gst_value_transform_date_string),
684 (gst_value_transform_string_date), (_gst_value_initialize):
685 * gst/gstvalue.h:
686 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
687 bunch of utility functions along with a hack that checks that
688 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
689 is required. Part of the grand scheme in #170777.
691 2005-09-22 Andy Wingo <wingo@pobox.com>
693 * gst/gstconfig.h.in: Psych out gtk-doc.
695 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
697 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
699 * tools/gst-inspect.c (print_element_list): Plug some
700 inconsequential leaks.
702 * gst/gstregistry.c (gst_registry_get_default): Doc.
704 * check/gst/gstplugin.c:
705 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
706 * gst/gstelementfactory.c (gst_element_factory_create):
707 * gst/gstindexfactory.c (gst_index_factory_create): Update for
708 refcount changes.
710 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
711 (gst_plugin_feature_load): Doc, don't eat refs.
713 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
714 (gst_plugin_list_free): Doc.
715 (gst_plugin_load_file): Doc updates.
717 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
718 accessors returning refcounted objects, return a ref.
720 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
721 accessor for caps. IDEMPOTENCE. Oh yes.
723 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
725 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
727 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
728 (_gst_debug_register_funcptr):
729 Add mutex to serialise access to the hash table with
730 the function pointer => function name string mapping;
731 make that hash table static scope (#316809).
733 * gst/registries/.cvsignore:
734 Remove left-over file.
736 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
738 * docs/pwg/appendix-porting.xml:
739 And something about newsegment events and caps-on-buffers to
740 the porting guide (feel free to improve).
742 2005-09-21 Andy Wingo <wingo@pobox.com>
744 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
745 data and event probes on the same pad.
746 (test_buffer_probe_once): Test that removing probes from within
747 the probe functions works.
749 2005-09-21 Andy Wingo <wingo@pobox.com>
751 * check/gst/gstutils.c: New file.
752 (test_buffer_probe_n_times): A simple buffer probe test. More to
753 come, foolios.
755 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
756 have-data::buffer, not have-data.
757 (gst_pad_add_event_probe): Likewise for have-data::event.
758 (gst_pad_add_data_probe): More docs. The part about 'resolving the
759 peer' isn't quite right yet though.
760 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
761 (gst_pad_remove_data_probe): Change to take the guint handler_id
762 as their arg, not the function+data, which is more glib-like.
764 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
765 the signal emission to indicate if the data is a buffer or an
766 event.
767 (gst_pad_get_type): Initialize buffer and event quarks.
768 (gst_pad_class_init): have-data is now a detailed signal, yes it
769 is.
771 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
773 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
774 * gst/gstutils.c: (gst_util_set_value_from_string),
775 (gst_util_set_object_arg):
776 Don't put functional code in g_return_if_fail() or
777 g_return_val_if_fail() statements, otherwise things will
778 break when G_DISABLE_CHECKS is defined during compilation.
780 2005-09-21 Stefan Kost <ensonic@users.sf.net>
782 * docs/gst/tmpl/.cvsignore:
783 * docs/gst/tmpl/gstvalue.sgml:
784 * gst/gstvalue.c:
785 * gst/gstvalue.h:
786 inlied another one and added some obvious docs
788 2005-09-21 Wim Taymans <wim@fluendo.com>
790 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
791 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
792 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
793 (gst_fdsrc_get_property), (gst_fdsrc_create):
794 * gst/elements/gstfdsrc.h:
795 Properly implement fdsrc. Removed signal and timeout,
796 better implemented somewhere else.
798 2005-09-21 Stefan Kost <ensonic@users.sf.net>
800 * docs/gst/tmpl/.cvsignore:
801 * docs/gst/tmpl/gstimplementsinterface.sgml:
802 * gst/gstinterface.c:
803 inlined more docs
805 2005-09-21 Stefan Kost <ensonic@users.sf.net>
807 * docs/gst/gstreamer-sections.txt:
808 * docs/gst/tmpl/.cvsignore:
809 * docs/gst/tmpl/gstenumtypes.sgml:
810 remove obsolete doc file
812 2005-09-21 David Schleef <ds@schleef.org>
814 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
815 little beer, fix a little leak.
817 2005-09-21 Stefan Kost <ensonic@users.sf.net>
819 * docs/gst/gstreamer-docs.sgml:
820 * docs/gst/gstreamer-sections.txt:
821 * docs/gst/tmpl/.cvsignore:
822 * gst/Makefile.am:
823 * gst/gst.h:
824 * gst/gstbin.c:
825 * gst/gstelement.h:
826 * gst/gstindex.c: (gst_index_class_init):
827 * gst/gstindex.h:
828 * gst/gstindexfactory.c: (gst_index_factory_get_type),
829 (gst_index_factory_class_init), (gst_index_factory_init),
830 (gst_index_factory_finalize), (gst_index_factory_new),
831 (gst_index_factory_destroy), (gst_index_factory_find),
832 (gst_index_factory_create), (gst_index_factory_make):
833 * gst/gstindexfactory.h:
834 * gst/gstpluginfeature.c:
835 * gst/gstpluginfeature.h:
836 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
837 more docs inlined, splitted gstindex.{c,h}
839 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
841 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
842 fix a leak
844 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
846 * gst/elements/gstfilesink.c: (gst_file_sink_init):
847 Set sync to FALSE by default.
849 2005-09-20 Wim Taymans <wim@fluendo.com>
851 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
852 (gst_base_sink_init):
853 Make sync property settable from subclass.
855 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
856 (gst_fake_sink_change_state):
857 Set sync to FALSE by default.
859 2005-09-20 Wim Taymans <wim@fluendo.com>
861 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
862 * tools/gst-launch.c: (main):
863 The timeout handler should have lower priority than the source
864 so we don't timeout before popping a message with 0 timeout.
865 Dump error messages after failed state change.
867 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
869 * tools/gst-inspect.c: (print_element_properties_info):
870 Fix two typos.
872 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
874 * check/gst/gstevent.c:
875 * gst/elements/gstfakesink.c:
876 * gst/elements/gstfakesink.h:
877 remove the sync property from fakesink.
878 has the side effect of setting sync TRUE
879 for fakesink, which is a change. Anyone who knows how
880 to fix this nicely in a GObject-y way, feel free.
882 2005-09-20 Stefan Kost <ensonic@users.sf.net>
884 * docs/gst/gstreamer-docs.sgml:
885 remove probe refsection
887 2005-09-20 Stefan Kost <ensonic@users.sf.net>
889 * check/Makefile.am:
890 disable valgrinding the controller test again
891 * docs/gst/gstreamer-sections.txt:
892 update for api-changes
894 2005-09-20 Wim Taymans <wim@fluendo.com>
896 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
897 (gst_base_sink_set_property), (gst_base_sink_get_property),
898 (gst_base_sink_do_sync):
899 * gst/base/gstbasesink.h:
900 Added sync property to basesink to disable clock sync.
902 2005-09-20 Andy Wingo <wingo@pobox.com>
904 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
905 eating the caller's refcount.
907 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
908 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
909 refcount.
911 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
912 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
913 of GLib 2.8 public, so we can know which refcount to check in
914 tests.
916 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
917 (gst_object_init): Only set the gst refcount if we're going ahead
918 with the refcount hack.
920 2005-09-20 Stefan Kost <ensonic@users.sf.net>
922 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
923 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
924 more leaks plumbed, added more debug-logging
925 * gst/gstmacros.h:
926 whitespace fix
928 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
930 * gst/gstmessage.c:
931 remove include of gstmemchunk.h
933 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
935 * gst/gstclock.c: (_gst_clock_id_free):
936 Commit from the Political Party For More Atomic CVS Commits,
937 so that people don't waste too much of their day fishing
938 out obvious leaks out of massive commits.
939 Oh, and fix a pretty damn obvious leak in the memchunk
940 removal code.
942 2005-09-20 Stefan Kost <ensonic@users.sf.net>
944 * check/Makefile.am:
945 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
946 plug mem-leak, re-add to valgrindable tests
948 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
950 * gst/gstplugin.h:
951 unbreak the build for those who have chronic arthritis
952 and typing "make check" is just too taxing on the hands
954 2005-09-20 Andy Wingo <wingo@pobox.com>
956 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
957 really want it out, you should fix plugins at the same time.
959 2005-09-19 Stefan Kost <ensonic@users.sf.net>
961 * configure.ac:
962 * docs/gst/gstreamer-sections.txt:
963 * gst/gstobject.c:
964 added missing symbols to api docs
965 disable ref-count hack if we have glib >= 2.8
967 2005-09-19 David Schleef <ds@schleef.org>
969 * docs/gst/Makefile.am: Ignore a few more internal headers
970 * docs/gst/gstreamer-docs.sgml: Remove old sections
971 * docs/gst/gstreamer-sections.txt: Remove old sections
972 * docs/gst/tmpl/gstobject.sgml: update
973 * docs/gst/tmpl/gstplugin.sgml: update
974 * docs/gst/tmpl/gstpluginfeature.sgml: update
975 * docs/random/ds/0.9-suggested-changes: update.
976 * gst/Makefile.am: remove memchunk and trashstack, since they're
977 not used.
978 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
979 * gst/gst.h: don't include some headers
980 * gst/gstchildproxy.c: add gstmarshal.h
981 * gst/gstclock.c: Don't use memchunks
982 * gst/gstminiobject.c: Add some docs
983 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
984 * gst/gstobject.h: same
985 * gst/gstplugin.c: include gstmacros.h
986 * gst/gstplugin.h: don't include gstmacros.h, since it's private
987 * gst/gstquery.c: don't use memchunks
988 * gst/gstregistry.c: rename gst_registry_deinit()
989 * gst/gstregistry.h: same
991 2005-09-19 David Schleef <ds@schleef.org>
993 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
994 * docs/libs/gstreamer-libs-sections.txt:
995 * docs/libs/tmpl/gstgetbits.sgml:
996 * docs/libs/tmpl/gstputbits.sgml:
998 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
1000 * win32/gstenumtypes.c:
1001 * win32/gstenumtypes.h:
1002 Update.
1004 2005-09-19 Wim Taymans <wim@fluendo.com>
1006 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1007 Automatically PAUSE and RESUME a pipeline when a flushing seek
1008 is performed.
1010 2005-09-19 Andy Wingo <wingo@pobox.com>
1012 * gst/gstregistry.h: Spacing fixen.
1014 2005-09-19 Wim Taymans <wim@fluendo.com>
1016 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1017 Handle state change failure more correctly.
1019 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1021 * check/Makefile.am:
1022 * check/pipelines/cleanup.c: (run_pipeline):
1023 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1024 (GST_START_TEST):
1025 enable cleanup again after fixing the leak
1026 * docs/README:
1027 some more info on docs
1029 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1031 * check/Makefile.am:
1032 re-enable tests now that leaks are plugged
1033 * check/gst/gst.c:
1034 * check/gst/gstbin.c:
1035 * check/gst/gstpipeline.c:
1036 add some more tests while fixing leaks
1037 * common/check.mak:
1038 make sure binaries are uptodate when valgrinding/gdbing
1039 * gst/gst.c:
1040 * gst/gstelementfactory.c:
1041 remove a ref too many, and add a FIXME for when we get
1042 round to disposing of classes
1043 * gst/gstplugin.c:
1044 fix the refcounting when loading a plugin from a file and
1045 the code pretends that the pointer is the same even though
1046 of course it can change
1047 * gst/gstpluginfeature.c:
1048 unref plugins marked cached (a bit confusing as a name)
1049 as the docs state should be done
1050 various doc additions to explain refcounting
1051 * gst/gstregistry.c:
1052 * gst/gstregistryxml.c:
1053 debugging
1055 2005-09-19 Wim Taymans <wim@fluendo.com>
1057 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1058 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1059 (send_messages), (GST_START_TEST), (gstbus_suite):
1060 * check/gst/gstpipeline.c: (GST_START_TEST):
1061 * check/pipelines/cleanup.c: (run_pipeline):
1062 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1063 (GST_START_TEST):
1064 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1065 (gst_bus_source_check), (gst_bus_source_dispatch),
1066 (gst_bus_create_watch), (gst_bus_add_watch_full),
1067 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1068 * gst/gstbus.h:
1069 * tools/gst-launch.c: (event_loop):
1070 * tools/gst-md5sum.c: (event_loop):
1071 GstBusHandler -> GstBusFunc, return value has the same meaning as
1072 any other GSource (FALSE == remove source).
1073 _add_watch() and _add_watch_full() now take a MessageType mask to
1074 only handle specific types of messages.
1075 _poll() returns the GstMessage instead of the message type to avoid
1076 race conditions.
1077 _have_pending() takes a MessageType mask now too.
1078 Added testsuite for multiple bus watches.
1079 Fix testsuites and applications for new bus API.
1081 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1083 * check/Makefile.am:
1084 mark a bunch of the tests as to fix until we fix them
1086 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1088 * common/check.mak:
1089 use GST_PLUGIN settings for valgrind tests as well, so we're
1090 valgrinding the correct thing
1091 * gst/gst.c: (init_post):
1092 plug another leak
1094 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1096 * gst/gst.c: (init_post), (gst_deinit):
1097 * gst/gstelementfactory.c: (gst_element_factory_class_init),
1098 (gst_element_factory_finalize), (gst_element_factory_cleanup):
1099 * gst/gstindex.c: (gst_index_factory_class_init),
1100 (gst_index_factory_finalize):
1101 * gst/gstobject.c: (gst_object_dispose):
1102 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1103 (gst_plugin_load_file), (gst_plugin_desc_free):
1104 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1105 (gst_plugin_feature_finalize):
1106 * gst/gstregistry.c: (gst_registry_class_init),
1107 (gst_registry_init), (gst_registry_finalize),
1108 (gst_registry_get_default), (gst_registry_deinit):
1109 * gst/gstregistry.h:
1110 * gst/gstregistryxml.c: (load_feature), (load_plugin):
1111 various cleanups and memleak plugging. make valgrind is happy now.
1113 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1115 * common/check.mak:
1116 add a check-valgrind target
1118 2005-09-18 David Schleef <ds@schleef.org>
1120 * tools/gst-inspect.c: Revert the GOption code.
1122 2005-09-17 David Schleef <ds@schleef.org>
1124 * check/Makefile.am: Fix environment variables.
1125 * check/gst/gstplugin.c: Fix for API changes.
1126 * tools/gst-inspect.c: Fix for API changes.
1127 * tools/gst-xmlinspect.c: Fix for API changes.
1128 * gst/gstelementfactory.c:
1129 * gst/gstplugin.c:
1130 * gst/gstplugin.h:
1131 * gst/gstpluginfeature.c:
1132 * gst/gstpluginfeature.h:
1133 * gst/gstregistry.c:
1134 * gst/gstregistry.h:
1135 * gst/gstregistryxml.c:
1136 * gst/gsttypefind.c:
1137 * gst/gsttypefindfactory.c:
1138 * gst/indexers/gstfileindex.c:
1139 * gst/indexers/gstmemindex.c:
1140 * gst/schedulers/Makefile.am:
1141 Change registry to keep track of both plugins and features,
1142 removing the feature tracking from plugins themselves.
1144 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1146 * check/Makefile.am:
1147 * tools/gst-register.1.in:
1148 remove gst-register
1150 2005-09-15 David Schleef <ds@schleef.org>
1152 * check/gst/gstplugin.c:
1153 * gst/gstelementfactory.c:
1154 * gst/gstplugin.c:
1155 * gst/gstpluginfeature.c:
1156 * gst/gstregistry.c:
1157 Getting tired of debugging. Disabled all the unreffing of
1158 plugins and features, which fixes the segfaults, but of
1159 course leaks like crazy. At least playbin works.
1161 2005-09-15 David Schleef <ds@schleef.org>
1163 * check/gst/gstplugin.c: (register_check_elements),
1164 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1165 More testing
1166 * gst/elements/gsttypefindelement.c: Fix refcounting.
1167 * gst/gsttypefind.c:
1168 * gst/gsttypefindfactory.c:
1169 * gst/gsttypefindfactory.h:
1171 2005-09-15 David Schleef <ds@schleef.org>
1173 * gst/gstindex.c: get refcounting correct.
1174 * gst/gstregistry.c: Handle the case where a feature/plugin is
1175 not found.
1177 2005-09-15 David Schleef <ds@schleef.org>
1179 * check/Makefile.am:
1180 * check/gst/gstplugin.c: Add test
1181 * gst/gstplugin.c: Fix problems noticed by testsuite
1182 * gst/gstplugin.h:
1183 * gst/gstregistry.c:
1184 * gst/gstregistry.h:
1186 2005-09-15 David Schleef <ds@schleef.org>
1188 * gst/gstplugin.c: Implement semi-decent recounting and locking
1189 in plugins and plugin features.
1190 * gst/gstplugin.h:
1191 * gst/gstpluginfeature.c:
1192 * gst/gstpluginfeature.h:
1193 * gst/gstregistry.c:
1195 2005-09-15 Michael Smith <msmith@fluendo.com>
1197 * gst/gstregistry.c: (gst_registry_get_feature_list):
1198 Implement this. Makes oggdemux work; decodebin still broken.
1200 2005-09-14 David Schleef <ds@schleef.org>
1202 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1203 #316076)
1204 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1205 * gst/check/Makefile.am:
1206 * libs/gst/controller/Makefile.am:
1207 * libs/gst/dataprotocol/Makefile.am:
1209 2005-09-14 David Schleef <ds@schleef.org>
1211 * configure.ac: Remove getbits library. Nothing uses it, and
1212 it should be in something like liboil if someone did want
1213 to use it.
1214 * libs/gst/Makefile.am:
1215 * libs/gst/getbits/Makefile.am:
1216 * libs/gst/getbits/gbtest.c:
1217 * libs/gst/getbits/getbits.c:
1218 * libs/gst/getbits/getbits.h:
1219 * libs/gst/getbits/gstgetbits_generic.c:
1220 * libs/gst/getbits/gstgetbits_i386.s:
1221 * libs/gst/getbits/gstgetbits_inl.h:
1223 2005-09-14 David Schleef <ds@schleef.org>
1225 * gst/Makefile.am: Dist glib-compat.h
1227 2005-09-14 David Schleef <ds@schleef.org>
1229 * configure.ac: Remove gst/registries, since it's no longer used.
1230 * gst/registries/Makefile.am:
1231 * gst/registries/gstlibxmlregistry.c:
1232 * gst/registries/gstlibxmlregistry.h:
1233 * gst/registries/gstxmlregistry.c:
1234 * gst/registries/gstxmlregistry.h:
1235 * gst/registries/registrytest.c:
1237 2005-09-14 David Schleef <ds@schleef.org>
1239 * gst/glib-compat.h:
1240 * gst/gstregistryxml.c:
1241 Convergence is near. Seriously.
1243 2005-09-14 David Schleef <ds@schleef.org>
1245 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1246 * gst/glib-compat.h:
1247 Attempt #4 to appease the buildbots.
1249 2005-09-14 David Schleef <ds@schleef.org>
1251 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1252 Attempt #3.
1254 2005-09-14 David Schleef <ds@schleef.org>
1256 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1257 Attempt #2.
1259 2005-09-14 David Schleef <ds@schleef.org>
1261 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1262 the new functions.
1264 2005-09-14 David Schleef <ds@schleef.org>
1266 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1267 * gst/glib-compat.h: Add some functions that are in newer versions
1268 of glib than we care to require.
1269 * gst/gstregistryxml.c: Use them.
1271 2005-09-14 David Schleef <ds@schleef.org>
1273 * po/POTFILES.in: remove gst-register.c
1275 2005-09-14 David Schleef <ds@schleef.org>
1277 * docs/gst/gstreamer-docs.sgml:
1278 * docs/gst/gstreamer-sections.txt:
1279 * docs/gst/gstreamer.types:
1280 * docs/gst/tmpl/gstelement.sgml:
1281 * docs/gst/tmpl/gstplugin.sgml:
1282 * docs/gst/tmpl/gstpluginfeature.sgml:
1283 Documentation updates for registry changes.
1285 2005-09-14 David Schleef <ds@schleef.org>
1287 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1288 because we don't require glib-2.8.
1290 2005-09-14 David Schleef <ds@schleef.org>
1292 * gst/gstregistryxml.c: Added. Essentially moved out of the
1293 registries directory.
1295 2005-09-14 David Schleef <ds@schleef.org>
1297 * check/Makefile.am:
1298 * check/generic/states.c:
1299 * gst/Makefile.am:
1300 * gst/gst.c:
1301 * gst/gst.h:
1302 * gst/gst_private.h:
1303 * gst/gstelementfactory.c:
1304 * gst/gstindex.c:
1305 * gst/gstinfo.c:
1306 * gst/gstplugin.c:
1307 * gst/gstplugin.h:
1308 * gst/gstpluginfeature.c:
1309 * gst/gstpluginfeature.h:
1310 * gst/gstregistry.c:
1311 * gst/gstregistry.h:
1312 * gst/gstregistrypool.c: remove
1313 * gst/gstregistrypool.h: remove
1314 * gst/gsttypefind.c:
1315 * gst/gsttypefindfactory.c:
1316 * gst/gsturi.c:
1317 * tools/Makefile.am:
1318 * tools/gst-compprep.c:
1319 * tools/gst-inspect.c:
1320 * tools/gst-register.c: remove
1321 * tools/gst-xmlinspect.c:
1322 Registry rewrite. Changes registry from being a file created
1323 by a tool into a simple cache file created automatically by
1324 libgstreamer. Removed gst-register (because it's no longer
1325 needed). Remove registry pools, because we only have one
1326 registry implementation (XML). Fix up other subsystems as
1327 necessary.
1329 2005-09-13 Michael Smith <msmith@fluendo.com>
1331 * gst/gstconfig.h.in:
1332 Don't Use windows linking attributes for MinGW. Fixes #316157
1334 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1336 * gst/gstutils.c: (set_state_async_thread_func),
1337 (gst_element_set_state_async):
1338 Apparently people think it's better if this function doesn't
1339 try to set the state to whatever state was asked for on the first
1340 call to this function for any object. Seriously.
1342 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1344 * check/gst/gstpipeline.c: (GST_START_TEST):
1345 * docs/gst/gstreamer-sections.txt:
1346 * gst/gstutils.c: (set_state_async_thread_func),
1347 (gst_element_set_state_async):
1348 * gst/gstutils.h:
1349 add a "gst_element_set_state_async" method that
1350 sets the state and starts a thread to make sure the state
1351 change completes as best as it can
1353 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1355 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1356 codify design+behaviour in testsuite after discussion
1358 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1360 * docs/gst/tmpl/gstelement.sgml:
1361 * docs/manual/appendix-quotes.xml:
1362 add a quote
1363 * gst/gstelement.c: (gst_element_set_state):
1364 add some debug
1366 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1368 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1369 (gst_base_transform_prepare_output_buf),
1370 (gst_base_transform_handle_buffer):
1371 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1372 (gst_capsfilter_prepare_buf):
1373 Remove the requirement for sub-classes to call the parent
1374 implementation of prepare_output_buffer with a wrapper function.
1376 * gst/gsttaglist.h:
1377 * gst/gsttagsetter.h:
1378 Fix #define wrapper
1380 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1382 * docs/gst/gstreamer-sections.txt:
1383 more doc cleanups
1385 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1387 * docs/gst/gstreamer-sections.txt:
1388 * docs/gst/tmpl/gstelement.sgml:
1389 * docs/gst/tmpl/gstplugin.sgml:
1390 * gst/gstminiobject.c:
1391 * gst/gstvalue.h:
1392 docs now stop throwing warnings
1394 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1396 * docs/gst/gstreamer-sections.txt:
1397 * docs/gst/gstreamer.types:
1398 * docs/gst/tmpl/gstpad.sgml:
1399 * docs/gst/tmpl/gsttypes.sgml:
1400 * gst/base/gstadapter.h:
1401 * gst/base/gstbasesink.h:
1402 * gst/base/gstbasesrc.h:
1403 * gst/gstbin.h:
1404 * gst/gstbuffer.h:
1405 * gst/gstbus.h:
1406 * gst/gstcaps.h:
1407 * gst/gstclock.h:
1408 * gst/gstelement.h:
1409 * gst/gstevent.h:
1410 * gst/gstmessage.h:
1411 * gst/gstpad.h:
1412 * gst/gststructure.c:
1413 * gst/registries/gstlibxmlregistry.h:
1414 various documentation fixes
1416 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1418 * docs/gst/gstreamer-sections.txt:
1419 * docs/gst/tmpl/gstvalue.sgml:
1420 rearrange gstvalue section
1421 * gst/gstutils.c: (gst_element_state_get_name):
1422 NONE -> VOID
1423 * gst/gstvalue.c: (_gst_value_initialize):
1424 * gst/gstvalue.h:
1425 doc updates
1427 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1429 * check/gst-libs/controller.c:
1430 Header include fix.
1431 * gst/base/gstbasetransform.c:
1432 (gst_base_transform_default_prepare_buf),
1433 (gst_base_transform_handle_buffer):
1434 * gst/base/gstbasetransform.h:
1435 Some more basetransform changes and fixes to enable sub-classes
1436 that modify buffer metadata only.
1437 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1438 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1439 (gst_capsfilter_prepare_buf):
1440 If the output pad has fixed allowed caps and input buffers
1441 don't have any, set the fixed caps on outgoing buffers.
1443 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1444 * check/elements/identity.c: (GST_START_TEST):
1445 Make the error a little clearer when the test fails because
1446 identity made a copy of the buffer.
1447 * docs/gst/gstreamer-sections.txt:
1448 New symbols in gstbasetransform.h
1449 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1450 (gst_base_transform_init), (gst_base_transform_transform_size),
1451 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1452 (gst_base_transform_default_prepare_buf),
1453 (gst_base_transform_get_unit_size),
1454 (gst_base_transform_buffer_alloc),
1455 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1456 (gst_base_transform_change_state),
1457 (gst_base_transform_set_passthrough),
1458 (gst_base_transform_set_in_place),
1459 (gst_base_transform_is_in_place):
1460 * gst/base/gstbasetransform.h:
1461 Change BaseTransform to separate in_place operate from same_caps
1462 output. in_place implies that the element can perform the transform
1463 on incoming buffers in-place, even if the caps on the output are
1464 different.
1465 Sub-class elements can now implement special buffer allocation
1466 methods for outgoing buffers if they wish to.
1467 Big documentation addition.
1468 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1469 * gst/elements/gstelements.c:
1470 Changes for basetransform modifications.
1471 * gst/elements/Makefile.am:
1472 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1473 Compile fix. Extra debug output.
1475 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1477 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1478 (gst_pad_suite):
1479 add tests for valid pad naming
1480 * gst/check/gstcheck.c: (gst_check_log_message_func),
1481 (gst_check_log_critical_func):
1482 add ASSERT_WARNING
1483 remove printing of code, it is fragile when the code contains
1484 % and the line number is enough info
1485 * gst/check/gstcheck.h:
1486 * gst/gstpad.c: (gst_pad_template_new):
1487 fix memleaks
1489 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1491 * configure.ac:
1492 say what CHECK flags we use
1493 * docs/libs/gstreamer-libs.types:
1494 * libs/gst/controller/Makefile.am:
1495 * libs/gst/controller/gst-controller.c:
1496 * libs/gst/controller/gst-controller.h:
1497 * libs/gst/controller/gst-helper.c:
1498 * libs/gst/controller/gst-interpolation.c:
1499 * libs/gst/controller/gstcontroller.c:
1500 * libs/gst/controller/gsthelper.c:
1501 * libs/gst/controller/gstinterpolation.c:
1502 * tools/gst-inspect.c: (print_plugin_info):
1503 we don't use dashes in header names
1505 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1507 * check/Makefile.am:
1508 * check/gst/.cvsignore:
1509 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1510 (gst_pipeline_suite), (main):
1511 adding a test for pipelines and state changes
1512 * gst/gstutils.c: (get_state_func):
1513 add some debugging
1514 * gstreamer.spec.in:
1515 fix up spec file
1517 2005-09-08 Michael Smith <msmith@fluendo.com>
1519 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1520 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1521 (gst_file_src_is_seekable), (gst_file_src_get_size),
1522 (gst_file_src_start):
1523 * gst/elements/gstfilesrc.h:
1524 Various fixes for unseekable, unmmapable, and non-normal files, so
1525 that fallback to read() rather than mmap() works.
1526 * gst/gstevent.c: (gst_event_new_newsegment):
1527 Allow newsegment events with segment_start == segment_end, as will
1528 correctly happen if you use filesrc on a zero-size file, for
1529 example.
1531 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1533 * gst/gstplugin.c: (gst_plugin_load_file):
1534 Call g_module_close when we don't load the module
1536 * gst/registries/gstlibxmlregistry.c:
1537 (gst_xml_registry_get_property):
1538 Port leak fix from 0.8
1540 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1542 * docs/gst/gstreamer-docs.sgml:
1543 * docs/gst/tmpl/.cvsignore:
1544 * docs/gst/tmpl/gsttrace.sgml:
1545 * docs/gst/tmpl/gsttrashstack.sgml:
1546 * gst/Makefile.am:
1547 * gst/gst.h:
1548 * gst/gstelement.h:
1549 * gst/gstevent.h:
1550 * gst/gstmessage.c:
1551 * gst/gstmessage.h:
1552 * gst/gsttag.c:
1553 * gst/gsttag.h:
1554 * gst/gsttaginterface.c:
1555 * gst/gsttaginterface.h:
1556 * gst/gsttaglist.c:
1557 * gst/gsttaglist.h:
1558 * gst/gsttagsetter.c:
1559 * gst/gsttagsetter.h:
1560 * gst/gsttrace.c:
1561 * gst/gsttrace.h:
1562 * gst/gsttrashstack.c:
1563 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1564 inlined docs for gsttrace, gsttrashstack
1566 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1568 * gst/Makefile.am:
1569 * gst/elements/gstbufferstore.h:
1570 * gst/elements/gsttypefindelement.c:
1571 * gst/elements/gsttypefindelement.h:
1572 * gst/gst.h:
1573 * gst/gsttypefind.c:
1574 * gst/gsttypefind.h:
1575 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1576 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1577 (gst_type_find_factory_dispose),
1578 (gst_type_find_factory_unload_thyself),
1579 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1580 (gst_type_find_factory_get_caps),
1581 (gst_type_find_factory_get_extensions),
1582 (gst_type_find_factory_call_function):
1583 * gst/gsttypefindfactory.h:
1584 * gst/registries/gstlibxmlregistry.c:
1585 * gst/registries/gstxmlregistry.c:
1586 splitted gsttypefind into gsttypefind, gsttypefindfactory
1588 2005-09-07 Andy Wingo <wingo@pobox.com>
1590 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1591 condition whereby the pad's task function is entered before the
1592 pad_mode variable was set.
1594 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1596 * gst/gstpad.c: (gst_pad_alloc_buffer):
1597 Catch misbehaving pad_alloc functions that don't
1598 set up caps and do it for them.
1600 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1602 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1603 test for pipe!=NULL
1604 * docs/gst/tmpl/.cvsignore:
1605 * docs/gst/tmpl/gstmemchunk.sgml:
1606 * docs/gst/tmpl/gstparse.sgml:
1607 * docs/gst/tmpl/gsttaglist.sgml:
1608 * docs/gst/tmpl/gsttagsetter.sgml:
1609 * docs/gst/tmpl/gsttypefind.sgml:
1610 * docs/gst/tmpl/gsttypefindfactory.sgml:
1611 * gst/gstmemchunk.c:
1612 * gst/gstparse.c:
1613 * gst/gsttag.c:
1614 * gst/gsttaginterface.c:
1615 * gst/gsttypefind.c:
1616 * gst/gsttypefind.h:
1617 inlined more docs
1619 === release 0.9.2 ===
1621 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1623 * NEWS:
1624 * RELEASE:
1625 * configure.ac:
1626 releasing 0.9.2, "South"
1628 2005-09-05 Andy Wingo <wingo@pobox.com>
1630 * gst/registries/gstxmlregistry.h:
1631 * gst/registries/gstxmlregistry.c: Um... resurrect...
1633 * gst/registries/gstxmlregistry.h:
1634 * gst/registries/gstxmlregistry.c: and update to newer API.
1635 Incidentally they should be a bit faster now that they don't have
1636 to parse the caps.
1638 2005-09-05 Andy Wingo <wingo@pobox.com>
1640 * gst/registries/gstxmlregistry.h:
1641 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1642 replaced by the libxml registry a while back
1644 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1646 * docs/gst/tmpl/gstplugin.sgml:
1647 * gst/elements/gstelements.c:
1648 * gst/gst.c:
1649 * gst/gstplugin.c: (gst_plugin_register_func),
1650 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1651 (gst_plugin_get_source):
1652 * gst/gstplugin.h:
1653 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1654 (gst_xml_registry_save_plugin):
1655 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1656 (gst_xml_registry_save_plugin):
1657 * tools/gst-inspect.c: (print_plugin_info):
1658 add a "source" plugin description field, to represent the source
1659 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1660 will set it to PACKAGE, which is automake's idea of the name of
1661 the source project.
1663 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1665 * Makefile.am:
1666 * autogen.sh:
1667 * configure.ac:
1668 * docs/Makefile.am:
1669 * docs/faq/Makefile.am:
1670 * docs/gst/tmpl/gstelement.sgml:
1671 * docs/gst/tmpl/gsttypes.sgml:
1672 * docs/htmlinstall.mak:
1673 * docs/manual/Makefile.am:
1674 * docs/pwg/Makefile.am:
1675 reorganize doc build a little
1676 split out docbook and gtk-doc stuff
1677 have two separate --enable's and enable them through autogen
1678 but disable by default in configure (to be similar to other
1679 projects)
1680 * gstreamer.spec.in:
1681 clean up docs install
1682 * po/af.po:
1683 * po/az.po:
1684 * po/ca.po:
1685 * po/cs.po:
1686 * po/de.po:
1687 * po/en_GB.po:
1688 * po/fr.po:
1689 * po/it.po:
1690 * po/nb.po:
1691 * po/nl.po:
1692 * po/ru.po:
1693 * po/sq.po:
1694 * po/sr.po:
1695 * po/sv.po:
1696 * po/tr.po:
1697 * po/uk.po:
1698 * po/vi.po:
1699 translation updates
1701 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
1703 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1704 Add comment.
1706 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1707 (gst_fake_sink_change_state):
1708 Make state change function thread-safe.
1710 * gst/gstpad.c: (gst_pad_alloc_buffer):
1711 Set offset on generic buffer allocated by fallback.
1713 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1715 * docs/gst/gstreamer-sections.txt:
1716 * docs/gst/tmpl/gstelement.sgml:
1717 * gst/gstpad.c:
1718 * libs/gst/controller/gst-controller.c:
1719 (gst_controlled_property_set_interpolation_mode),
1720 (gst_controlled_property_new),
1721 (gst_controller_find_controlled_property):
1722 run the wingo-magic script against the docs
1724 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1726 * docs/gst/gstreamer-docs.sgml:
1727 * docs/gst/gstreamer-sections.txt:
1728 * docs/gst/tmpl/.cvsignore:
1729 * docs/gst/tmpl/gstelementdetails.sgml:
1730 * docs/gst/tmpl/gstelementfactory.sgml:
1731 * gst/gst.c:
1732 * gst/gstbus.c:
1733 * gst/gstelementfactory.c:
1734 * gst/gstelementfactory.h:
1735 merged elementdetails docs into elementfactory docs
1736 inlined both
1738 2005-09-02 Andy Wingo <wingo@pobox.com>
1740 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1741 consider this enum an enum and not a flags.
1743 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1745 * docs/gst/gstreamer-docs.sgml:
1746 * docs/gst/tmpl/.cvsignore:
1747 * docs/gst/tmpl/gstghostpad.sgml:
1748 * docs/gst/tmpl/gstiterator.sgml:
1749 * docs/gst/tmpl/gstmacros.sgml:
1750 * docs/gst/tmpl/gstrealpad.sgml:
1751 * docs/gst/tmpl/gstregistry.sgml:
1752 * docs/gst/tmpl/gstregistrypool.sgml:
1753 * docs/gst/tmpl/gststructure.sgml:
1754 * docs/gst/tmpl/gstsystemclock.sgml:
1755 * docs/gst/tmpl/gsttrace.sgml:
1756 * gst/gstghostpad.c:
1757 * gst/gstmacros.h:
1758 * gst/gstmemchunk.c:
1759 * gst/gstmemchunk.h:
1760 * gst/gstqueue.c:
1761 * gst/gstregistry.c:
1762 * gst/gstregistrypool.c:
1763 * gst/gststructure.c:
1764 * gst/gstsystemclock.c:
1765 more docs inlined
1767 2005-09-02 Andy Wingo <wingo@pobox.com>
1769 * gst/gstelement.h (GstState): Renamed from GstElementState,
1770 changed to be a normal enum instead of flags.
1771 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1772 munged to be GST_STATE_CHANGE_*.
1773 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1774 work with the new state representation.
1775 (GstStateChange): New enumeration of possible state transitions.
1776 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1777 (GstElementClass::change_state): Pass the GstStateChange along as
1778 an argument. Helps language bindings, so they don't have to use
1779 tricky lock-needing macros like GST_STATE_CHANGE ().
1781 * scripts/update-states (file): New script. Run it on a file to
1782 update it for state naming and API changes. Updates files in
1783 place.
1785 * All files updated for the new API.
1787 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1789 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1790 * gst/gstutils.c: (gst_util_set_value_from_string),
1791 (gst_util_set_object_arg):
1792 fix a bunch of unchecked return values
1793 * tools/gst-complete.c: (main):
1794 * gstreamer.spec.in:
1795 clean up a little
1797 2005-09-01 Wim Taymans <wim@fluendo.com>
1799 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1800 (gst_base_sink_event), (gst_base_sink_do_sync),
1801 (gst_base_sink_handle_event):
1802 * gst/base/gstbasesink.h:
1803 Handle newsegments more correctly.
1805 * gst/gstbus.c:
1806 Fix docs.
1808 * gst/gstevent.c: (gst_event_new_newsegment):
1809 A newsegment cannot have a start_time of -1
1811 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
1813 * win32/gstenumtypes.c:
1814 * win32/gstenumtypes.h:
1815 Update
1817 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1819 * libs/gst/controller/gst-controller.c:
1820 (gst_controlled_property_set_interpolation_mode),
1821 (gst_controlled_property_new):
1822 fixed boolean again
1824 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
1826 * docs/faq/gst-uninstalled:
1827 add -good
1828 * gst/gstevent.c:
1829 * gst/gstevent.h:
1830 remove wrong docs
1831 * gst/gstutils.c: (gst_element_link_filtered):
1832 * gst/gstutils.h:
1833 add gst_element_link_filtered
1835 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1837 * docs/gst/gstreamer-docs.sgml:
1838 * docs/gst/gstreamer-sections.txt:
1839 * docs/gst/tmpl/.cvsignore:
1840 * docs/gst/tmpl/gsterror.sgml:
1841 * docs/gst/tmpl/gstfilter.sgml:
1842 * docs/gst/tmpl/gsturihandler.sgml:
1843 * docs/gst/tmpl/gsturitype.sgml:
1844 * docs/gst/tmpl/gstutils.sgml:
1845 * docs/gst/tmpl/gstxml.sgml:
1846 * gst/gsterror.c:
1847 * gst/gsterror.h:
1848 * gst/gstfilter.c:
1849 * gst/gsturi.c:
1850 * gst/gsturitype.c:
1851 * gst/gstutils.c:
1852 * gst/gstxml.c:
1853 inlined more docs, fixed double id-ref
1855 2005-08-31 Wim Taymans <wim@fluendo.com>
1857 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1858 (gst_base_transform_handle_buffer):
1859 Passthrough elements don't need the caps as they don't care.
1861 2005-08-31 Wim Taymans <wim@fluendo.com>
1863 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1864 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
1865 Don't leak refcounts on buffers.
1867 2005-08-31 Wim Taymans <wim@fluendo.com>
1869 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
1870 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
1871 (gst_base_transform_chain), (gst_base_transform_change_state):
1872 * gst/base/gstbasetransform.h:
1873 Handle the case where we are not negotiated more gracefully.
1875 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
1877 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
1878 (gst_file_src_map_region):
1879 Set READONLY flag on mmap'ed buffers, otherwise
1880 gst_buffer_make_writable() won't work properly (#314708).
1882 2005-08-31 Wim Taymans <wim@fluendo.com>
1884 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
1885 passthrough elements can even do inplace on non writable
1886 buffers (as they don't touch them).
1888 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1890 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1891 (gst_test_mono_source_set_property),
1892 (gst_test_mono_source_class_init), (GST_START_TEST),
1893 (gst_controller_suite):
1894 more tests (hehe I have the most)
1895 * gst/gstbus.c:
1896 describe popping messages whenusing mulltiple sources
1897 * libs/gst/controller/gst-controller.c:
1898 (gst_controlled_property_set_interpolation_mode),
1899 (gst_controlled_property_new):
1900 * libs/gst/controller/gst-controller.h:
1901 * libs/gst/controller/gst-interpolation.c:
1902 implement boolean properties
1904 2005-08-31 Wim Taymans <wim@fluendo.com>
1906 * gst/gstminiobject.c: (gst_mini_object_ref):
1907 Cannot assert that the refcount has to be positive
1908 since a disposed object can be resurrected.
1910 2005-08-31 Wim Taymans <wim@fluendo.com>
1912 * gst/gstpad.c: (gst_pad_init):
1913 Revert change, need to first fix badly behaving
1914 apps.
1916 2005-08-30 Wim Taymans <wim@fluendo.com>
1918 * check/elements/fakesrc.c: (setup_fakesrc):
1919 * check/elements/identity.c: (setup_identity):
1920 Activate pads before using them.
1922 2005-08-30 Wim Taymans <wim@fluendo.com>
1924 * gst/base/gstadapter.c: (gst_adapter_flush):
1925 Flushing out 0 bytes is ok for this function.
1927 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1928 no newsegment gives a warning and sets the start/stop to
1929 invalid.
1931 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
1932 (gst_base_transform_set_passthrough):
1933 Some debug info.
1935 * gst/gstminiobject.c: (gst_mini_object_ref):
1936 Check refcount here too.
1938 * gst/gstpad.c: (gst_pad_init):
1939 Pads are initially flushing and refusing data.
1941 * gst/gstutils.c: (gst_element_link_pads_filtered):
1942 When adding a capsfilter element make sure it has the
1943 same state as the parent bin.
1945 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1947 * docs/gst/tmpl/.cvsignore:
1948 * docs/gst/tmpl/gstformat.sgml:
1949 * docs/gst/tmpl/gstversion.sgml:
1950 * gst/gstbus.h:
1951 * gst/gstformat.c:
1952 * gst/gstformat.h:
1953 * gst/gstversion.h.in:
1954 more docs and two more inlined
1956 2005-08-30 Wim Taymans <wim@fluendo.com>
1958 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
1959 Don't sync to clock.
1961 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1963 * docs/gst/gstreamer-sections.txt:
1964 ultral33t func10ns deserve to appear in the docs actually
1965 * docs/gst/tmpl/.cvsignore:
1966 * docs/gst/tmpl/gstcompat.sgml:
1967 * docs/gst/tmpl/gstconfig.sgml:
1968 * gst/check/gstcheck.c:
1969 * gst/gstcompat.h:
1970 * gst/gstconfig.h.in:
1971 inlined more docs
1973 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1975 * docs/gst/tmpl/.cvsignore:
1976 * docs/gst/tmpl/gstquery.sgml:
1977 * docs/gst/tmpl/gstutils.sgml:
1978 * gst/gstquery.c:
1979 * gst/gstquery.h:
1980 inlined and extended docs
1982 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1984 * check/gst-libs/controller.c: (GST_START_TEST),
1985 (gst_controller_suite):
1986 more tests
1987 * docs/gst/tmpl/gstutils.sgml:
1988 * docs/libs/gstreamer-libs-sections.txt:
1989 * docs/libs/tmpl/gstdataprotocol.sgml:
1990 include path fixes
1991 * examples/controller/audio-example.c: (main):
1992 controller example works now
1993 * gst/gstclock.h:
1994 doc fixes
1995 * tools/gst-inspect.c: (print_element_properties_info):
1996 show param spec flags
1998 2005-08-29 Andy Wingo <wingo@pobox.com>
2000 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2002 2005-08-28 Andy Wingo <wingo@pobox.com>
2004 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2005 as having two arguments instead of just one. Allows superclasses
2006 to access information on subclasses -- see the terrible for() loop
2007 in gtype.c:g_type_create_instance for the reason why. All callers
2008 changed.
2010 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2012 * docs/design/part-messages.txt:
2013 update info
2014 * docs/gst/tmpl/.cvsignore:
2015 * docs/gst/tmpl/gstcaps.sgml:
2016 * docs/gst/tmpl/gstclock.sgml:
2017 * gst/gstbus.c:
2018 * gst/gstcaps.c:
2019 * gst/gstcaps.h:
2020 * gst/gstclock.c:
2021 * gst/gstclock.h:
2022 * gst/gstmessage.c:
2023 added descriptions for bus and message
2024 inline caps and clock docs
2026 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2028 * gst/gstmessage.c:
2029 * gst/gstmessage.h:
2030 doc fixes
2032 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2034 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2035 fix div-by-zero
2037 2005-08-26 Andy Wingo <wingo@pobox.com>
2039 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2040 element_set_state's return val.
2041 (test_2_elements): Add test that's been disabled for months.
2043 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2044 can-activate-pull properties.
2046 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2047 can-activate-pull properties. Implement is_seekable so fakesrc can
2048 operate in pull mode.
2050 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2051 properties.
2052 (gst_base_sink_activate, gst_base_sink_activate_pull)
2053 (gst_base_sink_activate_push): Make activation mode choosing work.
2054 Cleanups.
2055 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2056 is right. Make pull mode work. Post an eos before pausing in pull
2057 mode.
2058 (gst_base_sink_change_state): Pay attention to the core's
2059 change_state() return val.
2061 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2062 has-getrange properties. Cleanups.
2064 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2065 has_getrange and replace with can_activate_pull and
2066 can_activate_push.
2068 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2069 locking comments. Remove has_loop, has_chain and replace with
2070 can_activate_pull and can_activate_push.
2072 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
2074 * configure.ac:
2075 * examples/Makefile.am:
2076 * examples/metadata/Makefile.am:
2077 * examples/metadata/read-metadata.c: (message_loop),
2078 (have_pad_handler), (make_pipeline), (print_tag), (main):
2079 Add metadata reading example that loops over a list of filenames,
2080 dumping any tags found.
2082 * gst/gstbus.c: (gst_bus_dispose):
2083 * gst/gstelement.c: (gst_element_dispose):
2084 Release a few potentially-held references in dispose.
2086 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2088 * docs/gst/tmpl/gstminiobject.sgml:
2089 do *not* add tmpl/*.sgml files to CVS!
2091 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2093 * libs/gst/bytestream/.cvsignore:
2094 * libs/gst/bytestream/Makefile.am:
2095 * libs/gst/bytestream/adapter.c:
2096 * libs/gst/bytestream/adapter.h:
2097 * libs/gst/bytestream/bytestream.c:
2098 * libs/gst/bytestream/bytestream.h:
2099 * libs/gst/bytestream/filepad.c:
2100 * libs/gst/bytestream/filepad.h:
2101 removing obsolete files
2103 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2105 * docs/gst/gstreamer-docs.sgml:
2106 * docs/libs/gstreamer-libs-docs.sgml:
2107 disabed additional index entries again, as this makes docs-gen just
2108 slow and they aren't useful yet
2109 * docs/libs/gstreamer-libs-sections.txt:
2110 little -section.txt cleanup for libs
2112 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
2114 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2115 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2116 fix up some debugging
2117 (gst_base_transform_get_unit_size),
2118 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2119 (gst_base_transform_handle_buffer):
2120 * gst/base/gstbasetransform.h:
2121 handle and store timed NEWSEGMENT events so that subclasses that
2122 calculate time by counting samples have a segment_start time they
2123 need to add to their timestamps - see audioresample
2125 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2127 * gst/gstbin.h:
2128 removed ';' from the end of macro defs
2129 * docs/gst/gstreamer-docs.sgml:
2130 * docs/gst/gstreamer-sections.txt:
2131 * docs/gst/tmpl/.cvsignore:
2132 * gst/gstbus.h:
2133 * gst/gstelement.c: (gst_element_class_init),
2134 (gst_element_set_state), (activate_pads),
2135 (gst_element_save_thyself):
2136 * gst/gstevent.c: (gst_event_new_newsegment):
2137 * gst/gstevent.h:
2138 * gst/gstiterator.c:
2139 * gst/gstiterator.h:
2140 * gst/gstpad.c:
2141 * gst/gstprobe.h:
2142 * gst/gstutils.c: (gst_pad_query_convert):
2143 * gst/gstutils.h:
2144 fixed parameter name mismatches between source, header and docs
2145 added some more docs, resolved the last batch of unused elements in
2146 docs (now someone needs to doc them)
2148 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2150 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2151 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2152 don't walk through the plugins backwards. Where is all this
2153 reversed logic coming from ?
2155 2005-08-25 Wim Taymans <wim@fluendo.com>
2157 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2158 (gst_base_transform_transform_size),
2159 (gst_base_transform_configure_caps),
2160 (gst_base_transform_get_unit_size),
2161 (gst_base_transform_buffer_alloc),
2162 (gst_base_transform_change_state):
2163 * gst/base/gstbasetransform.h:
2164 Cache caps unit_size.
2165 Make sure we cannot negotiate up and downstream at the
2166 same time.
2168 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2170 * gst/gst.c: (init_pre), (init_post):
2171 register the installed plugin path after the env var
2172 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2173 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2174 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2175 directories, so the tests can prefer uninstalled over installed
2177 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2179 * gst/base/gstbasetransform.h:
2180 comment
2181 * gst/gstpad.c:
2182 add to docs
2184 2005-08-25 Wim Taymans <wim@fluendo.com>
2186 * gst/gstbin.c: (bin_bus_handler):
2187 Be a bit more conservative about the posted message.
2189 * gst/gstbus.c: (gst_bus_post):
2190 Some cleanups, warn wrong return values.
2192 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
2194 * check/gst/gstbin.c: (GST_START_TEST):
2195 * gst/gstbin.c: (bin_bus_handler):
2196 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2197 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2198 (gst_message_new_warning), (gst_message_new_tag),
2199 (gst_message_new_state_changed), (gst_message_new_segment_start),
2200 (gst_message_new_segment_done), (gst_message_new_custom):
2201 * gst/gstmessage.h:
2202 * tools/gst-launch.c: (event_loop):
2203 * tools/gst-md5sum.c: (event_loop):
2204 Revert unpopular change for GST_MESSAGE_SRC to GObject.
2206 2005-08-25 Wim Taymans <wim@fluendo.com>
2208 * check/generic/states.c: (GST_START_TEST):
2209 Cleanup can be done at the end.
2211 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2212 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2213 (gst_task_get_state), (gst_task_start), (gst_task_pause):
2214 Oh boy.. Thanks for finding this, Thomas.
2216 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2218 * docs/gst/gstreamer.types:
2219 added missing types
2221 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2223 * docs/gst/gstreamer-docs.sgml:
2224 * docs/gst/gstreamer-sections.txt:
2225 * docs/gst/tmpl/.cvsignore:
2226 * gst/gstbin.c:
2227 * gst/gstiterator.c:
2228 * gst/gstutils.c:
2229 * gst/registries/gstxmlregistry.h:
2230 added missing classes and symbols (123 more to go)
2231 removed removed symbols from section file
2232 fixed many doc-comments
2234 2005-08-24 Wim Taymans <wim@fluendo.com>
2236 * check/generic/states.c: (GST_START_TEST):
2237 Make sure all tasks are stopped.
2239 * check/gst/gstbin.c: (GST_START_TEST):
2240 Unref after usage for proper valgrinding.
2242 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2243 Really wait for the task to stop before destroying the
2244 mutex.
2246 * gst/gstqueue.c: (gst_queue_sink_activate_push),
2247 (gst_queue_src_activate_push):
2248 Small cleanups. Don't stop the task when we did not start
2249 it.
2251 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2252 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2253 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2254 (gst_task_join):
2255 * gst/gsttask.h:
2256 Protect the stream lock with the object lock.
2257 Disallow setting the stream lock when running.
2258 Add cleanup_all to wait for the threadpool to finish.
2259 Remove code to autoallocate a mutex if none was provided.
2260 Add _join() to wait for a task to stop.
2261 Protect the thread pool with a global lock.
2263 2005-08-24 Wim Taymans <wim@fluendo.com>
2265 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2266 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2267 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2268 * gst/base/gstbasesink.h:
2269 Handle newsegment events correctly.
2270 Drop buffers out of the segment range.
2272 2005-08-22 Andy Wingo <wingo@pobox.com>
2274 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2275 macro, implements an interface and gstimplementsinterface for a
2276 new type.
2278 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2280 * check/Makefile.am:
2281 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2282 add a test that does a bunch of state changes on elements
2283 needs some fixing for valgrind
2284 * check/states/sinks.c: (gst_object_suite):
2285 whitespace
2286 * gst/gstcaps.h:
2287 add prototype for gst_caps_is_equal_fixed
2288 * gst/gstplugin.c:
2289 * gst/gstregistrypool.c:
2290 doc fixes
2292 2005-08-24 Andy Wingo <wingo@pobox.com>
2294 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2295 convert a negative value. Doesn't make much sense. Mostly this is
2296 here to force callers to ensure -1 maps to -1.
2298 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2300 * docs/pwg/advanced-types.xml:
2301 Well done to Michael for catching my deliberate introduction
2302 of this spelling mistake.
2303 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2304 * gst/gstelement.h:
2305 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2306 unlink pads before removing the element from the bin.
2308 2005-08-24 Andy Wingo <wingo@pobox.com>
2310 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2311 the same thing as GST_DEBUG=*:4.
2312 (parse_debug_level, parse_debug_category): New helper parsers.
2314 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2316 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2317 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2318 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2319 (gst_base_transform_buffer_alloc),
2320 (gst_base_transform_handle_buffer):
2321 use gboolean return values and pointers to size so we can use the
2322 full GST_BUFFER_SIZE range (guint) for buffer sizes
2323 use GstPadDirection for transform_caps
2324 * gst/base/gstbasetransform.h:
2325 rename get_size to get_unit_size since that's what it is
2326 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2327 use GstPadDirection for transform_caps
2328 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2329 * gst/gstutils.h:
2330 cleanup and debugging
2332 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2334 * gst/gstelement.c: (gst_element_class_init),
2335 (gst_element_set_state), (activate_pads),
2336 (gst_element_save_thyself):
2337 * tools/gst-compprep.c: (main):
2338 * tools/gst-inspect.c: (print_element_properties_info):
2339 * tools/gst-xmlinspect.c: (print_element_properties):
2340 Fixed long standing mem-leak
2342 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2344 * check/gst/gstbin.c: (GST_START_TEST):
2345 * gst/gstbin.c: (bin_bus_handler):
2346 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2347 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2348 (gst_message_new_warning), (gst_message_new_tag),
2349 (gst_message_new_state_changed), (gst_message_new_segment_start),
2350 (gst_message_new_segment_done), (gst_message_new_custom):
2351 * gst/gstmessage.h:
2352 * tools/gst-launch.c: (event_loop):
2353 * tools/gst-md5sum.c: (event_loop):
2354 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2355 that applications can sensibly post custom messages with references
2356 to their own objects.
2358 2005-08-24 Andy Wingo <wingo@pobox.com>
2360 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2361 already.
2363 2005-08-24 Wim Taymans <wim@fluendo.com>
2365 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2366 (gst_base_transform_transform_caps),
2367 (gst_base_transform_transform_size),
2368 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2369 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2370 (gst_base_transform_handle_buffer):
2371 * gst/base/gstbasetransform.h:
2372 Many fixes and new features added by Thomas. Can now also do
2373 transforms with variable sizes and a custom fixate_caps function.
2375 2005-08-24 Wim Taymans <wim@fluendo.com>
2377 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2378 Some debugging.
2380 * gst/gstclock.h:
2381 Cast to ClockTime before formatting to time.
2383 * gst/gstutils.h:
2384 Cleanups.
2386 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2388 * check/gst-libs/controller.c: (GST_START_TEST),
2389 (gst_controller_suite):
2390 * docs/gst/tmpl/gstcaps.sgml:
2391 * docs/gst/tmpl/gstghostpad.sgml:
2392 * docs/gst/tmpl/gstquery.sgml:
2393 * docs/gst/tmpl/gstutils.sgml:
2394 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2395 (gst_object_sink_values), (gst_object_get_value_arrays),
2396 (gst_object_get_value_array):
2397 gracefully handle helper method calls to objects that are not beeing
2398 controlled, added test case for that
2400 2005-08-23 Wim Taymans <wim@fluendo.com>
2402 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2403 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2404 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2405 (gst_event_parse_qos), (gst_event_new_seek),
2406 (gst_event_parse_seek):
2407 * gst/gstevent.h:
2408 Some more debugging output and doc cleanups.
2410 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2411 Fix possible deadlock.
2413 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2415 * docs/gst/gstreamer-docs.sgml:
2416 * docs/gst/gstreamer-sections.txt:
2417 * docs/gst/gstreamer.types:
2418 * docs/gst/tmpl/.cvsignore:
2419 * gst/gstbin.h:
2420 * gst/gstbus.c:
2421 * gst/gstelement.c:
2422 * gst/gstevent.h:
2423 added 100 symbols from gstreamer-unused.txt to the right sections
2424 fixed more broken comments
2425 added GstBus to docs
2427 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2429 * docs/gst/gstreamer-sections.txt:
2430 * docs/gst/tmpl/.cvsignore:
2431 * docs/gst/tmpl/gstbin.sgml:
2432 * docs/gst/tmpl/gstbuffer.sgml:
2433 * gst/base/gstbasesrc.c:
2434 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2435 * gst/gstbuffer.c:
2436 * gst/gstbuffer.h:
2437 * tools/gst-launch.1.in:
2438 inlined more doc comments, added missing comments and fixed comments
2439 fixed typos
2441 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2443 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2444 some debugging
2445 * gst/gstcaps.h:
2446 whitespace fixes
2447 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2448 more debugging
2449 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2450 * gst/gststructure.h:
2451 add a fixate function for booleans; add a FIXME that these func
2452 names should probably be gst_structure_fixate_*
2454 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2456 * docs/gst/gstreamer-docs.sgml:
2457 * docs/gst/gstreamer-sections.txt:
2458 * gst/Makefile.am:
2459 * gst/gstbin.c: (gst_bin_get_type),
2460 (gst_bin_child_proxy_get_child_by_index),
2461 (gst_bin_child_proxy_get_children_count),
2462 (gst_bin_child_proxy_init):
2463 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2464 (gst_child_proxy_get_child_by_index),
2465 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2466 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2467 (gst_child_proxy_get), (gst_child_proxy_set_property),
2468 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2469 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2470 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2471 * gst/gstchildproxy.h:
2472 * gst/parse/grammar.y:
2473 * tools/gst-inspect.c: (print_interfaces),
2474 (print_element_properties_info), (print_element_info):
2475 ported gstchildproxy over from 0.8
2476 ported gst-inspect fixes and enhancements over from 0.8
2478 2005-08-22 Wim Taymans <wim@fluendo.com>
2480 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2481 (gst_base_transform_handle_buffer):
2482 Also call the transform function if we have ANY caps.
2484 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2485 Fix debug info.
2487 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2489 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2490 Don't pretend to handle seek events if the source is not seekable
2492 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2494 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2495 Remove extra parameter to debug output
2497 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2498 (gst_base_src_do_seek), (gst_base_src_activate_push):
2499 Fix seek event handling.
2501 * gst/gstpipeline.c: (gst_pipeline_change_state):
2502 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2503 (gst_queue_src_activate_push):
2504 Don't start the src pad task on FLUSH_STOP if the pad
2505 isn't linked.
2506 Debug changes.
2508 2005-08-22 Wim Taymans <wim@fluendo.com>
2510 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2511 Added check for gst_static_caps_get() refcounting.
2513 2005-08-22 Wim Taymans <wim@fluendo.com>
2515 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2516 Make _static_caps_get() refcounting sane.
2518 * gst/gstelement.c: (gst_element_set_state):
2519 Add g_return_val_if_fail() to protect against segfaults.
2521 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2523 * docs/gst/tmpl/gstevent.sgml:
2524 * gst/gstevent.c:
2525 * gst/gstevent.h:
2526 inlined remaining docs, added missing doc comments
2528 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2530 * check/gst/gstbin.c: (GST_START_TEST):
2531 since we don't know when preroll is done, use refcount range
2532 check for the sink
2533 * gst/check/gstcheck.h:
2534 add macro for checking refcount range
2536 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2538 * check/Makefile.am:
2539 clean up environment for when registry gets built versus
2540 when actual tests are run; valgrind seems to not report
2541 leaks if GST_PLUGIN_PATH is set to some specific values
2542 * check/gst/gstbin.c: (GST_START_TEST):
2543 add more refcounting checks; maybe this exposes a
2544 preroll lock bug ?
2545 * common/check.mak:
2546 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2547 * gst/check/gstcheck.h:
2548 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2549 (gst_bin_change_state):
2550 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2551 add/fix debugging/whitespace
2553 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2555 * check/gst/gstevent.c: (event_probe), (test_event),
2556 (GST_START_TEST):
2557 Er, don't call gst_bin_watch_for_state_change you idiot.
2559 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2561 * check/Makefile.am:
2562 Use CHECK_CFLAGS and CHECK_LIBS
2563 * check/gst/gstevent.c: (event_probe), (test_event),
2564 (GST_START_TEST):
2565 Don't leak events.
2566 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2567 (gst_base_src_start), (gst_base_src_stop),
2568 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2569 (gst_base_src_change_state):
2570 Sprinkle gst_base_src_stop liberally around error paths to fix
2571 problems reusing a source after failed state changes.
2572 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2573 (helper_find_suggest), (gst_type_find_helper):
2574 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2575 * gst/gstevent.h:
2576 * docs/gst/tmpl/gstevent.sgml:
2577 Migrate part of the docs from the SGML file. Wait for ensonic to
2578 tell me how I did it wrong ;)
2579 * tools/gst-typefind.c: (main):
2580 Extra robustness to state changes between files.
2582 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2584 * check/Makefile.am:
2585 don't valgrind the controller test - it's leaking - Stefan, HELP
2586 * gst/check/gstcheck.c: (gst_check_message_error),
2587 (gst_check_chain_func), (gst_check_setup_element),
2588 (gst_check_teardown_element), (gst_check_setup_src_pad),
2589 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2590 (gst_check_teardown_sink_pad):
2591 * gst/check/gstcheck.h:
2592 add a bunch of methods to set up elements, and src and sink pads
2593 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2594 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2595 (GST_START_TEST):
2596 use them
2597 * gst/gstmessage.c:
2598 * gst/gsttag.h:
2599 whitespace/doc fixes
2601 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2603 * gst/gstelement.h:
2604 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2605 be handled by the application and not always printed as well
2607 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2609 * check/Makefile.am:
2610 set GST_TOOLS_DIR
2611 * gst/check/gstcheck.c: (gst_check_message_error):
2612 * gst/check/gstcheck.h:
2613 add a fail_unless_equals_int
2614 add fail_unless for error messages
2616 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2618 * check/Makefile.am:
2619 * check/gst.supp:
2620 * common/Makefile.am:
2621 * common/check.mak:
2622 * common/gst.supp:
2623 factor out some of the common stuff so we can use it
2625 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2627 * check/Makefile.am:
2628 * check/gst/gstiterator.c: (GST_START_TEST):
2629 * check/gst/gstsystemclock.c: (GST_START_TEST),
2630 (gst_systemclock_suite):
2631 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2632 * gst/gstclock.c:
2633 valgrind more tests
2635 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2637 * check/elements/.cvsignore:
2638 * check/elements/gstfakesrc.c:
2639 rename to name of element
2640 * check/elements/identity.c: (chain_func), (event_func),
2641 (setup_identity), (cleanup_identity), (GST_START_TEST),
2642 (identity_suite), (main):
2643 add a test for identity
2644 * check/Makefile.am:
2645 * pkgconfig/Makefile.am:
2646 * pkgconfig/gstreamer-check.pc.in:
2647 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2648 * gst/check:
2649 * gst/Makefile.am:
2650 * configure.ac:
2651 move the check stuff to a library that gets installed
2652 * check/gst-libs/controller.c: (GST_START_TEST):
2653 * check/gst-libs/gdp.c:
2654 * check/gst/gst.c: (GST_START_TEST):
2655 * check/gst/gstbin.c:
2656 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2657 * check/gst/gstbus.c:
2658 * check/gst/gstcaps.c: (GST_START_TEST):
2659 * check/gst/gstelement.c:
2660 * check/gst/gstghostpad.c:
2661 * check/gst/gstiterator.c:
2662 * check/gst/gstmessage.c:
2663 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2664 * check/gst/gstobject.c:
2665 * check/gst/gstpad.c: (GST_START_TEST):
2666 * check/gst/gststructure.c: (GST_START_TEST):
2667 * check/gst/gstsystemclock.c: (GST_START_TEST),
2668 (gst_systemclock_suite):
2669 * check/gst/gsttag.c: (gst_tag_suite):
2670 * check/gst/gstvalue.c:
2671 * check/pipelines/cleanup.c:
2672 * check/pipelines/simple_launch_lines.c:
2673 * check/states/sinks.c:
2674 change include statement
2676 * docs/gst/gstreamer-sections.txt:
2677 * docs/gst/tmpl/gstpad.sgml:
2678 document more pad stuff
2679 * gst/gstminiobject.c: (gst_mini_object_ref),
2680 (gst_mini_object_unref):
2681 debug refcounting
2683 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2685 * docs/gst/tmpl/gst.sgml:
2686 * gst/gst.c:
2687 eliminate another tmpl file, fix spelling in the long-description
2689 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2691 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2692 (test_event), (timediff), (gstevents_suite):
2693 Should fix build on 64-bit arch's
2695 2005-08-18 Andy Wingo <wingo@pobox.com>
2697 Make sure that when a pipeline goes to PLAYING, that data has
2698 actually hit the sink.
2700 * check/states/sinks.c (test_sink): A sink that doesn't get any
2701 data shouldn't return SUCCESS for going to either PLAYING or
2702 PAUSED. Test also the return values on the way back down.
2704 * gst/gstelement.c (gst_element_set_state): When changing the
2705 state of an element currently changing state asynchronously, go to
2706 lost-state after commiting the pending state. Makes future calls
2707 to get_state continue to return ASYNC.
2709 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2710 ASYNC when going to PLAYING if we still don't have preroll, as can
2711 happen with live sources.
2713 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2715 * docs/pwg/advanced-types.xml:
2716 Hack long paragraph into 2 chunks as a workaround for buggy
2717 jadetex version in sid and breezy that loops infinitely and
2718 eats all RAM.
2720 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2722 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2723 (test_event), (timediff), (gstevents_suite):
2724 Provide more error margin in clock measurements to allow for
2725 g_get_current_time inaccuracies.
2727 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2729 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2730 (test_event), (timediff), (gstevents_suite):
2731 Fix error message output so I might be able to tell why the
2732 test works here but fails on the build farm.
2734 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2736 * check/Makefile.am:
2737 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2738 (test_event), (timediff), (gstevents_suite), (main):
2739 I wrote a test!
2741 * docs/design/part-seeking.txt:
2742 Spelling correction
2744 * docs/gst/tmpl/gstevent.sgml:
2745 * docs/gst/tmpl/gstfakesrc.sgml:
2746 Docs updates.
2748 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2749 Treat a buffer-without-newsegment the same as a receiving
2750 a newsegment not in time format, and disable syncing to the clock
2751 with a warning.
2753 * gst/gstbus.c: (gst_bus_set_sync_handler):
2754 Assert if anyone tries to replace the existing sync_handler for bus,
2755 as only the owner should be setting it.
2757 * gst/gstevent.h:
2758 Have a fixed set of custom event enums with events identified by
2759 their structure name (as in 0.8), rather than a free-for-all
2760 allowing collisions between enum values from different plugins.
2762 * gst/gstpad.c: (gst_pad_class_init):
2763 Docs change.
2765 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2766 Handle out-of-band downstream events from the sending thread.
2768 2005-08-17 Andy Wingo <wingo@pobox.com>
2770 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2771 play-timeout==0 to mean no timeout at all. In that case, don't
2772 bother with a get_state or a warning, just return directly, even
2773 if it's ASYNC.
2775 * gst/base/gstbasetransform.c: Debug changes.
2777 * gst/gstutils.h:
2778 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2779 ensure bins post state change messages. A bit of a hack but I can't
2780 think of a way to avoid it.
2782 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2784 2005-08-16 Andy Wingo <wingo@pobox.com>
2786 * gst/base/gstadapter.h:
2787 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2788 peek() but you own the data. Not terribly efficient atm.
2790 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2792 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2793 (gst_element_found_tags):
2794 * gst/gstutils.h:
2795 Add two utility functions for tag handling.
2797 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2799 * docs/manual/advanced-dataaccess.xml:
2800 * docs/manual/basics-helloworld.xml:
2801 Fix docs to use _bin_add() before _link(), which fixes the examples
2802 with recent core versions (reported by Madhan Raj M
2803 <raj_madan@rediffmail.com>, #313199).
2805 2005-08-16 Wim Taymans <wim@fluendo.com>
2807 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2808 Added subtract checks.
2810 * docs/design/part-events.txt:
2811 Some more docs about newsegment
2813 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2814 Fix FIXME
2816 * gst/gstcaps.c: (gst_caps_to_string):
2817 Add comments, cleanups.
2819 * gst/gstelement.c: (gst_element_save_thyself):
2820 cleanups
2822 * gst/gstvalue.c: (gst_value_collect_int_range),
2823 (gst_string_unwrap), (gst_value_union_int_int_range),
2824 (gst_value_union_int_range_int_range),
2825 (gst_value_intersect_int_int_range),
2826 (gst_value_intersect_int_range_int_range),
2827 (gst_value_intersect_double_double_range),
2828 (gst_value_intersect_double_range_double_range),
2829 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
2830 (gst_value_subtract_int_range_int),
2831 (gst_value_subtract_double_range_double),
2832 (gst_value_subtract_double_range_double_range),
2833 (gst_value_subtract_from_list), (gst_value_subtract_list),
2834 (gst_value_can_compare), (gst_value_compare_fraction):
2835 Cleanups, add comments, remove unneeded asserts.
2837 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2839 * tools/gst-launch.c: (event_loop):
2840 don't convert NULL structures to strings
2842 2005-08-15 Stefan Kost <ensonic@users.sf.net>
2844 * docs/gst/gstreamer-sections.txt:
2845 made some defines private
2846 * docs/gst/tmpl/gstconfig.sgml:
2847 * docs/gst/tmpl/gstqueue.sgml:
2848 * docs/gst/tmpl/gsttaglist.sgml:
2849 * docs/gst/tmpl/gsttypes.sgml:
2850 * docs/gst/tmpl/gstutils.sgml:
2851 * docs/pwg/appendix-porting.xml:
2852 * gst/base/gstbasesink.h:
2853 * gst/base/gstbasesrc.c:
2854 * gst/base/gstbasesrc.h:
2855 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
2856 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
2857 * gst/gstelement.c: (gst_element_class_init):
2858 * gst/gstpad.c: (gst_pad_class_init):
2859 * gst/gstqueue.c: (gst_queue_class_init):
2860 * gst/gstxml.c: (gst_xml_class_init):
2861 documented all undocumented signal inline
2862 * libs/gst/controller/gst-controller.h:
2863 added padding
2865 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2867 * docs/pwg/appendix-porting.xml:
2868 Document _set_link_function -> _set_setcaps_function.
2870 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2872 * check/Makefile.am:
2873 add a .check target for running the check
2874 * check/gst-libs/controller.c: (GST_START_TEST):
2875 cosmetic fixups
2876 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2877 complete checks for gstbuffer; would be nice if I could get the
2878 gcov stuff to work so I can see if I actually completed gstbuffer.c
2879 * check/gstcheck.h:
2880 add ASSERT_BUFFER_REFCOUNT
2882 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
2884 * docs/gst/gstreamer-sections.txt:
2885 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
2886 * gst/gsttag.h:
2887 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
2888 spew out a warning if a tag that is already registered
2889 is re-registered, unless it is re-registered with a
2890 different type (#308438).
2892 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
2894 * docs/pwg/appendix-porting.xml:
2895 * docs/pwg/building-state.xml:
2896 Add some paragraphs about state changes in 0.9 to the PWG
2897 and the porting guide, in particular about the new meaning
2898 of GST_STATE_PAUSED and how to write state change functions
2899 with concurrent access by multiple threads in mind.
2901 2005-08-11 Stefan Kost <ensonic@users.sf.net>
2903 * docs/gst/gstreamer-docs.sgml:
2904 * docs/libs/gstreamer-libs-docs.sgml:
2905 added deprecation and since indexes
2906 * libs/gst/controller/gst-controller.c:
2907 * libs/gst/controller/gst-helper.c:
2908 added since tags
2911 2005-08-11 Wim Taymans <wim@fluendo.com>
2913 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
2914 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
2915 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
2916 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
2917 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
2918 (gst_ghost_pad_set_target):
2919 Actually implement (re)setting the target on a ghostpad
2920 as described in the docs.
2922 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
2924 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
2925 Check whether GST_DEBUG_NO_COLOR environment variable is
2926 set and disable coloured debug output if that is the case.
2928 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
2930 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2931 (gst_type_find_helper):
2932 The memory returned by gst_type_find_peek() needs to
2933 stay valid until the end of a typefind function, and
2934 typefind functions may keep results from different
2935 offsets around, so we can't just unref the buffer from
2936 the previous _peek(), but have to save all buffers
2937 returned by _peek() until typefinding is done and only
2938 free them then.
2940 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
2942 * docs/gst/gstreamer-sections.txt:
2943 * gst/gstutils.h:
2944 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
2946 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2948 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
2949 Fix a pretty good memleak.
2951 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
2953 * gst/gstiterator.h:
2954 Fix wrong include and 'make distcheck'.
2956 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2958 * gst/gstbin.c: (bin_bus_handler):
2959 Use gst_element_post_message() instead.
2961 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
2963 * gst/base/gstadapter.h:
2964 * gst/base/gstbasesink.h:
2965 * gst/base/gstbasesrc.h:
2966 * gst/base/gstbasetransform.h:
2967 * gst/base/gstcollectpads.h:
2968 * gst/base/gstpushsrc.h:
2969 * gst/gstiterator.h:
2970 Add padding to our base elements' class and instance structs and
2971 to GstIterator (you will need to rebuild all plugins and apps!)
2973 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2975 * gst/gstbin.c: (bin_bus_handler):
2976 Make default message forwarding from child->bus to bin->bus
2977 threadsafe and make it not emit warnings if the parent has no bus.
2979 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2981 * gst/gstelement.c: (activate_pads):
2982 On paused->ready, set pad->caps to NULL, as is the documented
2983 behaviour in this state change. Fixes playback of series of
2984 media files when visualization is enabled in Totem.
2986 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2988 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
2989 Allow NULL as filter-caps (which means "any").
2991 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2993 * docs/libs/gstreamer-libs-sections.txt:
2994 * libs/gst/controller/gst-controller.c:
2995 * libs/gst/controller/gst-controller.h:
2996 * libs/gst/controller/gst-helper.c:
2997 adding more entries to the docs and fix small doc-bugs
2999 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3001 * docs/gst/gstreamer-docs.sgml:
3002 * docs/gst/gstreamer-sections.txt:
3003 * docs/gst/gstreamer.types:
3004 * docs/gst/tmpl/gstbasesink.sgml:
3005 * docs/gst/tmpl/gstbasesrc.sgml:
3006 * docs/gst/tmpl/gstbasetransform.sgml:
3007 * docs/gst/tmpl/gstfakesrc.sgml:
3008 * gst/base/gstcollectpads.c:
3009 * gst/base/gstcollectpads.h:
3010 * libs/gst/controller/gst-controller.c:
3011 * libs/gst/controller/gst-controller.h:
3012 * libs/gst/controller/gst-helper.c:
3013 * libs/gst/controller/gst-interpolation.c:
3014 * libs/gst/controller/lib.c:
3015 added long/short desc for controller docs
3016 added collectpads base class docs
3017 added correct includes to base-class docs
3019 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3021 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3022 (gst_test_mono_source_set_property),
3023 (gst_test_mono_source_class_init), (GST_START_TEST),
3024 (gst_controller_suite):
3025 * docs/gst/gstreamer-docs.sgml:
3026 * docs/gst/gstreamer-sections.txt:
3027 * docs/gst/gstreamer.types:
3028 * docs/libs/gstreamer-libs-docs.sgml:
3029 * docs/libs/gstreamer-libs-sections.txt:
3030 * gst/base/gstadapter.c:
3031 * libs/gst/controller/gst-controller.c:
3032 (gst_controlled_property_new), (gst_controlled_property_free),
3033 (gst_controller_new_valist),
3034 (gst_controller_remove_properties_valist),
3035 (gst_controller_sink_values), (_gst_controller_finalize):
3036 * libs/gst/controller/gst-controller.h:
3037 * libs/gst/controller/gst-helper.c:
3038 (gst_object_control_properties), (gst_object_uncontrol_properties),
3039 (gst_object_get_controller), (gst_object_set_controller),
3040 (gst_object_sink_values), (gst_object_get_value_arrays),
3041 (gst_object_get_value_array):
3042 more tests (and fixes) for the controller
3043 more docs for the controller
3044 integrated companies docs for the adapter
3046 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
3048 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3049 (GST_START_TEST), (fakesrc_suite):
3050 add tests for sizetype
3052 2005-08-04 Andy Wingo <wingo@pobox.com>
3054 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3055 fixes buffer_alloc proxying among other things.
3057 * gst/base/gstbasetransform.c:
3058 * gst/base/gstbasetransform.h:
3059 Revert patch to gstbasetransform from 7-28 removing
3060 delay_configure.
3062 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3063 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3064 Semantics changed, should return not the size of the output buffer
3065 but the byte size of a buffer with a given caps.
3067 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3068 debug object.
3069 (gst_base_transform_configure_caps): Don't set out_size here: (in,
3070 out) are not the pad caps until setcaps finishes.
3071 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3072 not-in-place case as well. Deal with changing from in-place to
3073 not-in-place within calling pad_alloc_buffer. Still a bit
3074 concerned about the overhead here...
3076 2005-08-03 Andy Wingo <wingo@pobox.com>
3078 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3079 fixating is an error.
3081 2005-08-04 Edward Hervey <edward@fluendo.com>
3083 * gst/base/gstadapter.h:
3084 Added gst_adapter_get_type() to the header
3086 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3088 * check/Makefile.am:
3089 * check/gst-libs/controller.c:
3090 * libs/gst/controller/gst-controller.c:
3091 (gst_controller_new_valist):
3092 added check test suite for the controller
3093 * gst/base/gstpushsrc.c:
3094 fixed a doc typo
3096 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3098 * docs/gst/Makefile.am:
3099 * docs/gst/gstreamer-docs.sgml:
3100 * docs/gst/gstreamer-sections.txt:
3101 * docs/gst/gstreamer.types:
3102 * docs/gst/tmpl/gstfakesrc.sgml:
3103 * gst/base/README:
3104 * gst/base/gstbasesink.c:
3105 * gst/base/gstbasesink.h:
3106 * gst/base/gstbasesrc.c:
3107 * gst/base/gstbasesrc.h:
3108 * gst/base/gstbasetransform.c:
3109 * gst/base/gstpushsrc.c:
3110 * gst/base/gstpushsrc.h:
3111 add short/long description docs to base classes
3112 add pushsrc to the docs
3113 remove consolidated doc fragments
3115 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3117 * configure.ac:
3118 * docs/libs/Makefile.am:
3119 * docs/libs/gstreamer-libs-docs.sgml:
3120 * docs/libs/gstreamer-libs-sections.txt:
3121 * docs/libs/gstreamer-libs.types:
3122 * examples/Makefile.am:
3123 * examples/controller/.cvsignore:
3124 * examples/controller/Makefile.am:
3125 * examples/controller/audio-example.c: (main):
3126 * libs/gst/Makefile.am:
3127 * libs/gst/controller/.cvsignore:
3128 * libs/gst/controller/Makefile.am:
3129 * libs/gst/controller/gst-controller.c:
3130 (on_object_controlled_property_changed), (gst_timed_value_compare),
3131 (gst_timed_value_find),
3132 (gst_controlled_property_set_interpolation_mode),
3133 (gst_controlled_property_new), (gst_controlled_property_free),
3134 (gst_controller_find_controlled_property),
3135 (gst_controller_new_valist), (gst_controller_new),
3136 (gst_controller_remove_properties_valist),
3137 (gst_controller_remove_properties), (gst_controller_set),
3138 (gst_controller_set_from_list), (gst_controller_unset),
3139 (gst_controller_get), (gst_controller_get_all),
3140 (gst_controller_sink_values), (gst_controller_get_value_arrays),
3141 (gst_controller_get_value_array),
3142 (gst_controller_set_interpolation_mode),
3143 (_gst_controller_finalize), (_gst_controller_init),
3144 (_gst_controller_class_init), (gst_controller_get_type):
3145 * libs/gst/controller/gst-controller.h:
3146 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3147 (g_object_uncontrol_properties), (g_object_get_controller),
3148 (g_object_set_controller), (g_object_sink_values),
3149 (g_object_get_value_arrays), (g_object_get_value_array):
3150 * libs/gst/controller/gst-interpolation.c:
3151 (gst_controlled_property_find_timed_value_node),
3152 (interpolate_none_get), (interpolate_trigger_get),
3153 (interpolate_trigger_get_value_array):
3154 * libs/gst/controller/lib.c: (gst_controller_init):
3155 * pkgconfig/Makefile.am:
3156 * pkgconfig/gstreamer-control-uninstalled.pc.in:
3157 * pkgconfig/gstreamer-control.pc.in:
3158 * testsuite/Makefile.am:
3159 * testsuite/controller/.cvsignore:
3160 * testsuite/controller/Makefile.am:
3161 * testsuite/controller/interpolator.c: (main):
3162 added controller code
3163 removed dparam pc files
3165 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3166 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3167 (gst_collectpads_stop):
3168 Broadcast the condition when shutting down, to make sure we wake all
3169 threads up. Shut down pads on finalize, for safety.
3171 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3172 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3173 (gst_base_transform_handle_buffer),
3174 (gst_base_transform_change_state):
3175 Handle PAUSED->READY->PAUSED transition after negotiation
3176 occurred already.
3177 * gst/gstmessage.c: (gst_message_init):
3178 Extra piece of debug for new messages.
3180 2005-08-01 Stefan Kost <ensonic@users.sf.net>
3182 * configure.ac:
3183 * docs/gst/tmpl/gstbasesrc.sgml:
3184 * docs/gst/tmpl/gstelement.sgml:
3185 * docs/gst/tmpl/gstevent.sgml:
3186 * docs/gst/tmpl/gstfakesrc.sgml:
3187 * docs/gst/tmpl/gstformat.sgml:
3188 * docs/gst/tmpl/gstghostpad.sgml:
3189 * docs/gst/tmpl/gstpad.sgml:
3190 * docs/gst/tmpl/gstquery.sgml:
3191 * docs/gst/tmpl/gststructure.sgml:
3192 * docs/gst/tmpl/gsttaglist.sgml:
3193 * docs/gst/tmpl/gstvalue.sgml:
3194 * docs/libs/gstreamer-libs-docs.sgml:
3195 * docs/libs/gstreamer-libs-sections.txt:
3196 * docs/libs/gstreamer-libs.types:
3197 * libs/gst/Makefile.am:
3198 * libs/gst/control/.cvsignore:
3199 * libs/gst/control/Makefile.am:
3200 * libs/gst/control/control.c:
3201 * libs/gst/control/control.h:
3202 * libs/gst/control/dparam.c:
3203 * libs/gst/control/dparam.h:
3204 * libs/gst/control/dparam_smooth.c:
3205 * libs/gst/control/dparam_smooth.h:
3206 * libs/gst/control/dparamcommon.h:
3207 * libs/gst/control/dparammanager.c:
3208 * libs/gst/control/dparammanager.h:
3209 * libs/gst/control/dplinearinterp.c:
3210 * libs/gst/control/dplinearinterp.h:
3211 * libs/gst/control/unitconvert.c:
3212 * libs/gst/control/unitconvert.h:
3213 * testsuite/Makefile.am:
3214 * testsuite/dynparams/.cvsignore:
3215 * testsuite/dynparams/Makefile.am:
3216 * testsuite/dynparams/dparamstest.c:
3217 * tools/Makefile.am:
3218 * tools/gst-inspect.c: (print_element_info), (main):
3219 * tools/gst-xmlinspect.c: (print_element_info), (main):
3220 deactivate and remove dparams (libgstcontrol)
3222 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3224 * gst/elements/gsttypefindelement.c:
3225 (gst_type_find_element_have_type), (gst_type_find_element_init),
3226 (stop_typefinding), (gst_type_find_element_handle_event),
3227 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3228 * gst/elements/gsttypefindelement.h:
3229 Set caps on all outgoing buffers, not just the first one.
3231 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3233 * gst/elements/gsttypefindelement.c:
3234 (gst_type_find_element_have_type),
3235 (gst_type_find_element_check_set_buffer_caps),
3236 (gst_type_find_element_init), (stop_typefinding),
3237 (gst_type_find_element_handle_event),
3238 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3239 * gst/elements/gsttypefindelement.h:
3240 Set caps on first outgoing buffer when we've found the type.
3242 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3244 * docs/gst/gstreamer-docs.sgml:
3245 * docs/gst/gstreamer-sections.txt:
3246 * docs/gst/tmpl/gstscheduler.sgml:
3247 * docs/gst/tmpl/gstschedulerfactory.sgml:
3248 Remove some old cruft from docs.
3250 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
3252 * gst/gstpad.h:
3253 Fix inline docs for GstPadLinkReturn.
3255 * gst/gststructure.c: (gst_structure_has_name):
3256 * gst/gststructure.h:
3257 * docs/gst/gstreamer-sections.txt:
3258 New API: gst_structure_has_name().
3260 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
3262 * configure.ac:
3263 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3264 and _LARGEFILE_SOURCE in config.h as required. Do not
3265 export those flags in our .pc files any longer (#142209).
3267 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3269 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3270 (gst_file_sink_do_seek), (gst_file_sink_event),
3271 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3272 Redo seek/tell calls with large file support in mind; add some
3273 debugging messages; add log message that tells us when large
3274 file support is unavailable or not enabled for some reason.
3276 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3277 Add log message that tells us when large file support
3278 is unavailable or not enabled for some reason.
3280 2005-07-29 Wim Taymans <wim@fluendo.com>
3282 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3283 Added test for removing an element with ghostpad from a bin.
3284 Fixed test as current implementation does the right thing.
3286 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3287 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3288 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3289 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3290 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3291 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3292 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3293 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3294 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3295 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3296 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3297 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3298 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3299 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3300 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3301 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3302 * gst/gstghostpad.h:
3303 Clean up ghostpads, remove properties for internal stuff.
3304 Make threadsafe.
3305 Fix refcounting.
3306 Prepare for switching targets, not all use cases work yet.
3308 2005-07-29 Wim Taymans <wim@fluendo.com>
3310 * docs/design/part-gstghostpad.txt:
3311 Small update.
3313 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3314 (gst_bin_remove_func):
3315 Unlinking pads while holding the bin LOCK is not a good
3316 idea.
3318 * gst/gstpad.c: (gst_pad_class_init),
3319 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3320 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3321 No prob setting template after creating the pad.
3323 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3325 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3326 (gst_bus_peek), (gst_bus_source_dispatch),
3327 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3328 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3329 gst_bus_poll may be called from other threads. Handle
3330 this nicely by not making poll_data disappear off the
3331 stack once gst_bus_poll returns.
3332 gst_bus_peek now increments the refcount on the returned
3333 message.
3335 2005-07-29 Wim Taymans <wim@fluendo.com>
3337 * docs/design/part-gstghostpad.txt:
3338 Overview of current GhostPad datastructures and use
3339 cases for changing the target.
3341 2005-07-28 Wim Taymans <wim@fluendo.com>
3343 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3344 Added checks for hierarchy consistency whan adding linked
3345 elements to bins.
3347 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3348 Added check to test element scheduling without bin/pipeline.
3350 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3351 First add elements to bin, then link.
3353 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3354 (gst_bin_remove_func):
3355 Unlink pads from elements added/removed from bin to maintain
3356 hierarchy consistency.
3358 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3360 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3361 (gst_base_transform_handle_buffer):
3362 * gst/base/gstbasetransform.h:
3363 Remove broken delay_configure (fixes renegotiation of software
3364 scaling pipelines); remove some leftover printf()s.
3366 2005-07-28 Wim Taymans <wim@fluendo.com>
3368 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3369 Added some more tests for wrong hierarchy
3371 * docs/design/part-overview.txt:
3372 Some updates.
3374 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3375 Cleanups.
3377 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3378 (gst_element_dispose):
3379 Some more cleanups.
3381 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3382 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3383 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3384 (gst_pad_set_caps), (gst_pad_send_event):
3385 Check for correct hierarchy when linking pads. Moving to
3386 strict requirement for ghostpads when linking elements in
3387 different bins.
3389 * gst/gstpad.h:
3390 Clean ups. Added WRONG_HIERARCHY return value.
3392 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3394 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3395 Better debug if no transform is possible.
3397 2005-07-27 Wim Taymans <wim@fluendo.com>
3399 * docs/random/wtay/network-transp:
3400 Some old doc I had.
3402 2005-07-27 Wim Taymans <wim@fluendo.com>
3404 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3405 (gst_dp_event_from_packet):
3406 Fix serialization of seek events.
3408 2005-07-27 Wim Taymans <wim@fluendo.com>
3410 * check/gst-libs/gdp.c: (GST_START_TEST):
3411 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3412 Fix compilation and fix event serialization.
3414 2005-07-27 Wim Taymans <wim@fluendo.com>
3416 * CHANGES-0.9:
3417 * docs/design/part-TODO.txt:
3418 * docs/design/part-events.txt:
3419 Some docs updates
3421 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3422 (gst_base_sink_event), (gst_base_sink_do_sync),
3423 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3424 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3425 (gst_base_src_do_seek), (gst_base_src_event_handler),
3426 (gst_base_src_loop):
3427 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3428 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3429 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3430 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3431 (gst_base_transform_set_passthrough),
3432 (gst_base_transform_is_passthrough):
3433 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3434 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3435 Event updates.
3437 * gst/gstbuffer.h:
3438 Use faster casts.
3440 * gst/gstelement.c: (gst_element_seek):
3441 * gst/gstelement.h:
3442 Update gst_element_seek.
3444 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3445 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3446 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3447 (gst_event_new_eos), (gst_event_new_newsegment),
3448 (gst_event_parse_newsegment), (gst_event_new_tag),
3449 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3450 (gst_event_parse_qos), (gst_event_new_seek),
3451 (gst_event_parse_seek), (gst_event_new_navigation):
3452 * gst/gstevent.h:
3453 Make GstEvent use GstStructure. Add parsing code, make sure the
3454 API is sufficiently generic.
3455 Mark possible directions of events and serialization.
3457 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3458 (_gst_message_copy), (gst_message_new_segment_start),
3459 (gst_message_new_segment_done), (gst_message_new_custom),
3460 (gst_message_parse_segment_start),
3461 (gst_message_parse_segment_done):
3462 Small cleanups.
3464 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3465 (gst_pad_set_caps), (gst_pad_send_event):
3466 Update for new events.
3467 Catch events sent in wrong directions.
3469 * gst/gstqueue.c: (gst_queue_link_src),
3470 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3471 (gst_queue_handle_src_query):
3472 Event updates.
3474 * gst/gsttag.c:
3475 * gst/gsttag.h:
3476 Remove event code from this file.
3478 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3479 (gst_dp_event_from_packet):
3480 Event updates.
3482 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3484 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3485 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3486 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3487 Make debugging actually useful.
3489 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3491 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3492 (gst_pad_fixate_caps):
3493 Implement default fixation once again, so that gst_pad_fixate()
3494 actually does anything at all. This probably needs to be some
3495 sort of a last resort, and use profile-based fixation first, but
3496 since that doesn't exist yet, this is the best we have. Fixes
3497 visualization in Totem.
3499 2005-07-22 Wim Taymans <wim@fluendo.com>
3501 * docs/design/part-events.txt:
3502 Small update.
3504 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3505 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3506 (gst_base_sink_activate_pull):
3507 Some more comments.
3509 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3510 (gst_fake_src_create):
3511 Fix handoff marshall.
3513 * gst/elements/gstidentity.c: (gst_identity_class_init),
3514 (gst_identity_transform_ip):
3515 We're a real inplace element.
3517 * gst/gstbus.c: (gst_bus_post):
3518 Added some comments.
3520 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3521 * tests/muxing/case1.c: (main):
3522 * tests/sched/dynamic-pipeline.c: (main):
3523 * tests/sched/interrupt1.c: (main):
3524 * tests/sched/interrupt2.c: (main):
3525 * tests/sched/interrupt3.c: (main):
3526 * tests/sched/runxml.c: (main):
3527 * tests/sched/sched-stress.c: (main):
3528 * tests/seeking/seeking1.c: (event_received), (main):
3529 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3530 (main):
3531 * tests/threadstate/threadstate3.c: (main):
3532 * tests/threadstate/threadstate4.c: (main):
3533 * tests/threadstate/threadstate5.c: (main):
3534 Fix the tests.
3536 2005-07-21 Wim Taymans <wim@fluendo.com>
3538 * docs/design/part-seeking.txt:
3539 Some small additions.
3541 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3542 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3543 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3544 * gst/base/gstbasesink.h:
3545 discont values are gint64, handle the math correctly.
3547 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3548 Make the basesrc report error if the source pad is not linked.
3550 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3551 (gst_queue_loop), (gst_queue_handle_src_query),
3552 (gst_queue_src_activate_push):
3553 Make queue collect data even if the srcpad is not linked.
3554 Start pushing out data as soon as it is linked.
3556 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3557 * gst/gstutils.h:
3558 Added gst_flow_get_name() to ease error reporting.
3560 2005-07-20 Wim Taymans <wim@fluendo.com>
3562 * gst/gstmessage.c: (gst_message_new_segment_start),
3563 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3564 (gst_message_parse_segment_done):
3565 * gst/gstmessage.h:
3566 Added a bunch of messages for advanced seeking.
3568 * gst/parse/grammar.y:
3569 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3570 (gst_dpman_state_changed):
3571 Fix some new-pad -> pad-added signals
3573 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3575 * docs/manual/appendix-porting.xml:
3576 * docs/pwg/appendix-porting.xml:
3577 Document new-pad/state-change signal renames and the FixedList
3578 type rename.
3580 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3582 * docs/manual/advanced-autoplugging.xml:
3583 * docs/manual/basics-helloworld.xml:
3584 * docs/manual/basics-pads.xml:
3585 * docs/random/ds/0.9-suggested-changes:
3586 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3587 * gst/gstelement.h:
3588 * gst/gstevent.h:
3589 * gst/gstformat.h:
3590 * gst/gstquery.h:
3591 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3592 (gst_structure_parse_array), (gst_structure_parse_value):
3593 * gst/gstvalue.c: (gst_type_is_fixed),
3594 (gst_value_list_prepend_value), (gst_value_list_append_value),
3595 (gst_value_list_get_size), (gst_value_list_get_value),
3596 (gst_value_transform_array_string), (gst_value_serialize_array),
3597 (gst_value_deserialize_array), (gst_value_intersect_array),
3598 (gst_value_is_fixed), (_gst_value_initialize):
3599 * gst/gstvalue.h:
3600 GstElement::new-pad -> pad-added, GstElement::state-change ->
3601 state-changed, GstValueFixedList -> GstValueArray, add format and
3602 flags as their own arguments in gst_element_seek() (should improve
3603 "bindeability"), remove function generators since they don't work
3604 under a whole bunch of compilers (they were deprecated already
3605 anyway).
3607 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3609 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3610 (_gst_debug_register_funcptr):
3611 * gst/gstinfo.h:
3612 Fix illegal cast on some platforms (#309253).
3614 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3616 * gst/gstmessage.c: (gst_message_new_custom):
3617 * gst/gstmessage.h:
3618 Add _new_custom, make _new_application a macro to _new_custom.
3620 2005-07-20 Wim Taymans <wim@fluendo.com>
3622 * gst/base/gstbasesrc.c: (gst_base_src_init),
3623 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3624 * gst/base/gstbasesrc.h:
3625 Add a gboolean to decide when to push out a discont.
3627 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3628 (gst_queue_loop), (gst_queue_handle_src_query),
3629 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3630 (gst_queue_set_property), (gst_queue_get_property):
3631 Some cleanups.
3633 * tests/threadstate/threadstate1.c: (main):
3634 Make a thread test compile and run... very silly..
3637 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3639 * docs/manual/appendix-porting.xml:
3640 Mention removal of libgstgconf-0.9.la and existence of gconf
3641 elements.
3643 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3645 * docs/pwg/advanced-clock.xml:
3646 * docs/pwg/appendix-porting.xml:
3647 * docs/pwg/intro-preface.xml:
3648 * docs/pwg/other-base.xml:
3649 * docs/pwg/other-manager.xml:
3650 * docs/pwg/other-nton.xml:
3651 * docs/pwg/other-ntoone.xml:
3652 * docs/pwg/other-oneton.xml:
3653 * docs/pwg/pwg.xml:
3654 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3655 demuxer), remove n-to-n (was never written), fix some code examples
3656 and links and update the porting section to include all this.
3658 2005-07-19 Wim Taymans <wim@fluendo.com>
3660 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3661 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3662 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3663 (gst_queue_src_activate_push), (gst_queue_change_state),
3664 (gst_queue_get_property):
3665 * gst/gstqueue.h:
3666 Propagate GstFlowReturn more intelligently upstream and output
3667 an ERROR/EOS when streaming stopped due to fatal error.
3669 2005-07-19 Wim Taymans <wim@fluendo.com>
3671 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3672 Don't block forever for the state change to complete, the
3673 pipeline already did with a sensible timeout.
3675 2005-07-19 Wim Taymans <wim@fluendo.com>
3677 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3678 Make sure we never call the create function is we
3679 got deactivated.
3681 2005-07-19 Andy Wingo <wingo@pobox.com>
3683 * gst/parse/parse.l: Attempt to solve bug #172815.
3685 2005-07-19 Wim Taymans <wim@fluendo.com>
3687 * docs/design/part-clocks.txt:
3688 * docs/design/part-events.txt:
3689 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3690 Small docs updates.
3691 Only update the seeking values when we are not
3692 busy streaming.
3694 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3696 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3697 Oops, ignore the result of gst_pad_push_event here.
3699 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3701 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3702 (gst_base_src_activate_push):
3703 Send discont event from the loop function, as pads
3704 aren't activated yet in the activate_push handler.
3706 * gst/gstbin.c: (bin_bus_handler):
3707 Don't leak element name.
3709 2005-07-18 Andy Wingo <wingo@pobox.com>
3711 * configure.ac: Use AS_LIBTOOL_TAGS.
3713 2005-07-18 Wim Taymans <wim@fluendo.com>
3715 * docs/gst/gstreamer.types:
3716 Remove deleted types.
3718 2005-07-18 Wim Taymans <wim@fluendo.com>
3720 * check/elements/gstfakesrc.c: (GST_START_TEST):
3721 * configure.ac:
3722 * gst/Makefile.am:
3723 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3724 (init_popt_callback):
3725 * gst/gst.h:
3726 * gst/gst_private.h:
3727 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3728 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3729 * gst/gstbin.h:
3730 * gst/gstbus.h:
3731 * gst/gstconfig.h.in:
3732 * gst/gstelement.c: (gst_element_class_init),
3733 (gst_element_set_base_time), (gst_element_get_base_time),
3734 (iterator_fold_with_resync), (gst_element_change_state),
3735 (gst_element_dispose), (gst_element_get_bus):
3736 * gst/gstelement.h:
3737 * gst/gstelementfactory.h:
3738 * gst/gsterror.c: (_gst_core_errors_init):
3739 * gst/gsterror.h:
3740 * gst/gstevent.h:
3741 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3742 * gst/gstindex.c:
3743 * gst/gstinfo.c: (_gst_debug_init):
3744 * gst/gstmessage.c: (_gst_message_copy):
3745 * gst/gstmessage.h:
3746 * gst/gstminiobject.h:
3747 * gst/gstobject.c:
3748 * gst/gstobject.h:
3749 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3750 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3751 * gst/gstpad.h:
3752 * gst/gstparse.h:
3753 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3754 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3755 (gst_pipeline_get_last_stream_time):
3756 * gst/gstpipeline.h:
3757 * gst/gstpluginfeature.h:
3758 * gst/gstquery.h:
3759 * gst/gstscheduler.c:
3760 * gst/gstscheduler.h:
3761 * gst/gststructure.h:
3762 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3763 (gst_task_finalize), (gst_task_func), (gst_task_create),
3764 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3765 (gst_task_stop), (gst_task_pause):
3766 * gst/gsttask.h:
3767 * gst/gsttypefind.h:
3768 * gst/gsttypes.h:
3769 * gst/registries/gstlibxmlregistry.c: (load_feature),
3770 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3771 * gst/registries/gstxmlregistry.c:
3772 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3773 * gst/schedulers/threadscheduler.c:
3774 * libs/gst/control/dparammanager.h:
3775 * tools/gst-inspect.c: (print_element_list),
3776 (print_plugin_features), (print_element_features):
3777 * tools/gst-xmlinspect.c: (print_element_list),
3778 (print_plugin_info), (main):
3779 Removed plugable schedulers.
3780 Removed Scheduler/Manager from elements.
3781 Removed gsttypes.h, rearranged includes.
3782 Removed dependency pad<->element, element<>pipeline, and
3783 various others, fix includes.
3784 implement gst_pad_get_parent() with gst_object_get_parent()
3785 Make GstTask sefcontained.
3786 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3787 timeout.
3788 Fix endless loop in iterator_fold_with_resync.
3791 2005-07-18 Wim Taymans <wim@fluendo.com>
3793 * gst/Makefile.am:
3794 * gst/gstarch.h:
3795 Remove old file.
3797 2005-07-18 Wim Taymans <wim@fluendo.com>
3799 * gst/Makefile.am:
3800 No more cothreads.h
3802 2005-07-18 Wim Taymans <wim@fluendo.com>
3804 * gst/cothreads.c:
3805 * gst/cothreads.h:
3806 Let's remove these.
3808 2005-07-18 Wim Taymans <wim@fluendo.com>
3810 * docs/design/part-dynamic.txt:
3811 * docs/design/part-events.txt:
3812 * docs/design/part-seeking.txt:
3813 Some more docs in the works.
3815 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3816 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3817 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3818 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3819 (gst_base_transform_handle_buffer),
3820 (gst_base_transform_sink_activate_push),
3821 (gst_base_transform_src_activate_pull),
3822 (gst_base_transform_set_passthrough),
3823 (gst_base_transform_is_passthrough):
3824 Refcounting fixes.
3826 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3827 Cleanups.
3829 * gst/gstevent.c: (gst_event_finalize):
3830 Set SRC to NULL.
3832 * gst/gstutils.c: (gst_element_unlink),
3833 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
3834 (gst_pad_proxy_setcaps):
3835 * gst/gstutils.h:
3836 Add _get_parent_element() to get a pads parent as an element.
3838 2005-07-18 Wim Taymans <wim@fluendo.com>
3840 * check/gst/gstbin.c: (GST_START_TEST):
3841 Remove bogus test.
3843 2005-07-18 Wim Taymans <wim@fluendo.com>
3845 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3846 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3847 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3848 (gst_base_sink_event), (gst_base_sink_do_sync),
3849 (gst_base_sink_chain), (gst_base_sink_loop),
3850 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
3851 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
3852 Refcounting fixes.
3853 Fix logic for returning ASYNC when not prerolled.
3855 2005-07-18 Wim Taymans <wim@fluendo.com>
3857 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3858 Fix nasty refcount bug.
3860 2005-07-16 Philippe Khalaf <burger@speedy.org>
3862 * gst/elements/gstfdsrc.c:
3863 * gst/elements/gstfdsrc.h:
3864 * gst/elements/gstelements.c:
3865 * gst/elements/Makefile.am:
3866 Ported fdsrc to 0.9.
3868 2005-07-16 Wim Taymans <wim@fluendo.com>
3870 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3871 (gst_base_sink_do_sync):
3872 Fix compile error.
3874 2005-07-16 Wim Taymans <wim@fluendo.com>
3876 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3877 (gst_base_sink_event), (gst_base_sink_get_times),
3878 (gst_base_sink_do_sync), (gst_base_sink_change_state):
3879 * gst/base/gstbasesink.h:
3880 Store and use discont values when syncing buffers as described
3881 in design docs.
3883 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3884 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
3885 (gst_base_src_activate_push):
3886 Push discont event when starting.
3888 * gst/elements/gstidentity.c: (gst_identity_transform):
3889 Small cleanups.
3891 * gst/gstbin.c: (gst_bin_change_state):
3892 Small cleanups in base_time distribution.
3894 * gst/gstelement.c: (gst_element_set_base_time),
3895 (gst_element_get_base_time), (gst_element_change_state):
3896 * gst/gstelement.h:
3897 Added methods for the base_time of the element.
3898 Some MT fixes.
3900 * gst/gstpipeline.c: (gst_pipeline_send_event),
3901 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3902 (gst_pipeline_get_last_stream_time):
3903 * gst/gstpipeline.h:
3904 MT fixes.
3905 Handle seeking as described in design doc, remove stream_time
3906 hack.
3907 Cleanups clock and stream_time selection code. Added accessors
3908 for the stream_time.
3911 2005-07-16 Andy Wingo <wingo@pobox.com>
3913 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
3914 (#305291).
3916 2005-07-16 Wim Taymans <wim@fluendo.com>
3918 * check/gst/gstbin.c: (GST_START_TEST):
3919 Make elements silent as the deep_notify refs the
3920 parent, which might make the test fail.
3922 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3923 Don't hold the lock for too long.
3925 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
3927 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3928 Don't unref the caps we passed to gst_caps_make_writable() after
3929 passing them. gst_caps_make_writable() will do that for us.
3931 2005-07-15 Andy Wingo <wingo@pobox.com>
3933 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
3934 (#157311).
3936 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
3937 own marshalling function for the handoff signal. Properly type the
3938 buffer as a buffer. Fixes some warnings. Should do a more general
3939 solution.
3940 (gst_identity_class_init): Plug into the right marshaller.
3942 2005-07-15 Wim Taymans <wim@fluendo.com>
3944 * docs/design/part-TODO.txt:
3945 * docs/design/part-clocks.txt:
3946 * docs/design/part-element-sink.txt:
3947 * docs/design/part-events.txt:
3948 * docs/design/part-gstpipeline.txt:
3949 Updated docs, mostly DISCONT related.
3951 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
3953 * docs/pwg/building-pads.xml:
3954 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
3956 2005-07-15 Andy Wingo <wingo@pobox.com>
3958 * tools/gst-typefind.c: Update, add copyright block.
3960 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
3961 Normalize and truncate caps before fixation.
3963 * gst/gstcaps.h:
3964 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
3965 discards all but the first structure from its argument.
3967 2005-07-15 Wim Taymans <wim@fluendo.com>
3969 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3970 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
3971 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3972 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3973 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
3974 (gst_base_transform_chain), (gst_base_transform_change_state),
3975 (gst_base_transform_set_passthrough),
3976 (gst_base_transform_is_passthrough):
3977 * gst/base/gstbasetransform.h:
3978 Make passthrough work using the bufferpools.
3979 Changed API a bit, subclasses have to write into a buffer
3980 provided by the base class.
3981 More debug info in nego functions.
3983 * gst/elements/gstidentity.c: (gst_identity_init),
3984 (gst_identity_transform):
3985 Port to new base class.
3987 2005-07-15 Wim Taymans <wim@fluendo.com>
3989 * gst/gstmessage.c: (gst_message_new_state_changed):
3990 * tools/gst-launch.c: (event_loop), (main):
3991 Totally dump messages in -launch with the -m option.
3992 Fix message name for State messages,
3994 2005-07-14 Wim Taymans <wim@fluendo.com>
3996 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3997 Post error messages on errors.
3999 2005-07-14 Wim Taymans <wim@fluendo.com>
4001 * gst/gstcaps.c: (gst_caps_do_simplify):
4002 Remove debug info.
4004 * gst/gsterror.h:
4005 Define error for stream stopped.
4007 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4008 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4009 Do proper return values.
4011 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4012 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4013 (gst_pad_get_range):
4014 Better return values.
4016 * gst/gstpad.h:
4017 Reorganise return values, add macro to check for fatal errors.
4019 * gst/gstqueue.c: (gst_queue_chain):
4020 Return proper GstFlowReturn values,
4022 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
4024 * docs/gst/gstreamer-sections.txt:
4025 * docs/gst/gstreamer.types:
4026 * docs/gst/tmpl/gst.sgml:
4027 * docs/gst/tmpl/gstbasesink.sgml:
4028 * docs/gst/tmpl/gstbasesrc.sgml:
4029 * docs/gst/tmpl/gstbasetransform.sgml:
4030 * docs/gst/tmpl/gstbin.sgml:
4031 * docs/gst/tmpl/gstbuffer.sgml:
4032 * docs/gst/tmpl/gstcaps.sgml:
4033 * docs/gst/tmpl/gstclock.sgml:
4034 * docs/gst/tmpl/gstcompat.sgml:
4035 * docs/gst/tmpl/gstconfig.sgml:
4036 * docs/gst/tmpl/gstelement.sgml:
4037 * docs/gst/tmpl/gstelementdetails.sgml:
4038 * docs/gst/tmpl/gstelementfactory.sgml:
4039 * docs/gst/tmpl/gstenumtypes.sgml:
4040 * docs/gst/tmpl/gsterror.sgml:
4041 * docs/gst/tmpl/gstevent.sgml:
4042 * docs/gst/tmpl/gstfakesink.sgml:
4043 * docs/gst/tmpl/gstfakesrc.sgml:
4044 * docs/gst/tmpl/gstfilesink.sgml:
4045 * docs/gst/tmpl/gstfilesrc.sgml:
4046 * docs/gst/tmpl/gstfilter.sgml:
4047 * docs/gst/tmpl/gstformat.sgml:
4048 * docs/gst/tmpl/gstghostpad.sgml:
4049 * docs/gst/tmpl/gstimplementsinterface.sgml:
4050 * docs/gst/tmpl/gstindex.sgml:
4051 * docs/gst/tmpl/gstindexfactory.sgml:
4052 * docs/gst/tmpl/gstinfo.sgml:
4053 * docs/gst/tmpl/gstiterator.sgml:
4054 * docs/gst/tmpl/gstmacros.sgml:
4055 * docs/gst/tmpl/gstmemchunk.sgml:
4056 * docs/gst/tmpl/gstminiobject.sgml:
4057 * docs/gst/tmpl/gstobject.sgml:
4058 * docs/gst/tmpl/gstpad.sgml:
4059 * docs/gst/tmpl/gstpadtemplate.sgml:
4060 * docs/gst/tmpl/gstparse.sgml:
4061 * docs/gst/tmpl/gstpipeline.sgml:
4062 * docs/gst/tmpl/gstplugin.sgml:
4063 * docs/gst/tmpl/gstpluginfeature.sgml:
4064 * docs/gst/tmpl/gstquery.sgml:
4065 * docs/gst/tmpl/gstqueue.sgml:
4066 * docs/gst/tmpl/gstregistry.sgml:
4067 * docs/gst/tmpl/gstregistrypool.sgml:
4068 * docs/gst/tmpl/gstscheduler.sgml:
4069 * docs/gst/tmpl/gstschedulerfactory.sgml:
4070 * docs/gst/tmpl/gststructure.sgml:
4071 * docs/gst/tmpl/gstsystemclock.sgml:
4072 * docs/gst/tmpl/gsttaglist.sgml:
4073 * docs/gst/tmpl/gsttagsetter.sgml:
4074 * docs/gst/tmpl/gsttrace.sgml:
4075 * docs/gst/tmpl/gsttrashstack.sgml:
4076 * docs/gst/tmpl/gsttypefind.sgml:
4077 * docs/gst/tmpl/gsttypefindfactory.sgml:
4078 * docs/gst/tmpl/gsttypes.sgml:
4079 * docs/gst/tmpl/gsturihandler.sgml:
4080 * docs/gst/tmpl/gsturitype.sgml:
4081 * docs/gst/tmpl/gstutils.sgml:
4082 * docs/gst/tmpl/gstvalue.sgml:
4083 * docs/gst/tmpl/gstversion.sgml:
4084 * docs/gst/tmpl/gstxml.sgml:
4085 * docs/libs/tmpl/gstcontrol.sgml:
4086 * docs/libs/tmpl/gstdataprotocol.sgml:
4087 * docs/libs/tmpl/gstdparam.sgml:
4088 * docs/libs/tmpl/gstdplinint.sgml:
4089 * docs/libs/tmpl/gstdpman.sgml:
4090 * docs/libs/tmpl/gstdpsmooth.sgml:
4091 * docs/libs/tmpl/gstgetbits.sgml:
4092 * docs/libs/tmpl/gstunitconvert.sgml:
4093 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4094 (gst_push_src_base_init), (gst_push_src_class_init),
4095 (gst_push_src_init), (gst_push_src_create):
4096 * gst/base/gstpushsrc.h:
4097 * gst/elements/gstelements.c:
4098 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4099 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4100 (gst_fake_sink_init), (gst_fake_sink_set_property),
4101 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4102 (gst_fake_sink_event), (gst_fake_sink_preroll),
4103 (gst_fake_sink_render), (gst_fake_sink_change_state):
4104 * gst/elements/gstfakesink.h:
4105 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4106 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4107 (gst_fake_src_base_init), (gst_fake_src_class_init),
4108 (gst_fake_src_init), (gst_fake_src_event_handler),
4109 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4110 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4111 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4112 (gst_fake_src_create_buffer), (gst_fake_src_create),
4113 (gst_fake_src_start), (gst_fake_src_stop):
4114 * gst/elements/gstfakesrc.h:
4115 * gst/elements/gstfilesink.c: (_do_init),
4116 (gst_file_sink_base_init), (gst_file_sink_class_init),
4117 (gst_file_sink_init), (gst_file_sink_dispose),
4118 (gst_file_sink_set_location), (gst_file_sink_set_property),
4119 (gst_file_sink_get_property), (gst_file_sink_open_file),
4120 (gst_file_sink_close_file), (gst_file_sink_query),
4121 (gst_file_sink_event), (gst_file_sink_render),
4122 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4123 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4124 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4125 * gst/elements/gstfilesink.h:
4126 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4127 (gst_file_src_class_init), (gst_file_src_init),
4128 (gst_file_src_finalize), (gst_file_src_set_location),
4129 (gst_file_src_set_property), (gst_file_src_get_property),
4130 (gst_file_src_map_region), (gst_file_src_map_small_region),
4131 (gst_file_src_create_mmap), (gst_file_src_create_read),
4132 (gst_file_src_create), (gst_file_src_is_seekable),
4133 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4134 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4135 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4136 (gst_file_src_uri_handler_init):
4137 * gst/elements/gstfilesrc.h:
4138 more autistic cleanliness in functions/names/defines
4140 2005-07-13 Andy Wingo <wingo@pobox.com>
4142 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4143 source couldn't negotiate.
4145 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4146 connections again.
4148 * gst/gstutils.h:
4149 * gst/gstutils.c (gst_element_link_pads_filtered): New old
4150 function. I am channeling Hades. Put your boots on suckers!!!
4152 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4154 * testsuite/caps/Makefile.am:
4155 * testsuite/caps/value_compare.c:
4156 * testsuite/caps/value_intersect.c:
4157 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4158 move two testsuite apps over to the check dir
4160 2005-07-12 Wim Taymans <wim@fluendo.com>
4162 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4163 Added more debug info in the negotiate process.
4165 * gst/gstmessage.h:
4166 Prepare for segment playback.
4168 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4169 Better debugging.
4171 * gst/gstutils.c:
4172 Some more docs.
4174 * tools/gst-launch.c: (main):
4175 NULL pipeline on errors.
4177 2005-07-12 Andy Wingo <wingo@pobox.com>
4179 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4180 not it comes from a malloc region. Make sure our copy gets freed.
4182 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4184 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4185 * check/gst/gstmessage.c: (GST_START_TEST):
4186 * check/gst/gststructure.c: (GST_START_TEST),
4187 (gst_structure_suite), (main):
4188 more testing
4189 * gst/gstelement.c: (gst_element_message_full):
4190 clean up GError and debug string now that they get copied
4191 * gst/gstmessage.c: (gst_message_new_error),
4192 (gst_message_new_warning), (gst_message_parse_error),
4193 (gst_message_parse_warning):
4194 use GST_TYPE_G_ERROR for structure_new, and take copies of
4195 arguments, so that we don't mess up refcounting
4197 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4199 * check/Makefile.am:
4200 add per-test valgrind targets
4201 * check/gst-libs/gdp.c: (GST_START_TEST),
4202 (gst_data_protocol_suite), (main):
4203 clean up
4205 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4207 * check/Makefile.am:
4208 instate more valgrindable tests
4209 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4210 (GST_START_TEST), (fakesrc_suite):
4211 * check/gst/gstpad.c: (GST_START_TEST):
4212 * check/gst/gststructure.c: (GST_START_TEST):
4213 fix test leaks
4214 * docs/gst/tmpl/gstminiobject.sgml:
4215 * gst/gstpad.c: (gst_pad_finalize):
4216 fix the static mutex leak
4218 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4220 * check/Makefile.am:
4221 add two more tests for valgrinding
4222 * check/gst/gstvalue.c: (GST_START_TEST):
4223 test refcount of deserialized buffer, found a leak
4224 * docs/gst/gstreamer-docs.sgml:
4225 * docs/gst/gstreamer-sections.txt:
4226 * docs/gst/gstreamer.types:
4227 * docs/gst/tmpl/gstminiobject.sgml:
4228 add miniobject to docs
4229 * gst/gstminiobject.c:
4230 add some docs
4231 * gst/gstvalue.c: (gst_value_deserialize_buffer),
4232 (gst_string_unwrap):
4233 fix a hard-to-find invalid write for one of the tests
4234 fix a leak for deserialized buffers
4236 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4238 * docs/pwg/advanced-events.xml:
4239 * docs/pwg/advanced-request.xml:
4240 * docs/pwg/advanced-scheduling.xml:
4241 * docs/pwg/appendix-porting.xml:
4242 * docs/pwg/building-boiler.xml:
4243 * docs/pwg/intro-preface.xml:
4244 * docs/pwg/other-ntoone.xml:
4245 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4246 of example code and explanation for pad activation, loop() and
4247 getrange() functions and a bit more. Remove old comments pointing
4248 to loop-functions.
4249 * examples/pwg/Makefile.am:
4250 Add loop/getrange examples.
4252 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4254 * configure.ac:
4255 check for valgrind binary + some fixes
4256 * check/gst.supp:
4257 valgrind suppressions for the tests
4258 * check/Makefile.am:
4259 add a valgrind: target that valgrinds the unit tests
4260 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4261 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4262 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4263 * check/gst/gstghostpad.c:
4264 added some cleanup
4265 * check/gst/gstdata.c:
4266 removed
4267 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4268 (thread_unref), (gst_mini_object_suite), (main):
4269 added
4270 * gst/gst.c: (gst_deinit):
4271 * gst/gst.h:
4272 add a method to clean up.
4273 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4274 (gst_system_clock_obtain):
4275 allow for disposing the system clock.
4276 * tools/gst-launch.c: (main):
4277 deinit
4279 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4281 * docs/gst/tmpl/gstbasesrc.sgml:
4282 * docs/gst/tmpl/gstfakesrc.sgml:
4283 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4284 (gst_base_src_init), (gst_base_src_set_property),
4285 (gst_base_src_get_property), (gst_base_src_get_range),
4286 (gst_base_src_start):
4287 * gst/base/gstbasesrc.h:
4288 add num-buffers property
4289 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4290 (gst_fakesrc_init), (gst_fakesrc_set_property),
4291 (gst_fakesrc_get_property), (gst_fakesrc_create),
4292 (gst_fakesrc_start):
4293 remove num-buffers property
4295 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4297 * docs/gst/gstreamer-sections.txt:
4298 * docs/gst/tmpl/gstbasesink.sgml:
4299 * docs/gst/tmpl/gstbasesrc.sgml:
4300 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4301 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4302 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4303 (gst_base_sink_set_property), (gst_base_sink_get_property),
4304 (gst_base_sink_handle_object), (gst_base_sink_event),
4305 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4306 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4307 (gst_base_sink_loop), (gst_base_sink_deactivate),
4308 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4309 (gst_base_sink_change_state):
4310 * gst/base/gstbasesink.h:
4311 * gst/base/gstbasesrc.h:
4312 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4313 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4314 (gst_filesink_init):
4315 more macro splitting
4317 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4319 * gst/gstelement.c: (gst_element_get_bus):
4320 add debug
4321 * tools/gst-launch.c: (check_intr), (event_loop):
4322 fix bus leaks
4324 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4326 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4327 fix a caps leak
4329 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4331 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4332 (gst_base_src_finalize):
4333 add finalize method and clean up properly
4334 * gst/gstpipeline.c: (gst_pipeline_dispose):
4335 add debug
4337 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4339 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4340 (gst_bin_suite):
4341 add more things to check
4342 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4343 * gst/gstelement.c:
4344 more debug
4346 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4348 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4349 (GST_START_TEST), (fakesrc_suite):
4350 * check/gst-libs/gdp.c: (GST_START_TEST):
4351 * check/gst/gst.c: (GST_START_TEST):
4352 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4353 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4354 * check/gst/gstbus.c: (GST_START_TEST):
4355 * check/gst/gstcaps.c: (GST_START_TEST):
4356 * check/gst/gstdata.c: (GST_START_TEST):
4357 * check/gst/gstelement.c: (GST_START_TEST):
4358 * check/gst/gstghostpad.c: (GST_START_TEST):
4359 * check/gst/gstiterator.c: (GST_START_TEST):
4360 * check/gst/gstmessage.c: (GST_START_TEST):
4361 * check/gst/gstobject.c: (GST_START_TEST):
4362 * check/gst/gstpad.c: (GST_START_TEST):
4363 * check/gst/gststructure.c: (GST_START_TEST):
4364 * check/gst/gstsystemclock.c: (GST_START_TEST),
4365 (gst_systemclock_suite):
4366 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4367 * check/gst/gstvalue.c: (GST_START_TEST):
4368 * check/pipelines/cleanup.c: (GST_START_TEST):
4369 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4370 * check/states/sinks.c: (GST_START_TEST):
4371 * check/gstcheck.c: (gst_check_init):
4372 * check/gstcheck.h:
4373 add debugging category
4374 use GST_START_TEST now, so we add a debug line
4376 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4378 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4379 add test for state change message on a bin
4380 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4381 add another test
4382 * gst/gstbin.c: (gst_bin_init):
4383 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4384 * gst/gstelement.c: (gst_element_post_message),
4385 (gst_element_set_state):
4386 * gst/gstelementfactory.c: (gst_element_factory_create):
4387 * gst/gstmessage.c: (gst_message_new):
4388 * gst/gstscheduler.c:
4389 various debugging additions and cleanups
4391 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4393 * check/Makefile.am:
4394 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4395 (main):
4396 adding tests for elements
4397 * gst/gstelement.c: (gst_element_dispose):
4399 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4401 * gst/registries/gstlibxmlregistry.c: (load_feature):
4402 plug more leaks. A simple gst_init() now is leakfree, yay.
4404 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4406 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4407 (gst_xml_registry_load):
4408 plug another memleak
4410 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4412 * configure.ac:
4413 use GST_SET_ERROR_CFLAGS
4414 * docs/faq/cvs.xml:
4415 change to ERROR_CFLAGS
4417 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4419 * configure.ac:
4420 make GST_ERROR_CFLAGS overridable and re-enable Werror
4421 * docs/faq/cvs.xml:
4422 add a note about error CFLAGS
4423 * docs/gst/tmpl/gstfakesrc.sgml:
4424 * gst/elements/gstfakesrc.c:
4425 comment out some unused code
4426 * gst/gst.c: (split_and_iterate):
4427 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4428 (load_feature):
4429 plug some memleaks
4431 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4433 * common/Makefile.am:
4434 * common/gtk-doc.mak:
4435 * docs/gst/Makefile.am:
4436 factor out gtk-doc.mak
4438 2005-07-07 Wim Taymans <wim@fluendo.com>
4440 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4441 (gst_thread_scheduler_dispose):
4442 Unlock the STREAM_LOCK completely.
4444 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4446 * check/Makefile.am:
4447 * check/elements/.cvsignore:
4448 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4449 (START_TEST), (fakesrc_suite), (main):
4450 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4451 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4452 (gst_fakesrc_create), (gst_fakesrc_start):
4453 * gst/elements/gstfakesrc.h:
4454 adding a first element test
4456 2005-07-07 Andy Wingo <wingo@pobox.com>
4458 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4459 debug message.
4461 2005-07-07 Wim Taymans <wim@fluendo.com>
4463 * gst/gstquery.c:
4464 * gst/gstquery.h:
4465 Remove old types
4467 2005-07-07 Wim Taymans <wim@fluendo.com>
4469 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4470 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4471 Allow subclasses to implement their own negotiation.
4473 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4475 * docs/design/part-gstbin.txt:
4476 * docs/design/part-gstpipeline.txt:
4477 Update design notes to reflect the movement of
4478 responsibility for bus handling from GstPipeline to
4479 GstBin
4481 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4483 * configure.ac:
4484 Remove unnecessary queue2/3/4 examples.
4486 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4488 * examples/Makefile.am:
4489 * examples/helloworld/helloworld.c: (event_loop), (main):
4490 * examples/queue/queue.c: (event_loop), (main):
4491 * examples/queue2/queue2.c: (main):
4492 Update a couple of the examples to work again.
4494 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4495 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4496 Spelling corrections and extra debug.
4498 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4499 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4500 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4501 * gst/gstbin.h:
4502 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4503 (gst_pipeline_change_state):
4504 * gst/gstpipeline.h:
4505 Move the bus handler for children to the GstBin, and create a
4506 separate bus for receiving messages from children to the one the
4507 bus sends 'upwards' on.
4509 2005-07-06 Wim Taymans <wim@fluendo.com>
4511 * gst/base/README:
4512 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4513 (gst_base_sink_handle_object), (gst_base_sink_loop),
4514 (gst_base_sink_change_state):
4515 * gst/base/gstbasesink.h:
4516 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4517 (gst_base_src_init), (gst_base_src_setcaps),
4518 (gst_base_src_getcaps), (gst_base_src_loop),
4519 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4520 (gst_base_src_start), (gst_base_src_change_state):
4521 * gst/base/gstbasesrc.h:
4522 Make basesrc negotiate.
4523 Handle the case where preroll fails in basesink.
4524 Update README.
4526 2005-07-06 Wim Taymans <wim@fluendo.com>
4528 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4529 Implement the fixate function.
4530 Clean up acceptcaps.
4532 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4534 * docs/pwg/building-filterfactory.xml:
4535 * docs/pwg/pwg.xml:
4536 Remove never-written filter-factory chapter; I'll add the various
4537 base classes to part 4 ("other element types") later on.
4539 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4541 * docs/pwg/advanced-negotiation.xml:
4542 * docs/pwg/building-boiler.xml:
4543 * docs/pwg/building-pads.xml:
4544 * docs/pwg/pwg.xml:
4545 * examples/pwg/Makefile.am:
4546 Add a chapter on caps negotiation, simplify the original code
4547 samples a bit w.r.t. caps negotiation, add link to the advanced
4548 section. Add a bunch of examples showing different use cases of
4549 different types of caps negotiation. Upstream renegotiation isn't
4550 fully documented yet since nobody knows how that works.
4552 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4554 * check/gst/gstpad.c:
4555 * check/gstcheck.c:
4556 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4557 if pad has no parent, return NULL as list of internal links
4559 2005-07-05 Andy Wingo <wingo@pobox.com>
4561 * gst/elements/gstfilesrc.c:
4562 * gst/elements/gstfakesrc.c:
4563 * gst/base/gstpushsrc.c:
4564 * gst/base/gstbasesrc.h:
4565 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4567 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4569 * Makefile.am:
4570 better report generation target (lcov needs a patch)
4572 2005-07-05 Andy Wingo <wingo@pobox.com>
4574 * gst/elements, testsuite: Null if we got it...
4576 2005-07-05 Wim Taymans <wim@fluendo.com>
4578 * configure.ac:
4579 * libs/gst/dataprotocol/Makefile.am:
4580 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4581 * libs/gst/dataprotocol/dataprotocol.h:
4582 * pkgconfig/Makefile.am:
4583 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4584 * pkgconfig/gstreamer-dataprotocol.pc.in:
4585 Ported dataprotol to 0.9.
4586 Added pkgconfig files.
4588 2005-07-05 Andy Wingo <wingo@pobox.com>
4590 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4591 Default to returning TRUE for the case when tranform_caps returns
4592 a fixed caps, like for identity or volume.
4594 * check/gst/gstbus.c (pound_bus_with_messages):
4595 * check/gst/gstmessage.c (START_TEST):
4596 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4597 message API change.
4599 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4600 logic weaks here: always run transform_caps, trying passthrough
4601 operation only if the original caps intersects with the transform.
4603 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4604 source and sink caps.
4606 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4607 Intersect the peer caps with the pad template before going into
4608 transform_caps.
4609 (gst_base_transform_transform_caps): More debugging.
4611 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4612 src argument.
4614 2005-07-04 Edward Hervey <edward@fluendo.com>
4616 * gst/gstutils.c:
4617 * gst/gstutils.h:
4618 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4619 in bindings.
4621 2005-07-04 Andy Wingo <wingo@pobox.com>
4623 * check/gst/gstpad.c: Only set explicit caps on pads.
4625 2005-07-01 Andy Wingo <wingo@pobox.com>
4627 * tests/network-clock.scm: Commentary update.
4629 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4630 Didn't really make sense, not implementable with basetransform,
4631 etc.
4632 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4633 attempt at implementing the sync property, needs an unlock method.
4635 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4636 New func, by default returns the same caps (the identity
4637 transformation).
4638 (gst_base_transform_getcaps): Uses transform_caps to return
4639 something sensible.
4640 (gst_base_transform_setcaps): Complicated logic to get caps on
4641 both pads, even if they are different, and to call set_caps once
4642 for every time both pads get their caps set.
4643 (gst_base_transform_handle_buffer): Give the ref to the transform
4644 function. Allows in-place modification of the buffer.
4646 * gst/base/gstbasetransform.h (transform_caps): New class method.
4647 Given caps on one side, what can I do on the other.
4648 (set_caps): Take two caps, one for each side of the element.
4650 * gst/gstpad.h:
4651 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4652 caps in place. This is safe because we can check the mutability of
4653 the caps, and a good idea because fixate functions are just called
4654 as a matter of last resort. (Not actually implemented.)
4655 (gst_pad_set_caps): If the caps we're setting is actually the same
4656 as the existing pad caps, just update the pointer without calling
4657 setcaps. Assert that caps is either NULL or fixed, as per the
4658 docs.
4660 * gst/gstghostpad.c: Update for fixate changes.
4662 2005-07-02 Andy Wingo <wingo@pobox.com>
4664 * gst/gstcaps.c:
4665 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4666 two refcounts makes it immutable, which is enough. Doc more.
4668 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4670 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4671 Put the mini_object into GValue as a mini_object,
4672 not a gpointer, since that's how we declared
4673 the signal.
4675 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4677 * examples/pwg/Makefile.am:
4678 Fix buildbot again.
4680 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4682 * docs/pwg/building-testapp.xml:
4683 Add extra check.
4684 * examples/pwg/Makefile.am:
4685 Fix buildbot.
4687 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4689 * configure.ac:
4690 * examples/Makefile.am:
4691 * examples/pwg/Makefile.am:
4692 * examples/pwg/extract.pl:
4693 Enable building the PWG examples.
4694 * docs/pwg/advanced-interfaces.xml:
4695 Add URI interface stub.
4696 * docs/pwg/advanced-types.xml:
4697 * docs/pwg/other-autoplugger.xml:
4698 * docs/pwg/appendix-porting.xml:
4699 * docs/pwg/pwg.xml:
4700 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4701 * docs/pwg/building-boiler.xml:
4702 * docs/pwg/building-chainfn.xml:
4703 * docs/pwg/building-pads.xml:
4704 * docs/pwg/building-props.xml:
4705 * docs/pwg/building-state.xml:
4706 * docs/pwg/building-testapp.xml:
4707 Update the building-*.xml parts for 0.9 changes. All examples
4708 code blocks compile in examples/pwg/*.
4710 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4712 * docs/manual/advanced-autoplugging.xml:
4713 * docs/manual/appendix-checklist.xml:
4714 * docs/manual/appendix-integration.xml:
4715 * docs/manual/highlevel-components.xml:
4716 Fix playbin/decodebin examples, update docs a bit, mention bus
4717 instead of signals in various places, mention kmplayer and
4718 kaffeine since they have a working GStreamer backend in the KDE
4719 section.
4721 2005-06-30 Wim Taymans <wim@fluendo.com>
4723 * CHANGES-0.9:
4724 * docs/design/draft-ghostpads.txt:
4725 * docs/design/draft-push-pull.txt:
4726 * docs/design/draft-query.txt:
4727 * docs/design/part-TODO.txt:
4728 * docs/design/part-query.txt:
4729 Added CHANGES-0.9 doc, updated status of other docs.
4731 * gst/gstquery.h:
4732 Remove "hmm" macro
4734 2005-06-30 Wim Taymans <wim@fluendo.com>
4736 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4737 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4738 (gst_base_sink_change_state):
4739 * gst/base/gstbasesink.h:
4740 Some tweaks, only EOS and a buffer complete a preroll.
4742 2005-06-30 Andy Wingo <wingo@pobox.com>
4744 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4745 activate_push down to the internal pad as well.
4747 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4749 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4751 * gst/gsttaginterface.c:
4752 Some documentation fixes (#307394 and #307397).
4754 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4756 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4758 * gst/gstvalue.c: (gst_value_intersect_list):
4759 Fix memleak (#309125).
4761 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4763 * docs/manual/advanced-dataaccess.xml:
4764 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4765 * docs/manual/basics-pads.xml:
4766 Add reference for filtered caps to above chapter.
4768 2005-06-30 Wim Taymans <wim@fluendo.com>
4770 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4771 (gst_bin_change_state):
4772 Probes are gone.
4773 Lame attempt at making the state change function a bit
4774 more readable.
4776 2005-06-30 Wim Taymans <wim@fluendo.com>
4778 * docs/design/part-clocks.txt:
4779 * docs/design/part-element-sink.txt:
4780 * docs/design/part-events.txt:
4781 * docs/design/part-preroll.txt:
4782 * docs/design/part-states.txt:
4783 Some more tweeks and additions to the docs.
4785 2005-06-30 Wim Taymans <wim@fluendo.com>
4787 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4788 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4789 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4790 (gst_pad_check_pull_range), (gst_pad_get_range),
4791 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4792 * gst/gstpad.h:
4793 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4794 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4795 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4796 (gst_pad_remove_buffer_probe):
4797 Removed atomic operations, use existing LOCK.
4798 Move exception handling out of main code path.
4800 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4802 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4803 (silly_return_true_function), (gst_pad_class_init),
4804 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4805 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4806 (gst_pad_send_event):
4807 Fix accumulator, add default value by using _emitv() instead
4808 of _emit() for signal emission.
4810 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4812 * docs/manual/advanced-dataaccess.xml:
4813 * examples/manual/Makefile.am:
4814 Add probe example.
4815 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4816 Make work (??).
4818 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
4820 * gst/elements/gstfilesink.c: (gst_filesink_render):
4821 Simplify code so that we don't have to handle short
4822 writes and return GST_FLOW_ERROR if an error occured.
4824 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4826 * docs/gst/gstreamer-docs.sgml:
4827 Remove probes more.
4829 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4831 * docs/gst/gstreamer-sections.txt:
4832 * docs/gst/tmpl/gstpad.sgml:
4833 * docs/gst/tmpl/gstprobe.sgml:
4834 * gst/Makefile.am:
4835 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4836 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
4837 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4838 (gst_pad_push_event), (gst_pad_send_event):
4839 * gst/gstpad.h:
4840 * gst/gstutils.c: (gst_pad_add_data_probe),
4841 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4842 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4843 (gst_pad_remove_buffer_probe):
4844 * gst/gstutils.h:
4845 Remove old probes, add new g-signal-based probes and some utility
4846 functions.
4848 2005-06-29 Edward Hervey <edward@fluendo.com>
4850 * gst/gstelementfactory.c:
4851 * gst/gstutils.h:
4852 * gst/gstutils.c:
4853 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
4854 the definition to the header file.
4856 2005-06-29 Andy Wingo <wingo@pobox.com>
4858 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
4859 plugins from the source directory.
4861 2005-06-29 Wim Taymans <wim@fluendo.com>
4863 * docs/gst/tmpl/gstbuffer.sgml:
4864 * docs/gst/tmpl/gstclock.sgml:
4865 Some fixings for blantently wrong text.
4867 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4869 * check/Makefile.am:
4870 * gst/gst.c: (add_path_func), (init_pre):
4871 * gst/gstregistry.c: (gst_registry_add_path):
4872 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
4873 only scan the GST_PLUGIN_PATH locations, and not add
4874 system locations
4876 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4878 * docs/gst/gstreamer-sections.txt:
4879 * docs/gst/tmpl/gstbasesrc.sgml:
4880 * gst/gstelement.c:
4881 * gst/gstelement.h:
4882 * gst/gstevent.c:
4883 * gst/gstutils.c:
4884 doc fixes
4886 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4888 * docs/manual/advanced-autoplugging.xml:
4889 Fix autoplugging example.
4891 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4893 * docs/manual/advanced-autoplugging.xml:
4894 * docs/manual/mime-world.fig:
4895 Try to get autoplugging working, fix type detection. Fix text
4896 in hello-world image.
4898 2005-06-29 Wim Taymans <wim@fluendo.com>
4900 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4901 (gst_base_sink_change_state):
4902 Small debug line.
4904 * gst/gstclock.h:
4905 map SIGNAL and BROADCAST to the right function.
4907 * gst/gstobject.h:
4908 Remove redundant braces.
4910 * gst/gstpad.c: (gst_pad_set_caps):
4911 Don't call setcaps function when reseting caps to NULL.
4913 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4914 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
4915 (gst_system_clock_id_unschedule):
4916 Use BROADCAST as this is what we do.
4918 2005-06-29 Wim Taymans <wim@fluendo.com>
4920 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4921 We are actually prerolling before commiting the state
4922 change.
4924 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4926 * docs/manual/advanced-clocks.xml:
4927 * docs/manual/advanced-interfaces.xml:
4928 * docs/manual/advanced-metadata.xml:
4929 * docs/manual/advanced-position.xml:
4930 * docs/manual/advanced-schedulers.xml:
4931 * docs/manual/advanced-threads.xml:
4932 * docs/manual/appendix-porting.xml:
4933 * docs/manual/basics-bins.xml:
4934 * docs/manual/basics-bus.xml:
4935 * docs/manual/basics-elements.xml:
4936 * docs/manual/basics-helloworld.xml:
4937 * docs/manual/basics-pads.xml:
4938 * docs/manual/highlevel-components.xml:
4939 * docs/manual/manual.xml:
4940 * docs/manual/thread.fig:
4941 Update (until threads/scheduling) Application Development Manual;
4942 remove GstThread, add GstBus, add simple porting checklist, add
4943 documentation for tag writing, clocks, make all examples until this
4944 part compile and run.
4945 * examples/manual/Makefile.am:
4946 Update from changes to Application Development Manual; add bus
4947 example, remove thread example.
4949 2005-06-28 Wim Taymans <wim@fluendo.com>
4951 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
4952 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
4953 (gst_bus_source_dispatch):
4954 Add debugging messages.
4955 Make internal methods static.
4956 Handle the case where the bus is flushed in the handler.
4958 * gst/gstelement.c: (gst_element_get_bus):
4959 Fix refcount in _get_bus();
4961 * gst/gstpipeline.c: (gst_pipeline_change_state),
4962 (gst_pipeline_get_clock_func):
4963 Clock refcounting fixes.
4964 Handle the case where preroll timed out more gracefully.
4966 * gst/gstsystemclock.c: (gst_system_clock_dispose):
4967 Clean up the internal thread in dispose. This is needed
4968 for subclasses that actually get disposed.
4970 * gst/schedulers/threadscheduler.c:
4971 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
4972 (gst_thread_scheduler_dispose):
4973 Free thread pool in dispose.
4975 2005-06-28 Andy Wingo <wingo@pobox.com>
4977 * tests/network-clock-utils.scm (debug, print-event): New utils.
4979 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
4980 (*packet-loss*): Unified loss probability.
4981 (network-time): Report out-of-band events.
4983 * tests/plot-data: Add support for out-of-band events. Hack it
4984 into this script instead of passing it down the pipe; should fix
4985 this later.
4987 2005-06-28 Wim Taymans <wim@fluendo.com>
4989 * docs/gst/gstreamer.types:
4990 * docs/gst/tmpl/gstbasesrc.sgml:
4991 * docs/gst/tmpl/gstpad.sgml:
4992 Docs fixes.
4994 2005-06-28 Wim Taymans <wim@fluendo.com>
4996 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4997 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
4998 (gst_proxy_pad_do_fixatecaps):
4999 Correctly proxy the check_pull_range function.
5001 2005-06-28 Andy Wingo <wingo@pobox.com>
5003 * tests/network-clock.scm: Removed need for slib.
5005 2005-06-28 Wim Taymans <wim@fluendo.com>
5007 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5008 (gst_basesink_preroll_queue_flush):
5009 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5010 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5011 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5012 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5013 (gst_proxy_pad_set_property):
5014 * gst/gstpad.c:
5015 * gst/gstpad.h:
5016 * gst/gstqueue.c: (gst_queue_init):
5017 The deprecated pad loop function is removed now.
5019 2005-06-28 Andy Wingo <wingo@pobox.com>
5021 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5022 New parameters, simulate network packet loss.
5024 * tests/network-clock-utils.scm: Initialize the RNG.
5026 2005-06-28 Wim Taymans <wim@fluendo.com>
5028 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5029 (gst_basesink_event), (gst_basesink_deactivate):
5030 Flushing the preroll queue always needs to unlock the waiters.
5032 2005-06-28 Edward Hervey <edward@fluendo.com>
5034 * gst/gstpipeline.c: (gst_pipeline_send_event):
5035 Wheen a seek was successful on a pipeline, set the stream_time to the
5036 seek offset in order to have a synchronized stream_time.
5038 2005-06-28 Wim Taymans <wim@fluendo.com>
5040 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5041 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5042 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5043 (gst_proxy_pad_do_fixatecaps):
5044 Call wrapper function instead of just calling the function
5045 pointers. This takes care of any locking and whatmore.
5047 2005-06-28 Wim Taymans <wim@fluendo.com>
5049 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5050 (gst_pad_pull_range):
5051 * gst/gstpad.h:
5052 CONNECTED -> LINKED.
5054 2005-06-28 Andy Wingo <wingo@pobox.com>
5056 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5057 source-munging commit!!!
5059 * gst/gstobject.c (gst_object_unref, gst_object_ref)
5060 (gst_object_sink): Take gpointer arguments, not GstObject --
5061 avoids casts. Like GLib.
5063 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5064 activate.
5066 2005-06-27 Andy Wingo <wingo@pobox.com>
5068 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5069 remaining buffer.
5071 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5072 returns a sorted copy of the trace list.
5073 (gst_alloc_trace_print_live): New API, only prints traces with
5074 live objects. Sort the list.
5075 (gst_alloc_trace_print_all): Sort the list.
5076 (gst_alloc_trace_print): Align columns.
5078 * gst/elements/gstttypefindelement.c:
5079 * gst/elements/gsttee.c:
5080 * gst/base/gstbasesrc.c:
5081 * gst/base/gstbasesink.c:
5082 * gst/base/gstbasetransform.c:
5083 * gst/gstqueue.c: Adapt for pad activation changes.
5085 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5086 sched.
5087 (gst_pipeline_dispose): Drop ref on sched.
5089 * gst/gstpad.c (gst_pad_init): Set the default activate func.
5090 (gst_pad_activate_default): Push mode by default.
5091 (pre_activate_switch, post_activate_switch): New stubs, things to
5092 do before and after switching activation modes on pads.
5093 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5094 the pad's activate function to choose which mode to activate.
5095 Shortcut on deactivation and call the right function directly.
5096 (gst_pad_activate_pull): New API, (de)activates a pad in pull
5097 mode.
5098 (gst_pad_activate_push): New API, same for push mode.
5099 (gst_pad_set_activate_function)
5100 (gst_pad_set_activatepull_function)
5101 (gst_pad_set_activatepush_function): Setters for new API.
5103 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5104 Trace all miniobjects.
5105 (gst_mini_object_make_writable): Unref the arg if we copy, like
5106 gst_caps_make_writable.
5108 * gst/gstmessage.c (_gst_message_initialize): No trace init.
5110 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
5111 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5112 Adapt for new pad API.
5114 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5116 * gst/gstelement.h:
5117 * gst/gstelement.c (gst_element_iterate_src_pads)
5118 (gst_element_iterate_sink_pads): New API functions.
5120 * gst/gstelement.c (iterator_fold_with_resync): New utility,
5121 should fold into gstiterator.c in some form.
5122 (gst_element_pads_activate): Simplified via use of fold and
5123 delegation of decisions to gstpad->activate.
5125 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5126 help in debugging.
5128 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5129 class once in init, like gstmessage. Didn't run into this issue
5130 but it seems correct. Don't initialize a trace, gstminiobject does
5131 that.
5133 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5134 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5135 to the bus.
5136 (assert_live_count): New util function, uses alloc traces to check
5137 cleanup.
5139 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5140 To be modified when unlink drops the internal pad.
5142 2005-06-27 Wim Taymans <wim@fluendo.com>
5144 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5145 (gst_bin_change_state):
5146 Cleanup the get_state() function a little, make sure it
5147 iterates the same set of elements.
5148 Added stub iterate_state_order().
5150 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
5152 * docs/gst/gstreamer-docs.sgml:
5153 * docs/gst/gstreamer-sections.txt:
5154 * docs/gst/gstreamer.types:
5155 * docs/gst/tmpl/gstbasesink.sgml:
5156 * docs/gst/tmpl/gstbasesrc.sgml:
5157 * docs/gst/tmpl/gstbasetransform.sgml:
5158 * docs/gst/tmpl/gstelement.sgml:
5159 * docs/gst/tmpl/gstiterator.sgml:
5160 * gst/base/gstbasesrc.c:
5161 * gst/base/gstbasesrc.h:
5162 * gst/base/gstbasetransform.h:
5163 * gst/gstelement.c:
5164 * gst/gstiterator.h:
5165 adding basetransform and iterator docs
5167 2005-06-27 Andy Wingo <wingo@pobox.com>
5169 * docs/design/part-activation.txt: Notes on how activation should
5170 work -- not quite implemented yet.
5172 2005-06-25 Wim Taymans <wim@fluendo.com>
5174 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5175 At least get the chain function correct, needs more
5176 fixing.
5178 2005-06-25 Wim Taymans <wim@fluendo.com>
5180 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5181 (gst_basesink_handle_object), (gst_basesink_event),
5182 (gst_basesink_do_sync), (gst_basesink_handle_event),
5183 (gst_basesink_change_state):
5184 * gst/gsttask.h:
5185 Right, two problems here: ghostpads don't take locks and
5186 glib _rec_mutex_lock_full() with depth==0 still locks.
5187 Catch illegal locking and g_warn them.
5189 2005-06-25 Wim Taymans <wim@fluendo.com>
5191 * check/states/sinks.c: (START_TEST), (gst_object_suite):
5192 Have to check for completion now...
5194 2005-06-25 Wim Taymans <wim@fluendo.com>
5196 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5197 (gst_basesink_handle_object), (gst_basesink_event),
5198 (gst_basesink_do_sync), (gst_basesink_handle_event),
5199 (gst_basesink_change_state):
5200 * gst/gstpad.h:
5201 Unlock STREAM_LOCK whatever the recursion was.
5203 2005-06-25 Wim Taymans <wim@fluendo.com>
5205 * gst/base/gstbasesink.c: (gst_basesink_set_property),
5206 (gst_basesink_preroll_queue_empty),
5207 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5208 (gst_basesink_event), (gst_basesink_do_sync),
5209 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5210 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5211 (gst_basesink_change_state):
5212 Reworked the base sink, handle event and buffer serialisation
5213 correctly and removed possible deadlock.
5214 Handle EOS correctly.
5216 2005-06-25 Wim Taymans <wim@fluendo.com>
5218 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5219 (gst_pipeline_change_state):
5220 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5221 Allow elements to post EOS in the state change function.
5222 Fix up -launch, make it exit the poll loop when the
5223 pipeline actually changed state.
5224 Fix up warning parsing in -launch.
5226 2005-06-25 Wim Taymans <wim@fluendo.com>
5228 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5229 (gst_tee_sink_activate):
5230 Core takes STREAM_LOCK for us now.
5232 2005-06-25 Wim Taymans <wim@fluendo.com>
5234 * gst/gstelement.c: (gst_element_get_state_func),
5235 (gst_element_set_state):
5236 * gst/gstelement.h:
5237 * gst/gstmessage.c: (gst_message_parse_error),
5238 (gst_message_parse_warning):
5239 Keep track of current target state while performing a state
5240 change so that subclasses can do something interesting.
5241 Fix parsing of warning/error messages when GError is NULL.
5243 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5245 * docs/gst/Makefile.am:
5246 * docs/gst/gstreamer-docs.sgml:
5247 * docs/gst/gstreamer-sections.txt:
5248 * docs/gst/gstreamer.types:
5249 * docs/gst/tmpl/gstbasesink.sgml:
5250 * docs/gst/tmpl/gstbasesrc.sgml:
5251 * docs/gst/tmpl/gstbin.sgml:
5252 * docs/gst/tmpl/gstcompat.sgml:
5253 * docs/gst/tmpl/gstfakesink.sgml:
5254 * docs/gst/tmpl/gstfakesrc.sgml:
5255 * docs/gst/tmpl/gstfilesink.sgml:
5256 * docs/gst/tmpl/gstfilesrc.sgml:
5257 * docs/gst/tmpl/gstindex.sgml:
5258 * docs/manual/appendix-quotes.xml:
5259 * gst/base/gstbasesrc.h:
5260 * gst/elements/gstfakesrc.h:
5261 * gst/gstmessage.h:
5262 start pulling in base classes and elements in our docs
5264 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5266 * docs/gst/Makefile.am:
5267 * docs/libs/Makefile.am:
5268 fixed make distcheck with gtk-doc 1.3
5270 2005-06-23 Wim Taymans <wim@fluendo.com>
5272 * gst/gstelement.c: (gst_element_get_state_func),
5273 (gst_element_set_state), (gst_element_change_state):
5274 When the state did not change, also report NO_PREROLL
5275 when it matters.
5277 2005-06-23 Wim Taymans <wim@fluendo.com>
5279 * gst/gstpad.c: (gst_pad_event_default):
5280 * gst/gstqueue.c: (gst_queue_loop):
5281 No unsafe task pausing please.
5283 2005-06-23 Wim Taymans <wim@fluendo.com>
5285 * gst/schedulers/threadscheduler.c:
5286 (gst_thread_scheduler_task_start),
5287 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5288 Ref the task before pushing it on the threadpool. This
5289 makes sure that we have a ref when the threadfunction is
5290 actually called.
5292 2005-06-23 Andy Wingo <wingo@pobox.com>
5294 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5295 offset is greater than the file's size.
5297 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5298 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5299 * gst/gstobject.c (gst_object_class_init): Make the class lock
5300 recursive. Wim won't let me drop deep_notify. Decodebin works
5301 again, whoopdy doo.
5303 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5304 internal pad, and hacks accordingly. Doesn't do it on the target
5305 pad because we change its caps. Probably catches all cases of
5306 interest tho.
5307 (gst_ghost_pad_set_property): Connect to notify::caps as
5308 appropritate.
5310 * tests/network-clock.scm (plot-simulation): Pipe data to the
5311 elite python skript.
5313 * tests/network-clock-utils.scm (define-parameter): New macro,
5314 defines a parameter that can be set via the command line.
5315 (set-parameter!, parse-parameter-arguments): Command line args
5316 parser.
5318 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5319 stdin.
5321 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5323 * gst/elements/gsttypefindelement.c:
5324 (gst_type_find_element_handle_event):
5325 Don't restart typefinding on a discont.
5326 * gst/gstelement.c: (gst_element_set_state):
5327 Debug spelling fix.
5328 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5329 Allow changing mode of an active pad.
5330 Debug output fixes.
5331 * gst/registries/gstlibxmlregistry.c: (load_feature):
5332 Don't cast a static pad template to a normal pad template.
5334 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5336 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5337 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5338 remove gst_strtoll completely, since it didn't actually do
5339 anything more than what g_ascii_strtoull already does.
5340 check for range errors when deserializing
5341 do a cast for the unsigned cases; but further fixing needs
5342 a decision on what the interpretation of "(int)" and
5343 deserialization should be for values that fall outside the
5344 type's boundaries (ie, refuse, or interpret as casting)
5346 2005-06-23 Wim Taymans <wim@fluendo.com>
5348 * check/Makefile.am:
5349 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5350 * docs/design/part-live-source.txt:
5351 * docs/design/part-states.txt:
5352 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5353 (gst_basesrc_set_live), (gst_basesrc_is_live),
5354 (gst_basesrc_get_range), (gst_basesrc_activate),
5355 (gst_basesrc_change_state):
5356 * gst/base/gstbasesrc.h:
5357 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5358 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5359 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5360 * gst/gstelement.c: (gst_element_get_state_func),
5361 (gst_element_set_state):
5362 * gst/gstelement.h:
5363 * gst/gsttypes.h:
5364 * tools/gst-launch.c: (event_loop), (main):
5365 Added support for live sources and other elements that
5366 cannot do preroll.
5367 Updated design docs, added live-source design doc.
5368 Implemented live source functionality in basesrc
5369 Fix error condition in _bin_get_state()
5370 Implement live source handling in -launch.
5371 Added check for live sources.
5372 Fixed case in GstBin where elements were changed state
5373 multiple times.
5376 2005-06-23 Andy Wingo <wingo@pobox.com>
5378 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5379 borken refcounting.
5381 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5382 gst_caps_replace takes care of this for us.
5384 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5385 gst_pad_set_caps on the target, not just its setcaps() function.
5387 * tests/network-clock.scm:
5388 * tests/network-clock-utils.scm: A network clock simulator.
5389 Something of an algorithmic testbed before doing something in C.
5391 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5393 * check/Makefile.am:
5394 * check/gst/capslist.h:
5395 copy over from 0.8, and add two with bitmasks specified with
5396 (int) 0xFF...
5397 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5398 add test to parse everything from capslist.h
5399 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5400 (main):
5401 add test for structure deserialization
5402 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5403 add tests for deserialization of strings to int types
5404 * gst/gststructure.c: (gst_structure_nth_field_name):
5405 * gst/gststructure.h:
5406 add a way to get the name of a field referenced by index
5407 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5408 instead of checking if the resulting long long lies between
5409 min and max, we check if the long long would fit into
5410 a number of bytes for the final type.
5411 This fixes cases where a string represents 2^32 - 1, which
5412 when cast to int would be the (valid) -1, but is bigger than
5413 G_MAXINT
5415 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5417 * gst/parse/grammar.y:
5418 add a log line for type deserialization
5420 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5422 * check/gst/gstvalue.c: (START_TEST):
5423 * gst/gstvalue.c: (gst_value_deserialize):
5424 return long long, not int, so gint64 deserialization actually
5425 works. Is there any flag that makes the compiler check this ?
5426 Fixes #308559
5428 2005-06-22 Wim Taymans <wim@fluendo.com>
5430 * gst/gstbuffer.h:
5431 Added convenience macros for setting buffers in GValue.
5433 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5435 * check/gst/.cvsignore:
5436 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5437 add a test deserializing int64, and comment part out because
5438 it fails, yay !
5440 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5442 * check/Makefile.am:
5443 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5444 * testsuite/Makefile.am:
5445 * testsuite/caps/Makefile.am:
5446 * testsuite/caps/value_serialize.c:
5447 * testsuite/test_gst_init.c:
5448 move a value_serialize test over
5450 2005-06-20 Wim Taymans <wim@fluendo.com>
5452 * gst/gstpad.c:
5453 Small doc updates.
5455 * gst/gstvalue.c: (gst_value_compare_buffer),
5456 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5457 (gst_value_compare_flags), (gst_value_serialize_flags),
5458 (gst_value_deserialize_flags), (_gst_value_initialize):
5459 Fix serialisation of buffers, they are not boxed types anymore
5461 2005-06-20 Wim Taymans <wim@fluendo.com>
5463 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5464 Testcase to show error in buffer-on-caps serialisation.
5466 2005-06-20 Andy Wingo <wingo@pobox.com>
5468 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5469 will be adding to later.
5471 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5472 if its socks fill with rocks.
5473 (gst_system_clock_obtain): Set the name on object construction.
5474 Avoid double-checked locking.
5476 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
5478 * gst/gsturi.c: (gst_element_make_from_uri):
5479 Fix potential endless loop.
5481 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5483 * check/Makefile.am:
5484 add gsttag
5485 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5486 (main):
5487 move over from testsuite dir and clean up
5488 * configure.ac:
5489 * gst/gsttag.c:
5490 * testsuite/Makefile.am:
5491 * testsuite/tags/.cvsignore:
5492 * testsuite/tags/Makefile.am:
5493 * testsuite/tags/merge.c:
5494 remove testsuite/tags
5496 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5498 * docs/gst/gstreamer-sections.txt:
5499 * docs/gst/tmpl/gstenumtypes.sgml:
5500 * win32/gstenumtypes.c:
5501 clean up documentation build a little
5503 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5505 * check/gstcheck.h:
5506 add macros for checking refcounts on objects and caps
5507 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5508 add some more unit tests
5509 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5510 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5511 fix leaked refcounts (I hope :)) so unittest works
5512 * gst/gstpad.h:
5513 whitespace removal
5515 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5517 * configure.ac: back to HEAD
5519 === release 0.9.1 ===
5521 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5523 * NEWS:
5524 * RELEASE:
5525 updated
5527 2005-06-17 Andy Wingo <wingo@pobox.com>
5529 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5530 assert; it's always possible that the pad gets deactivated in
5531 between the checks in gstpad.c and the implementation. Rely on
5532 finish_preroll() to return a FLUSHING or similar instead of on the
5533 assert.
5535 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5536 clock and post an EOS message if we come out of finish_preroll in
5537 the playing state.
5539 2005-06-16 David Schleef <ds@schleef.org>
5541 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5542 (gst_capsfilter_set_property): Allow NULL as possible value
5543 for filter_caps property, indicating GST_CAPS_ANY.
5545 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5547 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5548 fix debug output
5549 * gst/schedulers/Makefile.am:
5550 use libgst prefix
5551 * gstreamer.spec.in:
5552 fix spec for it
5554 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5556 * gstreamer.spec.in:
5557 clean up
5559 2005-06-08 Andy Wingo <wingo@pobox.com>
5561 * gst/gstutils.c: RPAD fixes all around.
5562 (gst_element_link_pads): Refcounting fixes.
5564 * tools/gst-inspect.c:
5565 * tools/gst-xmlinspect.c:
5566 * parse/grammar.y:
5567 * gst/base/gsttypefindhelper.c:
5568 * gst/base/gstbasesink.c:
5569 * gst/gstqueue.c: RPAD fixes.
5571 * gst/gstghostpad.h:
5572 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5573 pads. The tricky thing is they provide both source and sink
5574 interfaces, since they proxy the internal pad for the external
5575 pad, and vice versa. Implement with lower-level ProxyPad objects,
5576 with the interior proxy pad as a child of the exterior ghost pad.
5577 Should write a doc on this.
5579 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5580 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5581 gst_object API.
5583 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5584 pads are real pads. No ghost pads in this file. Not documenting
5585 the myriad s/RPAD/PAD/ and REALIZE fixes.
5586 (gst_pad_class_init): Add properties for "direction" and
5587 "template". Both are construct-only, so they can't change during
5588 the life of the pad. Fixes properly deriving from GstPad.
5589 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5590 derived objects, just set properties when creating the objects via
5591 g_object_new.
5592 (gst_pad_get_parent): Implement as a function, return NULL if the
5593 parent is not an element.
5594 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5595 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5597 * gst/gstobject.c (gst_object_class_init): Make name a construct
5598 property. Don't set it in the object init.
5600 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5601 with UNKNOWN direction.
5602 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5603 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5604 (gst_element_remove_pad): Remove ghost-pad special cases.
5605 (gst_element_pads_activate): Remove rpad cruft.
5607 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5608 catch the pad's-parent-not-an-element case.
5610 * gst/gst.h: Include gstghostpad.h.
5612 * gst/gst.c (init_post): No more real, ghost pads.
5614 * gst/Makefile.am: Add gstghostpad.[ch].
5616 * check/Makefile.am:
5617 * check/gst/gstbin.c:
5618 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5619 into a bin creates ghost pads, and that the refcounts are right.
5620 Partly moved from gstbin.c.
5622 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5624 * check/gst-libs/.cvsignore:
5625 * check/gst/.cvsignore:
5626 * check/pipelines/.cvsignore:
5627 ignore more
5628 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5629 (START_TEST), (cleanup_suite), (main):
5630 add some tests related to cleanup after running pipelines
5632 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5634 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5635 add a testsuite for GstBuffer
5637 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5639 * gst/gstminiobject.h:
5640 add defines for accessing the refcount
5642 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5644 * Makefile.am: added support for html unit test coverage reports
5646 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5648 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5649 Free existing caps if the capsfilter changes. Add a FIXME about
5650 setting those caps on the pads.
5652 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5653 Before adding a ghost pad to a parent bin, check that there isn't
5654 already one for the element on the bin. Prevents infinite recursion
5655 when using decodebin in parse pipelines. Andy says he'll rewrite the
5656 way this works anyway, so ignore the hack.
5658 2005-06-02 Andy Wingo <wingo@pobox.com>
5660 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5661 file size, pass it on to the type find helper.
5663 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5664 segment_start and segment_end properly according to the seek
5665 method. Segment_end is still a bit flaky because offset can be
5666 negative for CUR and END cases, but it takes -1 as an "unset"
5667 value.
5669 2005-06-02 Wim Taymans <wim@fluendo.com>
5671 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5672 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5673 (gst_basesink_activate):
5674 * gst/base/gstbasesink.h:
5675 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5676 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5677 (gst_pad_query), (gst_pad_start_task):
5678 * gst/gstpad.h:
5679 * gst/gstqueue.c: (gst_queue_bufferalloc),
5680 (gst_queue_handle_sink_event), (gst_queue_chain):
5681 Bufferalloc: return GstFlowReturn to more accuratly report
5682 why allocation failed.
5684 2005-06-02 Wim Taymans <wim@fluendo.com>
5686 * gst/gstpipeline.c: (gst_pipeline_send_event):
5687 Take snapshot of state without blocking.
5689 2005-06-02 Wim Taymans <wim@fluendo.com>
5691 * docs/design/part-TODO.txt:
5692 * docs/design/part-caps.txt:
5693 * docs/design/part-clocks.txt:
5694 * docs/design/part-negotiation.txt:
5695 * docs/design/part-preroll.txt:
5696 Small doc updates
5698 2005-05-30 Wim Taymans <wim@fluendo.com>
5700 * gst/elements/gstidentity.c: (gst_identity_event),
5701 (gst_identity_transform), (gst_identity_get_property):
5702 Protect last_message property as it is accessed from
5703 multiple threads.
5705 2005-05-30 Wim Taymans <wim@fluendo.com>
5707 * gst/gstelement.c: (gst_element_init),
5708 (gst_element_pads_activate), (gst_element_change_state):
5709 Slicker pad activation code.
5711 2005-05-30 Wim Taymans <wim@fluendo.com>
5713 * gst/Makefile.am:
5714 * gst/gstelement.h:
5715 * gst/gstelementfactory.h:
5716 * gst/gsttypes.h:
5717 Move elementfactory methods to separate .h file.
5719 2005-05-30 Wim Taymans <wim@fluendo.com>
5721 * docs/design/part-overview.txt:
5722 * gst/gstsystemclock.h:
5723 Small typo fixes, doc updates.
5725 2005-05-30 Wim Taymans <wim@fluendo.com>
5727 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5728 (init_popt_callback):
5729 Remove cpu-opt flag.
5731 2005-05-30 Wim Taymans <wim@fluendo.com>
5733 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5734 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5735 * gst/gstbuffer.h:
5736 Avoid typechecking in places where not needed.
5737 Added accessor for malloc_data.
5739 2005-05-30 Wim Taymans <wim@fluendo.com>
5741 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5742 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5743 (gst_pad_configure_sink), (gst_pad_configure_src),
5744 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5745 (gst_pad_start_task):
5746 Propagate errors from _set_caps() in configure_src/sink
5747 functions instead of returning TRUE.
5748 FLUSH events can travel up and downstream
5751 2005-05-30 Wim Taymans <wim@fluendo.com>
5753 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5754 (gst_basesink_activate):
5755 Handle EOS in preroll.
5757 2005-05-30 Wim Taymans <wim@fluendo.com>
5759 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5760 (gst_queue_loop), (gst_queue_handle_src_event):
5761 Remove old pieces of code
5762 Flushing the queue in an upstream event is a very bad idea.
5764 2005-05-26 Andy Wingo <wingo@pobox.com>
5766 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5767 gst_value_set_mini_object so as to add a ref on the object (which
5768 will be removed when the value is unset).
5770 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5771 arg type in ::handoff.
5773 * gst/gstelement.c (gst_element_change_state): Also deactivate
5774 pads in READY->NULL, just in case the element didn't make it to
5775 PAUSED. Wingo tested, Wim approved.
5777 2005-05-26 Wim Taymans <wim@fluendo.com>
5779 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5780 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5781 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5782 A flushing pad cannot be used to alloc_buffer from.
5784 2005-05-26 Wim Taymans <wim@fluendo.com>
5786 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5787 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5788 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5789 (gst_bus_create_watch), (gst_bus_add_watch_full):
5790 * gst/gstbus.h:
5791 Implement a real GSource and use g_main_context_wakeup() to
5792 signal new messages instead of the socketpair.
5794 2005-05-25 Wim Taymans <wim@fluendo.com>
5796 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5797 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5798 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5799 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5800 (gst_pad_send_event), (gst_pad_start_task):
5801 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5802 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5803 (gst_queue_sink_activate), (gst_queue_src_activate),
5804 (gst_queue_change_state):
5805 * gst/gstqueue.h:
5806 Fix state changes for non sinks. We now change sinks, then elements
5807 with unconnected srcpads, then the rest.
5808 More efficient queue unlocking in flush and state changes.
5809 Set the pad activate mode even if it does not have an activate
5810 function.
5812 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5814 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5815 Don't go in pull mode for non-seekable sources.
5816 * gst/elements/gsttypefindelement.h:
5817 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5818 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5819 (free_entry), (stop_typefinding),
5820 (gst_type_find_element_handle_event), (find_peek),
5821 (gst_type_find_element_chain), (do_pull_typefind),
5822 (gst_type_find_element_change_state):
5823 Allow typefinding (w/o seeking) in push-mode, simplified version
5824 of what was in 0.8.
5825 * gst/gstutils.c: (gst_buffer_join):
5826 * gst/gstutils.h:
5827 gst_buffer_join() from 0.8.
5829 2005-05-25 Wim Taymans <wim@fluendo.com>
5831 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5832 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5833 (gst_pad_send_event), (gst_pad_start_task):
5834 Disable attempt at mode switching until it is figured out.
5836 2005-05-25 Wim Taymans <wim@fluendo.com>
5838 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
5839 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5840 (gst_basesink_finish_preroll), (gst_basesink_chain),
5841 (gst_basesink_loop), (gst_basesink_activate),
5842 (gst_basesink_change_state):
5843 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
5844 (gst_basesrc_get_range), (gst_basesrc_loop),
5845 (gst_basesrc_activate):
5846 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5847 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5848 (gst_real_pad_init), (gst_real_pad_set_property),
5849 (gst_real_pad_get_property), (gst_pad_set_active),
5850 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
5851 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
5852 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
5853 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
5854 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5855 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
5856 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
5857 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5858 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
5859 (gst_pad_stop_task):
5860 * gst/gstpad.h:
5861 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5862 (gst_queue_loop), (gst_queue_src_activate):
5863 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
5864 (gst_task_get_state):
5865 * gst/gsttask.h:
5866 * gst/schedulers/threadscheduler.c:
5867 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
5868 Implement gst_pad_pause/start/stop_task(), take STREAM lock
5869 in task function.
5870 Remove ACTIVE pad flag, use FLUSHING everywhere
5871 Added _pad_chain(), _pad_get_range() to call chain/getrange
5872 functions.
5873 Add locks around IS_FLUSHING when reading.
5874 Take STREAM lock in chain(), get_range() functions so plugins
5875 don't need to take it anymore.
5879 2005-05-25 Wim Taymans <wim@fluendo.com>
5881 * tools/gst-launch.c: (event_loop):
5882 Unref message after using its contents instead of
5883 before.
5885 2005-05-24 Wim Taymans <wim@fluendo.com>
5887 * docs/design/draft-ghostpads.txt:
5888 * docs/design/draft-push-pull.txt:
5889 * docs/design/draft-query.txt:
5890 * docs/design/part-overview.txt:
5891 Docs updates, added general overview doc.
5893 2005-05-21 David Schleef <ds@schleef.org>
5895 * docs/gst/tmpl/old/GstBin.sgml:
5896 * docs/gst/tmpl/old/GstBuffer.sgml:
5897 * docs/gst/tmpl/old/GstCaps.sgml:
5898 * docs/gst/tmpl/old/GstClock.sgml:
5899 * docs/gst/tmpl/old/GstCompat.sgml:
5900 * docs/gst/tmpl/old/GstData.sgml:
5901 * docs/gst/tmpl/old/GstElement.sgml:
5902 * docs/gst/tmpl/old/GstEvent.sgml:
5903 * docs/gst/tmpl/old/GstIndex.sgml:
5904 * docs/gst/tmpl/old/GstStructure.sgml:
5905 * docs/gst/tmpl/old/GstTag.sgml:
5906 * docs/gst/tmpl/old/cothreads.sgml:
5907 * docs/gst/tmpl/old/cothreads_compat.sgml:
5908 * docs/gst/tmpl/old/gettext.sgml:
5909 * docs/gst/tmpl/old/gobject2gtk.sgml:
5910 * docs/gst/tmpl/old/grammar.tab.sgml:
5911 * docs/gst/tmpl/old/gst-i18n-app.sgml:
5912 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
5913 * docs/gst/tmpl/old/gst_private.sgml:
5914 * docs/gst/tmpl/old/gstaggregator.sgml:
5915 * docs/gst/tmpl/old/gstarch.sgml:
5916 * docs/gst/tmpl/old/gstatomic_impl.sgml:
5917 * docs/gst/tmpl/old/gstbufferstore.sgml:
5918 * docs/gst/tmpl/old/gstdata_private.sgml:
5919 * docs/gst/tmpl/old/gstdisksink.sgml:
5920 * docs/gst/tmpl/old/gstdisksrc.sgml:
5921 * docs/gst/tmpl/old/gstelementfactory.sgml:
5922 * docs/gst/tmpl/old/gstextratypes.sgml:
5923 * docs/gst/tmpl/old/gstfakesink.sgml:
5924 * docs/gst/tmpl/old/gstfakesrc.sgml:
5925 * docs/gst/tmpl/old/gstfdsink.sgml:
5926 * docs/gst/tmpl/old/gstfdsrc.sgml:
5927 * docs/gst/tmpl/old/gstfilesink.sgml:
5928 * docs/gst/tmpl/old/gstfilesrc.sgml:
5929 * docs/gst/tmpl/old/gsthttpsrc.sgml:
5930 * docs/gst/tmpl/old/gstidentity.sgml:
5931 * docs/gst/tmpl/old/gstindexfactory.sgml:
5932 * docs/gst/tmpl/old/gstmarshal.sgml:
5933 * docs/gst/tmpl/old/gstmd5sink.sgml:
5934 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
5935 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
5936 * docs/gst/tmpl/old/gstpadtemplate.sgml:
5937 * docs/gst/tmpl/old/gstpipefilter.sgml:
5938 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
5939 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
5940 * docs/gst/tmpl/old/gstshaper.sgml:
5941 * docs/gst/tmpl/old/gstspider.sgml:
5942 * docs/gst/tmpl/old/gstspideridentity.sgml:
5943 * docs/gst/tmpl/old/gststatistics.sgml:
5944 * docs/gst/tmpl/old/gsttee.sgml:
5945 * docs/gst/tmpl/old/gsttimecache.sgml:
5946 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
5947 * docs/gst/tmpl/old/gstxmlregistry.sgml:
5948 * docs/gst/tmpl/old/gthread-cothreads.sgml:
5949 * docs/gst/tmpl/old/types.sgml:
5950 I didn't intend to add these or check them in.
5952 2005-05-19 David Schleef <ds@schleef.org>
5954 * configure.ac: Use -no-common everywhere. In a sane world, it
5955 would be the default in libtool, because without it, you can't
5956 build DLLs on Windows.
5957 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
5958 * docs/gst/gstreamer-sections.txt:
5959 * docs/gst/tmpl/gstcpu.sgml:
5960 * docs/gst/tmpl/gstdata.sgml:
5961 * docs/gst/tmpl/gstthread.sgml:
5963 2005-05-19 David Schleef <ds@schleef.org>
5965 * gst/gstminiobject.c: (gst_value_set_mini_object),
5966 (gst_value_take_mini_object), (gst_value_get_mini_object):
5967 * gst/gstminiobject.h: Add GValue set/get functions.
5969 2005-05-19 Wim Taymans <wim@fluendo.com>
5971 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
5972 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
5973 (gst_subbuffer_init), (gst_buffer_is_span_fast):
5974 * gst/gstbuffer.h:
5975 * gst/gstbus.c: (gst_bus_post):
5976 * gst/gstelement.c: (gst_element_get_random_pad):
5977 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
5978 Make subbufer unref the parent in finalize.
5979 some more debugging info.
5982 2005-05-19 Wim Taymans <wim@fluendo.com>
5984 * gst/base/gstbasesink.c: (gst_basesink_class_init),
5985 (gst_basesink_init), (gst_basesink_finalize),
5986 (gst_basesink_activate), (gst_basesink_change_state):
5987 Don't free preroll queue too early.
5989 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5991 * gst/Makefile.am:
5992 * gst/ROADMAP:
5993 Hi, I'm outdated. Please shoot me.
5995 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5997 * gst/gstpipeline.c: (gst_pipeline_send_event):
5998 Do not access variables after they have been deleted.
6000 2005-05-19 Wim Taymans <wim@fluendo.com>
6002 * tools/gst-inspect.c: (print_plugin_features):
6003 A plugin feature does unfortunatly not use the
6004 object name yet...
6006 2005-05-18 Wim Taymans <wim@fluendo.com>
6008 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6009 Port _span() functions to new subbuffers.
6011 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6013 * gst/gstbin.c: (gst_bin_add_func):
6014 Fix clock settery in bins when adding kids after the clock has
6015 been selected.
6017 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6019 * gst/elements/gstidentity.c: (gst_identity_class_init):
6020 Workaround until signals support GstMiniObject.
6022 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6024 * gst/gstbuffer.c:
6025 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6027 2005-05-18 Wim Taymans <wim@fluendo.com>
6029 * gst/base/Makefile.am:
6030 * gst/base/gstadapter.c: (gst_adapter_base_init),
6031 (gst_adapter_class_init), (gst_adapter_init),
6032 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6033 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6034 (gst_adapter_flush), (gst_adapter_available),
6035 (gst_adapter_available_fast):
6036 * gst/base/gstadapter.h:
6037 Ported and added adapter to the base classes.
6039 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6041 * gst/gst.c:
6042 * gst/gstmessage.c:
6043 Make sure the class is reffed/unreffed once before threads can be
6044 used. Fixes #304551.
6046 2005-05-17 Wim Taymans <wim@fluendo.com>
6048 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6049 (gst_basesink_chain_unlocked), (gst_basesink_activate):
6050 * gst/gstminiobject.c: (gst_mini_object_get_type),
6051 (gst_mini_object_free):
6052 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6053 (gst_pad_push), (gst_pad_push_event):
6054 * gst/gstqueue.c: (gst_queue_change_state):
6055 Don't queue buffers in basesink when we are flushing.
6056 Unref buffer when flushing in basesink.
6057 Flush queue when going to READY
6058 Unref buffer when _push() returns an error.
6059 Don't free MiniObject instance when refcount is incremented
6060 in _finalize() so that we can recover objects.
6062 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
6064 * docs/manual/advanced-schedulers.xml:
6065 * docs/manual/appendix-checklist.xml:
6066 * docs/pwg/advanced-clock.xml:
6067 * docs/pwg/advanced-interfaces.xml:
6068 * docs/pwg/advanced-request.xml:
6069 * docs/pwg/advanced-types.xml:
6070 * docs/pwg/intro-preface.xml:
6071 * examples/plugins/example.c: (gst_example_get_type),
6072 (gst_example_class_init), (gst_example_chain),
6073 (gst_example_set_property), (gst_example_get_property),
6074 (gst_example_change_state), (plugin_init):
6075 * examples/plugins/example.h:
6076 small doc fixes
6078 2005-05-17 Wim Taymans <wim@fluendo.com>
6080 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6081 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6082 * gst/gstqueue.c: (gst_queue_change_state):
6083 Clear queue when going to READY.
6084 Remove IN_SETCAPS flag too.
6086 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
6088 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6089 Remove implicit cast from gboolean to GstElementStateReturn;
6090 make sure we still return failure in paused => ready case if
6091 the parent class fails to change state and our own stop
6092 vfunc succeeds.
6094 2005-05-17 Wim Taymans <wim@fluendo.com>
6096 * tools/gst-launch.c: (event_loop):
6097 Message was unreffed too soon.
6099 2005-05-16 Andy Wingo <wingo@pobox.com>
6101 * gst/gstbin.c (sink_iterator_filter): Err... um...
6103 * check/gst/gstbin.c (test_ghost_pads): New test for the
6104 ghosting-if-elements-not-in-same-bin behavior.
6106 2005-05-16 David Schleef <ds@schleef.org>
6108 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6109 accessing refcount directly.
6111 2005-05-15 David Schleef <ds@schleef.org>
6113 * check/Makefile.am: remove GstData checks
6114 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6115 * gst/Makefile.am: add miniobject, remove data
6116 * gst/gst.h: add miniobject, remove data
6117 * gst/gstdata.c: remove
6118 * gst/gstdata.h: remove
6119 * gst/gstdata_private.h: remove
6120 * gst/gsttypes.h: remove GstEvent and GstMessage
6121 * gst/gstelement.c: (gst_element_post_message): fix for API changes
6122 * gst/gstmarshal.list: change BOXED -> OBJECT
6124 Implement GstMiniObject.
6125 * gst/gstminiobject.c:
6126 * gst/gstminiobject.h:
6128 Modify to be subclasses of GstMiniObject.
6129 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6130 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6131 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6132 (gst_subbuffer_get_type), (gst_subbuffer_init),
6133 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6134 (gst_buffer_span):
6135 * gst/gstbuffer.h:
6136 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6137 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6138 (_gst_event_copy), (gst_event_new):
6139 * gst/gstevent.h:
6140 * gst/gstmessage.c: (_gst_message_initialize),
6141 (gst_message_get_type), (gst_message_class_init),
6142 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6143 (gst_message_new), (gst_message_new_error),
6144 (gst_message_new_warning), (gst_message_new_tag),
6145 (gst_message_new_state_changed), (gst_message_new_application):
6146 * gst/gstmessage.h:
6147 * gst/gstprobe.c: (gst_probe_perform),
6148 (gst_probe_dispatcher_dispatch):
6149 * gst/gstprobe.h:
6150 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6151 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6152 (_gst_query_copy), (gst_query_new):
6154 Update elements for GstData -> GstMiniObject changes
6155 * gst/gstquery.h:
6156 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6157 (gst_queue_chain), (gst_queue_loop):
6158 * gst/elements/gstbufferstore.c:
6159 (gst_buffer_store_add_buffer_func),
6160 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6161 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6162 (gst_fakesink_render):
6163 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6164 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6165 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6166 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6167 (gst_filesrc_create_read):
6168 * gst/elements/gstidentity.c: (gst_identity_class_init):
6169 * gst/elements/gsttypefindelement.c:
6170 (gst_type_find_element_src_event), (free_entry_buffers),
6171 (gst_type_find_element_handle_event):
6172 * libs/gst/dataprotocol/dataprotocol.c:
6173 (gst_dp_header_from_buffer):
6174 * libs/gst/dataprotocol/dataprotocol.h:
6175 * libs/gst/dataprotocol/dp-private.h:
6177 2005-05-15 David Schleef <ds@schleef.org>
6179 * gst/elements/gstelements.c: Don't include headers that were
6180 just removed.
6182 2005-05-15 David Schleef <ds@schleef.org>
6184 * gst/elements/Makefile.am: Remove some elements that don't
6185 need to be in the core (or even exist at all).
6186 * gst/elements/gstaggregator.c:
6187 * gst/elements/gstaggregator.h:
6188 * gst/elements/gstmd5sink.c:
6189 * gst/elements/gstmd5sink.h:
6190 * gst/elements/gstmultifilesrc.c:
6191 * gst/elements/gstmultifilesrc.h:
6192 * gst/elements/gstpipefilter.c:
6193 * gst/elements/gstpipefilter.h:
6194 * gst/elements/gstshaper.c:
6195 * gst/elements/gstshaper.h:
6196 * gst/elements/gststatistics.c:
6197 * gst/elements/gststatistics.h:
6198 * po/POTFILES.in: Remove above files.
6200 2005-05-14 Andy Wingo <wingo@pobox.com>
6202 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6203 so as to get the refs right.
6204 (sink_iterator_filter): New function, wraps bin_element_is_sink,
6205 unreffing objects that don't pass the filter.
6207 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6208 gst_element_set_bus.
6209 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6210 normal cases, this will destroy the bus.
6212 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6213 object.
6215 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6216 has no sinks.
6218 2005-05-13 Andy Wingo <wingo@pobox.com>
6220 * gst/gstutils.c (gst_element_link_pads): Instead of calling
6221 gst_pad_link, call pad_link_maybe_ghosting,
6222 (pad_link_maybe_ghosting): Links pads, making sure that the
6223 elements being linked are in the same bin.
6224 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6225 Helpers for pad_link_maybe_ghosting.
6227 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6229 * configure.ac:
6230 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6232 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6234 * docs/design/part-element-source.txt:
6235 Mention GstPushSrc
6237 2005-05-12 Wim Taymans <wim@fluendo.com>
6239 * gst/base/gstbasesink.c: (gst_basesink_init),
6240 (gst_basesink_activate):
6241 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6242 (gst_basesrc_is_seekable):
6243 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6244 (bin_element_is_sink), (gst_bin_change_state):
6245 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6246 * gst/gstelement.h:
6247 Identify sinks by their flag to avoid overly complicated
6248 checks (fow now).
6249 Do state changes even for elements not reachable from the
6250 sinks.
6251 BaseSink is a sink now :)
6252 Some more debugging info in the basesrc.
6255 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6257 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6258 Implement _query on a bin, similar to _send_event.
6260 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
6262 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6263 Discont event offset format should be GST_FORMAT_BYTES,
6264 not GST_FORMAT_TIME.
6266 2005-05-12 Wim Taymans <wim@fluendo.com>
6268 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6269 Same fix as Ronald's but without the signal.
6271 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6273 * gst/gstutils.c: (gst_element_query_position):
6274 No, an element is not a pad.
6276 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6278 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6279 (gst_bin_get_state):
6280 If a child is removed from a bin while we remove the child from
6281 the bin and while we're retrieving its state, signal this to the
6282 get_state function so we abort the wait (instead of waiting for
6283 a timeout) and can immediately re-iterate over all other elements.
6285 2005-05-12 Wim Taymans <wim@fluendo.com>
6287 * gst/base/Makefile.am:
6288 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6289 (gst_basesrc_start):
6290 * gst/base/gstbasesrc.h:
6291 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6292 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6293 (gst_pushsrc_init), (gst_pushsrc_create):
6294 * gst/base/gstpushsrc.h:
6295 Added is_seekable to BaseSrc
6296 Added simple PushSrc.
6298 2005-05-11 Wim Taymans <wim@fluendo.com>
6300 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6301 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6302 (gst_element_link_pads), (gst_element_query_position),
6303 (gst_element_query_convert), (intersect_caps_func),
6304 (gst_pad_query_position), (gst_pad_query_convert):
6305 Fix refcounting in utils function.
6306 No point in trying to activate a pad when it's added, it could
6307 be added from the state change function and then we deadlock, the
6308 element has to decide what to do.
6310 2005-05-10 Andy Wingo <wingo@pobox.com>
6312 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6313 *all* the arguments.
6315 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6316 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6317 lock (according to the docs -- if this is wrong change the docs).
6319 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6320 flush messages in the NULL state.
6322 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6323 message immediately and return.
6324 (gst_bus_set_flushing): New function. If a bus is flushing, it
6325 flushes out any queued messages and immediately unrefs new
6326 messages. This is so when an element goes to NULL, all of the
6327 unhandled messages coming from it can be freed, and their
6328 references to the element dropped. In other words: message source
6329 ref considered harmful :P
6331 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6332 we're finished with it.
6334 * gst/gstmessage.c (gst_message_new_state_changed):
6336 2005-05-10 Wim Taymans <wim@fluendo.com>
6338 * gst/gstvalue.c: (gst_value_compare_flags),
6339 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6340 (_gst_value_initialize):
6341 Added flags serialize/deserialize/compare code.
6343 2005-05-09 Andy Wingo <wingo@pobox.com>
6345 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6346 Intersect the peer's caps with our caps.
6348 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6350 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6351 * gst/elements/gsttypefindelement.c: (find_peek):
6352 Handle negative offsets better. Fixes decodebin.
6354 2005-05-09 Wim Taymans <wim@fluendo.com>
6356 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6357 (gst_base_transform_event):
6358 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6359 Implement accept_caps.
6360 Fix silly lock/unlock mismatch in base class.
6362 2005-05-09 Wim Taymans <wim@fluendo.com>
6364 * docs/design/draft-push-pull.txt:
6365 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6366 * gst/elements/gstfilesink.c: (gst_filesink_init),
6367 (gst_filesink_query):
6368 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6369 (gst_type_find_handle_src_query), (find_element_get_length):
6370 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6371 * gst/gstelement.h:
6372 * gst/gstmessage.c:
6373 * gst/gstmessage.h:
6374 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6375 (gst_real_pad_get_caps_unlocked),
6376 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6377 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6378 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6379 (gst_real_pad_dispose), (gst_real_pad_finalize),
6380 (gst_pad_load_and_link), (gst_pad_save_thyself),
6381 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6382 (gst_pad_check_pull_range), (gst_pad_pull_range),
6383 (gst_pad_template_get_type), (gst_pad_template_class_init),
6384 (gst_pad_template_init), (gst_pad_template_dispose),
6385 (name_is_valid), (gst_static_pad_template_get),
6386 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6387 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6388 (gst_pad_get_element_private), (gst_pad_start_task),
6389 (gst_pad_pause_task), (gst_pad_stop_task),
6390 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6391 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6392 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6393 (gst_ghost_pad_new):
6394 * gst/gstpad.h:
6395 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6396 (gst_query_new_position), (gst_query_set_position),
6397 (gst_query_parse_position), (gst_query_new_convert),
6398 (gst_query_set_convert), (gst_query_parse_convert):
6399 * gst/gstquery.h:
6400 * gst/gstqueryutils.c:
6401 * gst/gstqueryutils.h:
6402 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6403 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6404 (gst_queue_handle_src_query):
6405 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6406 (gst_element_query_position), (gst_element_query_convert),
6407 (intersect_caps_func), (gst_pad_query_position),
6408 (gst_pad_query_convert):
6409 * gst/gstutils.h:
6410 * tools/gst-inspect.c: (print_pad_info):
6411 * tools/gst-xmlinspect.c: (print_element_info):
6412 Remove old query functions. Ported old code.
6413 Added position/convert helper functions to gstutils.
6414 Reordered gstpad.c code, grouping relevant things.
6415 Remove gst_message_new(), always need to speficy a specific
6416 message.
6419 2005-05-09 Andy Wingo <wingo@pobox.com>
6421 * gst/gstiterator.h: Add some includes.
6423 * gst/gstqueryutils.h: Include more headers.
6425 * gst/gstpad.h:
6426 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6427 some uses of gst_pad_query.
6429 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6430 NULL out parameters.
6431 (gst_query_new_position): New proc, allocates a new position
6432 query.
6434 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6435 gstqueryutils.c to the build.
6437 * gst/gststructure.c (gst_structure_set_valist): Implement with
6438 the generic G_VALUE_COLLECT.
6440 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6442 * gst/Makefile.am: (gst_headers):
6443 Added gstqueryutils.h to the list of headers to install, that was
6444 a 'nachty' move wingo :)
6446 2005-05-06 Andy Wingo <wingo@pobox.com>
6448 * gst/gstquery.h
6449 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6450 GstData, init a memchunk.
6451 (standard_definitions): Add a few query types, deprecate a few.
6452 (gst_query_get_type): New proc.
6453 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6454 implementation.
6455 (gst_query_new_application, gst_query_get_structure): New public
6456 procs.
6458 * docs/design/draft-query.txt: Removed LINKS from the query types,
6459 because all the rest can be dispatched to other pads -- seemed
6460 ugly to have a query that couldn't be dispatched. internal_links
6461 is fine as a pad method.
6463 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6464 in gstpad.c, but maintain binary compatibility for the moment.
6465 Will fix before 0.9 is out.
6467 * gst/gstqueryutils.c:
6468 * gst/gstqueryutils.h: New files, implement 3 methods for each
6469 query type: parse_query, parse_response, and set. Probably need an
6470 allocator as well.
6472 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6474 * gst/elements/gstfilesink.c (gst_filesink_query2):
6475 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6476 query_types, and formats methods.
6478 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6479 (gst_pad_set_query2_function): New functions.
6480 (gst_real_pad_init): Set query2_default as the default query2
6481 function. Basically just dispatches to internally linked pads.
6483 Needs review!
6485 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6486 without using the atomic operations. Only one thread can possibly
6487 be accessing the data at this point. Changed so as to avoid
6488 gst_atomic operations.
6490 2005-05-06 Wim Taymans <wim@fluendo.com>
6492 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6493 Also set caps if we use the fallback buffer alloc.
6495 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
6497 * docs/gst/Makefile.am:
6498 * docs/gst/gstreamer-docs.sgml:
6499 * docs/gst/gstreamer-sections.txt:
6500 * docs/gst/tmpl/gstatomic.sgml:
6501 * docs/gst/tmpl/gstmemchunk.sgml:
6502 * testsuite/elements/struct_i386.h:
6503 * win32/GStreamer.vcproj:
6504 * win32/Makefile:
6505 Purge GstAtomic stuff from docs and win32 makefiles as well
6507 2005-05-06 Wim Taymans <wim@fluendo.com>
6509 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6510 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6511 * gst/gstpad.c: (gst_pad_peer_get_caps):
6512 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6513 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6514 (gst_queue_src_activate), (gst_queue_change_state):
6515 * gst/gstqueue.h:
6516 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6517 (intersect_caps_func):
6518 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6519 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6520 Some fixes for the peer_get_caps() change.
6522 2005-05-06 Wim Taymans <wim@fluendo.com>
6524 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6525 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6526 (gst_basesink_activate):
6527 Actually do something with error codes returned from the push
6528 functions.
6530 2005-05-06 Wim Taymans <wim@fluendo.com>
6532 * docs/design/part-element-sink.txt:
6533 * docs/design/part-element-source.txt:
6534 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6535 (gst_basesink_event), (gst_basesink_activate):
6536 * gst/base/gstbasesink.h:
6537 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6538 (gst_basesrc_activate):
6539 * gst/base/gstbasesrc.h:
6540 * gst/gstelement.c: (gst_element_pads_activate):
6541 Some more documentation.
6542 Fixed scheduling decision in _pads_activate().
6544 2005-05-05 Andy Wingo <wingo@pobox.com>
6546 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6547 the test suite.
6549 2005-05-05 Wim Taymans <wim@fluendo.com>
6551 * gst/base/Makefile.am:
6552 * gst/base/gstbasesink.h:
6553 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6554 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6555 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6556 (gst_collectpads_class_init), (gst_collectpads_init),
6557 (gst_collectpads_finalize), (gst_collectpads_new),
6558 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6559 (find_pad), (gst_collectpads_remove_pad),
6560 (gst_collectpads_is_active), (gst_collectpads_collect),
6561 (gst_collectpads_collect_range), (gst_collectpads_start),
6562 (gst_collectpads_stop), (gst_collectpads_peek),
6563 (gst_collectpads_pop), (gst_collectpads_available),
6564 (gst_collectpads_read), (gst_collectpads_flush),
6565 (gst_collectpads_chain):
6566 * gst/base/gstcollectpads.h:
6567 * gst/elements/Makefile.am:
6568 * gst/elements/gstelements.c:
6569 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6570 (gst_fakesink_get_times), (gst_fakesink_event),
6571 (gst_fakesink_preroll), (gst_fakesink_render):
6572 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6573 (gst_filesink_init), (gst_filesink_set_location),
6574 (gst_filesink_open_file), (gst_filesink_close_file),
6575 (gst_filesink_pad_query), (gst_filesink_event),
6576 (gst_filesink_render), (gst_filesink_change_state):
6577 * gst/elements/gstfilesink.h:
6578 Added object to help in making collect pad based elements.
6579 Ported filesink.
6580 Make event function in sink baseclass return gboolean.
6582 2005-05-05 Wim Taymans <wim@fluendo.com>
6584 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6585 (gst_bin_get_by_name):
6586 * gst/gstbuffer.h:
6587 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6588 (gst_clock_finalize):
6589 * gst/gstdata.c: (gst_data_replace):
6590 * gst/gstdata.h:
6591 * gst/gstelement.c: (gst_element_request_pad),
6592 (gst_element_pads_activate):
6593 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6594 (gst_object_unref):
6595 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6596 (gst_pad_set_checkgetrange_function),
6597 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6598 (gst_pad_check_pull_range), (gst_pad_pull_range),
6599 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6600 (gst_pad_pause_task), (gst_pad_stop_task):
6601 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6602 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6603 Fix name lookup in GstBin.
6604 Added _data_replace() function and _buffer_replace()
6605 Use finalize method to clean up clock.
6606 Fix refcounting on request pads.
6607 Fix pad schedule mode error.
6608 Some more object refcounting debug info,
6611 2005-05-04 Andy Wingo <wingo@pobox.com>
6613 * check/Makefile.am:
6614 * docs/gst/tmpl/gstatomic.sgml:
6615 * docs/gst/tmpl/gstplugin.sgml:
6616 * gst/base/gstbasesink.c: (gst_basesink_activate):
6617 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6618 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6619 (gst_basesrc_query), (gst_basesrc_set_property),
6620 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6621 (gst_basesrc_activate):
6622 * gst/base/gstbasesrc.h:
6623 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6624 (gst_base_transform_src_activate):
6625 * gst/elements/gstelements.c:
6626 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6627 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6628 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6629 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6630 (gst_type_find_element_checkgetrange),
6631 (gst_type_find_element_activate):
6632 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6633 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6634 (gst_caps_load_thyself):
6635 * gst/gstelement.c: (gst_element_pads_activate),
6636 (gst_element_save_thyself), (gst_element_restore_thyself):
6637 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6638 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6639 * gst/gstpad.h:
6640 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6641 (gst_xml_parse_file), (gst_xml_parse_memory),
6642 (gst_xml_get_element), (gst_xml_make_element):
6643 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6644 (_file_index_id_save_xml), (gst_file_index_commit):
6645 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6646 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6647 (load_paths):
6648 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6649 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6650 * tools/gst-complete.c: (main):
6651 * tools/gst-compprep.c: (main):
6652 * tools/gst-inspect.c: (print_element_properties_info):
6653 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6654 * tools/gst-xmlinspect.c: (print_element_properties):
6655 GCC 4 fixen.
6657 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6659 * gst/gstplugin.c: (gst_plugin_check_module),
6660 (gst_plugin_check_file), (gst_plugin_load_file):
6661 apply patch from #172526 to make register work on MacOSX
6663 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6665 * docs/gst/tmpl/gstconfig.sgml:
6666 * gst/gstconfig.h.in:
6667 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6668 * testsuite/debug/printf_extension.c: (main):
6669 Do not use GST_PTR_FORMAT on pointers to types with
6670 sizeof < sizeof(gpointer). Fixes test on 64-bit
6671 * testsuite/elements/property.h:
6672 use correct printf format
6674 2005-05-02 Wim Taymans <wim@fluendo.com>
6676 * docs/design/draft-push-pull.txt:
6677 * docs/design/draft-query.txt:
6678 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6679 (gst_basesrc_start):
6680 Added draft for new query API.
6681 Added draft for better selecting scheduling methods.
6682 Make basesrc ignore length if the subclass does not support
6683 it.
6685 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6687 * gst/Makefile.am:
6688 possible fixes for automake-1.5 - _LIBADD is reserved
6690 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6692 * docs/faq/Makefile.am:
6693 * docs/manual/Makefile.am:
6694 * docs/manuals.mak:
6695 * docs/pwg/Makefile.am:
6696 * gst/Makefile.am:
6697 possible fixes for automake-1.5
6699 2005-04-28 Wim Taymans <wim@fluendo.com>
6701 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6702 (gst_basesink_pad_getcaps), (gst_basesink_init),
6703 (gst_basesink_do_sync):
6704 * gst/gstclock.c: (gst_clock_entry_new):
6705 * gst/gstevent.c: (gst_event_discont_get_value):
6706 * gst/gstpipeline.c: (pipeline_bus_handler),
6707 (gst_pipeline_change_state):
6708 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6709 Better debugging of clocking info.
6710 Allow NULL values when getting discont values.
6712 2005-04-27 Wim Taymans <wim@fluendo.com>
6714 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6715 * check/gst/gstpad.c: (gst_pad_suite):
6716 Increase timeout for checks.
6718 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6720 * check/Makefile.am:
6721 fix the broken rule for cleanup. Apparently this rule is
6722 only needed on FC2, so maybe this warrants further autotool
6723 inspection.
6725 2005-04-26 Wim Taymans <wim@fluendo.com>
6727 * gst/gsttrashstack.h:
6728 Ooohh. a nasty one! After having a failed pop() from the stack,
6729 it's possible that the stack is empty. In that case, don't
6730 follow the NULL pointer.
6732 2005-04-25 Wim Taymans <wim@fluendo.com>
6734 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6735 (gst_pad_set_checkgetrange_function),
6736 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6737 (gst_pad_check_pull_range), (gst_pad_pull_range),
6738 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6739 (gst_pad_pause_task), (gst_pad_stop_task):
6740 * gst/gstplugin.c: (gst_plugin_load):
6741 * gst/gstplugin.h:
6742 Remove gst_library_load as it does more harm than good with
6743 the new g_module flags.
6744 Revert bogus caps template check in pad linking, pad caps
6745 are important when linking not the template, which is more
6746 general than the current caps.
6748 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6750 * gst/autoplug/.cvsignore:
6751 * gst/autoplug/Makefile.am:
6752 * gst/autoplug/gstsearchfuncs.c:
6753 * gst/autoplug/gstsearchfuncs.h:
6754 * gst/autoplug/gstspider.c:
6755 * gst/autoplug/gstspider.h:
6756 * gst/autoplug/gstspideridentity.c:
6757 * gst/autoplug/gstspideridentity.h:
6758 * gst/autoplug/spidertest.c:
6759 Die, spider, die.
6761 2005-04-25 Wim Taymans <wim@fluendo.com>
6763 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6764 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6765 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6766 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6767 * gst/gstpad.h:
6768 Added stubs for unimplemented functions.
6770 2005-04-24 David Schleef <ds@schleef.org>
6772 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6773 please fix.
6775 2005-04-24 David Schleef <ds@schleef.org>
6777 Convert everything from GstAtomicInt to g_atomic_int_*, and
6778 remove gstatomic.
6779 * gst/Makefile.am:
6780 * gst/gstatomic.c:
6781 * gst/gstatomic.h:
6782 * gst/gstatomic_impl.h:
6783 * gst/gstbuffer.c:
6784 * gst/gstcaps.c:
6785 * gst/gstcaps.h:
6786 * gst/gstclock.c:
6787 * gst/gstclock.h:
6788 * gst/gstdata.c:
6789 * gst/gstdata.h:
6790 * gst/gstdata_private.h:
6791 * gst/gstevent.c:
6792 * gst/gstinfo.c:
6793 * gst/gstinfo.h:
6794 * gst/gstmessage.c:
6795 * gst/gstobject.c:
6796 * gst/gstobject.h:
6797 * gst/gststructure.c:
6798 * gst/gststructure.h:
6799 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6800 * gst/gstutils.h:
6802 2005-04-24 David Schleef <ds@schleef.org>
6804 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6805 make the regressions tests work. Remove some code that is no
6806 longer true.
6807 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6808 Disable warning for pads without templates.
6810 2005-04-24 David Schleef <ds@schleef.org>
6812 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6813 functions that handle filtered links.
6814 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6815 removed functions.
6816 * gst/gstutils.c: Fix/remove utility functions that handle
6817 filtered caps.
6818 * gst/gstutils.h:
6819 * gst/gstvalue.c: Add serialization/deserialization of caps
6820 * gst/parse/grammar.y: Ignore filtered caps when linking. This
6821 requires fixing so that the filter caps notation creates
6822 a capsfilter element and sets the filter_caps property. I
6823 think everyone probably wants to keep the shorthand notation.
6824 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6825 * docs/gst/tmpl/gstpad.sgml:
6827 * gst/elements/gstelements.c: Register capsfilter element.
6828 * gst/Makefile.am: fix spacing
6829 * docs/random/ds/0.9-suggested-changes: random
6831 2005-04-23 David Schleef <ds@schleef.org>
6833 * gst/elements/Makefile.am:
6834 * gst/elements/gstcapsfilter.c: New element that acts like an
6835 identity, but filters caps. Will eventually replace filtered
6836 caps in pad linking.
6837 * gst/gstutils.c: (gst_element_create_all_pads): New function
6838 to create all the ALWAYS pads that are registered with an
6839 element class. This functionality should eventually be
6840 merged in with GstElement initialization.
6841 * gst/gstutils.h:
6842 * testsuite/trigger/README: part of trigger test code that should
6843 have been checked in a long time ago.
6845 2005-04-23 David Schleef <ds@schleef.org>
6847 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
6848 needed with new versions of libtool (nobody will confirm this),
6849 and hard to carry around.
6850 * gst/autoplug/Makefile.am:
6851 * gst/base/Makefile.am:
6852 * gst/elements/Makefile.am:
6853 * gst/indexers/Makefile.am:
6854 * gst/schedulers/Makefile.am:
6855 * libs/gst/bytestream/Makefile.am:
6856 * libs/gst/control/Makefile.am:
6857 * libs/gst/dataprotocol/Makefile.am:
6858 * libs/gst/getbits/Makefile.am:
6860 2005-04-21 Wim Taymans <wim@fluendo.com>
6862 * docs/design/draft-push-pull.txt:
6863 * docs/design/part-MT-refcounting.txt:
6864 * docs/design/part-TODO.txt:
6865 * docs/design/part-caps.txt:
6866 * docs/design/part-events.txt:
6867 * docs/design/part-gstbus.txt:
6868 * docs/design/part-gstpipeline.txt:
6869 * docs/design/part-messages.txt:
6870 * docs/design/part-push-pull.txt:
6871 * docs/design/part-query.txt:
6872 Some more docs.
6874 2005-04-21 Wim Taymans <wim@fluendo.com>
6876 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
6877 (gst_message_new), (gst_message_new_error),
6878 (gst_message_new_warning), (gst_message_new_tag),
6879 (gst_message_new_state_changed), (gst_message_new_application),
6880 (gst_message_get_structure):
6881 * gst/gstmessage.h:
6882 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6883 (gst_structure_copy_conditional):
6884 Use parent refcount in GstMessage to ensure GstStructure
6885 consistency.
6886 Cleaned up headers a bit.
6889 2005-04-20 Wim Taymans <wim@fluendo.com>
6891 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6892 (gst_basesink_pad_getcaps), (gst_basesink_init),
6893 (gst_basesink_chain_unlocked):
6894 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
6895 (gst_type_find_helper):
6896 * gst/elements/gsttypefindelement.c:
6897 (gst_type_find_element_have_type), (gst_type_find_element_init),
6898 (stop_typefinding), (gst_type_find_element_handle_event),
6899 (find_suggest), (gst_type_find_element_chain),
6900 (gst_type_find_element_checkgetrange),
6901 (gst_type_find_element_getrange), (do_typefind),
6902 (gst_type_find_element_activate):
6903 * gst/gstbuffer.c: (_gst_buffer_sub_free),
6904 (gst_buffer_default_free), (gst_buffer_default_copy),
6905 (gst_buffer_set_caps):
6906 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
6907 (gst_caps_replace):
6908 * gst/gstmessage.c: (gst_message_new),
6909 (gst_message_new_state_changed):
6910 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6911 (gst_pad_set_checkgetrange_function),
6912 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
6913 (gst_pad_set_caps), (gst_pad_check_pull_range),
6914 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
6915 * gst/gstpad.h:
6916 * gst/gsttypefind.c: (gst_type_find_register):
6917 Make gst_caps_replace() work like other _replace() functions.
6918 Use _caps_replace() where possible.
6919 Make sure _message_new() initialises its field.
6920 Add gst_static_pad_template_get_caps()
6923 2005-04-18 Andy Wingo <wingo@pobox.com>
6925 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
6926 on the peer, not the pad. I think that was a typo. Pass an extra
6927 arg to see if random access is possible. Activate the pads as
6928 PULL_RANGE if possible.
6930 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
6932 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
6933 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
6934 to PROP_....
6936 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6938 * docs/faq/using.xml:
6939 Add note on gstreamer-properties (#154996).
6941 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6943 * docs/random/bbb/optional-properties:
6944 Some analysis on optional properties.
6946 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6948 * docs/gst/tmpl/gstelementfactory.sgml:
6949 * gst/gstelement.h:
6950 * gst/gstelementfactory.c: (gst_element_factory_init),
6951 (gst_element_factory_cleanup), (gst_element_register),
6952 (__gst_element_factory_add_static_pad_template),
6953 (gst_element_factory_get_static_pad_templates),
6954 (gst_element_factory_can_src_caps),
6955 (gst_element_factory_can_sink_caps):
6956 * gst/registries/Makefile.am:
6957 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
6958 (gst_xml_registry_class_init), (gst_xml_registry_init),
6959 (gst_xml_registry_new), (gst_xml_registry_set_property),
6960 (gst_xml_registry_get_property), (get_time), (make_dir),
6961 (gst_xml_registry_get_perms_func),
6962 (plugin_times_older_than_recurse), (plugin_times_older_than),
6963 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
6964 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
6965 (add_to_char_array), (read_string), (read_uint), (read_enum),
6966 (load_pad_template), (load_feature), (load_plugin), (load_paths),
6967 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
6968 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
6969 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
6970 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
6971 (gst_xml_registry_rebuild):
6972 * gst/registries/gstlibxmlregistry.h:
6973 * tools/gst-compprep.c: (main):
6974 * tools/gst-inspect.c: (print_pad_templates_info):
6975 * tools/gst-xmlinspect.c: (print_element_info):
6976 Use libxml2 for registry parsing, use staticpadtemplates in
6977 elementfactories. Makes gst_init() +/- 10x faster.
6979 2005-04-12 Wim Taymans <wim@fluendo.com>
6981 * gst/base/Makefile.am:
6982 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6983 (gst_basesink_pad_getcaps), (gst_basesink_init),
6984 (gst_basesink_event), (gst_basesink_change_state):
6985 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6986 (gst_basesrc_init), (gst_basesrc_query),
6987 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6988 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6989 (gst_basesrc_check_get_range), (gst_basesrc_loop),
6990 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6991 (gst_basesrc_stop), (gst_basesrc_activate),
6992 (gst_basesrc_change_state):
6993 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6994 (helper_find_suggest), (gst_type_find_helper):
6995 * gst/base/gsttypefindhelper.h:
6996 * gst/elements/Makefile.am:
6997 * gst/elements/gstelements.c:
6998 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6999 (gst_fakesink_get_times), (gst_fakesink_event),
7000 (gst_fakesink_preroll), (gst_fakesink_render):
7001 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7002 (gst_fakesrc_init), (gst_fakesrc_event_handler),
7003 (gst_fakesrc_get_property), (gst_fakesrc_create),
7004 (gst_fakesrc_start), (gst_fakesrc_stop):
7005 * gst/elements/gstfakesrc.h:
7006 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7007 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7008 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7009 (gst_filesrc_create_read), (gst_filesrc_create),
7010 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7011 (gst_filesrc_start):
7012 * gst/elements/gsttypefindelement.c:
7013 (gst_type_find_element_have_type), (gst_type_find_element_init),
7014 (start_typefinding), (stop_typefinding), (push_buffer_store),
7015 (gst_type_find_element_handle_event),
7016 (gst_type_find_element_chain),
7017 (gst_type_find_element_checkgetrange),
7018 (gst_type_find_element_getrange), (do_typefind),
7019 (gst_type_find_element_activate),
7020 (gst_type_find_element_change_state):
7021 * gst/elements/gsttypefindelement.h:
7022 * gst/gstpipeline.c: (pipeline_bus_handler):
7023 Added typefind helper.
7024 Small preroll fix in the base sink.
7025 Disable typefind code in basesrc.
7026 Crude port of typefindelement.
7027 Fakesrc cleanups.
7030 2005-04-11 Wim Taymans <wim@fluendo.com>
7032 * check/gst/gstbus.c: (gstbus_suite):
7033 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7034 * check/gstcheck.h:
7035 Fix up the timeout so that the test does not fail.
7037 2005-04-06 Wim Taymans <wim@fluendo.com>
7039 * gst/base/README:
7040 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7041 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7042 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7043 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7044 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7045 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7046 (gst_basesrc_stop), (gst_basesrc_activate),
7047 (gst_basesrc_change_state), (basesrc_find_peek),
7048 (basesrc_find_suggest), (gst_basesrc_type_find):
7049 * gst/base/gstbasesrc.h:
7050 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7051 (gst_filesrc_class_init), (gst_filesrc_init),
7052 (gst_filesrc_finalize), (gst_filesrc_set_location),
7053 (gst_filesrc_set_property), (gst_filesrc_get_property),
7054 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7055 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7056 (gst_filesrc_create_read), (gst_filesrc_create),
7057 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7058 * gst/elements/gstfilesrc.h:
7059 * gst/gstelement.c: (gst_element_get_state_func),
7060 (gst_element_lost_state), (gst_element_pads_activate):
7061 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7062 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7063 (gst_pad_pull_range):
7064 * gst/gstpad.h:
7065 More work on the generic source base class, implement seeking,
7066 query.
7067 Make filesrc extend the base source class.
7068 Added gst_pad_set_checkgetrange_function to GstPad.
7070 2005-04-06 Andy Wingo <wingo@pobox.com>
7072 * pkgconfig/gstreamer-base.pc.in:
7073 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7075 * pkgconfig/Makefile.am:
7076 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7078 2005-04-04 Wim Taymans <wim@fluendo.com>
7080 * gst/base/Makefile.am:
7081 * gst/base/README:
7082 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7083 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7084 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7085 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7086 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7087 (gst_basesrc_base_init), (gst_basesrc_class_init),
7088 (gst_basesrc_init), (gst_basesrc_get_formats),
7089 (gst_basesrc_get_query_types), (gst_basesrc_query),
7090 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7091 (gst_basesrc_set_property), (gst_basesrc_get_property),
7092 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7093 (gst_basesrc_loop), (gst_basesrc_activate),
7094 (gst_basesrc_change_state):
7095 * gst/base/gstbasesrc.h:
7096 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7097 (gst_fakesrc_class_init), (gst_fakesrc_init),
7098 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7099 (gst_fakesrc_get_property), (gst_fakesrc_create):
7100 * gst/elements/gstfakesrc.h:
7101 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7102 (gst_filesrc_open_file), (gst_filesrc_loop),
7103 (gst_filesrc_activate), (filesrc_find_peek),
7104 (gst_filesrc_type_find):
7105 Made base source class, make fakesrc extend it.
7106 Add comments to basesink class.
7107 Some filesrc cleanup.
7109 2005-03-31 David Schleef <ds@schleef.org>
7111 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7112 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7113 expected to link against libgstreamer.
7114 * gst/base/Makefile.am: link against libgstreamer
7115 * gst/elements/Makefile.am: same
7117 2005-03-31 Andy Wingo <wingo@pobox.com>
7119 * tests/instantiate/Makefile.am:
7120 * tests/instantiate/caps.c: Add test to test speed of caps copy
7121 and free.
7123 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7124 GMemChunk to be fair.
7126 * gst/gsttrashstack.h: Remove warning about using the fallback
7127 trash stack implementation, it's still faster than malloc.
7129 2005-03-30 Andy Wingo <wingo@pobox.com>
7131 * tests/complexity.c: Add a copyright.
7133 2005-03-31 Wim Taymans <wim@fluendo.com>
7135 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7136 (gst_base_transform_class_init), (gst_base_transform_init),
7137 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7138 (gst_base_transform_get_property),
7139 (gst_base_transform_sink_activate),
7140 (gst_base_transform_src_activate),
7141 (gst_base_transform_change_state):
7142 * gst/base/gstbasetransform.h:
7143 * gst/elements/gstidentity.c: (gst_identity_class_init),
7144 (gst_identity_event), (gst_identity_check_perfect),
7145 (gst_identity_transform), (gst_identity_start),
7146 (gst_identity_stop):
7147 Added start/stop methods to transform base class so subclasses
7148 don't need to deal with state changes even.
7150 2005-03-31 Wim Taymans <wim@fluendo.com>
7152 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7153 (gst_event_new_discontinuous), (gst_event_discont_get_value):
7154 * gst/gstevent.h:
7155 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7156 (gst_pad_pull_range):
7157 Added rate to the discont event to prepare for variable speed
7158 and reverse playback.
7160 2005-03-29 David Schleef <ds@schleef.org>
7162 * configure.ac:
7163 * testsuite/trigger/Makefile.am:
7164 * testsuite/trigger/trigger.c: A little example program to show
7165 how trigger-based elements can work.
7167 2005-03-29 Wim Taymans <wim@fluendo.com>
7169 * gst/base/Makefile.am:
7170 * gst/base/README:
7171 * gst/base/gstbasesink.c: (gst_basesink_get_type),
7172 (gst_basesink_base_init), (gst_basesink_class_init),
7173 (gst_basesink_pad_getcaps), (gst_basesink_init),
7174 (gst_basesink_activate), (gst_basesink_change_state):
7175 * gst/base/gstbasesink.h:
7176 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7177 (gst_base_transform_base_init), (gst_base_transform_finalize),
7178 (gst_base_transform_class_init), (gst_base_transform_init),
7179 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7180 (gst_base_transform_event), (gst_base_transform_getrange),
7181 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7182 (gst_base_transform_set_property),
7183 (gst_base_transform_get_property),
7184 (gst_base_transform_sink_activate),
7185 (gst_base_transform_src_activate),
7186 (gst_base_transform_change_state):
7187 * gst/base/gstbasetransform.h:
7188 * gst/elements/gstidentity.c: (gst_identity_finalize),
7189 (gst_identity_class_init), (gst_identity_init),
7190 (gst_identity_event), (gst_identity_check_perfect),
7191 (gst_identity_transform), (gst_identity_set_property),
7192 (gst_identity_get_property), (gst_identity_change_state):
7193 * gst/elements/gstidentity.h:
7194 * gst/gstelement.c: (gst_element_get_state_func),
7195 (gst_element_lost_state), (gst_element_pads_activate):
7196 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7197 (gst_pad_check_pull_range), (gst_pad_pull_range):
7198 * gst/gstpad.h:
7199 Simplify pad activation.
7200 Added function to check if pull_range can be performed.
7201 Error out when pulling inactive or flushing pads.
7202 Removed const from refcounted types as it does not make sense.
7203 Simplify pad templates in basesink
7204 Added base class for simple 1-to-1 transforms.
7205 Make identity subclass the base transform.
7207 2005-03-29 Andy Wingo <wingo@pobox.com>
7209 * docs/libs/gstreamer-libs-overrides.txt:
7210 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7211 really don't understand what's going on, but like whatever. I want
7212 green buildbot!
7214 * docs/gst/Makefile.am:
7215 * docs/libs/Makefile.am: Dist the overrides files.
7217 * check/Makefile.am (clean-local): Remove .libs directories.
7219 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7220 elements to EXTRA_DIST, so po/ files are happy.
7222 * po/POTFILES.in: Er, remove it here.
7224 * po/POTFILES: Remove gstspider.c.
7226 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7228 * docs/libs/gstreamer-libs-docs.sgml:
7229 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7230 bytestream.
7232 * tests/complexity.c (main): Set the length of the preroll queue
7233 on the sinks to prevent a lockup.
7235 * libs/gst/dataprotocol/Makefile.am:
7236 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7237 the same as the one in check/gst-libs/gdp.c.
7239 * po/, docs/gst/: Commit automatic changes to docs and po files.
7241 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7242 the versioned libgstbase.
7244 * check/Makefile.am: Depend on an unversioned gst-register, seems
7245 to make autoconf happier.
7247 * gst/base/Makefile.am: Make libgstbase a versioned lib.
7249 2005-03-28 Wim Taymans <wim@fluendo.com>
7251 * configure.ac:
7252 * docs/design/part-gstelement.txt:
7253 * docs/design/part-negotiation.txt:
7254 * docs/design/part-preroll.txt:
7255 * docs/design/part-scheduling.txt:
7256 * docs/design/part-states.txt:
7257 * gst/Makefile.am:
7258 * gst/base/Makefile.am:
7259 * gst/base/README:
7260 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7261 (gst_basesink_base_init), (gst_basesink_class_init),
7262 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7263 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7264 (gst_basesink_set_pad_functions),
7265 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7266 (gst_basesink_set_property), (gst_basesink_get_property),
7267 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7268 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7269 (gst_basesink_preroll_queue_push),
7270 (gst_basesink_preroll_queue_empty),
7271 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7272 (gst_basesink_event), (gst_basesink_get_times),
7273 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7274 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7275 (gst_basesink_loop), (gst_basesink_activate),
7276 (gst_basesink_change_state):
7277 * gst/base/gstbasesink.h:
7278 * gst/elements/Makefile.am:
7279 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7280 (gst_fakesink_class_init), (gst_fakesink_init),
7281 (gst_fakesink_set_property), (gst_fakesink_get_property),
7282 (gst_fakesink_get_times), (gst_fakesink_event),
7283 (gst_fakesink_preroll), (gst_fakesink_render),
7284 (gst_fakesink_change_state):
7285 * gst/elements/gstfakesink.h:
7286 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7287 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7288 * gst/gstelement.c: (gst_element_add_pad),
7289 (gst_element_get_state_func), (gst_element_abort_state),
7290 (gst_element_commit_state), (gst_element_lost_state),
7291 (gst_element_set_state), (gst_element_pads_activate):
7292 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7293 * gst/gstpipeline.c: (gst_pipeline_send_event),
7294 (gst_pipeline_change_state):
7295 Added state change code.
7296 Added/updated docs.
7297 Added sink base class, make fakesink extend the base class.
7298 Small cleanups in GstPipeline.
7300 2005-03-26 David Schleef <ds@schleef.org>
7302 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7303 is broken and should be implemented in a different library.
7304 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7305 * gst/gst.h: remove gstcpu.h
7306 * gst/gstcpu.c: remove
7307 * gst/gstcpu.h: remove
7308 * gst/Makefile.am.future: Remove this file. It's ancient.
7310 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7312 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7313 (gst_bin_send_event):
7314 Add default event/set_manager handlers. The set_manager handler
7315 takes care that the manager is distributed over kids that were
7316 already in the bin before the manager was set. The event handler
7317 is a utility virtual function that sends the event over all sinks,
7318 so that gst_element_send_event (bin, event); has the expected
7319 behaviour.
7320 * gst/gstpad.c: (gst_pad_event_default):
7321 Re-install default event handling for discontinuities, so that
7322 seeking works without requiring hacks in applications or extra
7323 code in sinks.
7324 * gst/gstpipeline.c: (gst_pipeline_class_init),
7325 (gst_pipeline_send_event):
7326 Half hack, half utility: set a pipeline to PAUSED for seek events,
7327 since that is the only way we can guarantee a/v sync. Means that
7328 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7329 and it "just works".
7331 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7333 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7334 Lock/unlock mismatch.
7336 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7338 * docs/faq/gst-uninstalled:
7339 add gst-plugins-base
7340 * docs/gst/Makefile.am:
7341 don't error out until docs are fixed
7342 * docs/gst/gstreamer.types:
7343 remove thread
7345 2005-03-22 Wim Taymans <wim@fluendo.com>
7347 * check/Makefile.am:
7348 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7349 * gst/gststructure.c: (gst_structure_set_valist),
7350 (gst_structure_copy_conditional):
7351 Activated more tests.
7352 Added message test.
7353 Added G_TYPE_POINTER to GstStructure.
7356 2005-03-22 Wim Taymans <wim@fluendo.com>
7358 * docs/design/part-TODO.txt:
7359 * docs/design/part-events.txt:
7360 * docs/design/part-gstbin.txt:
7361 * docs/design/part-gstbus.txt:
7362 * docs/design/part-gstpipeline.txt:
7363 * docs/design/part-messages.txt:
7364 * gst/gstbus.c:
7365 * gst/gstmessage.c:
7366 Docs updates
7368 2005-03-21 Wim Taymans <wim@fluendo.com>
7370 * gst/gstbus.c: (gst_bus_post):
7371 Fix copy-and-paste error.
7373 2005-03-21 Wim Taymans <wim@fluendo.com>
7375 * check/Makefile.am:
7376 * gst/Makefile.am:
7377 * gst/elements/Makefile.am:
7378 * gst/elements/gstelements.c:
7379 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7380 (gst_fakesink_event), (gst_fakesink_chain):
7381 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7382 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7383 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7384 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7385 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7386 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7387 (gst_fakesrc_loop), (gst_fakesrc_activate),
7388 (gst_fakesrc_change_state):
7389 * gst/elements/gstfakesrc.h:
7390 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7391 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7392 (gst_filesrc_open_file), (gst_filesrc_loop),
7393 (gst_filesrc_activate), (gst_filesrc_change_state),
7394 (filesrc_find_peek), (filesrc_find_suggest),
7395 (gst_filesrc_type_find):
7396 * gst/elements/gstidentity.c: (gst_identity_finalize),
7397 (gst_identity_class_init), (gst_identity_init),
7398 (gst_identity_proxy_getcaps), (identity_queue_push),
7399 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7400 (gst_identity_getrange), (gst_identity_chain),
7401 (gst_identity_sink_loop), (gst_identity_src_loop),
7402 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7403 (gst_identity_set_property), (gst_identity_get_property),
7404 (gst_identity_change_state):
7405 * gst/elements/gstidentity.h:
7406 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7407 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7408 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7409 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7410 (gst_tee_sink_activate):
7411 * gst/elements/gsttee.h:
7412 * gst/gst.c: (gst_register_core_elements), (init_post):
7413 * gst/gst.h:
7414 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7415 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7416 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7417 (gst_bin_change_state):
7418 * gst/gstbin.h:
7419 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7420 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7421 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7422 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7423 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7424 (bus_watch_callback), (bus_watch_destroy),
7425 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7426 (poll_timeout), (gst_bus_poll):
7427 * gst/gstbus.h:
7428 * gst/gstcaps.h:
7429 * gst/gstdata.h:
7430 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7431 (gst_element_post_message), (gst_element_message_full),
7432 (gst_element_get_state_func), (gst_element_get_state),
7433 (gst_element_abort_state), (gst_element_commit_state),
7434 (gst_element_lost_state), (gst_element_set_state),
7435 (gst_element_pads_activate), (gst_element_change_state),
7436 (gst_element_dispose), (gst_element_set_manager_func),
7437 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7438 (gst_element_set_manager), (gst_element_get_manager),
7439 (gst_element_set_bus), (gst_element_get_bus),
7440 (gst_element_set_scheduler), (gst_element_get_scheduler):
7441 * gst/gstelement.h:
7442 * gst/gstevent.c: (gst_event_new_segment_seek),
7443 (gst_event_new_flush):
7444 * gst/gstevent.h:
7445 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7446 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7447 (gst_message_new_eos), (gst_message_new_error),
7448 (gst_message_new_warning), (gst_message_new_tag),
7449 (gst_message_new_state_changed), (gst_message_new_application),
7450 (gst_message_get_structure), (gst_message_parse_tag),
7451 (gst_message_parse_state_changed), (gst_message_parse_error),
7452 (gst_message_parse_warning):
7453 * gst/gstmessage.h:
7454 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7455 (gst_real_pad_set_property), (gst_pad_set_active),
7456 (gst_pad_is_active), (gst_pad_set_blocked_async),
7457 (gst_pad_set_blocked), (gst_pad_is_blocked),
7458 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7459 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7460 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7461 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7462 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7463 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7464 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7465 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7466 (gst_pad_set_caps), (gst_pad_configure_sink),
7467 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7468 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7469 (gst_real_pad_dispose), (gst_real_pad_finalize),
7470 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7471 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7472 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7473 * gst/gstpad.h:
7474 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7475 (pipeline_bus_handler), (gst_pipeline_change_state),
7476 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7477 * gst/gstpipeline.h:
7478 * gst/gstprobe.h:
7479 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7480 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7481 (gst_queue_link_src), (gst_queue_bufferalloc),
7482 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7483 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7484 (gst_queue_loop), (gst_queue_handle_src_event),
7485 (gst_queue_handle_src_query), (gst_queue_src_activate),
7486 (gst_queue_change_state):
7487 * gst/gstqueue.h:
7488 * gst/gstscheduler.c: (gst_scheduler_init),
7489 (gst_scheduler_dispose), (gst_scheduler_create_task),
7490 (gst_scheduler_factory_create):
7491 * gst/gstscheduler.h:
7492 * gst/gststructure.c: (gst_structure_get_type),
7493 (gst_structure_copy_conditional):
7494 * gst/gststructure.h:
7495 * gst/gsttaginterface.h:
7496 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7497 (gst_task_init), (gst_task_dispose), (gst_task_create),
7498 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7499 (gst_task_pause):
7500 * gst/gsttask.h:
7501 * gst/gstthread.c:
7502 * gst/gstthread.h:
7503 * gst/gsttypes.h:
7504 * gst/schedulers/Makefile.am:
7505 * gst/schedulers/cothreads_compat.h:
7506 * gst/schedulers/entryscheduler.c:
7507 * gst/schedulers/faircothreads.c:
7508 * gst/schedulers/faircothreads.h:
7509 * gst/schedulers/fairscheduler.c:
7510 * gst/schedulers/gstbasicscheduler.c:
7511 * gst/schedulers/gstoptimalscheduler.c:
7512 * gst/schedulers/gthread-cothreads.h:
7513 * gst/schedulers/threadscheduler.c:
7514 (gst_thread_scheduler_task_get_type),
7515 (gst_thread_scheduler_task_class_init),
7516 (gst_thread_scheduler_task_init),
7517 (gst_thread_scheduler_task_start),
7518 (gst_thread_scheduler_task_stop),
7519 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7520 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7521 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7522 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7523 (plugin_init):
7524 * libs/gst/Makefile.am:
7525 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7526 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7527 (gst_file_pad_parent_set):
7528 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7529 (gst_dp_event_from_packet):
7530 * tests/complexity.c: (main):
7531 * tests/mass_elements.c: (main):
7532 * testsuite/states/locked.c: (message_received), (main):
7533 * testsuite/states/parent.c: (main):
7534 * tools/gst-inspect.c: (print_element_flag_info),
7535 (print_implementation_info), (print_pad_info):
7536 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7537 (main):
7538 * tools/gst-md5sum.c: (event_loop), (main):
7539 * tools/gst-typefind.c: (main):
7540 * tools/gst-xmlinspect.c: (print_element_info):
7541 Next big merge.
7542 Added GstBus for mainloop integration.
7543 Added GstMessage for sending notifications on the bus.
7544 Added GstTask as an abstraction for pipeline entry points.
7545 Removed GstThread.
7546 Removed Schedulers.
7547 Simplified GstQueue for multithreaded core.
7548 Made _link threadsafe, removed old capsnego.
7549 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7550 Added pad blocking functions.
7551 Reworked scheduling functions in GstPad to prepare for
7552 scheduling updates soon.
7553 Moved events out of data stream.
7554 Simplified GstEvent types.
7555 Added return values to push/pull.
7556 Removed clocking from GstElement.
7557 Added prototypes for state change function for next merge.
7558 Removed iterate from bins and state change management.
7559 Fixed some elements, disabled others for now.
7560 Fixed -inspect and -launch.
7561 Added check for GstBus.
7563 2005-03-10 Wim Taymans <wim@fluendo.com>
7565 * docs/design/part-MT-refcounting.txt:
7566 * docs/design/part-clocks.txt:
7567 * docs/design/part-gstelement.txt:
7568 * docs/design/part-gstobject.txt:
7569 * docs/design/part-standards.txt:
7570 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7571 (gst_bin_remove_func), (gst_bin_remove):
7572 * gst/gstbin.h:
7573 * gst/gstbuffer.c:
7574 * gst/gstcaps.h:
7575 * testsuite/clock/clock1.c: (main):
7576 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7577 (main):
7578 * testsuite/dlopen/loadgst.c: (do_test):
7579 * testsuite/refcounting/bin.c: (add_remove_test1),
7580 (add_remove_test2), (main):
7581 * testsuite/refcounting/element.c: (main):
7582 * testsuite/refcounting/element_pad.c: (main):
7583 * testsuite/refcounting/pad.c: (main):
7584 * tools/gst-launch.c: (sigint_handler_sighandler):
7585 * tools/gst-typefind.c: (main):
7586 Doc updates.
7587 Added doc about clock.
7588 removed gst_bin_iterate_recurse_up(), marked methods
7589 for removal.
7590 Fix more testsuites.
7592 2005-03-09 Wim Taymans <wim@fluendo.com>
7594 * gst/gstpad.c: (gst_pad_get_direction),
7595 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7596 (gst_pad_collect_valist):
7597 * testsuite/bins/interface.c: (main):
7598 * testsuite/caps/audioscale.c: (test_caps):
7599 * testsuite/caps/caps.c: (test1), (test2), (test3):
7600 * testsuite/caps/deserialize.c: (main):
7601 * testsuite/caps/enumcaps.c: (main):
7602 * testsuite/caps/filtercaps.c: (main):
7603 * testsuite/caps/intersect2.c: (main):
7604 * testsuite/caps/random.c: (main):
7605 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7606 * testsuite/caps/sets.c: (check_caps):
7607 * testsuite/caps/simplify.c: (check_caps), (main):
7608 * testsuite/caps/subtract.c: (check_caps):
7609 Fix _pad_get_direction wrt ghostpads.
7610 Fix caps testsuite.
7612 2005-03-09 Wim Taymans <wim@fluendo.com>
7614 * check/Makefile.am:
7615 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7616 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7617 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7618 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7619 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7620 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7621 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7622 (bin_element_is_sink), (gst_bin_iterate_sinks),
7623 (gst_bin_iterate_all_by_interface):
7624 * gst/gstbin.h:
7625 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7626 (gst_element_change_state), (gst_element_dispose),
7627 (gst_element_finalize), (gst_element_set_loop_function):
7628 * gst/gstelement.h:
7629 * gst/gstiterator.c: (find_custom_fold_func):
7630 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7631 (gst_pad_collectv), (gst_pad_collect_valist),
7632 (gst_pad_template_new):
7633 * gst/gstpipeline.c: (gst_pipeline_class_init),
7634 (gst_pipeline_dispose), (gst_pipeline_set_property),
7635 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7636 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7637 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7638 * gst/gstutils.h:
7639 * gst/schedulers/entryscheduler.c:
7640 * gst/schedulers/gstbasicscheduler.c:
7641 (gst_basic_scheduler_cothreaded_chain),
7642 (gst_basic_scheduler_chain_add_element):
7643 * testsuite/bins/interface.c: (main):
7644 Added GstBin test.
7645 Added GstSystemClock test.
7646 Implemented clock distribution code in GstBin.
7647 Implemented iterate sinks method for future use.
7648 Rearranged gstelement.h
7649 Fix GstIterator comparison bug.
7650 Moved some code to GstPipeline, mostly clocking related.
7652 2005-03-09 Wim Taymans <wim@fluendo.com>
7654 * configure.ac:
7655 * gst/gst_private.h:
7656 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7657 (gst_bin_remove_func), (gst_bin_remove),
7658 (gst_bin_get_by_name_recurse_up):
7659 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7660 (gst_clock_id_compare_func), (gst_clock_id_wait),
7661 (gst_clock_id_wait_async), (gst_clock_init),
7662 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7663 * gst/gstelement.h:
7664 * gst/gstinfo.c: (_gst_debug_init):
7665 * gst/gstobject.h:
7666 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7667 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7668 * gst/gstpad.h:
7669 Bump version number, we're now 0.9.0
7670 Add future debugging category.
7671 Fix NULL _unref() in _get_by_name_recurse_up
7672 Rearrange gstpad.h.
7673 Update some docs.
7675 2005-03-08 Wim Taymans <wim@fluendo.com>
7677 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7678 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7679 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7680 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7681 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7682 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7683 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7684 * gst/elements/gstidentity.c: (gst_identity_class_init):
7685 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7686 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7687 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7688 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7689 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7690 (gst_tee_link):
7691 * gst/gstelement.c: (gst_element_class_init),
7692 (gst_element_base_class_init), (gst_element_init),
7693 (gst_element_get_random_pad), (gst_element_wait_state_change),
7694 (gst_element_change_state), (gst_element_dispose),
7695 (gst_element_finalize), (gst_element_set_loop_function):
7696 * gst/gstelement.h:
7697 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7698 * gst/gstthread.c: (gst_thread_class_init),
7699 (gst_thread_release_children_locks), (gst_thread_change_state):
7700 * gst/schedulers/gstbasicscheduler.c:
7701 (gst_basic_scheduler_loopfunc_wrapper),
7702 (gst_basic_scheduler_chain_wrapper),
7703 (gst_basic_scheduler_src_wrapper),
7704 (gst_basic_scheduler_remove_element):
7705 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7706 Remove threadsafe properties. Fix elements because GObject
7707 complains when installing a property before declaring a
7708 set/get_property handler.
7709 Rearrange gstelement.h file, use STATE macros for state locks.
7710 Free mutexes in the finalize method instead of dispose.
7712 2005-03-08 Wim Taymans <wim@fluendo.com>
7714 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7715 * gst/gstthread.c: (gst_thread_release_children_locks):
7716 Added parentage check.
7717 Fix build og GstThread again.
7719 2005-03-08 Wim Taymans <wim@fluendo.com>
7721 * docs/design/part-MT-refcounting.txt:
7722 * docs/design/part-conventions.txt:
7723 * docs/design/part-gstobject.txt:
7724 * docs/design/part-relations.txt:
7725 * docs/design/part-standards.txt:
7726 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7727 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7728 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7729 (gst_bin_iterate_all_by_interface):
7730 * gst/gstbuffer.h:
7731 * gst/gstclock.h:
7732 * gst/gstelement.c: (gst_element_class_init),
7733 (gst_element_change_state), (gst_element_set_loop_function):
7734 * gst/gstelement.h:
7735 * gst/gstiterator.c:
7736 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7737 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7738 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7739 (gst_object_set_parent), (gst_object_unparent),
7740 (gst_object_check_uniqueness):
7741 * gst/gstobject.h:
7742 Docs updates, clean up some headers.
7744 2005-03-07 Wim Taymans <wim@fluendo.com>
7746 * check/.cvsignore:
7747 * check/Makefile.am:
7748 * check/gst-libs/.cvsignore:
7749 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7750 * check/gst/.cvsignore:
7751 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7752 (START_TEST), (gstbus_suite), (main):
7753 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7754 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7755 (gst_data_suite), (main):
7756 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7757 (add_fold_func), (gstiterator_suite), (main):
7758 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7759 (thread_name_object), (thread_name_object_default),
7760 (gst_object_name_compare), (gst_object_suite), (main):
7761 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7762 (gst_pad_suite), (main):
7763 * check/gstcheck.c: (gst_check_log_message_func),
7764 (gst_check_log_critical_func), (gst_check_init):
7765 * check/gstcheck.h:
7766 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7767 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7768 Added checks.
7770 2005-03-07 Wim Taymans <wim@fluendo.com>
7772 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7773 (gst_list_iterator_next), (gst_list_iterator_resync),
7774 (gst_list_iterator_free), (gst_iterator_new_list),
7775 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7776 (gst_iterator_free), (gst_iterator_push), (filter_next),
7777 (filter_resync), (filter_uninit), (filter_free),
7778 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7779 (gst_iterator_foreach), (find_custom_fold_func),
7780 (gst_iterator_find_custom):
7781 * gst/gstiterator.h:
7782 Added missing files.
7784 2005-03-07 Wim Taymans <wim@fluendo.com>
7786 * Makefile.am:
7787 * configure.ac:
7788 * docs/design/part-MT-refcounting.txt:
7789 * docs/design/part-conventions.txt:
7790 * docs/design/part-gstobject.txt:
7791 * docs/design/part-relations.txt:
7792 * examples/mixer/mixer.c: (main):
7793 * examples/thread/thread.c: (eos), (main):
7794 * gst/Makefile.am:
7795 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7796 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7797 (gst_spider_plug_from_srcpad):
7798 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7799 (gst_spider_identity_change_state),
7800 (gst_spider_identity_sink_loop_type_finding):
7801 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7802 * gst/elements/gstidentity.c: (gst_identity_init):
7803 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7804 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7805 * gst/elements/gsttypefindelement.c: (free_entry):
7806 * gst/gst.c:
7807 * gst/gst.h:
7808 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7809 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7810 (gst_bin_set_index), (gst_bin_set_element_sched),
7811 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7812 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7813 (gst_bin_iterate_elements), (iterate_child_recurse),
7814 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7815 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7816 (compare_interface), (gst_bin_get_by_interface),
7817 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7818 * gst/gstbin.h:
7819 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7820 (gst_buffer_default_free), (gst_buffer_default_copy),
7821 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7822 (gst_buffer_create_sub):
7823 * gst/gstbuffer.h:
7824 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7825 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7826 (gst_caps_unref), (gst_static_caps_get),
7827 (gst_caps_remove_and_get_structure), (gst_caps_append),
7828 (gst_caps_append_structure), (gst_caps_remove_structure),
7829 (gst_caps_copy_nth), (gst_caps_set_simple),
7830 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
7831 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
7832 (gst_caps_structure_intersect_field), (gst_caps_intersect),
7833 (gst_caps_structure_subtract_field), (gst_caps_subtract),
7834 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
7835 (gst_caps_structure_figure_out_union),
7836 (gst_caps_switch_structures), (gst_caps_do_simplify),
7837 (gst_caps_replace), (gst_caps_from_string),
7838 (gst_caps_copy_conditional):
7839 * gst/gstcaps.h:
7840 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
7841 (_gst_clock_id_free), (gst_clock_id_unref),
7842 (gst_clock_id_compare_func), (gst_clock_id_wait),
7843 (gst_clock_id_wait_async), (gst_clock_class_init),
7844 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
7845 (gst_clock_get_time), (gst_clock_set_time_adjust),
7846 (gst_clock_set_property), (gst_clock_get_property):
7847 * gst/gstclock.h:
7848 * gst/gstcompat.h:
7849 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
7850 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
7851 * gst/gstdata.h:
7852 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7853 (gst_element_requires_clock), (gst_element_provides_clock),
7854 (gst_element_set_clock), (gst_element_clock_wait),
7855 (gst_element_wait), (gst_element_set_time_delay),
7856 (gst_element_is_indexable), (gst_element_add_pad),
7857 (gst_element_add_ghost_pad), (gst_element_remove_pad),
7858 (pad_compare_name), (gst_element_get_static_pad),
7859 (gst_element_request_pad), (gst_element_get_request_pad),
7860 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
7861 (gst_element_class_get_pad_template_list),
7862 (gst_element_class_get_pad_template), (gst_element_error_func),
7863 (gst_element_get_random_pad), (gst_element_get_event_masks),
7864 (gst_element_send_event), (gst_element_seek),
7865 (gst_element_get_query_types), (gst_element_query),
7866 (gst_element_get_formats), (gst_element_convert),
7867 (gst_element_is_locked_state), (gst_element_set_locked_state),
7868 (gst_element_sync_state_with_parent), (gst_element_change_state),
7869 (gst_element_finalize), (gst_element_yield),
7870 (gst_element_interrupt), (gst_element_set_scheduler),
7871 (gst_element_get_scheduler), (gst_element_set_loop_function):
7872 * gst/gstelement.h:
7873 * gst/gstevent.h:
7874 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
7875 (gst_format_get_by_nick), (gst_format_get_details),
7876 (gst_format_iterate_definitions):
7877 * gst/gstformat.h:
7878 * gst/gstindex.c: (gst_index_gtype_resolver):
7879 * gst/gstinfo.c:
7880 * gst/gstinfo.h:
7881 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
7882 (gst_mem_chunk_free):
7883 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7884 (gst_object_ref), (gst_object_unref), (gst_object_sink),
7885 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
7886 (gst_object_dispatch_properties_changed),
7887 (gst_object_set_name_default), (gst_object_set_name),
7888 (gst_object_get_name), (gst_object_set_name_prefix),
7889 (gst_object_get_name_prefix), (gst_object_set_parent),
7890 (gst_object_get_parent), (gst_object_unparent),
7891 (gst_object_check_uniqueness), (gst_object_save_thyself),
7892 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
7893 (gst_object_set_property), (gst_object_get_property),
7894 (gst_object_get_path_string):
7895 * gst/gstobject.h:
7896 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7897 (gst_real_pad_init), (gst_real_pad_get_property),
7898 (gst_pad_custom_new), (gst_pad_get_direction),
7899 (gst_pad_set_active), (gst_pad_is_active),
7900 (gst_pad_set_event_function), (gst_pad_is_linked),
7901 (gst_pad_link_free), (gst_pad_link_intersect),
7902 (gst_pad_link_fixate), (gst_pad_set_caps),
7903 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
7904 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
7905 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
7906 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
7907 (gst_pad_get_caps), (gst_pad_peer_get_caps),
7908 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
7909 (gst_pad_realize), (gst_pad_get_allowed_caps),
7910 (gst_real_pad_dispose), (gst_real_pad_finalize),
7911 (gst_pad_collectv), (gst_pad_collect_valist),
7912 (gst_pad_template_dispose), (gst_pad_template_new),
7913 (gst_pad_get_internal_links):
7914 * gst/gstpad.h:
7915 * gst/gstpipeline.c: (gst_pipeline_dispose),
7916 (gst_pipeline_change_state):
7917 * gst/gstpipeline.h:
7918 * gst/gstplugin.c:
7919 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
7920 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
7921 * gst/gstpluginfeature.h:
7922 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
7923 * gst/gstquery.c: (_gst_query_type_initialize),
7924 (gst_query_type_register), (gst_query_type_get_by_nick),
7925 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
7926 * gst/gstquery.h:
7927 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
7928 * gst/gstscheduler.c: (gst_scheduler_add_element),
7929 (gst_scheduler_factory_create):
7930 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7931 (gst_structure_free), (gst_structure_set_name),
7932 (gst_structure_id_set_value), (gst_structure_set_value),
7933 (gst_structure_set_valist), (gst_structure_remove_field),
7934 (gst_structure_remove_fields),
7935 (gst_structure_remove_fields_valist),
7936 (gst_structure_remove_all_fields), (gst_structure_foreach),
7937 (gst_structure_map_in_place),
7938 (gst_caps_structure_fixate_field_nearest_int),
7939 (gst_caps_structure_fixate_field_nearest_double):
7940 * gst/gststructure.h:
7941 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7942 (gst_system_clock_init), (gst_system_clock_dispose),
7943 (gst_system_clock_async_thread),
7944 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
7945 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7946 * gst/gstsystemclock.h:
7947 * gst/gsttag.c: (gst_tag_list_add_value_internal),
7948 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
7949 * gst/gsttaginterface.c:
7950 * gst/gstthread.c: (gst_thread_dispose),
7951 (gst_thread_release_children_locks), (gst_thread_change_state),
7952 (gst_thread_main_loop):
7953 * gst/gsttrashstack.h:
7954 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
7955 * gst/gsttypes.h:
7956 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7957 (gst_element_request_pad), (gst_element_get_pad_from_template),
7958 (gst_element_request_compatible_pad),
7959 (gst_element_get_compatible_pad_filtered),
7960 (gst_element_get_compatible_pad), (gst_element_state_get_name),
7961 (gst_element_link_pads_filtered), (gst_element_link_filtered),
7962 (gst_element_link_many), (gst_element_link),
7963 (gst_element_link_pads), (gst_element_unlink_pads),
7964 (gst_element_unlink_many), (gst_element_unlink),
7965 (gst_pad_can_link_filtered), (gst_pad_can_link),
7966 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
7967 (gst_object_default_error), (gst_bin_add_many),
7968 (gst_bin_remove_many), (gst_element_populate_std_props),
7969 (gst_element_class_install_std_props), (gst_buffer_merge),
7970 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
7971 (link_fold_func), (gst_pad_proxy_setcaps):
7972 * gst/gstutils.h:
7973 * gst/gstvalue.c: (gst_value_deserialize_string):
7974 * gst/parse/grammar.y:
7975 * gst/schedulers/gstbasicscheduler.c:
7976 (gst_basic_scheduler_cothreaded_chain),
7977 (gst_basic_scheduler_chain_recursive_add),
7978 (gst_basic_scheduler_pad_link):
7979 * gst/schedulers/gstoptimalscheduler.c:
7980 (get_group_schedule_function),
7981 (gst_opt_scheduler_state_transition),
7982 (gst_opt_scheduler_add_element), (element_get_reachables_func):
7983 * libs/gst/bytestream/bytestream.c:
7984 * libs/gst/dataprotocol/dataprotocol.c:
7985 (gst_dp_header_from_buffer):
7986 * po/nb.po:
7987 * po/ru.po:
7988 * tests/threadstate/threadstate2.c: (eos):
7989 * tools/gst-compprep.c: (main):
7990 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
7991 (print_pad_info), (print_children_info):
7992 * tools/gst-launch.c: (idle_func), (main):
7993 * tools/gst-md5sum.c: (idle_func), (main):
7994 * tools/gst-xmlinspect.c: (print_element_info):
7995 First THREADED backport attempt, focusing on adding locks and
7996 making sure the API is threadsafe. Needs more work. More docs
7997 follow this week.
7999 2005-02-24 Andy Wingo <wingo@pobox.com>
8001 * tests/bench-complexity.scm:
8002 * tests/complexity.gnuplot: New files, good for running complexity
8003 benchmarks.
8005 * tests/Makefile.am:
8006 * tests/complexity.c: New test, sets up N elements, at each level
8007 teeing into M streams per element. Eeeenteresting.
8009 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8010 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8011 running bench-mass_elements.scm.
8013 * tests/bench-mass_elements.scm: New script, runs mass_elements
8014 for various numbers of identities, outputting the results to a
8015 file. Requires guile 1.6. Just for testing.
8017 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
8019 * gst/schedulers/fairscheduler.c:
8020 compile with debug disabled
8022 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
8024 * configure.ac:
8025 hunting season on 0.9 is now OPEN