1 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
3 * tools/gst-launch.c: (main):
4 Don't try to run erroneous pipelines.
6 2005-10-04 Julien MOUTTE <julien@moutte.net>
8 * gst/gstbus.c: We don't need this header.
10 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21 Releasing 0.9.3, "Unregistered"
23 2005-10-03 Andy Wingo <wingo@pobox.com>
25 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
26 whereby calling a pad's activatepush() function can start a thread
27 that starts to push or pull before the pad gets the FLUSHING flag
28 unset. Hack around it by holding the stream lock until the flag is
29 set. Need to replace this with a proper solution. Together with
30 the ghost pad fixes, this fixes mp3 playing/tagreading.
32 * docs/design/part-gstghostpad.txt: Add a note about activation of
33 proxy pads outside of ghost pads.
35 * gst/gstghostpad.c: Implement the ghost pad activation design.
37 2005-10-02 Andy Wingo <wingo@pobox.com>
39 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
40 It is volatile, after all.
42 * docs/design/part-gstghostpad.txt: Flesh out activation with
45 * gst/base/gstbasesrc.c (gst_base_src_init): Use
48 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
51 Fix (unused) AM_CONDITIONAL tests.
53 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
55 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
57 * gst/gstutils.c: (gst_pad_query_convert):
58 Add assertion that makes sure src_val is >=0, just like
59 gst_query_new_convert() has. (#315895)
61 2005-09-30 Edward Hervey <edward@fluendo.com>
63 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
64 Let's not iterate pads we're not interested in, it avoids getting
65 sky-high refcounts on sinkpad.
67 2005-09-30 Wim Taymans <wim@fluendo.com>
69 * gst/gstelement.c: (gst_element_set_state),
70 (gst_element_change_state):
71 Small tweak, element in ASYNC remains ASYNC.
73 2005-09-30 Wim Taymans <wim@fluendo.com>
75 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
76 Only error is an error.
78 * gst/gstbin.c: (gst_bin_change_state):
81 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
82 Also call pad_block in pad alloc.
84 * gst/gstutils.c: (gst_flow_get_name):
87 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
89 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
90 (gst_base_src_get_range):
91 Fix documentation typos. Add some more debug info.
93 2005-09-29 David Schleef <ds@schleef.org>
95 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
96 more end-user friendly.
97 * tools/gst-inspect.c: (main): Check if command-line argument is
98 a file and attempt to load that file as a plugin.
100 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
102 * check/gst/gstbin.c:
103 * check/states/sinks.c:
104 fix tests for the new warning
105 * check/gst/gstpipeline.c:
106 add a test for pipeline and bus interaction
108 elements should be NULL if they get disposed; add a warning if not
110 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
113 for 2.6 refcounting, make debug log more correct by printing
114 the actual refcounts at the time of swap (Wim)
116 2005-09-29 Andy Wingo <wingo@pobox.com>
118 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
119 removes signal watches previously added via
120 gst_bus_add_signal_watch.
121 (gst_bus_add_signal_watch): Don't return the source id, just store
122 it on the bus if there wasn't an id already.
124 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
125 add_signal_watch and remove_signal_watch.
127 2005-09-29 Edward Hervey <edward@fluendo.com>
129 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
130 Better if we actually iterate the list :)
132 2005-09-29 Wim Taymans <wim@fluendo.com>
134 * check/gst/gstbin.c: (GST_START_TEST):
135 Change for new bus API.
137 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
138 (send_messages), (GST_START_TEST), (gstbus_suite):
139 Change for new bus signal API.
141 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
142 (gst_bus_source_prepare), (gst_bus_source_check),
143 (gst_bus_create_watch), (gst_bus_add_watch_full),
144 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
145 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
147 Remove support for multiple GSources operating on different
148 message types as it is too complex and unneeded when using
150 Added support for receiving signals from the bus.
152 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
154 * docs/libs/tmpl/gstdataprotocol.sgml:
155 * docs/manual/advanced-dataaccess.xml:
156 * gst/elements/gstcapsfilter.c:
158 rename filter-caps to caps property
160 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
162 * gst/gstvalue.c: (gst_value_deserialize_fraction):
163 More robust fraction string parsing.
165 * docs/pwg/appendix-porting.xml:
166 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
168 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
170 * gst/gstcaps.c: (gst_caps_do_simplify):
171 Thou shalt not free a structure and then continue using it
172 in the next loop iteration.
174 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
176 Add test case for caps simplification.
178 2005-09-29 Wim Taymans <wim@fluendo.com>
180 * check/gst/gstbin.c: (GST_START_TEST):
183 2005-09-29 Wim Taymans <wim@fluendo.com>
185 * check/gst/gstbin.c: (GST_START_TEST):
188 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
189 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
190 (find_element), (gst_bin_sort_iterator_next),
191 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
192 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
193 (gst_bin_change_state), (gst_bin_dispose):
194 A bin does not have a bus, it gets the bus from the parent.
196 * gst/gstelement.c: (gst_element_requires_clock),
197 (gst_element_provides_clock), (gst_element_is_indexable),
198 (gst_element_is_locked_state), (gst_element_change_state),
199 (gst_element_set_bus_func):
202 * gst/gstpipeline.c: (gst_pipeline_class_init),
203 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
204 The pipeline provides a bus.
206 2005-09-28 Johan Dahlin <johan@gnome.org>
208 * gst/gstmessage.c (gst_message_parse_state_changed): Use
209 gst_structure_get_enum instead of gst_structure_get_int
211 * gst/gststructure.c (gst_structure_get_enum): Impl.
213 * gst/gststructure.h (gst_structure_get_enum): Add
215 * docs/gst/gstreamer-sections.txt: Ditto
217 * gst/gstmessage.c (gst_message_new_state_changed): Use
218 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
219 which does introspection.
220 Reviewed by Christian Schaller
222 2005-09-28 Stefan Kost <ensonic@users.sf.net>
224 * gst/gstinfo.c: (gst_debug_log_default):
225 don't do dummy g_strdup()s
226 * libs/gst/controller/gstcontroller.c:
227 (on_object_controlled_property_changed),
228 (gst_controlled_property_new), (gst_controller_new_valist),
229 (gst_controller_new_list),
230 (gst_controller_remove_properties_valist), (gst_controller_set),
231 (gst_controller_get), (gst_controller_sync_values),
232 (gst_controller_get_value_array), (_gst_controller_class_init),
233 (gst_controller_get_type):
234 * libs/gst/controller/gstcontroller.h:
235 * libs/gst/controller/gstinterpolation.c:
236 (gst_controlled_property_find_timed_value_node):
237 convert // to /**/ comments
239 2005-09-28 Wim Taymans <wim@fluendo.com>
241 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
242 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
243 (gst_bus_sync_signal_handler):
245 Added async-message and sync-message signals to the bus.
246 Added helper BusFunc to emit signals for all posted messages.
248 * gst/gstmessage.c: (gst_message_type_get_name),
249 (gst_message_type_to_quark), (gst_message_get_type):
251 Register quarks for message names.
253 2005-09-28 Stefan Kost <ensonic@users.sf.net>
255 * docs/libs/gstreamer-libs-sections.txt:
256 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
257 (gst_controller_new_list):
258 * libs/gst/controller/gstcontroller.h:
259 added another constructor for language bindings
261 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
263 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
267 * gst/gstinfo.c: (_gst_debug_init):
268 slightly more readable color for refcount debugging
270 2005-09-28 Wim Taymans <wim@fluendo.com>
272 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
273 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
274 (find_element), (gst_bin_sort_iterator_next),
275 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
276 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
277 (gst_bin_change_state), (gst_bin_dispose):
278 Small doc fixes. get_clock -> provide_clock.
280 * gst/gstelement.c: (gst_element_class_init),
281 (gst_element_provides_clock), (gst_element_provide_clock),
282 (gst_element_get_clock), (gst_element_commit_state),
283 (gst_element_lost_state):
285 Make get/set_clock() symetric. Add provide_clock vmethod since
286 that is actually what this function does.
288 * gst/gstpipeline.c: (gst_pipeline_class_init),
289 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
290 (gst_pipeline_get_clock):
291 get_clock -> provide_clock.
293 2005-09-28 Andy Wingo <wingo@pobox.com>
295 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
298 * gst/elements/gstfdsrc.c: Cleaned up a bit.
300 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
302 * gst/elements/gstcapsfilter.c:
303 * gst/elements/gstfakesink.c:
304 * gst/elements/gstfakesrc.c:
305 * gst/elements/gstfdsink.c:
306 * gst/elements/gstfdsrc.c:
307 * gst/elements/gstfilesink.c:
308 * gst/elements/gstfilesrc.c:
309 * gst/elements/gstidentity.c:
310 * gst/elements/gsttee.c:
311 * gst/elements/gsttypefindelement.c:
312 Make element details static.
314 2005-09-28 Wim Taymans <wim@fluendo.com>
316 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
317 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
318 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
319 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
320 (gst_bin_change_state), (gst_bin_dispose):
321 Some documentation updates.
322 Clean up dispose handlers.
324 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
325 * gst/gstpad.c: (gst_pad_dispose):
326 Clean up dispose handler.
328 * gst/gstpipeline.c: (gst_pipeline_change_state):
329 Removed spurious UNLOCK.
331 2005-09-27 Stefan Kost <ensonic@users.sf.net>
333 * docs/gst/gstreamer-sections.txt:
334 * gst/base/gstbasesrc.h:
343 added two new functions to the docs
344 documents all undocumented GstXXXFlags
345 completed some incomplete docs
347 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
349 * gst/gstbin.c: (gst_bin_dispose):
350 * gst/gstelement.c: (gst_element_dispose):
351 remove now useless and leaky resurrection code in dispose
352 * gst/base/gstbasesrc.c: (gst_base_src_init):
353 * gst/gstelementfactory.c: (gst_element_factory_create):
354 * gst/gstobject.c: (gst_object_set_parent):
357 2005-09-27 Wim Taymans <wim@fluendo.com>
359 * docs/design/part-TODO.txt:
362 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
363 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
364 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
365 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
366 (gst_bin_change_state):
368 Remove element variable, we keep element info in the iterator now.
370 2005-09-27 Andy Wingo <wingo@pobox.com>
372 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
375 2005-09-27 Wim Taymans <wim@fluendo.com>
377 * check/gst/gstbin.c: (GST_START_TEST):
378 Enable check that works now.
380 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
381 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
382 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
383 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
384 (gst_bin_change_state):
386 Redid the state change algorithm using a topological sort algo.
387 Handles all cases correctly.
388 Exposed iterator for state change order.
391 Temp storage for state changes. Need to get rid of this soon.
393 2005-09-27 Wim Taymans <wim@fluendo.com>
395 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
396 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
397 (link_fold_func), (gst_pad_proxy_setcaps):
398 Leak fixes, the fold functions need to unref the passed object and
399 _get_parent_*() returns ref to parent.
401 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
403 * check/gst/gstbuffer.c: (test_make_writable):
404 Plug leak in test case and fix 'make check-valgrind'
406 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
408 * gst/gstbuffer.c: (gst_subbuffer_init):
409 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
410 works correctly in all circumstances (we could have just copied
411 the parent buffer's readonly flag, but conceptually it seems
412 cleaner to mark all subbuffers as read-only). (based on patch
413 by Alessandro Decina, #314710).
415 * check/gst/gstbuffer.c: (create_read_only_buffer),
416 (test_make_writable), (test_subbuffer_make_writable),
418 Add some tests for gst_buffer_make_writable().
420 2005-09-27 Wim Taymans <wim@fluendo.com>
422 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
423 use gst_object_has_ancestor().
425 * gst/gstobject.c: (gst_object_has_ancestor):
427 gst_object_has_ancestor() copied from gstbin.c as it is a
430 * tests/instantiate/create.c: (create_all_elements):
431 * tests/lat.c: (handoff_src), (handoff_sink):
432 * tests/sched/runxml.c: (main):
433 * tests/seeking/seeking1.c: (main):
434 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
436 Fix compilation of some tests.
438 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
441 Remove comment. GST_TYPE_G_ERROR is here to stay,
442 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
445 2005-09-26 Wim Taymans <wim@fluendo.com>
447 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
448 Added check that shows error in state change order.
450 2005-09-26 Wim Taymans <wim@fluendo.com>
452 * gst/gstbin.c: (gst_bin_change_state):
453 Make state change function use 3 queues again, we were
454 adding elements in the wrong order.
456 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
459 * gst/gstpad.c: (gst_pad_dispose):
460 Added some debug info first.
462 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
464 * docs/design/draft-push-pull.txt:
465 * docs/design/part-events.txt:
466 * docs/design/part-overview.txt:
467 * docs/design/part-scheduling.txt:
468 Replace all _pull_region() with _pull_range()
470 2005-09-26 Andy Wingo <wingo@pobox.com>
472 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
474 * check/gst-libs/controller.c: Update for controller api change.
478 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
479 over by GLib bug 118439.
481 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
482 routines to a function.
484 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
486 * libs/gst/controller/gsthelper.c:
487 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
488 (gst_object_sync_values): Renamed from sink_values. Ugh.
490 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
492 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
493 Renamed from controller_key, as it is exported.
495 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
497 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
502 * gst/gstpadtemplate.h:
505 * gst/gstqueryutils.c:
506 * gst/gstqueryutils.h:
507 remove queryutils headers after moving the two used functions
508 to gstquery. also fixes build problem for gstsiddec
510 2005-09-26 Michael Smith <msmith@fluendo.com>
512 * tools/gst-launch.1.in:
513 Correct documentation in manpage of debug syntax
515 2005-09-26 Wim Taymans <wim@fluendo.com>
517 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
518 (gst_base_src_is_seekable), (gst_base_src_change_state):
519 Some more debugging info.
521 2005-09-25 Stefan Kost <ensonic@users.sf.net>
523 * docs/gst/gstreamer-sections.txt:
524 * gst/base/gstbasetransform.h:
528 2005-09-25 Stefan Kost <ensonic@users.sf.net>
530 * docs/gst/.cvsignore:
531 * docs/gst/tmpl/.cvsignore:
532 * docs/gst/tmpl/gstpipeline.sgml:
533 * docs/gst/tmpl/gstplugin.sgml:
537 inlined the last two docs files
538 removed the tmpl directory from cvs (no more conflicts here!)
540 2005-09-25 Stefan Kost <ensonic@users.sf.net>
542 * docs/gst/gstreamer-sections.txt:
543 * docs/gst/tmpl/.cvsignore:
544 * docs/gst/tmpl/gstpad.sgml:
545 * docs/gst/tmpl/gstpadtemplate.sgml:
547 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
548 (gst_pad_finalize), (gst_pad_set_pad_template):
550 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
551 (gst_pad_template_class_init), (gst_pad_template_init),
552 (gst_pad_template_dispose), (name_is_valid),
553 (gst_static_pad_template_get), (gst_pad_template_new),
554 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
555 (gst_pad_template_pad_created):
556 * gst/gstpadtemplate.h:
557 inlined two more docs
558 factored gstpadtemplate out of gstpad
560 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
562 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
563 (test_children_state_change_order_semi_sink):
564 Fix test case: we can't rely on a fixed state change order when
565 going from READY => PAUSED because the sink might commit its
566 new state first when the first buffer created by the source
567 reaches the sink before the source has finished its change state.
568 (Test case still fails at times, see #316856, comment 5 onwards)
570 2005-09-24 Wim Taymans <wim@fluendo.com>
572 * docs/design/part-events.txt:
573 * docs/design/part-gstbus.txt:
574 * docs/design/part-gstpipeline.txt:
575 * docs/design/part-messages.txt:
576 * docs/design/part-overview.txt:
577 * docs/design/part-segments.txt:
585 Various documentation updates.
587 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
590 Well, that's embarassing. Luckily we weren't using
591 GST_CLOCK_DIFF anywhere.
593 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
595 * common/gtk-doc.mak:
596 don't fail on building XML, FC4 slave shows a bunch of doc
597 missing bits that I don't get
600 * gst/gststructure.c:
603 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
605 * docs/design/part-gstbin.txt:
606 * docs/design/part-gstbus.txt:
608 Add blurb about how the bus goes into flushing mode and
609 drops all messages when its bin goes from READY into NULL
612 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
614 * docs/gst/gstreamer-sections.txt:
615 * gst/gststructure.c: (gst_structure_get_clock_time):
616 * gst/gststructure.h:
617 add a method to get a GstClockTime out of a structure
619 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
621 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
622 (test_children_state_change_order_semi_sink), (gst_bin_suite):
623 Added test to check state change order in bins (can still be made
624 to fail here under heavy disk load; bails out with 'Push on pad
625 fakesink:sink0, but it was not activated in push mode').
627 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
628 Fix state change order when there is only a semi sink (#316856)
630 * gst/gstbus.c: (gst_bus_class_init):
631 Use _class_peek_parent(), not _class_ref(); fix docs to say
632 'default main context' instead of 'mainloop' where that is
635 * gst/gstelement.c: (gst_element_commit_state),
636 (gst_element_set_state):
637 Fix typos in debug messages
639 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
642 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
643 * gst/gstpluginfeature.c:
646 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
647 change an assert into an error until it gets fixed properly
649 2005-09-23 Stefan Kost <ensonic@users.sf.net>
651 * docs/gst/gstreamer-sections.txt:
652 * docs/gst/tmpl/.cvsignore:
653 * docs/gst/tmpl/gstelement.sgml:
654 * docs/gst/tmpl/gstinfo.sgml:
655 * docs/gst/tmpl/gstobject.sgml:
660 * gst/gstobject.c: (gst_object_class_init):
662 inlined 3 more biiiig doc files and added some missing docs on the fly
664 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
666 * check/gst/.cvsignore:
667 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
668 * gst/gstregistryxml.c: (load_plugin),
669 (gst_registry_xml_save_plugin):
670 put back source in registry. add checks for find_plugin.
671 * testsuite/states/bin.c: (assert_state), (empty_bin),
672 (test_adding_one_element), (main):
673 * testsuite/states/locked.c: (main):
674 some compile/run fixes
676 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
678 * check/gst/gstvalue.c: (GST_START_TEST):
679 fix leaks in the test itself
681 2005-09-22 Wim Taymans <wim@fluendo.com>
683 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
684 (gst_base_sink_send_event), (gst_base_sink_peer_query),
685 (gst_base_sink_query):
686 Prepare for more accurate position reporting and query
689 * gst/gstelement.c: (gst_element_send_event),
690 (gst_element_set_state):
693 2005-09-22 Wim Taymans <wim@fluendo.com>
695 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
696 (gst_query_parse_segment):
699 Add segment query for future use.
701 2005-09-22 Wim Taymans <wim@fluendo.com>
703 * gst/gstbin.c: (gst_bin_add_func):
704 Some more debug info.
706 * gst/gstelement.c: (gst_element_send_event):
710 Don't know how flags got broken.
715 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
717 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
718 Add simplistic test suite for GST_TYPE_DATE serialisation and
721 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
723 * docs/gst/gstreamer-sections.txt:
724 * gst/gststructure.c: (gst_structure_set_valist),
725 (gst_structure_get_date):
726 * gst/gststructure.h:
727 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
728 (gst_date_copy), (gst_value_compare_date),
729 (gst_value_serialize_date), (gst_value_deserialize_date),
730 (gst_value_transform_date_string),
731 (gst_value_transform_string_date), (_gst_value_initialize):
733 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
734 bunch of utility functions along with a hack that checks that
735 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
736 is required. Part of the grand scheme in #170777.
738 2005-09-22 Andy Wingo <wingo@pobox.com>
740 * gst/gstconfig.h.in: Psych out gtk-doc.
742 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
744 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
746 * tools/gst-inspect.c (print_element_list): Plug some
747 inconsequential leaks.
749 * gst/gstregistry.c (gst_registry_get_default): Doc.
751 * check/gst/gstplugin.c:
752 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
753 * gst/gstelementfactory.c (gst_element_factory_create):
754 * gst/gstindexfactory.c (gst_index_factory_create): Update for
757 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
758 (gst_plugin_feature_load): Doc, don't eat refs.
760 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
761 (gst_plugin_list_free): Doc.
762 (gst_plugin_load_file): Doc updates.
764 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
765 accessors returning refcounted objects, return a ref.
767 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
768 accessor for caps. IDEMPOTENCE. Oh yes.
770 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
772 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
774 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
775 (_gst_debug_register_funcptr):
776 Add mutex to serialise access to the hash table with
777 the function pointer => function name string mapping;
778 make that hash table static scope (#316809).
780 * gst/registries/.cvsignore:
781 Remove left-over file.
783 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
785 * docs/pwg/appendix-porting.xml:
786 And something about newsegment events and caps-on-buffers to
787 the porting guide (feel free to improve).
789 2005-09-21 Andy Wingo <wingo@pobox.com>
791 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
792 data and event probes on the same pad.
793 (test_buffer_probe_once): Test that removing probes from within
794 the probe functions works.
796 2005-09-21 Andy Wingo <wingo@pobox.com>
798 * check/gst/gstutils.c: New file.
799 (test_buffer_probe_n_times): A simple buffer probe test. More to
802 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
803 have-data::buffer, not have-data.
804 (gst_pad_add_event_probe): Likewise for have-data::event.
805 (gst_pad_add_data_probe): More docs. The part about 'resolving the
806 peer' isn't quite right yet though.
807 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
808 (gst_pad_remove_data_probe): Change to take the guint handler_id
809 as their arg, not the function+data, which is more glib-like.
811 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
812 the signal emission to indicate if the data is a buffer or an
814 (gst_pad_get_type): Initialize buffer and event quarks.
815 (gst_pad_class_init): have-data is now a detailed signal, yes it
818 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
820 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
821 * gst/gstutils.c: (gst_util_set_value_from_string),
822 (gst_util_set_object_arg):
823 Don't put functional code in g_return_if_fail() or
824 g_return_val_if_fail() statements, otherwise things will
825 break when G_DISABLE_CHECKS is defined during compilation.
827 2005-09-21 Stefan Kost <ensonic@users.sf.net>
829 * docs/gst/tmpl/.cvsignore:
830 * docs/gst/tmpl/gstvalue.sgml:
833 inlied another one and added some obvious docs
835 2005-09-21 Wim Taymans <wim@fluendo.com>
837 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
838 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
839 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
840 (gst_fdsrc_get_property), (gst_fdsrc_create):
841 * gst/elements/gstfdsrc.h:
842 Properly implement fdsrc. Removed signal and timeout,
843 better implemented somewhere else.
845 2005-09-21 Stefan Kost <ensonic@users.sf.net>
847 * docs/gst/tmpl/.cvsignore:
848 * docs/gst/tmpl/gstimplementsinterface.sgml:
849 * gst/gstinterface.c:
852 2005-09-21 Stefan Kost <ensonic@users.sf.net>
854 * docs/gst/gstreamer-sections.txt:
855 * docs/gst/tmpl/.cvsignore:
856 * docs/gst/tmpl/gstenumtypes.sgml:
857 remove obsolete doc file
859 2005-09-21 David Schleef <ds@schleef.org>
861 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
862 little beer, fix a little leak.
864 2005-09-21 Stefan Kost <ensonic@users.sf.net>
866 * docs/gst/gstreamer-docs.sgml:
867 * docs/gst/gstreamer-sections.txt:
868 * docs/gst/tmpl/.cvsignore:
873 * gst/gstindex.c: (gst_index_class_init):
875 * gst/gstindexfactory.c: (gst_index_factory_get_type),
876 (gst_index_factory_class_init), (gst_index_factory_init),
877 (gst_index_factory_finalize), (gst_index_factory_new),
878 (gst_index_factory_destroy), (gst_index_factory_find),
879 (gst_index_factory_create), (gst_index_factory_make):
880 * gst/gstindexfactory.h:
881 * gst/gstpluginfeature.c:
882 * gst/gstpluginfeature.h:
883 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
884 more docs inlined, splitted gstindex.{c,h}
886 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
888 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
891 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
893 * gst/elements/gstfilesink.c: (gst_file_sink_init):
894 Set sync to FALSE by default.
896 2005-09-20 Wim Taymans <wim@fluendo.com>
898 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
899 (gst_base_sink_init):
900 Make sync property settable from subclass.
902 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
903 (gst_fake_sink_change_state):
904 Set sync to FALSE by default.
906 2005-09-20 Wim Taymans <wim@fluendo.com>
908 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
909 * tools/gst-launch.c: (main):
910 The timeout handler should have lower priority than the source
911 so we don't timeout before popping a message with 0 timeout.
912 Dump error messages after failed state change.
914 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
916 * tools/gst-inspect.c: (print_element_properties_info):
919 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
921 * check/gst/gstevent.c:
922 * gst/elements/gstfakesink.c:
923 * gst/elements/gstfakesink.h:
924 remove the sync property from fakesink.
925 has the side effect of setting sync TRUE
926 for fakesink, which is a change. Anyone who knows how
927 to fix this nicely in a GObject-y way, feel free.
929 2005-09-20 Stefan Kost <ensonic@users.sf.net>
931 * docs/gst/gstreamer-docs.sgml:
932 remove probe refsection
934 2005-09-20 Stefan Kost <ensonic@users.sf.net>
937 disable valgrinding the controller test again
938 * docs/gst/gstreamer-sections.txt:
939 update for api-changes
941 2005-09-20 Wim Taymans <wim@fluendo.com>
943 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
944 (gst_base_sink_set_property), (gst_base_sink_get_property),
945 (gst_base_sink_do_sync):
946 * gst/base/gstbasesink.h:
947 Added sync property to basesink to disable clock sync.
949 2005-09-20 Andy Wingo <wingo@pobox.com>
951 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
952 eating the caller's refcount.
954 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
955 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
958 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
959 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
960 of GLib 2.8 public, so we can know which refcount to check in
963 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
964 (gst_object_init): Only set the gst refcount if we're going ahead
965 with the refcount hack.
967 2005-09-20 Stefan Kost <ensonic@users.sf.net>
969 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
970 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
971 more leaks plumbed, added more debug-logging
975 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
978 remove include of gstmemchunk.h
980 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
982 * gst/gstclock.c: (_gst_clock_id_free):
983 Commit from the Political Party For More Atomic CVS Commits,
984 so that people don't waste too much of their day fishing
985 out obvious leaks out of massive commits.
986 Oh, and fix a pretty damn obvious leak in the memchunk
989 2005-09-20 Stefan Kost <ensonic@users.sf.net>
992 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
993 plug mem-leak, re-add to valgrindable tests
995 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
998 unbreak the build for those who have chronic arthritis
999 and typing "make check" is just too taxing on the hands
1001 2005-09-20 Andy Wingo <wingo@pobox.com>
1003 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1004 really want it out, you should fix plugins at the same time.
1006 2005-09-19 Stefan Kost <ensonic@users.sf.net>
1009 * docs/gst/gstreamer-sections.txt:
1011 added missing symbols to api docs
1012 disable ref-count hack if we have glib >= 2.8
1014 2005-09-19 David Schleef <ds@schleef.org>
1016 * docs/gst/Makefile.am: Ignore a few more internal headers
1017 * docs/gst/gstreamer-docs.sgml: Remove old sections
1018 * docs/gst/gstreamer-sections.txt: Remove old sections
1019 * docs/gst/tmpl/gstobject.sgml: update
1020 * docs/gst/tmpl/gstplugin.sgml: update
1021 * docs/gst/tmpl/gstpluginfeature.sgml: update
1022 * docs/random/ds/0.9-suggested-changes: update.
1023 * gst/Makefile.am: remove memchunk and trashstack, since they're
1025 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1026 * gst/gst.h: don't include some headers
1027 * gst/gstchildproxy.c: add gstmarshal.h
1028 * gst/gstclock.c: Don't use memchunks
1029 * gst/gstminiobject.c: Add some docs
1030 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1031 * gst/gstobject.h: same
1032 * gst/gstplugin.c: include gstmacros.h
1033 * gst/gstplugin.h: don't include gstmacros.h, since it's private
1034 * gst/gstquery.c: don't use memchunks
1035 * gst/gstregistry.c: rename gst_registry_deinit()
1036 * gst/gstregistry.h: same
1038 2005-09-19 David Schleef <ds@schleef.org>
1040 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1041 * docs/libs/gstreamer-libs-sections.txt:
1042 * docs/libs/tmpl/gstgetbits.sgml:
1043 * docs/libs/tmpl/gstputbits.sgml:
1045 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
1047 * win32/gstenumtypes.c:
1048 * win32/gstenumtypes.h:
1051 2005-09-19 Wim Taymans <wim@fluendo.com>
1053 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1054 Automatically PAUSE and RESUME a pipeline when a flushing seek
1057 2005-09-19 Andy Wingo <wingo@pobox.com>
1059 * gst/gstregistry.h: Spacing fixen.
1061 2005-09-19 Wim Taymans <wim@fluendo.com>
1063 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1064 Handle state change failure more correctly.
1066 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1068 * check/Makefile.am:
1069 * check/pipelines/cleanup.c: (run_pipeline):
1070 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1072 enable cleanup again after fixing the leak
1074 some more info on docs
1076 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1078 * check/Makefile.am:
1079 re-enable tests now that leaks are plugged
1081 * check/gst/gstbin.c:
1082 * check/gst/gstpipeline.c:
1083 add some more tests while fixing leaks
1085 make sure binaries are uptodate when valgrinding/gdbing
1087 * gst/gstelementfactory.c:
1088 remove a ref too many, and add a FIXME for when we get
1089 round to disposing of classes
1091 fix the refcounting when loading a plugin from a file and
1092 the code pretends that the pointer is the same even though
1093 of course it can change
1094 * gst/gstpluginfeature.c:
1095 unref plugins marked cached (a bit confusing as a name)
1096 as the docs state should be done
1097 various doc additions to explain refcounting
1098 * gst/gstregistry.c:
1099 * gst/gstregistryxml.c:
1102 2005-09-19 Wim Taymans <wim@fluendo.com>
1104 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1105 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1106 (send_messages), (GST_START_TEST), (gstbus_suite):
1107 * check/gst/gstpipeline.c: (GST_START_TEST):
1108 * check/pipelines/cleanup.c: (run_pipeline):
1109 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1111 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1112 (gst_bus_source_check), (gst_bus_source_dispatch),
1113 (gst_bus_create_watch), (gst_bus_add_watch_full),
1114 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1116 * tools/gst-launch.c: (event_loop):
1117 * tools/gst-md5sum.c: (event_loop):
1118 GstBusHandler -> GstBusFunc, return value has the same meaning as
1119 any other GSource (FALSE == remove source).
1120 _add_watch() and _add_watch_full() now take a MessageType mask to
1121 only handle specific types of messages.
1122 _poll() returns the GstMessage instead of the message type to avoid
1124 _have_pending() takes a MessageType mask now too.
1125 Added testsuite for multiple bus watches.
1126 Fix testsuites and applications for new bus API.
1128 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1130 * check/Makefile.am:
1131 mark a bunch of the tests as to fix until we fix them
1133 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1136 use GST_PLUGIN settings for valgrind tests as well, so we're
1137 valgrinding the correct thing
1138 * gst/gst.c: (init_post):
1141 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1143 * gst/gst.c: (init_post), (gst_deinit):
1144 * gst/gstelementfactory.c: (gst_element_factory_class_init),
1145 (gst_element_factory_finalize), (gst_element_factory_cleanup):
1146 * gst/gstindex.c: (gst_index_factory_class_init),
1147 (gst_index_factory_finalize):
1148 * gst/gstobject.c: (gst_object_dispose):
1149 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1150 (gst_plugin_load_file), (gst_plugin_desc_free):
1151 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1152 (gst_plugin_feature_finalize):
1153 * gst/gstregistry.c: (gst_registry_class_init),
1154 (gst_registry_init), (gst_registry_finalize),
1155 (gst_registry_get_default), (gst_registry_deinit):
1156 * gst/gstregistry.h:
1157 * gst/gstregistryxml.c: (load_feature), (load_plugin):
1158 various cleanups and memleak plugging. make valgrind is happy now.
1160 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1163 add a check-valgrind target
1165 2005-09-18 David Schleef <ds@schleef.org>
1167 * tools/gst-inspect.c: Revert the GOption code.
1169 2005-09-17 David Schleef <ds@schleef.org>
1171 * check/Makefile.am: Fix environment variables.
1172 * check/gst/gstplugin.c: Fix for API changes.
1173 * tools/gst-inspect.c: Fix for API changes.
1174 * tools/gst-xmlinspect.c: Fix for API changes.
1175 * gst/gstelementfactory.c:
1178 * gst/gstpluginfeature.c:
1179 * gst/gstpluginfeature.h:
1180 * gst/gstregistry.c:
1181 * gst/gstregistry.h:
1182 * gst/gstregistryxml.c:
1183 * gst/gsttypefind.c:
1184 * gst/gsttypefindfactory.c:
1185 * gst/indexers/gstfileindex.c:
1186 * gst/indexers/gstmemindex.c:
1187 * gst/schedulers/Makefile.am:
1188 Change registry to keep track of both plugins and features,
1189 removing the feature tracking from plugins themselves.
1191 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1193 * check/Makefile.am:
1194 * tools/gst-register.1.in:
1197 2005-09-15 David Schleef <ds@schleef.org>
1199 * check/gst/gstplugin.c:
1200 * gst/gstelementfactory.c:
1202 * gst/gstpluginfeature.c:
1203 * gst/gstregistry.c:
1204 Getting tired of debugging. Disabled all the unreffing of
1205 plugins and features, which fixes the segfaults, but of
1206 course leaks like crazy. At least playbin works.
1208 2005-09-15 David Schleef <ds@schleef.org>
1210 * check/gst/gstplugin.c: (register_check_elements),
1211 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1213 * gst/elements/gsttypefindelement.c: Fix refcounting.
1214 * gst/gsttypefind.c:
1215 * gst/gsttypefindfactory.c:
1216 * gst/gsttypefindfactory.h:
1218 2005-09-15 David Schleef <ds@schleef.org>
1220 * gst/gstindex.c: get refcounting correct.
1221 * gst/gstregistry.c: Handle the case where a feature/plugin is
1224 2005-09-15 David Schleef <ds@schleef.org>
1226 * check/Makefile.am:
1227 * check/gst/gstplugin.c: Add test
1228 * gst/gstplugin.c: Fix problems noticed by testsuite
1230 * gst/gstregistry.c:
1231 * gst/gstregistry.h:
1233 2005-09-15 David Schleef <ds@schleef.org>
1235 * gst/gstplugin.c: Implement semi-decent recounting and locking
1236 in plugins and plugin features.
1238 * gst/gstpluginfeature.c:
1239 * gst/gstpluginfeature.h:
1240 * gst/gstregistry.c:
1242 2005-09-15 Michael Smith <msmith@fluendo.com>
1244 * gst/gstregistry.c: (gst_registry_get_feature_list):
1245 Implement this. Makes oggdemux work; decodebin still broken.
1247 2005-09-14 David Schleef <ds@schleef.org>
1249 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1251 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1252 * gst/check/Makefile.am:
1253 * libs/gst/controller/Makefile.am:
1254 * libs/gst/dataprotocol/Makefile.am:
1256 2005-09-14 David Schleef <ds@schleef.org>
1258 * configure.ac: Remove getbits library. Nothing uses it, and
1259 it should be in something like liboil if someone did want
1261 * libs/gst/Makefile.am:
1262 * libs/gst/getbits/Makefile.am:
1263 * libs/gst/getbits/gbtest.c:
1264 * libs/gst/getbits/getbits.c:
1265 * libs/gst/getbits/getbits.h:
1266 * libs/gst/getbits/gstgetbits_generic.c:
1267 * libs/gst/getbits/gstgetbits_i386.s:
1268 * libs/gst/getbits/gstgetbits_inl.h:
1270 2005-09-14 David Schleef <ds@schleef.org>
1272 * gst/Makefile.am: Dist glib-compat.h
1274 2005-09-14 David Schleef <ds@schleef.org>
1276 * configure.ac: Remove gst/registries, since it's no longer used.
1277 * gst/registries/Makefile.am:
1278 * gst/registries/gstlibxmlregistry.c:
1279 * gst/registries/gstlibxmlregistry.h:
1280 * gst/registries/gstxmlregistry.c:
1281 * gst/registries/gstxmlregistry.h:
1282 * gst/registries/registrytest.c:
1284 2005-09-14 David Schleef <ds@schleef.org>
1286 * gst/glib-compat.h:
1287 * gst/gstregistryxml.c:
1288 Convergence is near. Seriously.
1290 2005-09-14 David Schleef <ds@schleef.org>
1292 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1293 * gst/glib-compat.h:
1294 Attempt #4 to appease the buildbots.
1296 2005-09-14 David Schleef <ds@schleef.org>
1298 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1301 2005-09-14 David Schleef <ds@schleef.org>
1303 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1306 2005-09-14 David Schleef <ds@schleef.org>
1308 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1311 2005-09-14 David Schleef <ds@schleef.org>
1313 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1314 * gst/glib-compat.h: Add some functions that are in newer versions
1315 of glib than we care to require.
1316 * gst/gstregistryxml.c: Use them.
1318 2005-09-14 David Schleef <ds@schleef.org>
1320 * po/POTFILES.in: remove gst-register.c
1322 2005-09-14 David Schleef <ds@schleef.org>
1324 * docs/gst/gstreamer-docs.sgml:
1325 * docs/gst/gstreamer-sections.txt:
1326 * docs/gst/gstreamer.types:
1327 * docs/gst/tmpl/gstelement.sgml:
1328 * docs/gst/tmpl/gstplugin.sgml:
1329 * docs/gst/tmpl/gstpluginfeature.sgml:
1330 Documentation updates for registry changes.
1332 2005-09-14 David Schleef <ds@schleef.org>
1334 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1335 because we don't require glib-2.8.
1337 2005-09-14 David Schleef <ds@schleef.org>
1339 * gst/gstregistryxml.c: Added. Essentially moved out of the
1340 registries directory.
1342 2005-09-14 David Schleef <ds@schleef.org>
1344 * check/Makefile.am:
1345 * check/generic/states.c:
1349 * gst/gst_private.h:
1350 * gst/gstelementfactory.c:
1355 * gst/gstpluginfeature.c:
1356 * gst/gstpluginfeature.h:
1357 * gst/gstregistry.c:
1358 * gst/gstregistry.h:
1359 * gst/gstregistrypool.c: remove
1360 * gst/gstregistrypool.h: remove
1361 * gst/gsttypefind.c:
1362 * gst/gsttypefindfactory.c:
1364 * tools/Makefile.am:
1365 * tools/gst-compprep.c:
1366 * tools/gst-inspect.c:
1367 * tools/gst-register.c: remove
1368 * tools/gst-xmlinspect.c:
1369 Registry rewrite. Changes registry from being a file created
1370 by a tool into a simple cache file created automatically by
1371 libgstreamer. Removed gst-register (because it's no longer
1372 needed). Remove registry pools, because we only have one
1373 registry implementation (XML). Fix up other subsystems as
1376 2005-09-13 Michael Smith <msmith@fluendo.com>
1378 * gst/gstconfig.h.in:
1379 Don't Use windows linking attributes for MinGW. Fixes #316157
1381 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1383 * gst/gstutils.c: (set_state_async_thread_func),
1384 (gst_element_set_state_async):
1385 Apparently people think it's better if this function doesn't
1386 try to set the state to whatever state was asked for on the first
1387 call to this function for any object. Seriously.
1389 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1391 * check/gst/gstpipeline.c: (GST_START_TEST):
1392 * docs/gst/gstreamer-sections.txt:
1393 * gst/gstutils.c: (set_state_async_thread_func),
1394 (gst_element_set_state_async):
1396 add a "gst_element_set_state_async" method that
1397 sets the state and starts a thread to make sure the state
1398 change completes as best as it can
1400 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1402 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1403 codify design+behaviour in testsuite after discussion
1405 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1407 * docs/gst/tmpl/gstelement.sgml:
1408 * docs/manual/appendix-quotes.xml:
1410 * gst/gstelement.c: (gst_element_set_state):
1413 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1415 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1416 (gst_base_transform_prepare_output_buf),
1417 (gst_base_transform_handle_buffer):
1418 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1419 (gst_capsfilter_prepare_buf):
1420 Remove the requirement for sub-classes to call the parent
1421 implementation of prepare_output_buffer with a wrapper function.
1424 * gst/gsttagsetter.h:
1427 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1429 * docs/gst/gstreamer-sections.txt:
1432 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1434 * docs/gst/gstreamer-sections.txt:
1435 * docs/gst/tmpl/gstelement.sgml:
1436 * docs/gst/tmpl/gstplugin.sgml:
1437 * gst/gstminiobject.c:
1439 docs now stop throwing warnings
1441 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1443 * docs/gst/gstreamer-sections.txt:
1444 * docs/gst/gstreamer.types:
1445 * docs/gst/tmpl/gstpad.sgml:
1446 * docs/gst/tmpl/gsttypes.sgml:
1447 * gst/base/gstadapter.h:
1448 * gst/base/gstbasesink.h:
1449 * gst/base/gstbasesrc.h:
1459 * gst/gststructure.c:
1460 * gst/registries/gstlibxmlregistry.h:
1461 various documentation fixes
1463 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1465 * docs/gst/gstreamer-sections.txt:
1466 * docs/gst/tmpl/gstvalue.sgml:
1467 rearrange gstvalue section
1468 * gst/gstutils.c: (gst_element_state_get_name):
1470 * gst/gstvalue.c: (_gst_value_initialize):
1474 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1476 * check/gst-libs/controller.c:
1478 * gst/base/gstbasetransform.c:
1479 (gst_base_transform_default_prepare_buf),
1480 (gst_base_transform_handle_buffer):
1481 * gst/base/gstbasetransform.h:
1482 Some more basetransform changes and fixes to enable sub-classes
1483 that modify buffer metadata only.
1484 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1485 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1486 (gst_capsfilter_prepare_buf):
1487 If the output pad has fixed allowed caps and input buffers
1488 don't have any, set the fixed caps on outgoing buffers.
1490 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1491 * check/elements/identity.c: (GST_START_TEST):
1492 Make the error a little clearer when the test fails because
1493 identity made a copy of the buffer.
1494 * docs/gst/gstreamer-sections.txt:
1495 New symbols in gstbasetransform.h
1496 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1497 (gst_base_transform_init), (gst_base_transform_transform_size),
1498 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1499 (gst_base_transform_default_prepare_buf),
1500 (gst_base_transform_get_unit_size),
1501 (gst_base_transform_buffer_alloc),
1502 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1503 (gst_base_transform_change_state),
1504 (gst_base_transform_set_passthrough),
1505 (gst_base_transform_set_in_place),
1506 (gst_base_transform_is_in_place):
1507 * gst/base/gstbasetransform.h:
1508 Change BaseTransform to separate in_place operate from same_caps
1509 output. in_place implies that the element can perform the transform
1510 on incoming buffers in-place, even if the caps on the output are
1512 Sub-class elements can now implement special buffer allocation
1513 methods for outgoing buffers if they wish to.
1514 Big documentation addition.
1515 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1516 * gst/elements/gstelements.c:
1517 Changes for basetransform modifications.
1518 * gst/elements/Makefile.am:
1519 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1520 Compile fix. Extra debug output.
1522 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1524 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1526 add tests for valid pad naming
1527 * gst/check/gstcheck.c: (gst_check_log_message_func),
1528 (gst_check_log_critical_func):
1530 remove printing of code, it is fragile when the code contains
1531 % and the line number is enough info
1532 * gst/check/gstcheck.h:
1533 * gst/gstpad.c: (gst_pad_template_new):
1536 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1539 say what CHECK flags we use
1540 * docs/libs/gstreamer-libs.types:
1541 * libs/gst/controller/Makefile.am:
1542 * libs/gst/controller/gst-controller.c:
1543 * libs/gst/controller/gst-controller.h:
1544 * libs/gst/controller/gst-helper.c:
1545 * libs/gst/controller/gst-interpolation.c:
1546 * libs/gst/controller/gstcontroller.c:
1547 * libs/gst/controller/gsthelper.c:
1548 * libs/gst/controller/gstinterpolation.c:
1549 * tools/gst-inspect.c: (print_plugin_info):
1550 we don't use dashes in header names
1552 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1554 * check/Makefile.am:
1555 * check/gst/.cvsignore:
1556 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1557 (gst_pipeline_suite), (main):
1558 adding a test for pipelines and state changes
1559 * gst/gstutils.c: (get_state_func):
1561 * gstreamer.spec.in:
1564 2005-09-08 Michael Smith <msmith@fluendo.com>
1566 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1567 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1568 (gst_file_src_is_seekable), (gst_file_src_get_size),
1569 (gst_file_src_start):
1570 * gst/elements/gstfilesrc.h:
1571 Various fixes for unseekable, unmmapable, and non-normal files, so
1572 that fallback to read() rather than mmap() works.
1573 * gst/gstevent.c: (gst_event_new_newsegment):
1574 Allow newsegment events with segment_start == segment_end, as will
1575 correctly happen if you use filesrc on a zero-size file, for
1578 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1580 * gst/gstplugin.c: (gst_plugin_load_file):
1581 Call g_module_close when we don't load the module
1583 * gst/registries/gstlibxmlregistry.c:
1584 (gst_xml_registry_get_property):
1585 Port leak fix from 0.8
1587 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1589 * docs/gst/gstreamer-docs.sgml:
1590 * docs/gst/tmpl/.cvsignore:
1591 * docs/gst/tmpl/gsttrace.sgml:
1592 * docs/gst/tmpl/gsttrashstack.sgml:
1601 * gst/gsttaginterface.c:
1602 * gst/gsttaginterface.h:
1605 * gst/gsttagsetter.c:
1606 * gst/gsttagsetter.h:
1609 * gst/gsttrashstack.c:
1610 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1611 inlined docs for gsttrace, gsttrashstack
1613 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1616 * gst/elements/gstbufferstore.h:
1617 * gst/elements/gsttypefindelement.c:
1618 * gst/elements/gsttypefindelement.h:
1620 * gst/gsttypefind.c:
1621 * gst/gsttypefind.h:
1622 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1623 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1624 (gst_type_find_factory_dispose),
1625 (gst_type_find_factory_unload_thyself),
1626 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1627 (gst_type_find_factory_get_caps),
1628 (gst_type_find_factory_get_extensions),
1629 (gst_type_find_factory_call_function):
1630 * gst/gsttypefindfactory.h:
1631 * gst/registries/gstlibxmlregistry.c:
1632 * gst/registries/gstxmlregistry.c:
1633 splitted gsttypefind into gsttypefind, gsttypefindfactory
1635 2005-09-07 Andy Wingo <wingo@pobox.com>
1637 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1638 condition whereby the pad's task function is entered before the
1639 pad_mode variable was set.
1641 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1643 * gst/gstpad.c: (gst_pad_alloc_buffer):
1644 Catch misbehaving pad_alloc functions that don't
1645 set up caps and do it for them.
1647 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1649 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1651 * docs/gst/tmpl/.cvsignore:
1652 * docs/gst/tmpl/gstmemchunk.sgml:
1653 * docs/gst/tmpl/gstparse.sgml:
1654 * docs/gst/tmpl/gsttaglist.sgml:
1655 * docs/gst/tmpl/gsttagsetter.sgml:
1656 * docs/gst/tmpl/gsttypefind.sgml:
1657 * docs/gst/tmpl/gsttypefindfactory.sgml:
1658 * gst/gstmemchunk.c:
1661 * gst/gsttaginterface.c:
1662 * gst/gsttypefind.c:
1663 * gst/gsttypefind.h:
1666 === release 0.9.2 ===
1668 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1673 releasing 0.9.2, "South"
1675 2005-09-05 Andy Wingo <wingo@pobox.com>
1677 * gst/registries/gstxmlregistry.h:
1678 * gst/registries/gstxmlregistry.c: Um... resurrect...
1680 * gst/registries/gstxmlregistry.h:
1681 * gst/registries/gstxmlregistry.c: and update to newer API.
1682 Incidentally they should be a bit faster now that they don't have
1685 2005-09-05 Andy Wingo <wingo@pobox.com>
1687 * gst/registries/gstxmlregistry.h:
1688 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1689 replaced by the libxml registry a while back
1691 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1693 * docs/gst/tmpl/gstplugin.sgml:
1694 * gst/elements/gstelements.c:
1696 * gst/gstplugin.c: (gst_plugin_register_func),
1697 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1698 (gst_plugin_get_source):
1700 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1701 (gst_xml_registry_save_plugin):
1702 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1703 (gst_xml_registry_save_plugin):
1704 * tools/gst-inspect.c: (print_plugin_info):
1705 add a "source" plugin description field, to represent the source
1706 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1707 will set it to PACKAGE, which is automake's idea of the name of
1710 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1716 * docs/faq/Makefile.am:
1717 * docs/gst/tmpl/gstelement.sgml:
1718 * docs/gst/tmpl/gsttypes.sgml:
1719 * docs/htmlinstall.mak:
1720 * docs/manual/Makefile.am:
1721 * docs/pwg/Makefile.am:
1722 reorganize doc build a little
1723 split out docbook and gtk-doc stuff
1724 have two separate --enable's and enable them through autogen
1725 but disable by default in configure (to be similar to other
1727 * gstreamer.spec.in:
1728 clean up docs install
1748 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
1750 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1753 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1754 (gst_fake_sink_change_state):
1755 Make state change function thread-safe.
1757 * gst/gstpad.c: (gst_pad_alloc_buffer):
1758 Set offset on generic buffer allocated by fallback.
1760 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1762 * docs/gst/gstreamer-sections.txt:
1763 * docs/gst/tmpl/gstelement.sgml:
1765 * libs/gst/controller/gst-controller.c:
1766 (gst_controlled_property_set_interpolation_mode),
1767 (gst_controlled_property_new),
1768 (gst_controller_find_controlled_property):
1769 run the wingo-magic script against the docs
1771 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1773 * docs/gst/gstreamer-docs.sgml:
1774 * docs/gst/gstreamer-sections.txt:
1775 * docs/gst/tmpl/.cvsignore:
1776 * docs/gst/tmpl/gstelementdetails.sgml:
1777 * docs/gst/tmpl/gstelementfactory.sgml:
1780 * gst/gstelementfactory.c:
1781 * gst/gstelementfactory.h:
1782 merged elementdetails docs into elementfactory docs
1785 2005-09-02 Andy Wingo <wingo@pobox.com>
1787 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1788 consider this enum an enum and not a flags.
1790 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1792 * docs/gst/gstreamer-docs.sgml:
1793 * docs/gst/tmpl/.cvsignore:
1794 * docs/gst/tmpl/gstghostpad.sgml:
1795 * docs/gst/tmpl/gstiterator.sgml:
1796 * docs/gst/tmpl/gstmacros.sgml:
1797 * docs/gst/tmpl/gstrealpad.sgml:
1798 * docs/gst/tmpl/gstregistry.sgml:
1799 * docs/gst/tmpl/gstregistrypool.sgml:
1800 * docs/gst/tmpl/gststructure.sgml:
1801 * docs/gst/tmpl/gstsystemclock.sgml:
1802 * docs/gst/tmpl/gsttrace.sgml:
1803 * gst/gstghostpad.c:
1805 * gst/gstmemchunk.c:
1806 * gst/gstmemchunk.h:
1808 * gst/gstregistry.c:
1809 * gst/gstregistrypool.c:
1810 * gst/gststructure.c:
1811 * gst/gstsystemclock.c:
1814 2005-09-02 Andy Wingo <wingo@pobox.com>
1816 * gst/gstelement.h (GstState): Renamed from GstElementState,
1817 changed to be a normal enum instead of flags.
1818 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1819 munged to be GST_STATE_CHANGE_*.
1820 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1821 work with the new state representation.
1822 (GstStateChange): New enumeration of possible state transitions.
1823 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1824 (GstElementClass::change_state): Pass the GstStateChange along as
1825 an argument. Helps language bindings, so they don't have to use
1826 tricky lock-needing macros like GST_STATE_CHANGE ().
1828 * scripts/update-states (file): New script. Run it on a file to
1829 update it for state naming and API changes. Updates files in
1832 * All files updated for the new API.
1834 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1836 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1837 * gst/gstutils.c: (gst_util_set_value_from_string),
1838 (gst_util_set_object_arg):
1839 fix a bunch of unchecked return values
1840 * tools/gst-complete.c: (main):
1841 * gstreamer.spec.in:
1844 2005-09-01 Wim Taymans <wim@fluendo.com>
1846 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1847 (gst_base_sink_event), (gst_base_sink_do_sync),
1848 (gst_base_sink_handle_event):
1849 * gst/base/gstbasesink.h:
1850 Handle newsegments more correctly.
1855 * gst/gstevent.c: (gst_event_new_newsegment):
1856 A newsegment cannot have a start_time of -1
1858 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
1860 * win32/gstenumtypes.c:
1861 * win32/gstenumtypes.h:
1864 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1866 * libs/gst/controller/gst-controller.c:
1867 (gst_controlled_property_set_interpolation_mode),
1868 (gst_controlled_property_new):
1871 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
1873 * docs/faq/gst-uninstalled:
1878 * gst/gstutils.c: (gst_element_link_filtered):
1880 add gst_element_link_filtered
1882 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1884 * docs/gst/gstreamer-docs.sgml:
1885 * docs/gst/gstreamer-sections.txt:
1886 * docs/gst/tmpl/.cvsignore:
1887 * docs/gst/tmpl/gsterror.sgml:
1888 * docs/gst/tmpl/gstfilter.sgml:
1889 * docs/gst/tmpl/gsturihandler.sgml:
1890 * docs/gst/tmpl/gsturitype.sgml:
1891 * docs/gst/tmpl/gstutils.sgml:
1892 * docs/gst/tmpl/gstxml.sgml:
1900 inlined more docs, fixed double id-ref
1902 2005-08-31 Wim Taymans <wim@fluendo.com>
1904 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1905 (gst_base_transform_handle_buffer):
1906 Passthrough elements don't need the caps as they don't care.
1908 2005-08-31 Wim Taymans <wim@fluendo.com>
1910 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1911 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
1912 Don't leak refcounts on buffers.
1914 2005-08-31 Wim Taymans <wim@fluendo.com>
1916 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
1917 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
1918 (gst_base_transform_chain), (gst_base_transform_change_state):
1919 * gst/base/gstbasetransform.h:
1920 Handle the case where we are not negotiated more gracefully.
1922 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
1924 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
1925 (gst_file_src_map_region):
1926 Set READONLY flag on mmap'ed buffers, otherwise
1927 gst_buffer_make_writable() won't work properly (#314708).
1929 2005-08-31 Wim Taymans <wim@fluendo.com>
1931 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
1932 passthrough elements can even do inplace on non writable
1933 buffers (as they don't touch them).
1935 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1937 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1938 (gst_test_mono_source_set_property),
1939 (gst_test_mono_source_class_init), (GST_START_TEST),
1940 (gst_controller_suite):
1941 more tests (hehe I have the most)
1943 describe popping messages whenusing mulltiple sources
1944 * libs/gst/controller/gst-controller.c:
1945 (gst_controlled_property_set_interpolation_mode),
1946 (gst_controlled_property_new):
1947 * libs/gst/controller/gst-controller.h:
1948 * libs/gst/controller/gst-interpolation.c:
1949 implement boolean properties
1951 2005-08-31 Wim Taymans <wim@fluendo.com>
1953 * gst/gstminiobject.c: (gst_mini_object_ref):
1954 Cannot assert that the refcount has to be positive
1955 since a disposed object can be resurrected.
1957 2005-08-31 Wim Taymans <wim@fluendo.com>
1959 * gst/gstpad.c: (gst_pad_init):
1960 Revert change, need to first fix badly behaving
1963 2005-08-30 Wim Taymans <wim@fluendo.com>
1965 * check/elements/fakesrc.c: (setup_fakesrc):
1966 * check/elements/identity.c: (setup_identity):
1967 Activate pads before using them.
1969 2005-08-30 Wim Taymans <wim@fluendo.com>
1971 * gst/base/gstadapter.c: (gst_adapter_flush):
1972 Flushing out 0 bytes is ok for this function.
1974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1975 no newsegment gives a warning and sets the start/stop to
1978 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
1979 (gst_base_transform_set_passthrough):
1982 * gst/gstminiobject.c: (gst_mini_object_ref):
1983 Check refcount here too.
1985 * gst/gstpad.c: (gst_pad_init):
1986 Pads are initially flushing and refusing data.
1988 * gst/gstutils.c: (gst_element_link_pads_filtered):
1989 When adding a capsfilter element make sure it has the
1990 same state as the parent bin.
1992 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1994 * docs/gst/tmpl/.cvsignore:
1995 * docs/gst/tmpl/gstformat.sgml:
1996 * docs/gst/tmpl/gstversion.sgml:
2000 * gst/gstversion.h.in:
2001 more docs and two more inlined
2003 2005-08-30 Wim Taymans <wim@fluendo.com>
2005 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2006 Don't sync to clock.
2008 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2010 * docs/gst/gstreamer-sections.txt:
2011 ultral33t func10ns deserve to appear in the docs actually
2012 * docs/gst/tmpl/.cvsignore:
2013 * docs/gst/tmpl/gstcompat.sgml:
2014 * docs/gst/tmpl/gstconfig.sgml:
2015 * gst/check/gstcheck.c:
2017 * gst/gstconfig.h.in:
2020 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2022 * docs/gst/tmpl/.cvsignore:
2023 * docs/gst/tmpl/gstquery.sgml:
2024 * docs/gst/tmpl/gstutils.sgml:
2027 inlined and extended docs
2029 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2031 * check/gst-libs/controller.c: (GST_START_TEST),
2032 (gst_controller_suite):
2034 * docs/gst/tmpl/gstutils.sgml:
2035 * docs/libs/gstreamer-libs-sections.txt:
2036 * docs/libs/tmpl/gstdataprotocol.sgml:
2038 * examples/controller/audio-example.c: (main):
2039 controller example works now
2042 * tools/gst-inspect.c: (print_element_properties_info):
2043 show param spec flags
2045 2005-08-29 Andy Wingo <wingo@pobox.com>
2047 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2049 2005-08-28 Andy Wingo <wingo@pobox.com>
2051 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2052 as having two arguments instead of just one. Allows superclasses
2053 to access information on subclasses -- see the terrible for() loop
2054 in gtype.c:g_type_create_instance for the reason why. All callers
2057 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2059 * docs/design/part-messages.txt:
2061 * docs/gst/tmpl/.cvsignore:
2062 * docs/gst/tmpl/gstcaps.sgml:
2063 * docs/gst/tmpl/gstclock.sgml:
2070 added descriptions for bus and message
2071 inline caps and clock docs
2073 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2079 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2081 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2084 2005-08-26 Andy Wingo <wingo@pobox.com>
2086 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2087 element_set_state's return val.
2088 (test_2_elements): Add test that's been disabled for months.
2090 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2091 can-activate-pull properties.
2093 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2094 can-activate-pull properties. Implement is_seekable so fakesrc can
2095 operate in pull mode.
2097 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2099 (gst_base_sink_activate, gst_base_sink_activate_pull)
2100 (gst_base_sink_activate_push): Make activation mode choosing work.
2102 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2103 is right. Make pull mode work. Post an eos before pausing in pull
2105 (gst_base_sink_change_state): Pay attention to the core's
2106 change_state() return val.
2108 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2109 has-getrange properties. Cleanups.
2111 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2112 has_getrange and replace with can_activate_pull and
2115 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2116 locking comments. Remove has_loop, has_chain and replace with
2117 can_activate_pull and can_activate_push.
2119 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
2122 * examples/Makefile.am:
2123 * examples/metadata/Makefile.am:
2124 * examples/metadata/read-metadata.c: (message_loop),
2125 (have_pad_handler), (make_pipeline), (print_tag), (main):
2126 Add metadata reading example that loops over a list of filenames,
2127 dumping any tags found.
2129 * gst/gstbus.c: (gst_bus_dispose):
2130 * gst/gstelement.c: (gst_element_dispose):
2131 Release a few potentially-held references in dispose.
2133 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2135 * docs/gst/tmpl/gstminiobject.sgml:
2136 do *not* add tmpl/*.sgml files to CVS!
2138 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2140 * libs/gst/bytestream/.cvsignore:
2141 * libs/gst/bytestream/Makefile.am:
2142 * libs/gst/bytestream/adapter.c:
2143 * libs/gst/bytestream/adapter.h:
2144 * libs/gst/bytestream/bytestream.c:
2145 * libs/gst/bytestream/bytestream.h:
2146 * libs/gst/bytestream/filepad.c:
2147 * libs/gst/bytestream/filepad.h:
2148 removing obsolete files
2150 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2152 * docs/gst/gstreamer-docs.sgml:
2153 * docs/libs/gstreamer-libs-docs.sgml:
2154 disabed additional index entries again, as this makes docs-gen just
2155 slow and they aren't useful yet
2156 * docs/libs/gstreamer-libs-sections.txt:
2157 little -section.txt cleanup for libs
2159 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
2161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2162 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2163 fix up some debugging
2164 (gst_base_transform_get_unit_size),
2165 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2166 (gst_base_transform_handle_buffer):
2167 * gst/base/gstbasetransform.h:
2168 handle and store timed NEWSEGMENT events so that subclasses that
2169 calculate time by counting samples have a segment_start time they
2170 need to add to their timestamps - see audioresample
2172 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2175 removed ';' from the end of macro defs
2176 * docs/gst/gstreamer-docs.sgml:
2177 * docs/gst/gstreamer-sections.txt:
2178 * docs/gst/tmpl/.cvsignore:
2180 * gst/gstelement.c: (gst_element_class_init),
2181 (gst_element_set_state), (activate_pads),
2182 (gst_element_save_thyself):
2183 * gst/gstevent.c: (gst_event_new_newsegment):
2185 * gst/gstiterator.c:
2186 * gst/gstiterator.h:
2189 * gst/gstutils.c: (gst_pad_query_convert):
2191 fixed parameter name mismatches between source, header and docs
2192 added some more docs, resolved the last batch of unused elements in
2193 docs (now someone needs to doc them)
2195 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2197 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2198 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2199 don't walk through the plugins backwards. Where is all this
2200 reversed logic coming from ?
2202 2005-08-25 Wim Taymans <wim@fluendo.com>
2204 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2205 (gst_base_transform_transform_size),
2206 (gst_base_transform_configure_caps),
2207 (gst_base_transform_get_unit_size),
2208 (gst_base_transform_buffer_alloc),
2209 (gst_base_transform_change_state):
2210 * gst/base/gstbasetransform.h:
2211 Cache caps unit_size.
2212 Make sure we cannot negotiate up and downstream at the
2215 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2217 * gst/gst.c: (init_pre), (init_post):
2218 register the installed plugin path after the env var
2219 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2220 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2221 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2222 directories, so the tests can prefer uninstalled over installed
2224 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2226 * gst/base/gstbasetransform.h:
2231 2005-08-25 Wim Taymans <wim@fluendo.com>
2233 * gst/gstbin.c: (bin_bus_handler):
2234 Be a bit more conservative about the posted message.
2236 * gst/gstbus.c: (gst_bus_post):
2237 Some cleanups, warn wrong return values.
2239 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
2241 * check/gst/gstbin.c: (GST_START_TEST):
2242 * gst/gstbin.c: (bin_bus_handler):
2243 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2244 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2245 (gst_message_new_warning), (gst_message_new_tag),
2246 (gst_message_new_state_changed), (gst_message_new_segment_start),
2247 (gst_message_new_segment_done), (gst_message_new_custom):
2249 * tools/gst-launch.c: (event_loop):
2250 * tools/gst-md5sum.c: (event_loop):
2251 Revert unpopular change for GST_MESSAGE_SRC to GObject.
2253 2005-08-25 Wim Taymans <wim@fluendo.com>
2255 * check/generic/states.c: (GST_START_TEST):
2256 Cleanup can be done at the end.
2258 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2259 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2260 (gst_task_get_state), (gst_task_start), (gst_task_pause):
2261 Oh boy.. Thanks for finding this, Thomas.
2263 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2265 * docs/gst/gstreamer.types:
2268 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2270 * docs/gst/gstreamer-docs.sgml:
2271 * docs/gst/gstreamer-sections.txt:
2272 * docs/gst/tmpl/.cvsignore:
2274 * gst/gstiterator.c:
2276 * gst/registries/gstxmlregistry.h:
2277 added missing classes and symbols (123 more to go)
2278 removed removed symbols from section file
2279 fixed many doc-comments
2281 2005-08-24 Wim Taymans <wim@fluendo.com>
2283 * check/generic/states.c: (GST_START_TEST):
2284 Make sure all tasks are stopped.
2286 * check/gst/gstbin.c: (GST_START_TEST):
2287 Unref after usage for proper valgrinding.
2289 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2290 Really wait for the task to stop before destroying the
2293 * gst/gstqueue.c: (gst_queue_sink_activate_push),
2294 (gst_queue_src_activate_push):
2295 Small cleanups. Don't stop the task when we did not start
2298 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2299 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2300 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2303 Protect the stream lock with the object lock.
2304 Disallow setting the stream lock when running.
2305 Add cleanup_all to wait for the threadpool to finish.
2306 Remove code to autoallocate a mutex if none was provided.
2307 Add _join() to wait for a task to stop.
2308 Protect the thread pool with a global lock.
2310 2005-08-24 Wim Taymans <wim@fluendo.com>
2312 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2313 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2314 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2315 * gst/base/gstbasesink.h:
2316 Handle newsegment events correctly.
2317 Drop buffers out of the segment range.
2319 2005-08-22 Andy Wingo <wingo@pobox.com>
2321 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2322 macro, implements an interface and gstimplementsinterface for a
2325 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2327 * check/Makefile.am:
2328 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2329 add a test that does a bunch of state changes on elements
2330 needs some fixing for valgrind
2331 * check/states/sinks.c: (gst_object_suite):
2334 add prototype for gst_caps_is_equal_fixed
2336 * gst/gstregistrypool.c:
2339 2005-08-24 Andy Wingo <wingo@pobox.com>
2341 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2342 convert a negative value. Doesn't make much sense. Mostly this is
2343 here to force callers to ensure -1 maps to -1.
2345 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2347 * docs/pwg/advanced-types.xml:
2348 Well done to Michael for catching my deliberate introduction
2349 of this spelling mistake.
2350 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2352 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2353 unlink pads before removing the element from the bin.
2355 2005-08-24 Andy Wingo <wingo@pobox.com>
2357 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2358 the same thing as GST_DEBUG=*:4.
2359 (parse_debug_level, parse_debug_category): New helper parsers.
2361 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2363 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2364 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2365 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2366 (gst_base_transform_buffer_alloc),
2367 (gst_base_transform_handle_buffer):
2368 use gboolean return values and pointers to size so we can use the
2369 full GST_BUFFER_SIZE range (guint) for buffer sizes
2370 use GstPadDirection for transform_caps
2371 * gst/base/gstbasetransform.h:
2372 rename get_size to get_unit_size since that's what it is
2373 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2374 use GstPadDirection for transform_caps
2375 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2377 cleanup and debugging
2379 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2381 * gst/gstelement.c: (gst_element_class_init),
2382 (gst_element_set_state), (activate_pads),
2383 (gst_element_save_thyself):
2384 * tools/gst-compprep.c: (main):
2385 * tools/gst-inspect.c: (print_element_properties_info):
2386 * tools/gst-xmlinspect.c: (print_element_properties):
2387 Fixed long standing mem-leak
2389 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2391 * check/gst/gstbin.c: (GST_START_TEST):
2392 * gst/gstbin.c: (bin_bus_handler):
2393 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2394 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2395 (gst_message_new_warning), (gst_message_new_tag),
2396 (gst_message_new_state_changed), (gst_message_new_segment_start),
2397 (gst_message_new_segment_done), (gst_message_new_custom):
2399 * tools/gst-launch.c: (event_loop):
2400 * tools/gst-md5sum.c: (event_loop):
2401 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2402 that applications can sensibly post custom messages with references
2403 to their own objects.
2405 2005-08-24 Andy Wingo <wingo@pobox.com>
2407 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2410 2005-08-24 Wim Taymans <wim@fluendo.com>
2412 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2413 (gst_base_transform_transform_caps),
2414 (gst_base_transform_transform_size),
2415 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2416 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2417 (gst_base_transform_handle_buffer):
2418 * gst/base/gstbasetransform.h:
2419 Many fixes and new features added by Thomas. Can now also do
2420 transforms with variable sizes and a custom fixate_caps function.
2422 2005-08-24 Wim Taymans <wim@fluendo.com>
2424 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2428 Cast to ClockTime before formatting to time.
2433 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2435 * check/gst-libs/controller.c: (GST_START_TEST),
2436 (gst_controller_suite):
2437 * docs/gst/tmpl/gstcaps.sgml:
2438 * docs/gst/tmpl/gstghostpad.sgml:
2439 * docs/gst/tmpl/gstquery.sgml:
2440 * docs/gst/tmpl/gstutils.sgml:
2441 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2442 (gst_object_sink_values), (gst_object_get_value_arrays),
2443 (gst_object_get_value_array):
2444 gracefully handle helper method calls to objects that are not beeing
2445 controlled, added test case for that
2447 2005-08-23 Wim Taymans <wim@fluendo.com>
2449 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2450 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2451 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2452 (gst_event_parse_qos), (gst_event_new_seek),
2453 (gst_event_parse_seek):
2455 Some more debugging output and doc cleanups.
2457 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2458 Fix possible deadlock.
2460 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2462 * docs/gst/gstreamer-docs.sgml:
2463 * docs/gst/gstreamer-sections.txt:
2464 * docs/gst/gstreamer.types:
2465 * docs/gst/tmpl/.cvsignore:
2470 added 100 symbols from gstreamer-unused.txt to the right sections
2471 fixed more broken comments
2472 added GstBus to docs
2474 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2476 * docs/gst/gstreamer-sections.txt:
2477 * docs/gst/tmpl/.cvsignore:
2478 * docs/gst/tmpl/gstbin.sgml:
2479 * docs/gst/tmpl/gstbuffer.sgml:
2480 * gst/base/gstbasesrc.c:
2481 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2484 * tools/gst-launch.1.in:
2485 inlined more doc comments, added missing comments and fixed comments
2488 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2490 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2494 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2496 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2497 * gst/gststructure.h:
2498 add a fixate function for booleans; add a FIXME that these func
2499 names should probably be gst_structure_fixate_*
2501 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2503 * docs/gst/gstreamer-docs.sgml:
2504 * docs/gst/gstreamer-sections.txt:
2506 * gst/gstbin.c: (gst_bin_get_type),
2507 (gst_bin_child_proxy_get_child_by_index),
2508 (gst_bin_child_proxy_get_children_count),
2509 (gst_bin_child_proxy_init):
2510 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2511 (gst_child_proxy_get_child_by_index),
2512 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2513 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2514 (gst_child_proxy_get), (gst_child_proxy_set_property),
2515 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2516 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2517 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2518 * gst/gstchildproxy.h:
2519 * gst/parse/grammar.y:
2520 * tools/gst-inspect.c: (print_interfaces),
2521 (print_element_properties_info), (print_element_info):
2522 ported gstchildproxy over from 0.8
2523 ported gst-inspect fixes and enhancements over from 0.8
2525 2005-08-22 Wim Taymans <wim@fluendo.com>
2527 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2528 (gst_base_transform_handle_buffer):
2529 Also call the transform function if we have ANY caps.
2531 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2534 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2536 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2537 Don't pretend to handle seek events if the source is not seekable
2539 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2541 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2542 Remove extra parameter to debug output
2544 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2545 (gst_base_src_do_seek), (gst_base_src_activate_push):
2546 Fix seek event handling.
2548 * gst/gstpipeline.c: (gst_pipeline_change_state):
2549 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2550 (gst_queue_src_activate_push):
2551 Don't start the src pad task on FLUSH_STOP if the pad
2555 2005-08-22 Wim Taymans <wim@fluendo.com>
2557 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2558 Added check for gst_static_caps_get() refcounting.
2560 2005-08-22 Wim Taymans <wim@fluendo.com>
2562 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2563 Make _static_caps_get() refcounting sane.
2565 * gst/gstelement.c: (gst_element_set_state):
2566 Add g_return_val_if_fail() to protect against segfaults.
2568 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2570 * docs/gst/tmpl/gstevent.sgml:
2573 inlined remaining docs, added missing doc comments
2575 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2577 * check/gst/gstbin.c: (GST_START_TEST):
2578 since we don't know when preroll is done, use refcount range
2580 * gst/check/gstcheck.h:
2581 add macro for checking refcount range
2583 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2585 * check/Makefile.am:
2586 clean up environment for when registry gets built versus
2587 when actual tests are run; valgrind seems to not report
2588 leaks if GST_PLUGIN_PATH is set to some specific values
2589 * check/gst/gstbin.c: (GST_START_TEST):
2590 add more refcounting checks; maybe this exposes a
2593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2594 * gst/check/gstcheck.h:
2595 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2596 (gst_bin_change_state):
2597 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2598 add/fix debugging/whitespace
2600 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2602 * check/gst/gstevent.c: (event_probe), (test_event),
2604 Er, don't call gst_bin_watch_for_state_change you idiot.
2606 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2608 * check/Makefile.am:
2609 Use CHECK_CFLAGS and CHECK_LIBS
2610 * check/gst/gstevent.c: (event_probe), (test_event),
2613 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2614 (gst_base_src_start), (gst_base_src_stop),
2615 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2616 (gst_base_src_change_state):
2617 Sprinkle gst_base_src_stop liberally around error paths to fix
2618 problems reusing a source after failed state changes.
2619 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2620 (helper_find_suggest), (gst_type_find_helper):
2621 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2623 * docs/gst/tmpl/gstevent.sgml:
2624 Migrate part of the docs from the SGML file. Wait for ensonic to
2625 tell me how I did it wrong ;)
2626 * tools/gst-typefind.c: (main):
2627 Extra robustness to state changes between files.
2629 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2631 * check/Makefile.am:
2632 don't valgrind the controller test - it's leaking - Stefan, HELP
2633 * gst/check/gstcheck.c: (gst_check_message_error),
2634 (gst_check_chain_func), (gst_check_setup_element),
2635 (gst_check_teardown_element), (gst_check_setup_src_pad),
2636 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2637 (gst_check_teardown_sink_pad):
2638 * gst/check/gstcheck.h:
2639 add a bunch of methods to set up elements, and src and sink pads
2640 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2641 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2646 whitespace/doc fixes
2648 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2651 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2652 be handled by the application and not always printed as well
2654 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2656 * check/Makefile.am:
2658 * gst/check/gstcheck.c: (gst_check_message_error):
2659 * gst/check/gstcheck.h:
2660 add a fail_unless_equals_int
2661 add fail_unless for error messages
2663 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2665 * check/Makefile.am:
2667 * common/Makefile.am:
2670 factor out some of the common stuff so we can use it
2672 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2674 * check/Makefile.am:
2675 * check/gst/gstiterator.c: (GST_START_TEST):
2676 * check/gst/gstsystemclock.c: (GST_START_TEST),
2677 (gst_systemclock_suite):
2678 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2682 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2684 * check/elements/.cvsignore:
2685 * check/elements/gstfakesrc.c:
2686 rename to name of element
2687 * check/elements/identity.c: (chain_func), (event_func),
2688 (setup_identity), (cleanup_identity), (GST_START_TEST),
2689 (identity_suite), (main):
2690 add a test for identity
2691 * check/Makefile.am:
2692 * pkgconfig/Makefile.am:
2693 * pkgconfig/gstreamer-check.pc.in:
2694 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2698 move the check stuff to a library that gets installed
2699 * check/gst-libs/controller.c: (GST_START_TEST):
2700 * check/gst-libs/gdp.c:
2701 * check/gst/gst.c: (GST_START_TEST):
2702 * check/gst/gstbin.c:
2703 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2704 * check/gst/gstbus.c:
2705 * check/gst/gstcaps.c: (GST_START_TEST):
2706 * check/gst/gstelement.c:
2707 * check/gst/gstghostpad.c:
2708 * check/gst/gstiterator.c:
2709 * check/gst/gstmessage.c:
2710 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2711 * check/gst/gstobject.c:
2712 * check/gst/gstpad.c: (GST_START_TEST):
2713 * check/gst/gststructure.c: (GST_START_TEST):
2714 * check/gst/gstsystemclock.c: (GST_START_TEST),
2715 (gst_systemclock_suite):
2716 * check/gst/gsttag.c: (gst_tag_suite):
2717 * check/gst/gstvalue.c:
2718 * check/pipelines/cleanup.c:
2719 * check/pipelines/simple_launch_lines.c:
2720 * check/states/sinks.c:
2721 change include statement
2723 * docs/gst/gstreamer-sections.txt:
2724 * docs/gst/tmpl/gstpad.sgml:
2725 document more pad stuff
2726 * gst/gstminiobject.c: (gst_mini_object_ref),
2727 (gst_mini_object_unref):
2730 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2732 * docs/gst/tmpl/gst.sgml:
2734 eliminate another tmpl file, fix spelling in the long-description
2736 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2738 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2739 (test_event), (timediff), (gstevents_suite):
2740 Should fix build on 64-bit arch's
2742 2005-08-18 Andy Wingo <wingo@pobox.com>
2744 Make sure that when a pipeline goes to PLAYING, that data has
2745 actually hit the sink.
2747 * check/states/sinks.c (test_sink): A sink that doesn't get any
2748 data shouldn't return SUCCESS for going to either PLAYING or
2749 PAUSED. Test also the return values on the way back down.
2751 * gst/gstelement.c (gst_element_set_state): When changing the
2752 state of an element currently changing state asynchronously, go to
2753 lost-state after commiting the pending state. Makes future calls
2754 to get_state continue to return ASYNC.
2756 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2757 ASYNC when going to PLAYING if we still don't have preroll, as can
2758 happen with live sources.
2760 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2762 * docs/pwg/advanced-types.xml:
2763 Hack long paragraph into 2 chunks as a workaround for buggy
2764 jadetex version in sid and breezy that loops infinitely and
2767 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2769 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2770 (test_event), (timediff), (gstevents_suite):
2771 Provide more error margin in clock measurements to allow for
2772 g_get_current_time inaccuracies.
2774 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2776 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2777 (test_event), (timediff), (gstevents_suite):
2778 Fix error message output so I might be able to tell why the
2779 test works here but fails on the build farm.
2781 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2783 * check/Makefile.am:
2784 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2785 (test_event), (timediff), (gstevents_suite), (main):
2788 * docs/design/part-seeking.txt:
2791 * docs/gst/tmpl/gstevent.sgml:
2792 * docs/gst/tmpl/gstfakesrc.sgml:
2795 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2796 Treat a buffer-without-newsegment the same as a receiving
2797 a newsegment not in time format, and disable syncing to the clock
2800 * gst/gstbus.c: (gst_bus_set_sync_handler):
2801 Assert if anyone tries to replace the existing sync_handler for bus,
2802 as only the owner should be setting it.
2805 Have a fixed set of custom event enums with events identified by
2806 their structure name (as in 0.8), rather than a free-for-all
2807 allowing collisions between enum values from different plugins.
2809 * gst/gstpad.c: (gst_pad_class_init):
2812 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2813 Handle out-of-band downstream events from the sending thread.
2815 2005-08-17 Andy Wingo <wingo@pobox.com>
2817 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2818 play-timeout==0 to mean no timeout at all. In that case, don't
2819 bother with a get_state or a warning, just return directly, even
2822 * gst/base/gstbasetransform.c: Debug changes.
2825 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2826 ensure bins post state change messages. A bit of a hack but I can't
2827 think of a way to avoid it.
2829 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2831 2005-08-16 Andy Wingo <wingo@pobox.com>
2833 * gst/base/gstadapter.h:
2834 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2835 peek() but you own the data. Not terribly efficient atm.
2837 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2839 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2840 (gst_element_found_tags):
2842 Add two utility functions for tag handling.
2844 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2846 * docs/manual/advanced-dataaccess.xml:
2847 * docs/manual/basics-helloworld.xml:
2848 Fix docs to use _bin_add() before _link(), which fixes the examples
2849 with recent core versions (reported by Madhan Raj M
2850 <raj_madan@rediffmail.com>, #313199).
2852 2005-08-16 Wim Taymans <wim@fluendo.com>
2854 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2855 Added subtract checks.
2857 * docs/design/part-events.txt:
2858 Some more docs about newsegment
2860 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2863 * gst/gstcaps.c: (gst_caps_to_string):
2864 Add comments, cleanups.
2866 * gst/gstelement.c: (gst_element_save_thyself):
2869 * gst/gstvalue.c: (gst_value_collect_int_range),
2870 (gst_string_unwrap), (gst_value_union_int_int_range),
2871 (gst_value_union_int_range_int_range),
2872 (gst_value_intersect_int_int_range),
2873 (gst_value_intersect_int_range_int_range),
2874 (gst_value_intersect_double_double_range),
2875 (gst_value_intersect_double_range_double_range),
2876 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
2877 (gst_value_subtract_int_range_int),
2878 (gst_value_subtract_double_range_double),
2879 (gst_value_subtract_double_range_double_range),
2880 (gst_value_subtract_from_list), (gst_value_subtract_list),
2881 (gst_value_can_compare), (gst_value_compare_fraction):
2882 Cleanups, add comments, remove unneeded asserts.
2884 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2886 * tools/gst-launch.c: (event_loop):
2887 don't convert NULL structures to strings
2889 2005-08-15 Stefan Kost <ensonic@users.sf.net>
2891 * docs/gst/gstreamer-sections.txt:
2892 made some defines private
2893 * docs/gst/tmpl/gstconfig.sgml:
2894 * docs/gst/tmpl/gstqueue.sgml:
2895 * docs/gst/tmpl/gsttaglist.sgml:
2896 * docs/gst/tmpl/gsttypes.sgml:
2897 * docs/gst/tmpl/gstutils.sgml:
2898 * docs/pwg/appendix-porting.xml:
2899 * gst/base/gstbasesink.h:
2900 * gst/base/gstbasesrc.c:
2901 * gst/base/gstbasesrc.h:
2902 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
2903 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
2904 * gst/gstelement.c: (gst_element_class_init):
2905 * gst/gstpad.c: (gst_pad_class_init):
2906 * gst/gstqueue.c: (gst_queue_class_init):
2907 * gst/gstxml.c: (gst_xml_class_init):
2908 documented all undocumented signal inline
2909 * libs/gst/controller/gst-controller.h:
2912 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2914 * docs/pwg/appendix-porting.xml:
2915 Document _set_link_function -> _set_setcaps_function.
2917 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2919 * check/Makefile.am:
2920 add a .check target for running the check
2921 * check/gst-libs/controller.c: (GST_START_TEST):
2923 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2924 complete checks for gstbuffer; would be nice if I could get the
2925 gcov stuff to work so I can see if I actually completed gstbuffer.c
2927 add ASSERT_BUFFER_REFCOUNT
2929 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
2931 * docs/gst/gstreamer-sections.txt:
2932 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
2934 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
2935 spew out a warning if a tag that is already registered
2936 is re-registered, unless it is re-registered with a
2937 different type (#308438).
2939 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
2941 * docs/pwg/appendix-porting.xml:
2942 * docs/pwg/building-state.xml:
2943 Add some paragraphs about state changes in 0.9 to the PWG
2944 and the porting guide, in particular about the new meaning
2945 of GST_STATE_PAUSED and how to write state change functions
2946 with concurrent access by multiple threads in mind.
2948 2005-08-11 Stefan Kost <ensonic@users.sf.net>
2950 * docs/gst/gstreamer-docs.sgml:
2951 * docs/libs/gstreamer-libs-docs.sgml:
2952 added deprecation and since indexes
2953 * libs/gst/controller/gst-controller.c:
2954 * libs/gst/controller/gst-helper.c:
2958 2005-08-11 Wim Taymans <wim@fluendo.com>
2960 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
2961 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
2962 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
2963 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
2964 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
2965 (gst_ghost_pad_set_target):
2966 Actually implement (re)setting the target on a ghostpad
2967 as described in the docs.
2969 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
2971 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
2972 Check whether GST_DEBUG_NO_COLOR environment variable is
2973 set and disable coloured debug output if that is the case.
2975 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
2977 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2978 (gst_type_find_helper):
2979 The memory returned by gst_type_find_peek() needs to
2980 stay valid until the end of a typefind function, and
2981 typefind functions may keep results from different
2982 offsets around, so we can't just unref the buffer from
2983 the previous _peek(), but have to save all buffers
2984 returned by _peek() until typefinding is done and only
2987 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
2989 * docs/gst/gstreamer-sections.txt:
2991 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
2993 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2995 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
2996 Fix a pretty good memleak.
2998 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3000 * gst/gstiterator.h:
3001 Fix wrong include and 'make distcheck'.
3003 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3005 * gst/gstbin.c: (bin_bus_handler):
3006 Use gst_element_post_message() instead.
3008 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3010 * gst/base/gstadapter.h:
3011 * gst/base/gstbasesink.h:
3012 * gst/base/gstbasesrc.h:
3013 * gst/base/gstbasetransform.h:
3014 * gst/base/gstcollectpads.h:
3015 * gst/base/gstpushsrc.h:
3016 * gst/gstiterator.h:
3017 Add padding to our base elements' class and instance structs and
3018 to GstIterator (you will need to rebuild all plugins and apps!)
3020 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3022 * gst/gstbin.c: (bin_bus_handler):
3023 Make default message forwarding from child->bus to bin->bus
3024 threadsafe and make it not emit warnings if the parent has no bus.
3026 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3028 * gst/gstelement.c: (activate_pads):
3029 On paused->ready, set pad->caps to NULL, as is the documented
3030 behaviour in this state change. Fixes playback of series of
3031 media files when visualization is enabled in Totem.
3033 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3035 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3036 Allow NULL as filter-caps (which means "any").
3038 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3040 * docs/libs/gstreamer-libs-sections.txt:
3041 * libs/gst/controller/gst-controller.c:
3042 * libs/gst/controller/gst-controller.h:
3043 * libs/gst/controller/gst-helper.c:
3044 adding more entries to the docs and fix small doc-bugs
3046 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3048 * docs/gst/gstreamer-docs.sgml:
3049 * docs/gst/gstreamer-sections.txt:
3050 * docs/gst/gstreamer.types:
3051 * docs/gst/tmpl/gstbasesink.sgml:
3052 * docs/gst/tmpl/gstbasesrc.sgml:
3053 * docs/gst/tmpl/gstbasetransform.sgml:
3054 * docs/gst/tmpl/gstfakesrc.sgml:
3055 * gst/base/gstcollectpads.c:
3056 * gst/base/gstcollectpads.h:
3057 * libs/gst/controller/gst-controller.c:
3058 * libs/gst/controller/gst-controller.h:
3059 * libs/gst/controller/gst-helper.c:
3060 * libs/gst/controller/gst-interpolation.c:
3061 * libs/gst/controller/lib.c:
3062 added long/short desc for controller docs
3063 added collectpads base class docs
3064 added correct includes to base-class docs
3066 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3068 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3069 (gst_test_mono_source_set_property),
3070 (gst_test_mono_source_class_init), (GST_START_TEST),
3071 (gst_controller_suite):
3072 * docs/gst/gstreamer-docs.sgml:
3073 * docs/gst/gstreamer-sections.txt:
3074 * docs/gst/gstreamer.types:
3075 * docs/libs/gstreamer-libs-docs.sgml:
3076 * docs/libs/gstreamer-libs-sections.txt:
3077 * gst/base/gstadapter.c:
3078 * libs/gst/controller/gst-controller.c:
3079 (gst_controlled_property_new), (gst_controlled_property_free),
3080 (gst_controller_new_valist),
3081 (gst_controller_remove_properties_valist),
3082 (gst_controller_sink_values), (_gst_controller_finalize):
3083 * libs/gst/controller/gst-controller.h:
3084 * libs/gst/controller/gst-helper.c:
3085 (gst_object_control_properties), (gst_object_uncontrol_properties),
3086 (gst_object_get_controller), (gst_object_set_controller),
3087 (gst_object_sink_values), (gst_object_get_value_arrays),
3088 (gst_object_get_value_array):
3089 more tests (and fixes) for the controller
3090 more docs for the controller
3091 integrated companies docs for the adapter
3093 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
3095 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3096 (GST_START_TEST), (fakesrc_suite):
3097 add tests for sizetype
3099 2005-08-04 Andy Wingo <wingo@pobox.com>
3101 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3102 fixes buffer_alloc proxying among other things.
3104 * gst/base/gstbasetransform.c:
3105 * gst/base/gstbasetransform.h:
3106 Revert patch to gstbasetransform from 7-28 removing
3109 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3110 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3111 Semantics changed, should return not the size of the output buffer
3112 but the byte size of a buffer with a given caps.
3114 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3116 (gst_base_transform_configure_caps): Don't set out_size here: (in,
3117 out) are not the pad caps until setcaps finishes.
3118 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3119 not-in-place case as well. Deal with changing from in-place to
3120 not-in-place within calling pad_alloc_buffer. Still a bit
3121 concerned about the overhead here...
3123 2005-08-03 Andy Wingo <wingo@pobox.com>
3125 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3126 fixating is an error.
3128 2005-08-04 Edward Hervey <edward@fluendo.com>
3130 * gst/base/gstadapter.h:
3131 Added gst_adapter_get_type() to the header
3133 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3135 * check/Makefile.am:
3136 * check/gst-libs/controller.c:
3137 * libs/gst/controller/gst-controller.c:
3138 (gst_controller_new_valist):
3139 added check test suite for the controller
3140 * gst/base/gstpushsrc.c:
3143 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3145 * docs/gst/Makefile.am:
3146 * docs/gst/gstreamer-docs.sgml:
3147 * docs/gst/gstreamer-sections.txt:
3148 * docs/gst/gstreamer.types:
3149 * docs/gst/tmpl/gstfakesrc.sgml:
3151 * gst/base/gstbasesink.c:
3152 * gst/base/gstbasesink.h:
3153 * gst/base/gstbasesrc.c:
3154 * gst/base/gstbasesrc.h:
3155 * gst/base/gstbasetransform.c:
3156 * gst/base/gstpushsrc.c:
3157 * gst/base/gstpushsrc.h:
3158 add short/long description docs to base classes
3159 add pushsrc to the docs
3160 remove consolidated doc fragments
3162 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3165 * docs/libs/Makefile.am:
3166 * docs/libs/gstreamer-libs-docs.sgml:
3167 * docs/libs/gstreamer-libs-sections.txt:
3168 * docs/libs/gstreamer-libs.types:
3169 * examples/Makefile.am:
3170 * examples/controller/.cvsignore:
3171 * examples/controller/Makefile.am:
3172 * examples/controller/audio-example.c: (main):
3173 * libs/gst/Makefile.am:
3174 * libs/gst/controller/.cvsignore:
3175 * libs/gst/controller/Makefile.am:
3176 * libs/gst/controller/gst-controller.c:
3177 (on_object_controlled_property_changed), (gst_timed_value_compare),
3178 (gst_timed_value_find),
3179 (gst_controlled_property_set_interpolation_mode),
3180 (gst_controlled_property_new), (gst_controlled_property_free),
3181 (gst_controller_find_controlled_property),
3182 (gst_controller_new_valist), (gst_controller_new),
3183 (gst_controller_remove_properties_valist),
3184 (gst_controller_remove_properties), (gst_controller_set),
3185 (gst_controller_set_from_list), (gst_controller_unset),
3186 (gst_controller_get), (gst_controller_get_all),
3187 (gst_controller_sink_values), (gst_controller_get_value_arrays),
3188 (gst_controller_get_value_array),
3189 (gst_controller_set_interpolation_mode),
3190 (_gst_controller_finalize), (_gst_controller_init),
3191 (_gst_controller_class_init), (gst_controller_get_type):
3192 * libs/gst/controller/gst-controller.h:
3193 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3194 (g_object_uncontrol_properties), (g_object_get_controller),
3195 (g_object_set_controller), (g_object_sink_values),
3196 (g_object_get_value_arrays), (g_object_get_value_array):
3197 * libs/gst/controller/gst-interpolation.c:
3198 (gst_controlled_property_find_timed_value_node),
3199 (interpolate_none_get), (interpolate_trigger_get),
3200 (interpolate_trigger_get_value_array):
3201 * libs/gst/controller/lib.c: (gst_controller_init):
3202 * pkgconfig/Makefile.am:
3203 * pkgconfig/gstreamer-control-uninstalled.pc.in:
3204 * pkgconfig/gstreamer-control.pc.in:
3205 * testsuite/Makefile.am:
3206 * testsuite/controller/.cvsignore:
3207 * testsuite/controller/Makefile.am:
3208 * testsuite/controller/interpolator.c: (main):
3209 added controller code
3210 removed dparam pc files
3212 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3213 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3214 (gst_collectpads_stop):
3215 Broadcast the condition when shutting down, to make sure we wake all
3216 threads up. Shut down pads on finalize, for safety.
3218 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3219 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3220 (gst_base_transform_handle_buffer),
3221 (gst_base_transform_change_state):
3222 Handle PAUSED->READY->PAUSED transition after negotiation
3224 * gst/gstmessage.c: (gst_message_init):
3225 Extra piece of debug for new messages.
3227 2005-08-01 Stefan Kost <ensonic@users.sf.net>
3230 * docs/gst/tmpl/gstbasesrc.sgml:
3231 * docs/gst/tmpl/gstelement.sgml:
3232 * docs/gst/tmpl/gstevent.sgml:
3233 * docs/gst/tmpl/gstfakesrc.sgml:
3234 * docs/gst/tmpl/gstformat.sgml:
3235 * docs/gst/tmpl/gstghostpad.sgml:
3236 * docs/gst/tmpl/gstpad.sgml:
3237 * docs/gst/tmpl/gstquery.sgml:
3238 * docs/gst/tmpl/gststructure.sgml:
3239 * docs/gst/tmpl/gsttaglist.sgml:
3240 * docs/gst/tmpl/gstvalue.sgml:
3241 * docs/libs/gstreamer-libs-docs.sgml:
3242 * docs/libs/gstreamer-libs-sections.txt:
3243 * docs/libs/gstreamer-libs.types:
3244 * libs/gst/Makefile.am:
3245 * libs/gst/control/.cvsignore:
3246 * libs/gst/control/Makefile.am:
3247 * libs/gst/control/control.c:
3248 * libs/gst/control/control.h:
3249 * libs/gst/control/dparam.c:
3250 * libs/gst/control/dparam.h:
3251 * libs/gst/control/dparam_smooth.c:
3252 * libs/gst/control/dparam_smooth.h:
3253 * libs/gst/control/dparamcommon.h:
3254 * libs/gst/control/dparammanager.c:
3255 * libs/gst/control/dparammanager.h:
3256 * libs/gst/control/dplinearinterp.c:
3257 * libs/gst/control/dplinearinterp.h:
3258 * libs/gst/control/unitconvert.c:
3259 * libs/gst/control/unitconvert.h:
3260 * testsuite/Makefile.am:
3261 * testsuite/dynparams/.cvsignore:
3262 * testsuite/dynparams/Makefile.am:
3263 * testsuite/dynparams/dparamstest.c:
3264 * tools/Makefile.am:
3265 * tools/gst-inspect.c: (print_element_info), (main):
3266 * tools/gst-xmlinspect.c: (print_element_info), (main):
3267 deactivate and remove dparams (libgstcontrol)
3269 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3271 * gst/elements/gsttypefindelement.c:
3272 (gst_type_find_element_have_type), (gst_type_find_element_init),
3273 (stop_typefinding), (gst_type_find_element_handle_event),
3274 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3275 * gst/elements/gsttypefindelement.h:
3276 Set caps on all outgoing buffers, not just the first one.
3278 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3280 * gst/elements/gsttypefindelement.c:
3281 (gst_type_find_element_have_type),
3282 (gst_type_find_element_check_set_buffer_caps),
3283 (gst_type_find_element_init), (stop_typefinding),
3284 (gst_type_find_element_handle_event),
3285 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3286 * gst/elements/gsttypefindelement.h:
3287 Set caps on first outgoing buffer when we've found the type.
3289 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3291 * docs/gst/gstreamer-docs.sgml:
3292 * docs/gst/gstreamer-sections.txt:
3293 * docs/gst/tmpl/gstscheduler.sgml:
3294 * docs/gst/tmpl/gstschedulerfactory.sgml:
3295 Remove some old cruft from docs.
3297 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
3300 Fix inline docs for GstPadLinkReturn.
3302 * gst/gststructure.c: (gst_structure_has_name):
3303 * gst/gststructure.h:
3304 * docs/gst/gstreamer-sections.txt:
3305 New API: gst_structure_has_name().
3307 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
3310 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3311 and _LARGEFILE_SOURCE in config.h as required. Do not
3312 export those flags in our .pc files any longer (#142209).
3314 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3316 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3317 (gst_file_sink_do_seek), (gst_file_sink_event),
3318 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3319 Redo seek/tell calls with large file support in mind; add some
3320 debugging messages; add log message that tells us when large
3321 file support is unavailable or not enabled for some reason.
3323 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3324 Add log message that tells us when large file support
3325 is unavailable or not enabled for some reason.
3327 2005-07-29 Wim Taymans <wim@fluendo.com>
3329 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3330 Added test for removing an element with ghostpad from a bin.
3331 Fixed test as current implementation does the right thing.
3333 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3334 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3335 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3336 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3337 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3338 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3339 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3340 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3341 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3342 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3343 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3344 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3345 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3346 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3347 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3348 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3349 * gst/gstghostpad.h:
3350 Clean up ghostpads, remove properties for internal stuff.
3353 Prepare for switching targets, not all use cases work yet.
3355 2005-07-29 Wim Taymans <wim@fluendo.com>
3357 * docs/design/part-gstghostpad.txt:
3360 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3361 (gst_bin_remove_func):
3362 Unlinking pads while holding the bin LOCK is not a good
3365 * gst/gstpad.c: (gst_pad_class_init),
3366 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3367 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3368 No prob setting template after creating the pad.
3370 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3372 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3373 (gst_bus_peek), (gst_bus_source_dispatch),
3374 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3375 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3376 gst_bus_poll may be called from other threads. Handle
3377 this nicely by not making poll_data disappear off the
3378 stack once gst_bus_poll returns.
3379 gst_bus_peek now increments the refcount on the returned
3382 2005-07-29 Wim Taymans <wim@fluendo.com>
3384 * docs/design/part-gstghostpad.txt:
3385 Overview of current GhostPad datastructures and use
3386 cases for changing the target.
3388 2005-07-28 Wim Taymans <wim@fluendo.com>
3390 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3391 Added checks for hierarchy consistency whan adding linked
3394 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3395 Added check to test element scheduling without bin/pipeline.
3397 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3398 First add elements to bin, then link.
3400 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3401 (gst_bin_remove_func):
3402 Unlink pads from elements added/removed from bin to maintain
3403 hierarchy consistency.
3405 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3407 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3408 (gst_base_transform_handle_buffer):
3409 * gst/base/gstbasetransform.h:
3410 Remove broken delay_configure (fixes renegotiation of software
3411 scaling pipelines); remove some leftover printf()s.
3413 2005-07-28 Wim Taymans <wim@fluendo.com>
3415 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3416 Added some more tests for wrong hierarchy
3418 * docs/design/part-overview.txt:
3421 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3424 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3425 (gst_element_dispose):
3428 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3429 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3430 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3431 (gst_pad_set_caps), (gst_pad_send_event):
3432 Check for correct hierarchy when linking pads. Moving to
3433 strict requirement for ghostpads when linking elements in
3437 Clean ups. Added WRONG_HIERARCHY return value.
3439 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3441 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3442 Better debug if no transform is possible.
3444 2005-07-27 Wim Taymans <wim@fluendo.com>
3446 * docs/random/wtay/network-transp:
3449 2005-07-27 Wim Taymans <wim@fluendo.com>
3451 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3452 (gst_dp_event_from_packet):
3453 Fix serialization of seek events.
3455 2005-07-27 Wim Taymans <wim@fluendo.com>
3457 * check/gst-libs/gdp.c: (GST_START_TEST):
3458 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3459 Fix compilation and fix event serialization.
3461 2005-07-27 Wim Taymans <wim@fluendo.com>
3464 * docs/design/part-TODO.txt:
3465 * docs/design/part-events.txt:
3468 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3469 (gst_base_sink_event), (gst_base_sink_do_sync),
3470 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3471 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3472 (gst_base_src_do_seek), (gst_base_src_event_handler),
3473 (gst_base_src_loop):
3474 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3475 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3476 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3477 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3478 (gst_base_transform_set_passthrough),
3479 (gst_base_transform_is_passthrough):
3480 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3481 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3487 * gst/gstelement.c: (gst_element_seek):
3489 Update gst_element_seek.
3491 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3492 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3493 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3494 (gst_event_new_eos), (gst_event_new_newsegment),
3495 (gst_event_parse_newsegment), (gst_event_new_tag),
3496 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3497 (gst_event_parse_qos), (gst_event_new_seek),
3498 (gst_event_parse_seek), (gst_event_new_navigation):
3500 Make GstEvent use GstStructure. Add parsing code, make sure the
3501 API is sufficiently generic.
3502 Mark possible directions of events and serialization.
3504 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3505 (_gst_message_copy), (gst_message_new_segment_start),
3506 (gst_message_new_segment_done), (gst_message_new_custom),
3507 (gst_message_parse_segment_start),
3508 (gst_message_parse_segment_done):
3511 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3512 (gst_pad_set_caps), (gst_pad_send_event):
3513 Update for new events.
3514 Catch events sent in wrong directions.
3516 * gst/gstqueue.c: (gst_queue_link_src),
3517 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3518 (gst_queue_handle_src_query):
3523 Remove event code from this file.
3525 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3526 (gst_dp_event_from_packet):
3529 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3531 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3532 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3533 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3534 Make debugging actually useful.
3536 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3538 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3539 (gst_pad_fixate_caps):
3540 Implement default fixation once again, so that gst_pad_fixate()
3541 actually does anything at all. This probably needs to be some
3542 sort of a last resort, and use profile-based fixation first, but
3543 since that doesn't exist yet, this is the best we have. Fixes
3544 visualization in Totem.
3546 2005-07-22 Wim Taymans <wim@fluendo.com>
3548 * docs/design/part-events.txt:
3551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3552 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3553 (gst_base_sink_activate_pull):
3556 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3557 (gst_fake_src_create):
3558 Fix handoff marshall.
3560 * gst/elements/gstidentity.c: (gst_identity_class_init),
3561 (gst_identity_transform_ip):
3562 We're a real inplace element.
3564 * gst/gstbus.c: (gst_bus_post):
3565 Added some comments.
3567 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3568 * tests/muxing/case1.c: (main):
3569 * tests/sched/dynamic-pipeline.c: (main):
3570 * tests/sched/interrupt1.c: (main):
3571 * tests/sched/interrupt2.c: (main):
3572 * tests/sched/interrupt3.c: (main):
3573 * tests/sched/runxml.c: (main):
3574 * tests/sched/sched-stress.c: (main):
3575 * tests/seeking/seeking1.c: (event_received), (main):
3576 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3578 * tests/threadstate/threadstate3.c: (main):
3579 * tests/threadstate/threadstate4.c: (main):
3580 * tests/threadstate/threadstate5.c: (main):
3583 2005-07-21 Wim Taymans <wim@fluendo.com>
3585 * docs/design/part-seeking.txt:
3586 Some small additions.
3588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3589 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3590 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3591 * gst/base/gstbasesink.h:
3592 discont values are gint64, handle the math correctly.
3594 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3595 Make the basesrc report error if the source pad is not linked.
3597 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3598 (gst_queue_loop), (gst_queue_handle_src_query),
3599 (gst_queue_src_activate_push):
3600 Make queue collect data even if the srcpad is not linked.
3601 Start pushing out data as soon as it is linked.
3603 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3605 Added gst_flow_get_name() to ease error reporting.
3607 2005-07-20 Wim Taymans <wim@fluendo.com>
3609 * gst/gstmessage.c: (gst_message_new_segment_start),
3610 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3611 (gst_message_parse_segment_done):
3613 Added a bunch of messages for advanced seeking.
3615 * gst/parse/grammar.y:
3616 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3617 (gst_dpman_state_changed):
3618 Fix some new-pad -> pad-added signals
3620 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3622 * docs/manual/appendix-porting.xml:
3623 * docs/pwg/appendix-porting.xml:
3624 Document new-pad/state-change signal renames and the FixedList
3627 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3629 * docs/manual/advanced-autoplugging.xml:
3630 * docs/manual/basics-helloworld.xml:
3631 * docs/manual/basics-pads.xml:
3632 * docs/random/ds/0.9-suggested-changes:
3633 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3638 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3639 (gst_structure_parse_array), (gst_structure_parse_value):
3640 * gst/gstvalue.c: (gst_type_is_fixed),
3641 (gst_value_list_prepend_value), (gst_value_list_append_value),
3642 (gst_value_list_get_size), (gst_value_list_get_value),
3643 (gst_value_transform_array_string), (gst_value_serialize_array),
3644 (gst_value_deserialize_array), (gst_value_intersect_array),
3645 (gst_value_is_fixed), (_gst_value_initialize):
3647 GstElement::new-pad -> pad-added, GstElement::state-change ->
3648 state-changed, GstValueFixedList -> GstValueArray, add format and
3649 flags as their own arguments in gst_element_seek() (should improve
3650 "bindeability"), remove function generators since they don't work
3651 under a whole bunch of compilers (they were deprecated already
3654 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3656 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3657 (_gst_debug_register_funcptr):
3659 Fix illegal cast on some platforms (#309253).
3661 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3663 * gst/gstmessage.c: (gst_message_new_custom):
3665 Add _new_custom, make _new_application a macro to _new_custom.
3667 2005-07-20 Wim Taymans <wim@fluendo.com>
3669 * gst/base/gstbasesrc.c: (gst_base_src_init),
3670 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3671 * gst/base/gstbasesrc.h:
3672 Add a gboolean to decide when to push out a discont.
3674 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3675 (gst_queue_loop), (gst_queue_handle_src_query),
3676 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3677 (gst_queue_set_property), (gst_queue_get_property):
3680 * tests/threadstate/threadstate1.c: (main):
3681 Make a thread test compile and run... very silly..
3684 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3686 * docs/manual/appendix-porting.xml:
3687 Mention removal of libgstgconf-0.9.la and existence of gconf
3690 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3692 * docs/pwg/advanced-clock.xml:
3693 * docs/pwg/appendix-porting.xml:
3694 * docs/pwg/intro-preface.xml:
3695 * docs/pwg/other-base.xml:
3696 * docs/pwg/other-manager.xml:
3697 * docs/pwg/other-nton.xml:
3698 * docs/pwg/other-ntoone.xml:
3699 * docs/pwg/other-oneton.xml:
3701 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3702 demuxer), remove n-to-n (was never written), fix some code examples
3703 and links and update the porting section to include all this.
3705 2005-07-19 Wim Taymans <wim@fluendo.com>
3707 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3708 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3709 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3710 (gst_queue_src_activate_push), (gst_queue_change_state),
3711 (gst_queue_get_property):
3713 Propagate GstFlowReturn more intelligently upstream and output
3714 an ERROR/EOS when streaming stopped due to fatal error.
3716 2005-07-19 Wim Taymans <wim@fluendo.com>
3718 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3719 Don't block forever for the state change to complete, the
3720 pipeline already did with a sensible timeout.
3722 2005-07-19 Wim Taymans <wim@fluendo.com>
3724 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3725 Make sure we never call the create function is we
3728 2005-07-19 Andy Wingo <wingo@pobox.com>
3730 * gst/parse/parse.l: Attempt to solve bug #172815.
3732 2005-07-19 Wim Taymans <wim@fluendo.com>
3734 * docs/design/part-clocks.txt:
3735 * docs/design/part-events.txt:
3736 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3738 Only update the seeking values when we are not
3741 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3743 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3744 Oops, ignore the result of gst_pad_push_event here.
3746 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3748 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3749 (gst_base_src_activate_push):
3750 Send discont event from the loop function, as pads
3751 aren't activated yet in the activate_push handler.
3753 * gst/gstbin.c: (bin_bus_handler):
3754 Don't leak element name.
3756 2005-07-18 Andy Wingo <wingo@pobox.com>
3758 * configure.ac: Use AS_LIBTOOL_TAGS.
3760 2005-07-18 Wim Taymans <wim@fluendo.com>
3762 * docs/gst/gstreamer.types:
3763 Remove deleted types.
3765 2005-07-18 Wim Taymans <wim@fluendo.com>
3767 * check/elements/gstfakesrc.c: (GST_START_TEST):
3770 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3771 (init_popt_callback):
3773 * gst/gst_private.h:
3774 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3775 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3778 * gst/gstconfig.h.in:
3779 * gst/gstelement.c: (gst_element_class_init),
3780 (gst_element_set_base_time), (gst_element_get_base_time),
3781 (iterator_fold_with_resync), (gst_element_change_state),
3782 (gst_element_dispose), (gst_element_get_bus):
3784 * gst/gstelementfactory.h:
3785 * gst/gsterror.c: (_gst_core_errors_init):
3788 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3790 * gst/gstinfo.c: (_gst_debug_init):
3791 * gst/gstmessage.c: (_gst_message_copy):
3793 * gst/gstminiobject.h:
3796 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3797 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3800 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3801 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3802 (gst_pipeline_get_last_stream_time):
3803 * gst/gstpipeline.h:
3804 * gst/gstpluginfeature.h:
3806 * gst/gstscheduler.c:
3807 * gst/gstscheduler.h:
3808 * gst/gststructure.h:
3809 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3810 (gst_task_finalize), (gst_task_func), (gst_task_create),
3811 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3812 (gst_task_stop), (gst_task_pause):
3814 * gst/gsttypefind.h:
3816 * gst/registries/gstlibxmlregistry.c: (load_feature),
3817 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3818 * gst/registries/gstxmlregistry.c:
3819 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3820 * gst/schedulers/threadscheduler.c:
3821 * libs/gst/control/dparammanager.h:
3822 * tools/gst-inspect.c: (print_element_list),
3823 (print_plugin_features), (print_element_features):
3824 * tools/gst-xmlinspect.c: (print_element_list),
3825 (print_plugin_info), (main):
3826 Removed plugable schedulers.
3827 Removed Scheduler/Manager from elements.
3828 Removed gsttypes.h, rearranged includes.
3829 Removed dependency pad<->element, element<>pipeline, and
3830 various others, fix includes.
3831 implement gst_pad_get_parent() with gst_object_get_parent()
3832 Make GstTask sefcontained.
3833 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3835 Fix endless loop in iterator_fold_with_resync.
3838 2005-07-18 Wim Taymans <wim@fluendo.com>
3844 2005-07-18 Wim Taymans <wim@fluendo.com>
3849 2005-07-18 Wim Taymans <wim@fluendo.com>
3855 2005-07-18 Wim Taymans <wim@fluendo.com>
3857 * docs/design/part-dynamic.txt:
3858 * docs/design/part-events.txt:
3859 * docs/design/part-seeking.txt:
3860 Some more docs in the works.
3862 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3863 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3864 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3865 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3866 (gst_base_transform_handle_buffer),
3867 (gst_base_transform_sink_activate_push),
3868 (gst_base_transform_src_activate_pull),
3869 (gst_base_transform_set_passthrough),
3870 (gst_base_transform_is_passthrough):
3873 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3876 * gst/gstevent.c: (gst_event_finalize):
3879 * gst/gstutils.c: (gst_element_unlink),
3880 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
3881 (gst_pad_proxy_setcaps):
3883 Add _get_parent_element() to get a pads parent as an element.
3885 2005-07-18 Wim Taymans <wim@fluendo.com>
3887 * check/gst/gstbin.c: (GST_START_TEST):
3890 2005-07-18 Wim Taymans <wim@fluendo.com>
3892 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3893 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3894 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3895 (gst_base_sink_event), (gst_base_sink_do_sync),
3896 (gst_base_sink_chain), (gst_base_sink_loop),
3897 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
3898 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
3900 Fix logic for returning ASYNC when not prerolled.
3902 2005-07-18 Wim Taymans <wim@fluendo.com>
3904 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3905 Fix nasty refcount bug.
3907 2005-07-16 Philippe Khalaf <burger@speedy.org>
3909 * gst/elements/gstfdsrc.c:
3910 * gst/elements/gstfdsrc.h:
3911 * gst/elements/gstelements.c:
3912 * gst/elements/Makefile.am:
3913 Ported fdsrc to 0.9.
3915 2005-07-16 Wim Taymans <wim@fluendo.com>
3917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3918 (gst_base_sink_do_sync):
3921 2005-07-16 Wim Taymans <wim@fluendo.com>
3923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3924 (gst_base_sink_event), (gst_base_sink_get_times),
3925 (gst_base_sink_do_sync), (gst_base_sink_change_state):
3926 * gst/base/gstbasesink.h:
3927 Store and use discont values when syncing buffers as described
3930 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3931 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
3932 (gst_base_src_activate_push):
3933 Push discont event when starting.
3935 * gst/elements/gstidentity.c: (gst_identity_transform):
3938 * gst/gstbin.c: (gst_bin_change_state):
3939 Small cleanups in base_time distribution.
3941 * gst/gstelement.c: (gst_element_set_base_time),
3942 (gst_element_get_base_time), (gst_element_change_state):
3944 Added methods for the base_time of the element.
3947 * gst/gstpipeline.c: (gst_pipeline_send_event),
3948 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3949 (gst_pipeline_get_last_stream_time):
3950 * gst/gstpipeline.h:
3952 Handle seeking as described in design doc, remove stream_time
3954 Cleanups clock and stream_time selection code. Added accessors
3955 for the stream_time.
3958 2005-07-16 Andy Wingo <wingo@pobox.com>
3960 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
3963 2005-07-16 Wim Taymans <wim@fluendo.com>
3965 * check/gst/gstbin.c: (GST_START_TEST):
3966 Make elements silent as the deep_notify refs the
3967 parent, which might make the test fail.
3969 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3970 Don't hold the lock for too long.
3972 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
3974 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3975 Don't unref the caps we passed to gst_caps_make_writable() after
3976 passing them. gst_caps_make_writable() will do that for us.
3978 2005-07-15 Andy Wingo <wingo@pobox.com>
3980 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
3983 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
3984 own marshalling function for the handoff signal. Properly type the
3985 buffer as a buffer. Fixes some warnings. Should do a more general
3987 (gst_identity_class_init): Plug into the right marshaller.
3989 2005-07-15 Wim Taymans <wim@fluendo.com>
3991 * docs/design/part-TODO.txt:
3992 * docs/design/part-clocks.txt:
3993 * docs/design/part-element-sink.txt:
3994 * docs/design/part-events.txt:
3995 * docs/design/part-gstpipeline.txt:
3996 Updated docs, mostly DISCONT related.
3998 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
4000 * docs/pwg/building-pads.xml:
4001 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4003 2005-07-15 Andy Wingo <wingo@pobox.com>
4005 * tools/gst-typefind.c: Update, add copyright block.
4007 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4008 Normalize and truncate caps before fixation.
4011 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4012 discards all but the first structure from its argument.
4014 2005-07-15 Wim Taymans <wim@fluendo.com>
4016 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4017 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4018 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4019 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4020 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4021 (gst_base_transform_chain), (gst_base_transform_change_state),
4022 (gst_base_transform_set_passthrough),
4023 (gst_base_transform_is_passthrough):
4024 * gst/base/gstbasetransform.h:
4025 Make passthrough work using the bufferpools.
4026 Changed API a bit, subclasses have to write into a buffer
4027 provided by the base class.
4028 More debug info in nego functions.
4030 * gst/elements/gstidentity.c: (gst_identity_init),
4031 (gst_identity_transform):
4032 Port to new base class.
4034 2005-07-15 Wim Taymans <wim@fluendo.com>
4036 * gst/gstmessage.c: (gst_message_new_state_changed):
4037 * tools/gst-launch.c: (event_loop), (main):
4038 Totally dump messages in -launch with the -m option.
4039 Fix message name for State messages,
4041 2005-07-14 Wim Taymans <wim@fluendo.com>
4043 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4044 Post error messages on errors.
4046 2005-07-14 Wim Taymans <wim@fluendo.com>
4048 * gst/gstcaps.c: (gst_caps_do_simplify):
4052 Define error for stream stopped.
4054 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4055 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4056 Do proper return values.
4058 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4059 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4060 (gst_pad_get_range):
4061 Better return values.
4064 Reorganise return values, add macro to check for fatal errors.
4066 * gst/gstqueue.c: (gst_queue_chain):
4067 Return proper GstFlowReturn values,
4069 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
4071 * docs/gst/gstreamer-sections.txt:
4072 * docs/gst/gstreamer.types:
4073 * docs/gst/tmpl/gst.sgml:
4074 * docs/gst/tmpl/gstbasesink.sgml:
4075 * docs/gst/tmpl/gstbasesrc.sgml:
4076 * docs/gst/tmpl/gstbasetransform.sgml:
4077 * docs/gst/tmpl/gstbin.sgml:
4078 * docs/gst/tmpl/gstbuffer.sgml:
4079 * docs/gst/tmpl/gstcaps.sgml:
4080 * docs/gst/tmpl/gstclock.sgml:
4081 * docs/gst/tmpl/gstcompat.sgml:
4082 * docs/gst/tmpl/gstconfig.sgml:
4083 * docs/gst/tmpl/gstelement.sgml:
4084 * docs/gst/tmpl/gstelementdetails.sgml:
4085 * docs/gst/tmpl/gstelementfactory.sgml:
4086 * docs/gst/tmpl/gstenumtypes.sgml:
4087 * docs/gst/tmpl/gsterror.sgml:
4088 * docs/gst/tmpl/gstevent.sgml:
4089 * docs/gst/tmpl/gstfakesink.sgml:
4090 * docs/gst/tmpl/gstfakesrc.sgml:
4091 * docs/gst/tmpl/gstfilesink.sgml:
4092 * docs/gst/tmpl/gstfilesrc.sgml:
4093 * docs/gst/tmpl/gstfilter.sgml:
4094 * docs/gst/tmpl/gstformat.sgml:
4095 * docs/gst/tmpl/gstghostpad.sgml:
4096 * docs/gst/tmpl/gstimplementsinterface.sgml:
4097 * docs/gst/tmpl/gstindex.sgml:
4098 * docs/gst/tmpl/gstindexfactory.sgml:
4099 * docs/gst/tmpl/gstinfo.sgml:
4100 * docs/gst/tmpl/gstiterator.sgml:
4101 * docs/gst/tmpl/gstmacros.sgml:
4102 * docs/gst/tmpl/gstmemchunk.sgml:
4103 * docs/gst/tmpl/gstminiobject.sgml:
4104 * docs/gst/tmpl/gstobject.sgml:
4105 * docs/gst/tmpl/gstpad.sgml:
4106 * docs/gst/tmpl/gstpadtemplate.sgml:
4107 * docs/gst/tmpl/gstparse.sgml:
4108 * docs/gst/tmpl/gstpipeline.sgml:
4109 * docs/gst/tmpl/gstplugin.sgml:
4110 * docs/gst/tmpl/gstpluginfeature.sgml:
4111 * docs/gst/tmpl/gstquery.sgml:
4112 * docs/gst/tmpl/gstqueue.sgml:
4113 * docs/gst/tmpl/gstregistry.sgml:
4114 * docs/gst/tmpl/gstregistrypool.sgml:
4115 * docs/gst/tmpl/gstscheduler.sgml:
4116 * docs/gst/tmpl/gstschedulerfactory.sgml:
4117 * docs/gst/tmpl/gststructure.sgml:
4118 * docs/gst/tmpl/gstsystemclock.sgml:
4119 * docs/gst/tmpl/gsttaglist.sgml:
4120 * docs/gst/tmpl/gsttagsetter.sgml:
4121 * docs/gst/tmpl/gsttrace.sgml:
4122 * docs/gst/tmpl/gsttrashstack.sgml:
4123 * docs/gst/tmpl/gsttypefind.sgml:
4124 * docs/gst/tmpl/gsttypefindfactory.sgml:
4125 * docs/gst/tmpl/gsttypes.sgml:
4126 * docs/gst/tmpl/gsturihandler.sgml:
4127 * docs/gst/tmpl/gsturitype.sgml:
4128 * docs/gst/tmpl/gstutils.sgml:
4129 * docs/gst/tmpl/gstvalue.sgml:
4130 * docs/gst/tmpl/gstversion.sgml:
4131 * docs/gst/tmpl/gstxml.sgml:
4132 * docs/libs/tmpl/gstcontrol.sgml:
4133 * docs/libs/tmpl/gstdataprotocol.sgml:
4134 * docs/libs/tmpl/gstdparam.sgml:
4135 * docs/libs/tmpl/gstdplinint.sgml:
4136 * docs/libs/tmpl/gstdpman.sgml:
4137 * docs/libs/tmpl/gstdpsmooth.sgml:
4138 * docs/libs/tmpl/gstgetbits.sgml:
4139 * docs/libs/tmpl/gstunitconvert.sgml:
4140 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4141 (gst_push_src_base_init), (gst_push_src_class_init),
4142 (gst_push_src_init), (gst_push_src_create):
4143 * gst/base/gstpushsrc.h:
4144 * gst/elements/gstelements.c:
4145 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4146 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4147 (gst_fake_sink_init), (gst_fake_sink_set_property),
4148 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4149 (gst_fake_sink_event), (gst_fake_sink_preroll),
4150 (gst_fake_sink_render), (gst_fake_sink_change_state):
4151 * gst/elements/gstfakesink.h:
4152 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4153 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4154 (gst_fake_src_base_init), (gst_fake_src_class_init),
4155 (gst_fake_src_init), (gst_fake_src_event_handler),
4156 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4157 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4158 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4159 (gst_fake_src_create_buffer), (gst_fake_src_create),
4160 (gst_fake_src_start), (gst_fake_src_stop):
4161 * gst/elements/gstfakesrc.h:
4162 * gst/elements/gstfilesink.c: (_do_init),
4163 (gst_file_sink_base_init), (gst_file_sink_class_init),
4164 (gst_file_sink_init), (gst_file_sink_dispose),
4165 (gst_file_sink_set_location), (gst_file_sink_set_property),
4166 (gst_file_sink_get_property), (gst_file_sink_open_file),
4167 (gst_file_sink_close_file), (gst_file_sink_query),
4168 (gst_file_sink_event), (gst_file_sink_render),
4169 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4170 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4171 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4172 * gst/elements/gstfilesink.h:
4173 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4174 (gst_file_src_class_init), (gst_file_src_init),
4175 (gst_file_src_finalize), (gst_file_src_set_location),
4176 (gst_file_src_set_property), (gst_file_src_get_property),
4177 (gst_file_src_map_region), (gst_file_src_map_small_region),
4178 (gst_file_src_create_mmap), (gst_file_src_create_read),
4179 (gst_file_src_create), (gst_file_src_is_seekable),
4180 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4181 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4182 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4183 (gst_file_src_uri_handler_init):
4184 * gst/elements/gstfilesrc.h:
4185 more autistic cleanliness in functions/names/defines
4187 2005-07-13 Andy Wingo <wingo@pobox.com>
4189 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4190 source couldn't negotiate.
4192 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4196 * gst/gstutils.c (gst_element_link_pads_filtered): New old
4197 function. I am channeling Hades. Put your boots on suckers!!!
4199 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4201 * testsuite/caps/Makefile.am:
4202 * testsuite/caps/value_compare.c:
4203 * testsuite/caps/value_intersect.c:
4204 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4205 move two testsuite apps over to the check dir
4207 2005-07-12 Wim Taymans <wim@fluendo.com>
4209 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4210 Added more debug info in the negotiate process.
4213 Prepare for segment playback.
4215 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4221 * tools/gst-launch.c: (main):
4222 NULL pipeline on errors.
4224 2005-07-12 Andy Wingo <wingo@pobox.com>
4226 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4227 not it comes from a malloc region. Make sure our copy gets freed.
4229 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4231 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4232 * check/gst/gstmessage.c: (GST_START_TEST):
4233 * check/gst/gststructure.c: (GST_START_TEST),
4234 (gst_structure_suite), (main):
4236 * gst/gstelement.c: (gst_element_message_full):
4237 clean up GError and debug string now that they get copied
4238 * gst/gstmessage.c: (gst_message_new_error),
4239 (gst_message_new_warning), (gst_message_parse_error),
4240 (gst_message_parse_warning):
4241 use GST_TYPE_G_ERROR for structure_new, and take copies of
4242 arguments, so that we don't mess up refcounting
4244 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4246 * check/Makefile.am:
4247 add per-test valgrind targets
4248 * check/gst-libs/gdp.c: (GST_START_TEST),
4249 (gst_data_protocol_suite), (main):
4252 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4254 * check/Makefile.am:
4255 instate more valgrindable tests
4256 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4257 (GST_START_TEST), (fakesrc_suite):
4258 * check/gst/gstpad.c: (GST_START_TEST):
4259 * check/gst/gststructure.c: (GST_START_TEST):
4261 * docs/gst/tmpl/gstminiobject.sgml:
4262 * gst/gstpad.c: (gst_pad_finalize):
4263 fix the static mutex leak
4265 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4267 * check/Makefile.am:
4268 add two more tests for valgrinding
4269 * check/gst/gstvalue.c: (GST_START_TEST):
4270 test refcount of deserialized buffer, found a leak
4271 * docs/gst/gstreamer-docs.sgml:
4272 * docs/gst/gstreamer-sections.txt:
4273 * docs/gst/gstreamer.types:
4274 * docs/gst/tmpl/gstminiobject.sgml:
4275 add miniobject to docs
4276 * gst/gstminiobject.c:
4278 * gst/gstvalue.c: (gst_value_deserialize_buffer),
4279 (gst_string_unwrap):
4280 fix a hard-to-find invalid write for one of the tests
4281 fix a leak for deserialized buffers
4283 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4285 * docs/pwg/advanced-events.xml:
4286 * docs/pwg/advanced-request.xml:
4287 * docs/pwg/advanced-scheduling.xml:
4288 * docs/pwg/appendix-porting.xml:
4289 * docs/pwg/building-boiler.xml:
4290 * docs/pwg/intro-preface.xml:
4291 * docs/pwg/other-ntoone.xml:
4292 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4293 of example code and explanation for pad activation, loop() and
4294 getrange() functions and a bit more. Remove old comments pointing
4296 * examples/pwg/Makefile.am:
4297 Add loop/getrange examples.
4299 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4302 check for valgrind binary + some fixes
4304 valgrind suppressions for the tests
4305 * check/Makefile.am:
4306 add a valgrind: target that valgrinds the unit tests
4307 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4308 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4309 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4310 * check/gst/gstghostpad.c:
4312 * check/gst/gstdata.c:
4314 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4315 (thread_unref), (gst_mini_object_suite), (main):
4317 * gst/gst.c: (gst_deinit):
4319 add a method to clean up.
4320 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4321 (gst_system_clock_obtain):
4322 allow for disposing the system clock.
4323 * tools/gst-launch.c: (main):
4326 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4328 * docs/gst/tmpl/gstbasesrc.sgml:
4329 * docs/gst/tmpl/gstfakesrc.sgml:
4330 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4331 (gst_base_src_init), (gst_base_src_set_property),
4332 (gst_base_src_get_property), (gst_base_src_get_range),
4333 (gst_base_src_start):
4334 * gst/base/gstbasesrc.h:
4335 add num-buffers property
4336 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4337 (gst_fakesrc_init), (gst_fakesrc_set_property),
4338 (gst_fakesrc_get_property), (gst_fakesrc_create),
4339 (gst_fakesrc_start):
4340 remove num-buffers property
4342 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4344 * docs/gst/gstreamer-sections.txt:
4345 * docs/gst/tmpl/gstbasesink.sgml:
4346 * docs/gst/tmpl/gstbasesrc.sgml:
4347 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4348 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4349 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4350 (gst_base_sink_set_property), (gst_base_sink_get_property),
4351 (gst_base_sink_handle_object), (gst_base_sink_event),
4352 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4353 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4354 (gst_base_sink_loop), (gst_base_sink_deactivate),
4355 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4356 (gst_base_sink_change_state):
4357 * gst/base/gstbasesink.h:
4358 * gst/base/gstbasesrc.h:
4359 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4360 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4361 (gst_filesink_init):
4362 more macro splitting
4364 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4366 * gst/gstelement.c: (gst_element_get_bus):
4368 * tools/gst-launch.c: (check_intr), (event_loop):
4371 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4373 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4376 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4378 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4379 (gst_base_src_finalize):
4380 add finalize method and clean up properly
4381 * gst/gstpipeline.c: (gst_pipeline_dispose):
4384 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4386 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4388 add more things to check
4389 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4393 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4395 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4396 (GST_START_TEST), (fakesrc_suite):
4397 * check/gst-libs/gdp.c: (GST_START_TEST):
4398 * check/gst/gst.c: (GST_START_TEST):
4399 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4400 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4401 * check/gst/gstbus.c: (GST_START_TEST):
4402 * check/gst/gstcaps.c: (GST_START_TEST):
4403 * check/gst/gstdata.c: (GST_START_TEST):
4404 * check/gst/gstelement.c: (GST_START_TEST):
4405 * check/gst/gstghostpad.c: (GST_START_TEST):
4406 * check/gst/gstiterator.c: (GST_START_TEST):
4407 * check/gst/gstmessage.c: (GST_START_TEST):
4408 * check/gst/gstobject.c: (GST_START_TEST):
4409 * check/gst/gstpad.c: (GST_START_TEST):
4410 * check/gst/gststructure.c: (GST_START_TEST):
4411 * check/gst/gstsystemclock.c: (GST_START_TEST),
4412 (gst_systemclock_suite):
4413 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4414 * check/gst/gstvalue.c: (GST_START_TEST):
4415 * check/pipelines/cleanup.c: (GST_START_TEST):
4416 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4417 * check/states/sinks.c: (GST_START_TEST):
4418 * check/gstcheck.c: (gst_check_init):
4420 add debugging category
4421 use GST_START_TEST now, so we add a debug line
4423 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4425 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4426 add test for state change message on a bin
4427 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4429 * gst/gstbin.c: (gst_bin_init):
4430 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4431 * gst/gstelement.c: (gst_element_post_message),
4432 (gst_element_set_state):
4433 * gst/gstelementfactory.c: (gst_element_factory_create):
4434 * gst/gstmessage.c: (gst_message_new):
4435 * gst/gstscheduler.c:
4436 various debugging additions and cleanups
4438 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4440 * check/Makefile.am:
4441 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4443 adding tests for elements
4444 * gst/gstelement.c: (gst_element_dispose):
4446 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4448 * gst/registries/gstlibxmlregistry.c: (load_feature):
4449 plug more leaks. A simple gst_init() now is leakfree, yay.
4451 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4453 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4454 (gst_xml_registry_load):
4455 plug another memleak
4457 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4460 use GST_SET_ERROR_CFLAGS
4462 change to ERROR_CFLAGS
4464 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4467 make GST_ERROR_CFLAGS overridable and re-enable Werror
4469 add a note about error CFLAGS
4470 * docs/gst/tmpl/gstfakesrc.sgml:
4471 * gst/elements/gstfakesrc.c:
4472 comment out some unused code
4473 * gst/gst.c: (split_and_iterate):
4474 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4478 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4480 * common/Makefile.am:
4481 * common/gtk-doc.mak:
4482 * docs/gst/Makefile.am:
4483 factor out gtk-doc.mak
4485 2005-07-07 Wim Taymans <wim@fluendo.com>
4487 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4488 (gst_thread_scheduler_dispose):
4489 Unlock the STREAM_LOCK completely.
4491 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4493 * check/Makefile.am:
4494 * check/elements/.cvsignore:
4495 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4496 (START_TEST), (fakesrc_suite), (main):
4497 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4498 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4499 (gst_fakesrc_create), (gst_fakesrc_start):
4500 * gst/elements/gstfakesrc.h:
4501 adding a first element test
4503 2005-07-07 Andy Wingo <wingo@pobox.com>
4505 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4508 2005-07-07 Wim Taymans <wim@fluendo.com>
4514 2005-07-07 Wim Taymans <wim@fluendo.com>
4516 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4517 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4518 Allow subclasses to implement their own negotiation.
4520 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4522 * docs/design/part-gstbin.txt:
4523 * docs/design/part-gstpipeline.txt:
4524 Update design notes to reflect the movement of
4525 responsibility for bus handling from GstPipeline to
4528 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4531 Remove unnecessary queue2/3/4 examples.
4533 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4535 * examples/Makefile.am:
4536 * examples/helloworld/helloworld.c: (event_loop), (main):
4537 * examples/queue/queue.c: (event_loop), (main):
4538 * examples/queue2/queue2.c: (main):
4539 Update a couple of the examples to work again.
4541 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4542 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4543 Spelling corrections and extra debug.
4545 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4546 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4547 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4549 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4550 (gst_pipeline_change_state):
4551 * gst/gstpipeline.h:
4552 Move the bus handler for children to the GstBin, and create a
4553 separate bus for receiving messages from children to the one the
4554 bus sends 'upwards' on.
4556 2005-07-06 Wim Taymans <wim@fluendo.com>
4559 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4560 (gst_base_sink_handle_object), (gst_base_sink_loop),
4561 (gst_base_sink_change_state):
4562 * gst/base/gstbasesink.h:
4563 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4564 (gst_base_src_init), (gst_base_src_setcaps),
4565 (gst_base_src_getcaps), (gst_base_src_loop),
4566 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4567 (gst_base_src_start), (gst_base_src_change_state):
4568 * gst/base/gstbasesrc.h:
4569 Make basesrc negotiate.
4570 Handle the case where preroll fails in basesink.
4573 2005-07-06 Wim Taymans <wim@fluendo.com>
4575 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4576 Implement the fixate function.
4577 Clean up acceptcaps.
4579 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4581 * docs/pwg/building-filterfactory.xml:
4583 Remove never-written filter-factory chapter; I'll add the various
4584 base classes to part 4 ("other element types") later on.
4586 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4588 * docs/pwg/advanced-negotiation.xml:
4589 * docs/pwg/building-boiler.xml:
4590 * docs/pwg/building-pads.xml:
4592 * examples/pwg/Makefile.am:
4593 Add a chapter on caps negotiation, simplify the original code
4594 samples a bit w.r.t. caps negotiation, add link to the advanced
4595 section. Add a bunch of examples showing different use cases of
4596 different types of caps negotiation. Upstream renegotiation isn't
4597 fully documented yet since nobody knows how that works.
4599 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4601 * check/gst/gstpad.c:
4603 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4604 if pad has no parent, return NULL as list of internal links
4606 2005-07-05 Andy Wingo <wingo@pobox.com>
4608 * gst/elements/gstfilesrc.c:
4609 * gst/elements/gstfakesrc.c:
4610 * gst/base/gstpushsrc.c:
4611 * gst/base/gstbasesrc.h:
4612 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4614 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4617 better report generation target (lcov needs a patch)
4619 2005-07-05 Andy Wingo <wingo@pobox.com>
4621 * gst/elements, testsuite: Null if we got it...
4623 2005-07-05 Wim Taymans <wim@fluendo.com>
4626 * libs/gst/dataprotocol/Makefile.am:
4627 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4628 * libs/gst/dataprotocol/dataprotocol.h:
4629 * pkgconfig/Makefile.am:
4630 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4631 * pkgconfig/gstreamer-dataprotocol.pc.in:
4632 Ported dataprotol to 0.9.
4633 Added pkgconfig files.
4635 2005-07-05 Andy Wingo <wingo@pobox.com>
4637 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4638 Default to returning TRUE for the case when tranform_caps returns
4639 a fixed caps, like for identity or volume.
4641 * check/gst/gstbus.c (pound_bus_with_messages):
4642 * check/gst/gstmessage.c (START_TEST):
4643 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4646 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4647 logic weaks here: always run transform_caps, trying passthrough
4648 operation only if the original caps intersects with the transform.
4650 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4651 source and sink caps.
4653 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4654 Intersect the peer caps with the pad template before going into
4656 (gst_base_transform_transform_caps): More debugging.
4658 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4661 2005-07-04 Edward Hervey <edward@fluendo.com>
4665 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4668 2005-07-04 Andy Wingo <wingo@pobox.com>
4670 * check/gst/gstpad.c: Only set explicit caps on pads.
4672 2005-07-01 Andy Wingo <wingo@pobox.com>
4674 * tests/network-clock.scm: Commentary update.
4676 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4677 Didn't really make sense, not implementable with basetransform,
4679 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4680 attempt at implementing the sync property, needs an unlock method.
4682 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4683 New func, by default returns the same caps (the identity
4685 (gst_base_transform_getcaps): Uses transform_caps to return
4687 (gst_base_transform_setcaps): Complicated logic to get caps on
4688 both pads, even if they are different, and to call set_caps once
4689 for every time both pads get their caps set.
4690 (gst_base_transform_handle_buffer): Give the ref to the transform
4691 function. Allows in-place modification of the buffer.
4693 * gst/base/gstbasetransform.h (transform_caps): New class method.
4694 Given caps on one side, what can I do on the other.
4695 (set_caps): Take two caps, one for each side of the element.
4698 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4699 caps in place. This is safe because we can check the mutability of
4700 the caps, and a good idea because fixate functions are just called
4701 as a matter of last resort. (Not actually implemented.)
4702 (gst_pad_set_caps): If the caps we're setting is actually the same
4703 as the existing pad caps, just update the pointer without calling
4704 setcaps. Assert that caps is either NULL or fixed, as per the
4707 * gst/gstghostpad.c: Update for fixate changes.
4709 2005-07-02 Andy Wingo <wingo@pobox.com>
4712 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4713 two refcounts makes it immutable, which is enough. Doc more.
4715 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4717 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4718 Put the mini_object into GValue as a mini_object,
4719 not a gpointer, since that's how we declared
4722 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4724 * examples/pwg/Makefile.am:
4727 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4729 * docs/pwg/building-testapp.xml:
4731 * examples/pwg/Makefile.am:
4734 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4737 * examples/Makefile.am:
4738 * examples/pwg/Makefile.am:
4739 * examples/pwg/extract.pl:
4740 Enable building the PWG examples.
4741 * docs/pwg/advanced-interfaces.xml:
4742 Add URI interface stub.
4743 * docs/pwg/advanced-types.xml:
4744 * docs/pwg/other-autoplugger.xml:
4745 * docs/pwg/appendix-porting.xml:
4747 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4748 * docs/pwg/building-boiler.xml:
4749 * docs/pwg/building-chainfn.xml:
4750 * docs/pwg/building-pads.xml:
4751 * docs/pwg/building-props.xml:
4752 * docs/pwg/building-state.xml:
4753 * docs/pwg/building-testapp.xml:
4754 Update the building-*.xml parts for 0.9 changes. All examples
4755 code blocks compile in examples/pwg/*.
4757 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4759 * docs/manual/advanced-autoplugging.xml:
4760 * docs/manual/appendix-checklist.xml:
4761 * docs/manual/appendix-integration.xml:
4762 * docs/manual/highlevel-components.xml:
4763 Fix playbin/decodebin examples, update docs a bit, mention bus
4764 instead of signals in various places, mention kmplayer and
4765 kaffeine since they have a working GStreamer backend in the KDE
4768 2005-06-30 Wim Taymans <wim@fluendo.com>
4771 * docs/design/draft-ghostpads.txt:
4772 * docs/design/draft-push-pull.txt:
4773 * docs/design/draft-query.txt:
4774 * docs/design/part-TODO.txt:
4775 * docs/design/part-query.txt:
4776 Added CHANGES-0.9 doc, updated status of other docs.
4781 2005-06-30 Wim Taymans <wim@fluendo.com>
4783 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4784 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4785 (gst_base_sink_change_state):
4786 * gst/base/gstbasesink.h:
4787 Some tweaks, only EOS and a buffer complete a preroll.
4789 2005-06-30 Andy Wingo <wingo@pobox.com>
4791 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4792 activate_push down to the internal pad as well.
4794 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4796 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4798 * gst/gsttaginterface.c:
4799 Some documentation fixes (#307394 and #307397).
4801 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4803 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4805 * gst/gstvalue.c: (gst_value_intersect_list):
4806 Fix memleak (#309125).
4808 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4810 * docs/manual/advanced-dataaccess.xml:
4811 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4812 * docs/manual/basics-pads.xml:
4813 Add reference for filtered caps to above chapter.
4815 2005-06-30 Wim Taymans <wim@fluendo.com>
4817 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4818 (gst_bin_change_state):
4820 Lame attempt at making the state change function a bit
4823 2005-06-30 Wim Taymans <wim@fluendo.com>
4825 * docs/design/part-clocks.txt:
4826 * docs/design/part-element-sink.txt:
4827 * docs/design/part-events.txt:
4828 * docs/design/part-preroll.txt:
4829 * docs/design/part-states.txt:
4830 Some more tweeks and additions to the docs.
4832 2005-06-30 Wim Taymans <wim@fluendo.com>
4834 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4835 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4836 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4837 (gst_pad_check_pull_range), (gst_pad_get_range),
4838 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4840 * gst/gstutils.c: (gst_atomic_int_set), (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 Removed atomic operations, use existing LOCK.
4845 Move exception handling out of main code path.
4847 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4849 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4850 (silly_return_true_function), (gst_pad_class_init),
4851 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4852 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4853 (gst_pad_send_event):
4854 Fix accumulator, add default value by using _emitv() instead
4855 of _emit() for signal emission.
4857 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4859 * docs/manual/advanced-dataaccess.xml:
4860 * examples/manual/Makefile.am:
4862 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4865 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
4867 * gst/elements/gstfilesink.c: (gst_filesink_render):
4868 Simplify code so that we don't have to handle short
4869 writes and return GST_FLOW_ERROR if an error occured.
4871 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4873 * docs/gst/gstreamer-docs.sgml:
4876 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4878 * docs/gst/gstreamer-sections.txt:
4879 * docs/gst/tmpl/gstpad.sgml:
4880 * docs/gst/tmpl/gstprobe.sgml:
4882 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4883 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
4884 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4885 (gst_pad_push_event), (gst_pad_send_event):
4887 * gst/gstutils.c: (gst_pad_add_data_probe),
4888 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4889 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4890 (gst_pad_remove_buffer_probe):
4892 Remove old probes, add new g-signal-based probes and some utility
4895 2005-06-29 Edward Hervey <edward@fluendo.com>
4897 * gst/gstelementfactory.c:
4900 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
4901 the definition to the header file.
4903 2005-06-29 Andy Wingo <wingo@pobox.com>
4905 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
4906 plugins from the source directory.
4908 2005-06-29 Wim Taymans <wim@fluendo.com>
4910 * docs/gst/tmpl/gstbuffer.sgml:
4911 * docs/gst/tmpl/gstclock.sgml:
4912 Some fixings for blantently wrong text.
4914 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4916 * check/Makefile.am:
4917 * gst/gst.c: (add_path_func), (init_pre):
4918 * gst/gstregistry.c: (gst_registry_add_path):
4919 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
4920 only scan the GST_PLUGIN_PATH locations, and not add
4923 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4925 * docs/gst/gstreamer-sections.txt:
4926 * docs/gst/tmpl/gstbasesrc.sgml:
4933 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4935 * docs/manual/advanced-autoplugging.xml:
4936 Fix autoplugging example.
4938 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4940 * docs/manual/advanced-autoplugging.xml:
4941 * docs/manual/mime-world.fig:
4942 Try to get autoplugging working, fix type detection. Fix text
4943 in hello-world image.
4945 2005-06-29 Wim Taymans <wim@fluendo.com>
4947 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4948 (gst_base_sink_change_state):
4952 map SIGNAL and BROADCAST to the right function.
4955 Remove redundant braces.
4957 * gst/gstpad.c: (gst_pad_set_caps):
4958 Don't call setcaps function when reseting caps to NULL.
4960 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4961 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
4962 (gst_system_clock_id_unschedule):
4963 Use BROADCAST as this is what we do.
4965 2005-06-29 Wim Taymans <wim@fluendo.com>
4967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4968 We are actually prerolling before commiting the state
4971 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4973 * docs/manual/advanced-clocks.xml:
4974 * docs/manual/advanced-interfaces.xml:
4975 * docs/manual/advanced-metadata.xml:
4976 * docs/manual/advanced-position.xml:
4977 * docs/manual/advanced-schedulers.xml:
4978 * docs/manual/advanced-threads.xml:
4979 * docs/manual/appendix-porting.xml:
4980 * docs/manual/basics-bins.xml:
4981 * docs/manual/basics-bus.xml:
4982 * docs/manual/basics-elements.xml:
4983 * docs/manual/basics-helloworld.xml:
4984 * docs/manual/basics-pads.xml:
4985 * docs/manual/highlevel-components.xml:
4986 * docs/manual/manual.xml:
4987 * docs/manual/thread.fig:
4988 Update (until threads/scheduling) Application Development Manual;
4989 remove GstThread, add GstBus, add simple porting checklist, add
4990 documentation for tag writing, clocks, make all examples until this
4991 part compile and run.
4992 * examples/manual/Makefile.am:
4993 Update from changes to Application Development Manual; add bus
4994 example, remove thread example.
4996 2005-06-28 Wim Taymans <wim@fluendo.com>
4998 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
4999 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5000 (gst_bus_source_dispatch):
5001 Add debugging messages.
5002 Make internal methods static.
5003 Handle the case where the bus is flushed in the handler.
5005 * gst/gstelement.c: (gst_element_get_bus):
5006 Fix refcount in _get_bus();
5008 * gst/gstpipeline.c: (gst_pipeline_change_state),
5009 (gst_pipeline_get_clock_func):
5010 Clock refcounting fixes.
5011 Handle the case where preroll timed out more gracefully.
5013 * gst/gstsystemclock.c: (gst_system_clock_dispose):
5014 Clean up the internal thread in dispose. This is needed
5015 for subclasses that actually get disposed.
5017 * gst/schedulers/threadscheduler.c:
5018 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5019 (gst_thread_scheduler_dispose):
5020 Free thread pool in dispose.
5022 2005-06-28 Andy Wingo <wingo@pobox.com>
5024 * tests/network-clock-utils.scm (debug, print-event): New utils.
5026 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5027 (*packet-loss*): Unified loss probability.
5028 (network-time): Report out-of-band events.
5030 * tests/plot-data: Add support for out-of-band events. Hack it
5031 into this script instead of passing it down the pipe; should fix
5034 2005-06-28 Wim Taymans <wim@fluendo.com>
5036 * docs/gst/gstreamer.types:
5037 * docs/gst/tmpl/gstbasesrc.sgml:
5038 * docs/gst/tmpl/gstpad.sgml:
5041 2005-06-28 Wim Taymans <wim@fluendo.com>
5043 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5044 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5045 (gst_proxy_pad_do_fixatecaps):
5046 Correctly proxy the check_pull_range function.
5048 2005-06-28 Andy Wingo <wingo@pobox.com>
5050 * tests/network-clock.scm: Removed need for slib.
5052 2005-06-28 Wim Taymans <wim@fluendo.com>
5054 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5055 (gst_basesink_preroll_queue_flush):
5056 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5057 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5058 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5059 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5060 (gst_proxy_pad_set_property):
5063 * gst/gstqueue.c: (gst_queue_init):
5064 The deprecated pad loop function is removed now.
5066 2005-06-28 Andy Wingo <wingo@pobox.com>
5068 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5069 New parameters, simulate network packet loss.
5071 * tests/network-clock-utils.scm: Initialize the RNG.
5073 2005-06-28 Wim Taymans <wim@fluendo.com>
5075 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5076 (gst_basesink_event), (gst_basesink_deactivate):
5077 Flushing the preroll queue always needs to unlock the waiters.
5079 2005-06-28 Edward Hervey <edward@fluendo.com>
5081 * gst/gstpipeline.c: (gst_pipeline_send_event):
5082 Wheen a seek was successful on a pipeline, set the stream_time to the
5083 seek offset in order to have a synchronized stream_time.
5085 2005-06-28 Wim Taymans <wim@fluendo.com>
5087 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5088 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5089 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5090 (gst_proxy_pad_do_fixatecaps):
5091 Call wrapper function instead of just calling the function
5092 pointers. This takes care of any locking and whatmore.
5094 2005-06-28 Wim Taymans <wim@fluendo.com>
5096 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5097 (gst_pad_pull_range):
5099 CONNECTED -> LINKED.
5101 2005-06-28 Andy Wingo <wingo@pobox.com>
5103 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5104 source-munging commit!!!
5106 * gst/gstobject.c (gst_object_unref, gst_object_ref)
5107 (gst_object_sink): Take gpointer arguments, not GstObject --
5108 avoids casts. Like GLib.
5110 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5113 2005-06-27 Andy Wingo <wingo@pobox.com>
5115 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5118 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5119 returns a sorted copy of the trace list.
5120 (gst_alloc_trace_print_live): New API, only prints traces with
5121 live objects. Sort the list.
5122 (gst_alloc_trace_print_all): Sort the list.
5123 (gst_alloc_trace_print): Align columns.
5125 * gst/elements/gstttypefindelement.c:
5126 * gst/elements/gsttee.c:
5127 * gst/base/gstbasesrc.c:
5128 * gst/base/gstbasesink.c:
5129 * gst/base/gstbasetransform.c:
5130 * gst/gstqueue.c: Adapt for pad activation changes.
5132 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5134 (gst_pipeline_dispose): Drop ref on sched.
5136 * gst/gstpad.c (gst_pad_init): Set the default activate func.
5137 (gst_pad_activate_default): Push mode by default.
5138 (pre_activate_switch, post_activate_switch): New stubs, things to
5139 do before and after switching activation modes on pads.
5140 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5141 the pad's activate function to choose which mode to activate.
5142 Shortcut on deactivation and call the right function directly.
5143 (gst_pad_activate_pull): New API, (de)activates a pad in pull
5145 (gst_pad_activate_push): New API, same for push mode.
5146 (gst_pad_set_activate_function)
5147 (gst_pad_set_activatepull_function)
5148 (gst_pad_set_activatepush_function): Setters for new API.
5150 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5151 Trace all miniobjects.
5152 (gst_mini_object_make_writable): Unref the arg if we copy, like
5153 gst_caps_make_writable.
5155 * gst/gstmessage.c (_gst_message_initialize): No trace init.
5157 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
5158 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5159 Adapt for new pad API.
5161 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5164 * gst/gstelement.c (gst_element_iterate_src_pads)
5165 (gst_element_iterate_sink_pads): New API functions.
5167 * gst/gstelement.c (iterator_fold_with_resync): New utility,
5168 should fold into gstiterator.c in some form.
5169 (gst_element_pads_activate): Simplified via use of fold and
5170 delegation of decisions to gstpad->activate.
5172 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5175 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5176 class once in init, like gstmessage. Didn't run into this issue
5177 but it seems correct. Don't initialize a trace, gstminiobject does
5180 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5181 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5183 (assert_live_count): New util function, uses alloc traces to check
5186 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5187 To be modified when unlink drops the internal pad.
5189 2005-06-27 Wim Taymans <wim@fluendo.com>
5191 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5192 (gst_bin_change_state):
5193 Cleanup the get_state() function a little, make sure it
5194 iterates the same set of elements.
5195 Added stub iterate_state_order().
5197 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
5199 * docs/gst/gstreamer-docs.sgml:
5200 * docs/gst/gstreamer-sections.txt:
5201 * docs/gst/gstreamer.types:
5202 * docs/gst/tmpl/gstbasesink.sgml:
5203 * docs/gst/tmpl/gstbasesrc.sgml:
5204 * docs/gst/tmpl/gstbasetransform.sgml:
5205 * docs/gst/tmpl/gstelement.sgml:
5206 * docs/gst/tmpl/gstiterator.sgml:
5207 * gst/base/gstbasesrc.c:
5208 * gst/base/gstbasesrc.h:
5209 * gst/base/gstbasetransform.h:
5211 * gst/gstiterator.h:
5212 adding basetransform and iterator docs
5214 2005-06-27 Andy Wingo <wingo@pobox.com>
5216 * docs/design/part-activation.txt: Notes on how activation should
5217 work -- not quite implemented yet.
5219 2005-06-25 Wim Taymans <wim@fluendo.com>
5221 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5222 At least get the chain function correct, needs more
5225 2005-06-25 Wim Taymans <wim@fluendo.com>
5227 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5228 (gst_basesink_handle_object), (gst_basesink_event),
5229 (gst_basesink_do_sync), (gst_basesink_handle_event),
5230 (gst_basesink_change_state):
5232 Right, two problems here: ghostpads don't take locks and
5233 glib _rec_mutex_lock_full() with depth==0 still locks.
5234 Catch illegal locking and g_warn them.
5236 2005-06-25 Wim Taymans <wim@fluendo.com>
5238 * check/states/sinks.c: (START_TEST), (gst_object_suite):
5239 Have to check for completion now...
5241 2005-06-25 Wim Taymans <wim@fluendo.com>
5243 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5244 (gst_basesink_handle_object), (gst_basesink_event),
5245 (gst_basesink_do_sync), (gst_basesink_handle_event),
5246 (gst_basesink_change_state):
5248 Unlock STREAM_LOCK whatever the recursion was.
5250 2005-06-25 Wim Taymans <wim@fluendo.com>
5252 * gst/base/gstbasesink.c: (gst_basesink_set_property),
5253 (gst_basesink_preroll_queue_empty),
5254 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5255 (gst_basesink_event), (gst_basesink_do_sync),
5256 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5257 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5258 (gst_basesink_change_state):
5259 Reworked the base sink, handle event and buffer serialisation
5260 correctly and removed possible deadlock.
5261 Handle EOS correctly.
5263 2005-06-25 Wim Taymans <wim@fluendo.com>
5265 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5266 (gst_pipeline_change_state):
5267 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5268 Allow elements to post EOS in the state change function.
5269 Fix up -launch, make it exit the poll loop when the
5270 pipeline actually changed state.
5271 Fix up warning parsing in -launch.
5273 2005-06-25 Wim Taymans <wim@fluendo.com>
5275 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5276 (gst_tee_sink_activate):
5277 Core takes STREAM_LOCK for us now.
5279 2005-06-25 Wim Taymans <wim@fluendo.com>
5281 * gst/gstelement.c: (gst_element_get_state_func),
5282 (gst_element_set_state):
5284 * gst/gstmessage.c: (gst_message_parse_error),
5285 (gst_message_parse_warning):
5286 Keep track of current target state while performing a state
5287 change so that subclasses can do something interesting.
5288 Fix parsing of warning/error messages when GError is NULL.
5290 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5292 * docs/gst/Makefile.am:
5293 * docs/gst/gstreamer-docs.sgml:
5294 * docs/gst/gstreamer-sections.txt:
5295 * docs/gst/gstreamer.types:
5296 * docs/gst/tmpl/gstbasesink.sgml:
5297 * docs/gst/tmpl/gstbasesrc.sgml:
5298 * docs/gst/tmpl/gstbin.sgml:
5299 * docs/gst/tmpl/gstcompat.sgml:
5300 * docs/gst/tmpl/gstfakesink.sgml:
5301 * docs/gst/tmpl/gstfakesrc.sgml:
5302 * docs/gst/tmpl/gstfilesink.sgml:
5303 * docs/gst/tmpl/gstfilesrc.sgml:
5304 * docs/gst/tmpl/gstindex.sgml:
5305 * docs/manual/appendix-quotes.xml:
5306 * gst/base/gstbasesrc.h:
5307 * gst/elements/gstfakesrc.h:
5309 start pulling in base classes and elements in our docs
5311 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5313 * docs/gst/Makefile.am:
5314 * docs/libs/Makefile.am:
5315 fixed make distcheck with gtk-doc 1.3
5317 2005-06-23 Wim Taymans <wim@fluendo.com>
5319 * gst/gstelement.c: (gst_element_get_state_func),
5320 (gst_element_set_state), (gst_element_change_state):
5321 When the state did not change, also report NO_PREROLL
5324 2005-06-23 Wim Taymans <wim@fluendo.com>
5326 * gst/gstpad.c: (gst_pad_event_default):
5327 * gst/gstqueue.c: (gst_queue_loop):
5328 No unsafe task pausing please.
5330 2005-06-23 Wim Taymans <wim@fluendo.com>
5332 * gst/schedulers/threadscheduler.c:
5333 (gst_thread_scheduler_task_start),
5334 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5335 Ref the task before pushing it on the threadpool. This
5336 makes sure that we have a ref when the threadfunction is
5339 2005-06-23 Andy Wingo <wingo@pobox.com>
5341 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5342 offset is greater than the file's size.
5344 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5345 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5346 * gst/gstobject.c (gst_object_class_init): Make the class lock
5347 recursive. Wim won't let me drop deep_notify. Decodebin works
5350 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5351 internal pad, and hacks accordingly. Doesn't do it on the target
5352 pad because we change its caps. Probably catches all cases of
5354 (gst_ghost_pad_set_property): Connect to notify::caps as
5357 * tests/network-clock.scm (plot-simulation): Pipe data to the
5358 elite python skript.
5360 * tests/network-clock-utils.scm (define-parameter): New macro,
5361 defines a parameter that can be set via the command line.
5362 (set-parameter!, parse-parameter-arguments): Command line args
5365 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5368 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5370 * gst/elements/gsttypefindelement.c:
5371 (gst_type_find_element_handle_event):
5372 Don't restart typefinding on a discont.
5373 * gst/gstelement.c: (gst_element_set_state):
5375 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5376 Allow changing mode of an active pad.
5378 * gst/registries/gstlibxmlregistry.c: (load_feature):
5379 Don't cast a static pad template to a normal pad template.
5381 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5383 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5384 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5385 remove gst_strtoll completely, since it didn't actually do
5386 anything more than what g_ascii_strtoull already does.
5387 check for range errors when deserializing
5388 do a cast for the unsigned cases; but further fixing needs
5389 a decision on what the interpretation of "(int)" and
5390 deserialization should be for values that fall outside the
5391 type's boundaries (ie, refuse, or interpret as casting)
5393 2005-06-23 Wim Taymans <wim@fluendo.com>
5395 * check/Makefile.am:
5396 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5397 * docs/design/part-live-source.txt:
5398 * docs/design/part-states.txt:
5399 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5400 (gst_basesrc_set_live), (gst_basesrc_is_live),
5401 (gst_basesrc_get_range), (gst_basesrc_activate),
5402 (gst_basesrc_change_state):
5403 * gst/base/gstbasesrc.h:
5404 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5405 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5406 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5407 * gst/gstelement.c: (gst_element_get_state_func),
5408 (gst_element_set_state):
5411 * tools/gst-launch.c: (event_loop), (main):
5412 Added support for live sources and other elements that
5414 Updated design docs, added live-source design doc.
5415 Implemented live source functionality in basesrc
5416 Fix error condition in _bin_get_state()
5417 Implement live source handling in -launch.
5418 Added check for live sources.
5419 Fixed case in GstBin where elements were changed state
5423 2005-06-23 Andy Wingo <wingo@pobox.com>
5425 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5428 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5429 gst_caps_replace takes care of this for us.
5431 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5432 gst_pad_set_caps on the target, not just its setcaps() function.
5434 * tests/network-clock.scm:
5435 * tests/network-clock-utils.scm: A network clock simulator.
5436 Something of an algorithmic testbed before doing something in C.
5438 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5440 * check/Makefile.am:
5441 * check/gst/capslist.h:
5442 copy over from 0.8, and add two with bitmasks specified with
5444 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5445 add test to parse everything from capslist.h
5446 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5448 add test for structure deserialization
5449 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5450 add tests for deserialization of strings to int types
5451 * gst/gststructure.c: (gst_structure_nth_field_name):
5452 * gst/gststructure.h:
5453 add a way to get the name of a field referenced by index
5454 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5455 instead of checking if the resulting long long lies between
5456 min and max, we check if the long long would fit into
5457 a number of bytes for the final type.
5458 This fixes cases where a string represents 2^32 - 1, which
5459 when cast to int would be the (valid) -1, but is bigger than
5462 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5464 * gst/parse/grammar.y:
5465 add a log line for type deserialization
5467 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5469 * check/gst/gstvalue.c: (START_TEST):
5470 * gst/gstvalue.c: (gst_value_deserialize):
5471 return long long, not int, so gint64 deserialization actually
5472 works. Is there any flag that makes the compiler check this ?
5475 2005-06-22 Wim Taymans <wim@fluendo.com>
5478 Added convenience macros for setting buffers in GValue.
5480 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5482 * check/gst/.cvsignore:
5483 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5484 add a test deserializing int64, and comment part out because
5487 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5489 * check/Makefile.am:
5490 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5491 * testsuite/Makefile.am:
5492 * testsuite/caps/Makefile.am:
5493 * testsuite/caps/value_serialize.c:
5494 * testsuite/test_gst_init.c:
5495 move a value_serialize test over
5497 2005-06-20 Wim Taymans <wim@fluendo.com>
5502 * gst/gstvalue.c: (gst_value_compare_buffer),
5503 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5504 (gst_value_compare_flags), (gst_value_serialize_flags),
5505 (gst_value_deserialize_flags), (_gst_value_initialize):
5506 Fix serialisation of buffers, they are not boxed types anymore
5508 2005-06-20 Wim Taymans <wim@fluendo.com>
5510 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5511 Testcase to show error in buffer-on-caps serialisation.
5513 2005-06-20 Andy Wingo <wingo@pobox.com>
5515 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5516 will be adding to later.
5518 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5519 if its socks fill with rocks.
5520 (gst_system_clock_obtain): Set the name on object construction.
5521 Avoid double-checked locking.
5523 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
5525 * gst/gsturi.c: (gst_element_make_from_uri):
5526 Fix potential endless loop.
5528 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5530 * check/Makefile.am:
5532 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5534 move over from testsuite dir and clean up
5537 * testsuite/Makefile.am:
5538 * testsuite/tags/.cvsignore:
5539 * testsuite/tags/Makefile.am:
5540 * testsuite/tags/merge.c:
5541 remove testsuite/tags
5543 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5545 * docs/gst/gstreamer-sections.txt:
5546 * docs/gst/tmpl/gstenumtypes.sgml:
5547 * win32/gstenumtypes.c:
5548 clean up documentation build a little
5550 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5553 add macros for checking refcounts on objects and caps
5554 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5555 add some more unit tests
5556 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5557 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5558 fix leaked refcounts (I hope :)) so unittest works
5562 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5564 * configure.ac: back to HEAD
5566 === release 0.9.1 ===
5568 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5574 2005-06-17 Andy Wingo <wingo@pobox.com>
5576 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5577 assert; it's always possible that the pad gets deactivated in
5578 between the checks in gstpad.c and the implementation. Rely on
5579 finish_preroll() to return a FLUSHING or similar instead of on the
5582 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5583 clock and post an EOS message if we come out of finish_preroll in
5586 2005-06-16 David Schleef <ds@schleef.org>
5588 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5589 (gst_capsfilter_set_property): Allow NULL as possible value
5590 for filter_caps property, indicating GST_CAPS_ANY.
5592 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5594 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5596 * gst/schedulers/Makefile.am:
5598 * gstreamer.spec.in:
5601 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5603 * gstreamer.spec.in:
5606 2005-06-08 Andy Wingo <wingo@pobox.com>
5608 * gst/gstutils.c: RPAD fixes all around.
5609 (gst_element_link_pads): Refcounting fixes.
5611 * tools/gst-inspect.c:
5612 * tools/gst-xmlinspect.c:
5614 * gst/base/gsttypefindhelper.c:
5615 * gst/base/gstbasesink.c:
5616 * gst/gstqueue.c: RPAD fixes.
5618 * gst/gstghostpad.h:
5619 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5620 pads. The tricky thing is they provide both source and sink
5621 interfaces, since they proxy the internal pad for the external
5622 pad, and vice versa. Implement with lower-level ProxyPad objects,
5623 with the interior proxy pad as a child of the exterior ghost pad.
5624 Should write a doc on this.
5626 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5627 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5630 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5631 pads are real pads. No ghost pads in this file. Not documenting
5632 the myriad s/RPAD/PAD/ and REALIZE fixes.
5633 (gst_pad_class_init): Add properties for "direction" and
5634 "template". Both are construct-only, so they can't change during
5635 the life of the pad. Fixes properly deriving from GstPad.
5636 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5637 derived objects, just set properties when creating the objects via
5639 (gst_pad_get_parent): Implement as a function, return NULL if the
5640 parent is not an element.
5641 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5642 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5644 * gst/gstobject.c (gst_object_class_init): Make name a construct
5645 property. Don't set it in the object init.
5647 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5648 with UNKNOWN direction.
5649 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5650 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5651 (gst_element_remove_pad): Remove ghost-pad special cases.
5652 (gst_element_pads_activate): Remove rpad cruft.
5654 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5655 catch the pad's-parent-not-an-element case.
5657 * gst/gst.h: Include gstghostpad.h.
5659 * gst/gst.c (init_post): No more real, ghost pads.
5661 * gst/Makefile.am: Add gstghostpad.[ch].
5663 * check/Makefile.am:
5664 * check/gst/gstbin.c:
5665 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5666 into a bin creates ghost pads, and that the refcounts are right.
5667 Partly moved from gstbin.c.
5669 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5671 * check/gst-libs/.cvsignore:
5672 * check/gst/.cvsignore:
5673 * check/pipelines/.cvsignore:
5675 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5676 (START_TEST), (cleanup_suite), (main):
5677 add some tests related to cleanup after running pipelines
5679 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5681 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5682 add a testsuite for GstBuffer
5684 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5686 * gst/gstminiobject.h:
5687 add defines for accessing the refcount
5689 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5691 * Makefile.am: added support for html unit test coverage reports
5693 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5695 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5696 Free existing caps if the capsfilter changes. Add a FIXME about
5697 setting those caps on the pads.
5699 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5700 Before adding a ghost pad to a parent bin, check that there isn't
5701 already one for the element on the bin. Prevents infinite recursion
5702 when using decodebin in parse pipelines. Andy says he'll rewrite the
5703 way this works anyway, so ignore the hack.
5705 2005-06-02 Andy Wingo <wingo@pobox.com>
5707 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5708 file size, pass it on to the type find helper.
5710 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5711 segment_start and segment_end properly according to the seek
5712 method. Segment_end is still a bit flaky because offset can be
5713 negative for CUR and END cases, but it takes -1 as an "unset"
5716 2005-06-02 Wim Taymans <wim@fluendo.com>
5718 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5719 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5720 (gst_basesink_activate):
5721 * gst/base/gstbasesink.h:
5722 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5723 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5724 (gst_pad_query), (gst_pad_start_task):
5726 * gst/gstqueue.c: (gst_queue_bufferalloc),
5727 (gst_queue_handle_sink_event), (gst_queue_chain):
5728 Bufferalloc: return GstFlowReturn to more accuratly report
5729 why allocation failed.
5731 2005-06-02 Wim Taymans <wim@fluendo.com>
5733 * gst/gstpipeline.c: (gst_pipeline_send_event):
5734 Take snapshot of state without blocking.
5736 2005-06-02 Wim Taymans <wim@fluendo.com>
5738 * docs/design/part-TODO.txt:
5739 * docs/design/part-caps.txt:
5740 * docs/design/part-clocks.txt:
5741 * docs/design/part-negotiation.txt:
5742 * docs/design/part-preroll.txt:
5745 2005-05-30 Wim Taymans <wim@fluendo.com>
5747 * gst/elements/gstidentity.c: (gst_identity_event),
5748 (gst_identity_transform), (gst_identity_get_property):
5749 Protect last_message property as it is accessed from
5752 2005-05-30 Wim Taymans <wim@fluendo.com>
5754 * gst/gstelement.c: (gst_element_init),
5755 (gst_element_pads_activate), (gst_element_change_state):
5756 Slicker pad activation code.
5758 2005-05-30 Wim Taymans <wim@fluendo.com>
5762 * gst/gstelementfactory.h:
5764 Move elementfactory methods to separate .h file.
5766 2005-05-30 Wim Taymans <wim@fluendo.com>
5768 * docs/design/part-overview.txt:
5769 * gst/gstsystemclock.h:
5770 Small typo fixes, doc updates.
5772 2005-05-30 Wim Taymans <wim@fluendo.com>
5774 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5775 (init_popt_callback):
5776 Remove cpu-opt flag.
5778 2005-05-30 Wim Taymans <wim@fluendo.com>
5780 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5781 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5783 Avoid typechecking in places where not needed.
5784 Added accessor for malloc_data.
5786 2005-05-30 Wim Taymans <wim@fluendo.com>
5788 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5789 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5790 (gst_pad_configure_sink), (gst_pad_configure_src),
5791 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5792 (gst_pad_start_task):
5793 Propagate errors from _set_caps() in configure_src/sink
5794 functions instead of returning TRUE.
5795 FLUSH events can travel up and downstream
5798 2005-05-30 Wim Taymans <wim@fluendo.com>
5800 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5801 (gst_basesink_activate):
5802 Handle EOS in preroll.
5804 2005-05-30 Wim Taymans <wim@fluendo.com>
5806 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5807 (gst_queue_loop), (gst_queue_handle_src_event):
5808 Remove old pieces of code
5809 Flushing the queue in an upstream event is a very bad idea.
5811 2005-05-26 Andy Wingo <wingo@pobox.com>
5813 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5814 gst_value_set_mini_object so as to add a ref on the object (which
5815 will be removed when the value is unset).
5817 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5818 arg type in ::handoff.
5820 * gst/gstelement.c (gst_element_change_state): Also deactivate
5821 pads in READY->NULL, just in case the element didn't make it to
5822 PAUSED. Wingo tested, Wim approved.
5824 2005-05-26 Wim Taymans <wim@fluendo.com>
5826 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5827 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5828 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5829 A flushing pad cannot be used to alloc_buffer from.
5831 2005-05-26 Wim Taymans <wim@fluendo.com>
5833 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5834 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5835 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5836 (gst_bus_create_watch), (gst_bus_add_watch_full):
5838 Implement a real GSource and use g_main_context_wakeup() to
5839 signal new messages instead of the socketpair.
5841 2005-05-25 Wim Taymans <wim@fluendo.com>
5843 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5844 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5845 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5846 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5847 (gst_pad_send_event), (gst_pad_start_task):
5848 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5849 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5850 (gst_queue_sink_activate), (gst_queue_src_activate),
5851 (gst_queue_change_state):
5853 Fix state changes for non sinks. We now change sinks, then elements
5854 with unconnected srcpads, then the rest.
5855 More efficient queue unlocking in flush and state changes.
5856 Set the pad activate mode even if it does not have an activate
5859 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5861 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5862 Don't go in pull mode for non-seekable sources.
5863 * gst/elements/gsttypefindelement.h:
5864 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5865 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5866 (free_entry), (stop_typefinding),
5867 (gst_type_find_element_handle_event), (find_peek),
5868 (gst_type_find_element_chain), (do_pull_typefind),
5869 (gst_type_find_element_change_state):
5870 Allow typefinding (w/o seeking) in push-mode, simplified version
5872 * gst/gstutils.c: (gst_buffer_join):
5874 gst_buffer_join() from 0.8.
5876 2005-05-25 Wim Taymans <wim@fluendo.com>
5878 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5879 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5880 (gst_pad_send_event), (gst_pad_start_task):
5881 Disable attempt at mode switching until it is figured out.
5883 2005-05-25 Wim Taymans <wim@fluendo.com>
5885 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
5886 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5887 (gst_basesink_finish_preroll), (gst_basesink_chain),
5888 (gst_basesink_loop), (gst_basesink_activate),
5889 (gst_basesink_change_state):
5890 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
5891 (gst_basesrc_get_range), (gst_basesrc_loop),
5892 (gst_basesrc_activate):
5893 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5894 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5895 (gst_real_pad_init), (gst_real_pad_set_property),
5896 (gst_real_pad_get_property), (gst_pad_set_active),
5897 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
5898 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
5899 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
5900 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
5901 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5902 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
5903 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
5904 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5905 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
5906 (gst_pad_stop_task):
5908 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5909 (gst_queue_loop), (gst_queue_src_activate):
5910 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
5911 (gst_task_get_state):
5913 * gst/schedulers/threadscheduler.c:
5914 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
5915 Implement gst_pad_pause/start/stop_task(), take STREAM lock
5917 Remove ACTIVE pad flag, use FLUSHING everywhere
5918 Added _pad_chain(), _pad_get_range() to call chain/getrange
5920 Add locks around IS_FLUSHING when reading.
5921 Take STREAM lock in chain(), get_range() functions so plugins
5922 don't need to take it anymore.
5926 2005-05-25 Wim Taymans <wim@fluendo.com>
5928 * tools/gst-launch.c: (event_loop):
5929 Unref message after using its contents instead of
5932 2005-05-24 Wim Taymans <wim@fluendo.com>
5934 * docs/design/draft-ghostpads.txt:
5935 * docs/design/draft-push-pull.txt:
5936 * docs/design/draft-query.txt:
5937 * docs/design/part-overview.txt:
5938 Docs updates, added general overview doc.
5940 2005-05-21 David Schleef <ds@schleef.org>
5942 * docs/gst/tmpl/old/GstBin.sgml:
5943 * docs/gst/tmpl/old/GstBuffer.sgml:
5944 * docs/gst/tmpl/old/GstCaps.sgml:
5945 * docs/gst/tmpl/old/GstClock.sgml:
5946 * docs/gst/tmpl/old/GstCompat.sgml:
5947 * docs/gst/tmpl/old/GstData.sgml:
5948 * docs/gst/tmpl/old/GstElement.sgml:
5949 * docs/gst/tmpl/old/GstEvent.sgml:
5950 * docs/gst/tmpl/old/GstIndex.sgml:
5951 * docs/gst/tmpl/old/GstStructure.sgml:
5952 * docs/gst/tmpl/old/GstTag.sgml:
5953 * docs/gst/tmpl/old/cothreads.sgml:
5954 * docs/gst/tmpl/old/cothreads_compat.sgml:
5955 * docs/gst/tmpl/old/gettext.sgml:
5956 * docs/gst/tmpl/old/gobject2gtk.sgml:
5957 * docs/gst/tmpl/old/grammar.tab.sgml:
5958 * docs/gst/tmpl/old/gst-i18n-app.sgml:
5959 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
5960 * docs/gst/tmpl/old/gst_private.sgml:
5961 * docs/gst/tmpl/old/gstaggregator.sgml:
5962 * docs/gst/tmpl/old/gstarch.sgml:
5963 * docs/gst/tmpl/old/gstatomic_impl.sgml:
5964 * docs/gst/tmpl/old/gstbufferstore.sgml:
5965 * docs/gst/tmpl/old/gstdata_private.sgml:
5966 * docs/gst/tmpl/old/gstdisksink.sgml:
5967 * docs/gst/tmpl/old/gstdisksrc.sgml:
5968 * docs/gst/tmpl/old/gstelementfactory.sgml:
5969 * docs/gst/tmpl/old/gstextratypes.sgml:
5970 * docs/gst/tmpl/old/gstfakesink.sgml:
5971 * docs/gst/tmpl/old/gstfakesrc.sgml:
5972 * docs/gst/tmpl/old/gstfdsink.sgml:
5973 * docs/gst/tmpl/old/gstfdsrc.sgml:
5974 * docs/gst/tmpl/old/gstfilesink.sgml:
5975 * docs/gst/tmpl/old/gstfilesrc.sgml:
5976 * docs/gst/tmpl/old/gsthttpsrc.sgml:
5977 * docs/gst/tmpl/old/gstidentity.sgml:
5978 * docs/gst/tmpl/old/gstindexfactory.sgml:
5979 * docs/gst/tmpl/old/gstmarshal.sgml:
5980 * docs/gst/tmpl/old/gstmd5sink.sgml:
5981 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
5982 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
5983 * docs/gst/tmpl/old/gstpadtemplate.sgml:
5984 * docs/gst/tmpl/old/gstpipefilter.sgml:
5985 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
5986 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
5987 * docs/gst/tmpl/old/gstshaper.sgml:
5988 * docs/gst/tmpl/old/gstspider.sgml:
5989 * docs/gst/tmpl/old/gstspideridentity.sgml:
5990 * docs/gst/tmpl/old/gststatistics.sgml:
5991 * docs/gst/tmpl/old/gsttee.sgml:
5992 * docs/gst/tmpl/old/gsttimecache.sgml:
5993 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
5994 * docs/gst/tmpl/old/gstxmlregistry.sgml:
5995 * docs/gst/tmpl/old/gthread-cothreads.sgml:
5996 * docs/gst/tmpl/old/types.sgml:
5997 I didn't intend to add these or check them in.
5999 2005-05-19 David Schleef <ds@schleef.org>
6001 * configure.ac: Use -no-common everywhere. In a sane world, it
6002 would be the default in libtool, because without it, you can't
6003 build DLLs on Windows.
6004 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6005 * docs/gst/gstreamer-sections.txt:
6006 * docs/gst/tmpl/gstcpu.sgml:
6007 * docs/gst/tmpl/gstdata.sgml:
6008 * docs/gst/tmpl/gstthread.sgml:
6010 2005-05-19 David Schleef <ds@schleef.org>
6012 * gst/gstminiobject.c: (gst_value_set_mini_object),
6013 (gst_value_take_mini_object), (gst_value_get_mini_object):
6014 * gst/gstminiobject.h: Add GValue set/get functions.
6016 2005-05-19 Wim Taymans <wim@fluendo.com>
6018 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6019 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6020 (gst_subbuffer_init), (gst_buffer_is_span_fast):
6022 * gst/gstbus.c: (gst_bus_post):
6023 * gst/gstelement.c: (gst_element_get_random_pad):
6024 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6025 Make subbufer unref the parent in finalize.
6026 some more debugging info.
6029 2005-05-19 Wim Taymans <wim@fluendo.com>
6031 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6032 (gst_basesink_init), (gst_basesink_finalize),
6033 (gst_basesink_activate), (gst_basesink_change_state):
6034 Don't free preroll queue too early.
6036 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6040 Hi, I'm outdated. Please shoot me.
6042 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6044 * gst/gstpipeline.c: (gst_pipeline_send_event):
6045 Do not access variables after they have been deleted.
6047 2005-05-19 Wim Taymans <wim@fluendo.com>
6049 * tools/gst-inspect.c: (print_plugin_features):
6050 A plugin feature does unfortunatly not use the
6053 2005-05-18 Wim Taymans <wim@fluendo.com>
6055 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6056 Port _span() functions to new subbuffers.
6058 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6060 * gst/gstbin.c: (gst_bin_add_func):
6061 Fix clock settery in bins when adding kids after the clock has
6064 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6066 * gst/elements/gstidentity.c: (gst_identity_class_init):
6067 Workaround until signals support GstMiniObject.
6069 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6072 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6074 2005-05-18 Wim Taymans <wim@fluendo.com>
6076 * gst/base/Makefile.am:
6077 * gst/base/gstadapter.c: (gst_adapter_base_init),
6078 (gst_adapter_class_init), (gst_adapter_init),
6079 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6080 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6081 (gst_adapter_flush), (gst_adapter_available),
6082 (gst_adapter_available_fast):
6083 * gst/base/gstadapter.h:
6084 Ported and added adapter to the base classes.
6086 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6090 Make sure the class is reffed/unreffed once before threads can be
6091 used. Fixes #304551.
6093 2005-05-17 Wim Taymans <wim@fluendo.com>
6095 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6096 (gst_basesink_chain_unlocked), (gst_basesink_activate):
6097 * gst/gstminiobject.c: (gst_mini_object_get_type),
6098 (gst_mini_object_free):
6099 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6100 (gst_pad_push), (gst_pad_push_event):
6101 * gst/gstqueue.c: (gst_queue_change_state):
6102 Don't queue buffers in basesink when we are flushing.
6103 Unref buffer when flushing in basesink.
6104 Flush queue when going to READY
6105 Unref buffer when _push() returns an error.
6106 Don't free MiniObject instance when refcount is incremented
6107 in _finalize() so that we can recover objects.
6109 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
6111 * docs/manual/advanced-schedulers.xml:
6112 * docs/manual/appendix-checklist.xml:
6113 * docs/pwg/advanced-clock.xml:
6114 * docs/pwg/advanced-interfaces.xml:
6115 * docs/pwg/advanced-request.xml:
6116 * docs/pwg/advanced-types.xml:
6117 * docs/pwg/intro-preface.xml:
6118 * examples/plugins/example.c: (gst_example_get_type),
6119 (gst_example_class_init), (gst_example_chain),
6120 (gst_example_set_property), (gst_example_get_property),
6121 (gst_example_change_state), (plugin_init):
6122 * examples/plugins/example.h:
6125 2005-05-17 Wim Taymans <wim@fluendo.com>
6127 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6128 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6129 * gst/gstqueue.c: (gst_queue_change_state):
6130 Clear queue when going to READY.
6131 Remove IN_SETCAPS flag too.
6133 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
6135 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6136 Remove implicit cast from gboolean to GstElementStateReturn;
6137 make sure we still return failure in paused => ready case if
6138 the parent class fails to change state and our own stop
6141 2005-05-17 Wim Taymans <wim@fluendo.com>
6143 * tools/gst-launch.c: (event_loop):
6144 Message was unreffed too soon.
6146 2005-05-16 Andy Wingo <wingo@pobox.com>
6148 * gst/gstbin.c (sink_iterator_filter): Err... um...
6150 * check/gst/gstbin.c (test_ghost_pads): New test for the
6151 ghosting-if-elements-not-in-same-bin behavior.
6153 2005-05-16 David Schleef <ds@schleef.org>
6155 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6156 accessing refcount directly.
6158 2005-05-15 David Schleef <ds@schleef.org>
6160 * check/Makefile.am: remove GstData checks
6161 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6162 * gst/Makefile.am: add miniobject, remove data
6163 * gst/gst.h: add miniobject, remove data
6164 * gst/gstdata.c: remove
6165 * gst/gstdata.h: remove
6166 * gst/gstdata_private.h: remove
6167 * gst/gsttypes.h: remove GstEvent and GstMessage
6168 * gst/gstelement.c: (gst_element_post_message): fix for API changes
6169 * gst/gstmarshal.list: change BOXED -> OBJECT
6171 Implement GstMiniObject.
6172 * gst/gstminiobject.c:
6173 * gst/gstminiobject.h:
6175 Modify to be subclasses of GstMiniObject.
6176 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6177 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6178 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6179 (gst_subbuffer_get_type), (gst_subbuffer_init),
6180 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6183 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6184 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6185 (_gst_event_copy), (gst_event_new):
6187 * gst/gstmessage.c: (_gst_message_initialize),
6188 (gst_message_get_type), (gst_message_class_init),
6189 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6190 (gst_message_new), (gst_message_new_error),
6191 (gst_message_new_warning), (gst_message_new_tag),
6192 (gst_message_new_state_changed), (gst_message_new_application):
6194 * gst/gstprobe.c: (gst_probe_perform),
6195 (gst_probe_dispatcher_dispatch):
6197 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6198 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6199 (_gst_query_copy), (gst_query_new):
6201 Update elements for GstData -> GstMiniObject changes
6203 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6204 (gst_queue_chain), (gst_queue_loop):
6205 * gst/elements/gstbufferstore.c:
6206 (gst_buffer_store_add_buffer_func),
6207 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6208 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6209 (gst_fakesink_render):
6210 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6211 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6212 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6213 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6214 (gst_filesrc_create_read):
6215 * gst/elements/gstidentity.c: (gst_identity_class_init):
6216 * gst/elements/gsttypefindelement.c:
6217 (gst_type_find_element_src_event), (free_entry_buffers),
6218 (gst_type_find_element_handle_event):
6219 * libs/gst/dataprotocol/dataprotocol.c:
6220 (gst_dp_header_from_buffer):
6221 * libs/gst/dataprotocol/dataprotocol.h:
6222 * libs/gst/dataprotocol/dp-private.h:
6224 2005-05-15 David Schleef <ds@schleef.org>
6226 * gst/elements/gstelements.c: Don't include headers that were
6229 2005-05-15 David Schleef <ds@schleef.org>
6231 * gst/elements/Makefile.am: Remove some elements that don't
6232 need to be in the core (or even exist at all).
6233 * gst/elements/gstaggregator.c:
6234 * gst/elements/gstaggregator.h:
6235 * gst/elements/gstmd5sink.c:
6236 * gst/elements/gstmd5sink.h:
6237 * gst/elements/gstmultifilesrc.c:
6238 * gst/elements/gstmultifilesrc.h:
6239 * gst/elements/gstpipefilter.c:
6240 * gst/elements/gstpipefilter.h:
6241 * gst/elements/gstshaper.c:
6242 * gst/elements/gstshaper.h:
6243 * gst/elements/gststatistics.c:
6244 * gst/elements/gststatistics.h:
6245 * po/POTFILES.in: Remove above files.
6247 2005-05-14 Andy Wingo <wingo@pobox.com>
6249 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6250 so as to get the refs right.
6251 (sink_iterator_filter): New function, wraps bin_element_is_sink,
6252 unreffing objects that don't pass the filter.
6254 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6255 gst_element_set_bus.
6256 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6257 normal cases, this will destroy the bus.
6259 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6262 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6265 2005-05-13 Andy Wingo <wingo@pobox.com>
6267 * gst/gstutils.c (gst_element_link_pads): Instead of calling
6268 gst_pad_link, call pad_link_maybe_ghosting,
6269 (pad_link_maybe_ghosting): Links pads, making sure that the
6270 elements being linked are in the same bin.
6271 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6272 Helpers for pad_link_maybe_ghosting.
6274 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6277 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6279 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6281 * docs/design/part-element-source.txt:
6284 2005-05-12 Wim Taymans <wim@fluendo.com>
6286 * gst/base/gstbasesink.c: (gst_basesink_init),
6287 (gst_basesink_activate):
6288 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6289 (gst_basesrc_is_seekable):
6290 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6291 (bin_element_is_sink), (gst_bin_change_state):
6292 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6294 Identify sinks by their flag to avoid overly complicated
6296 Do state changes even for elements not reachable from the
6298 BaseSink is a sink now :)
6299 Some more debugging info in the basesrc.
6302 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6304 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6305 Implement _query on a bin, similar to _send_event.
6307 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
6309 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6310 Discont event offset format should be GST_FORMAT_BYTES,
6311 not GST_FORMAT_TIME.
6313 2005-05-12 Wim Taymans <wim@fluendo.com>
6315 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6316 Same fix as Ronald's but without the signal.
6318 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6320 * gst/gstutils.c: (gst_element_query_position):
6321 No, an element is not a pad.
6323 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6325 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6326 (gst_bin_get_state):
6327 If a child is removed from a bin while we remove the child from
6328 the bin and while we're retrieving its state, signal this to the
6329 get_state function so we abort the wait (instead of waiting for
6330 a timeout) and can immediately re-iterate over all other elements.
6332 2005-05-12 Wim Taymans <wim@fluendo.com>
6334 * gst/base/Makefile.am:
6335 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6336 (gst_basesrc_start):
6337 * gst/base/gstbasesrc.h:
6338 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6339 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6340 (gst_pushsrc_init), (gst_pushsrc_create):
6341 * gst/base/gstpushsrc.h:
6342 Added is_seekable to BaseSrc
6343 Added simple PushSrc.
6345 2005-05-11 Wim Taymans <wim@fluendo.com>
6347 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6348 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6349 (gst_element_link_pads), (gst_element_query_position),
6350 (gst_element_query_convert), (intersect_caps_func),
6351 (gst_pad_query_position), (gst_pad_query_convert):
6352 Fix refcounting in utils function.
6353 No point in trying to activate a pad when it's added, it could
6354 be added from the state change function and then we deadlock, the
6355 element has to decide what to do.
6357 2005-05-10 Andy Wingo <wingo@pobox.com>
6359 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6360 *all* the arguments.
6362 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6363 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6364 lock (according to the docs -- if this is wrong change the docs).
6366 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6367 flush messages in the NULL state.
6369 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6370 message immediately and return.
6371 (gst_bus_set_flushing): New function. If a bus is flushing, it
6372 flushes out any queued messages and immediately unrefs new
6373 messages. This is so when an element goes to NULL, all of the
6374 unhandled messages coming from it can be freed, and their
6375 references to the element dropped. In other words: message source
6376 ref considered harmful :P
6378 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6379 we're finished with it.
6381 * gst/gstmessage.c (gst_message_new_state_changed):
6383 2005-05-10 Wim Taymans <wim@fluendo.com>
6385 * gst/gstvalue.c: (gst_value_compare_flags),
6386 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6387 (_gst_value_initialize):
6388 Added flags serialize/deserialize/compare code.
6390 2005-05-09 Andy Wingo <wingo@pobox.com>
6392 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6393 Intersect the peer's caps with our caps.
6395 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6397 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6398 * gst/elements/gsttypefindelement.c: (find_peek):
6399 Handle negative offsets better. Fixes decodebin.
6401 2005-05-09 Wim Taymans <wim@fluendo.com>
6403 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6404 (gst_base_transform_event):
6405 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6406 Implement accept_caps.
6407 Fix silly lock/unlock mismatch in base class.
6409 2005-05-09 Wim Taymans <wim@fluendo.com>
6411 * docs/design/draft-push-pull.txt:
6412 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6413 * gst/elements/gstfilesink.c: (gst_filesink_init),
6414 (gst_filesink_query):
6415 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6416 (gst_type_find_handle_src_query), (find_element_get_length):
6417 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6421 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6422 (gst_real_pad_get_caps_unlocked),
6423 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6424 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6425 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6426 (gst_real_pad_dispose), (gst_real_pad_finalize),
6427 (gst_pad_load_and_link), (gst_pad_save_thyself),
6428 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6429 (gst_pad_check_pull_range), (gst_pad_pull_range),
6430 (gst_pad_template_get_type), (gst_pad_template_class_init),
6431 (gst_pad_template_init), (gst_pad_template_dispose),
6432 (name_is_valid), (gst_static_pad_template_get),
6433 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6434 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6435 (gst_pad_get_element_private), (gst_pad_start_task),
6436 (gst_pad_pause_task), (gst_pad_stop_task),
6437 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6438 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6439 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6440 (gst_ghost_pad_new):
6442 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6443 (gst_query_new_position), (gst_query_set_position),
6444 (gst_query_parse_position), (gst_query_new_convert),
6445 (gst_query_set_convert), (gst_query_parse_convert):
6447 * gst/gstqueryutils.c:
6448 * gst/gstqueryutils.h:
6449 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6450 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6451 (gst_queue_handle_src_query):
6452 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6453 (gst_element_query_position), (gst_element_query_convert),
6454 (intersect_caps_func), (gst_pad_query_position),
6455 (gst_pad_query_convert):
6457 * tools/gst-inspect.c: (print_pad_info):
6458 * tools/gst-xmlinspect.c: (print_element_info):
6459 Remove old query functions. Ported old code.
6460 Added position/convert helper functions to gstutils.
6461 Reordered gstpad.c code, grouping relevant things.
6462 Remove gst_message_new(), always need to speficy a specific
6466 2005-05-09 Andy Wingo <wingo@pobox.com>
6468 * gst/gstiterator.h: Add some includes.
6470 * gst/gstqueryutils.h: Include more headers.
6473 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6474 some uses of gst_pad_query.
6476 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6477 NULL out parameters.
6478 (gst_query_new_position): New proc, allocates a new position
6481 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6482 gstqueryutils.c to the build.
6484 * gst/gststructure.c (gst_structure_set_valist): Implement with
6485 the generic G_VALUE_COLLECT.
6487 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6489 * gst/Makefile.am: (gst_headers):
6490 Added gstqueryutils.h to the list of headers to install, that was
6491 a 'nachty' move wingo :)
6493 2005-05-06 Andy Wingo <wingo@pobox.com>
6496 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6497 GstData, init a memchunk.
6498 (standard_definitions): Add a few query types, deprecate a few.
6499 (gst_query_get_type): New proc.
6500 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6502 (gst_query_new_application, gst_query_get_structure): New public
6505 * docs/design/draft-query.txt: Removed LINKS from the query types,
6506 because all the rest can be dispatched to other pads -- seemed
6507 ugly to have a query that couldn't be dispatched. internal_links
6508 is fine as a pad method.
6510 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6511 in gstpad.c, but maintain binary compatibility for the moment.
6512 Will fix before 0.9 is out.
6514 * gst/gstqueryutils.c:
6515 * gst/gstqueryutils.h: New files, implement 3 methods for each
6516 query type: parse_query, parse_response, and set. Probably need an
6519 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6521 * gst/elements/gstfilesink.c (gst_filesink_query2):
6522 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6523 query_types, and formats methods.
6525 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6526 (gst_pad_set_query2_function): New functions.
6527 (gst_real_pad_init): Set query2_default as the default query2
6528 function. Basically just dispatches to internally linked pads.
6532 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6533 without using the atomic operations. Only one thread can possibly
6534 be accessing the data at this point. Changed so as to avoid
6535 gst_atomic operations.
6537 2005-05-06 Wim Taymans <wim@fluendo.com>
6539 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6540 Also set caps if we use the fallback buffer alloc.
6542 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
6544 * docs/gst/Makefile.am:
6545 * docs/gst/gstreamer-docs.sgml:
6546 * docs/gst/gstreamer-sections.txt:
6547 * docs/gst/tmpl/gstatomic.sgml:
6548 * docs/gst/tmpl/gstmemchunk.sgml:
6549 * testsuite/elements/struct_i386.h:
6550 * win32/GStreamer.vcproj:
6552 Purge GstAtomic stuff from docs and win32 makefiles as well
6554 2005-05-06 Wim Taymans <wim@fluendo.com>
6556 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6557 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6558 * gst/gstpad.c: (gst_pad_peer_get_caps):
6559 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6560 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6561 (gst_queue_src_activate), (gst_queue_change_state):
6563 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6564 (intersect_caps_func):
6565 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6566 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6567 Some fixes for the peer_get_caps() change.
6569 2005-05-06 Wim Taymans <wim@fluendo.com>
6571 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6572 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6573 (gst_basesink_activate):
6574 Actually do something with error codes returned from the push
6577 2005-05-06 Wim Taymans <wim@fluendo.com>
6579 * docs/design/part-element-sink.txt:
6580 * docs/design/part-element-source.txt:
6581 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6582 (gst_basesink_event), (gst_basesink_activate):
6583 * gst/base/gstbasesink.h:
6584 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6585 (gst_basesrc_activate):
6586 * gst/base/gstbasesrc.h:
6587 * gst/gstelement.c: (gst_element_pads_activate):
6588 Some more documentation.
6589 Fixed scheduling decision in _pads_activate().
6591 2005-05-05 Andy Wingo <wingo@pobox.com>
6593 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6596 2005-05-05 Wim Taymans <wim@fluendo.com>
6598 * gst/base/Makefile.am:
6599 * gst/base/gstbasesink.h:
6600 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6601 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6602 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6603 (gst_collectpads_class_init), (gst_collectpads_init),
6604 (gst_collectpads_finalize), (gst_collectpads_new),
6605 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6606 (find_pad), (gst_collectpads_remove_pad),
6607 (gst_collectpads_is_active), (gst_collectpads_collect),
6608 (gst_collectpads_collect_range), (gst_collectpads_start),
6609 (gst_collectpads_stop), (gst_collectpads_peek),
6610 (gst_collectpads_pop), (gst_collectpads_available),
6611 (gst_collectpads_read), (gst_collectpads_flush),
6612 (gst_collectpads_chain):
6613 * gst/base/gstcollectpads.h:
6614 * gst/elements/Makefile.am:
6615 * gst/elements/gstelements.c:
6616 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6617 (gst_fakesink_get_times), (gst_fakesink_event),
6618 (gst_fakesink_preroll), (gst_fakesink_render):
6619 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6620 (gst_filesink_init), (gst_filesink_set_location),
6621 (gst_filesink_open_file), (gst_filesink_close_file),
6622 (gst_filesink_pad_query), (gst_filesink_event),
6623 (gst_filesink_render), (gst_filesink_change_state):
6624 * gst/elements/gstfilesink.h:
6625 Added object to help in making collect pad based elements.
6627 Make event function in sink baseclass return gboolean.
6629 2005-05-05 Wim Taymans <wim@fluendo.com>
6631 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6632 (gst_bin_get_by_name):
6634 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6635 (gst_clock_finalize):
6636 * gst/gstdata.c: (gst_data_replace):
6638 * gst/gstelement.c: (gst_element_request_pad),
6639 (gst_element_pads_activate):
6640 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6642 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6643 (gst_pad_set_checkgetrange_function),
6644 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6645 (gst_pad_check_pull_range), (gst_pad_pull_range),
6646 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6647 (gst_pad_pause_task), (gst_pad_stop_task):
6648 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6649 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6650 Fix name lookup in GstBin.
6651 Added _data_replace() function and _buffer_replace()
6652 Use finalize method to clean up clock.
6653 Fix refcounting on request pads.
6654 Fix pad schedule mode error.
6655 Some more object refcounting debug info,
6658 2005-05-04 Andy Wingo <wingo@pobox.com>
6660 * check/Makefile.am:
6661 * docs/gst/tmpl/gstatomic.sgml:
6662 * docs/gst/tmpl/gstplugin.sgml:
6663 * gst/base/gstbasesink.c: (gst_basesink_activate):
6664 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6665 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6666 (gst_basesrc_query), (gst_basesrc_set_property),
6667 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6668 (gst_basesrc_activate):
6669 * gst/base/gstbasesrc.h:
6670 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6671 (gst_base_transform_src_activate):
6672 * gst/elements/gstelements.c:
6673 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6674 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6675 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6676 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6677 (gst_type_find_element_checkgetrange),
6678 (gst_type_find_element_activate):
6679 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6680 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6681 (gst_caps_load_thyself):
6682 * gst/gstelement.c: (gst_element_pads_activate),
6683 (gst_element_save_thyself), (gst_element_restore_thyself):
6684 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6685 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6687 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6688 (gst_xml_parse_file), (gst_xml_parse_memory),
6689 (gst_xml_get_element), (gst_xml_make_element):
6690 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6691 (_file_index_id_save_xml), (gst_file_index_commit):
6692 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6693 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6695 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6696 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6697 * tools/gst-complete.c: (main):
6698 * tools/gst-compprep.c: (main):
6699 * tools/gst-inspect.c: (print_element_properties_info):
6700 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6701 * tools/gst-xmlinspect.c: (print_element_properties):
6704 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6706 * gst/gstplugin.c: (gst_plugin_check_module),
6707 (gst_plugin_check_file), (gst_plugin_load_file):
6708 apply patch from #172526 to make register work on MacOSX
6710 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6712 * docs/gst/tmpl/gstconfig.sgml:
6713 * gst/gstconfig.h.in:
6714 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6715 * testsuite/debug/printf_extension.c: (main):
6716 Do not use GST_PTR_FORMAT on pointers to types with
6717 sizeof < sizeof(gpointer). Fixes test on 64-bit
6718 * testsuite/elements/property.h:
6719 use correct printf format
6721 2005-05-02 Wim Taymans <wim@fluendo.com>
6723 * docs/design/draft-push-pull.txt:
6724 * docs/design/draft-query.txt:
6725 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6726 (gst_basesrc_start):
6727 Added draft for new query API.
6728 Added draft for better selecting scheduling methods.
6729 Make basesrc ignore length if the subclass does not support
6732 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6735 possible fixes for automake-1.5 - _LIBADD is reserved
6737 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6739 * docs/faq/Makefile.am:
6740 * docs/manual/Makefile.am:
6742 * docs/pwg/Makefile.am:
6744 possible fixes for automake-1.5
6746 2005-04-28 Wim Taymans <wim@fluendo.com>
6748 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6749 (gst_basesink_pad_getcaps), (gst_basesink_init),
6750 (gst_basesink_do_sync):
6751 * gst/gstclock.c: (gst_clock_entry_new):
6752 * gst/gstevent.c: (gst_event_discont_get_value):
6753 * gst/gstpipeline.c: (pipeline_bus_handler),
6754 (gst_pipeline_change_state):
6755 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6756 Better debugging of clocking info.
6757 Allow NULL values when getting discont values.
6759 2005-04-27 Wim Taymans <wim@fluendo.com>
6761 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6762 * check/gst/gstpad.c: (gst_pad_suite):
6763 Increase timeout for checks.
6765 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6767 * check/Makefile.am:
6768 fix the broken rule for cleanup. Apparently this rule is
6769 only needed on FC2, so maybe this warrants further autotool
6772 2005-04-26 Wim Taymans <wim@fluendo.com>
6774 * gst/gsttrashstack.h:
6775 Ooohh. a nasty one! After having a failed pop() from the stack,
6776 it's possible that the stack is empty. In that case, don't
6777 follow the NULL pointer.
6779 2005-04-25 Wim Taymans <wim@fluendo.com>
6781 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6782 (gst_pad_set_checkgetrange_function),
6783 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6784 (gst_pad_check_pull_range), (gst_pad_pull_range),
6785 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6786 (gst_pad_pause_task), (gst_pad_stop_task):
6787 * gst/gstplugin.c: (gst_plugin_load):
6789 Remove gst_library_load as it does more harm than good with
6790 the new g_module flags.
6791 Revert bogus caps template check in pad linking, pad caps
6792 are important when linking not the template, which is more
6793 general than the current caps.
6795 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6797 * gst/autoplug/.cvsignore:
6798 * gst/autoplug/Makefile.am:
6799 * gst/autoplug/gstsearchfuncs.c:
6800 * gst/autoplug/gstsearchfuncs.h:
6801 * gst/autoplug/gstspider.c:
6802 * gst/autoplug/gstspider.h:
6803 * gst/autoplug/gstspideridentity.c:
6804 * gst/autoplug/gstspideridentity.h:
6805 * gst/autoplug/spidertest.c:
6808 2005-04-25 Wim Taymans <wim@fluendo.com>
6810 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6811 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6812 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6813 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6815 Added stubs for unimplemented functions.
6817 2005-04-24 David Schleef <ds@schleef.org>
6819 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6822 2005-04-24 David Schleef <ds@schleef.org>
6824 Convert everything from GstAtomicInt to g_atomic_int_*, and
6829 * gst/gstatomic_impl.h:
6837 * gst/gstdata_private.h:
6844 * gst/gststructure.c:
6845 * gst/gststructure.h:
6846 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6849 2005-04-24 David Schleef <ds@schleef.org>
6851 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6852 make the regressions tests work. Remove some code that is no
6854 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6855 Disable warning for pads without templates.
6857 2005-04-24 David Schleef <ds@schleef.org>
6859 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6860 functions that handle filtered links.
6861 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6863 * gst/gstutils.c: Fix/remove utility functions that handle
6866 * gst/gstvalue.c: Add serialization/deserialization of caps
6867 * gst/parse/grammar.y: Ignore filtered caps when linking. This
6868 requires fixing so that the filter caps notation creates
6869 a capsfilter element and sets the filter_caps property. I
6870 think everyone probably wants to keep the shorthand notation.
6871 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6872 * docs/gst/tmpl/gstpad.sgml:
6874 * gst/elements/gstelements.c: Register capsfilter element.
6875 * gst/Makefile.am: fix spacing
6876 * docs/random/ds/0.9-suggested-changes: random
6878 2005-04-23 David Schleef <ds@schleef.org>
6880 * gst/elements/Makefile.am:
6881 * gst/elements/gstcapsfilter.c: New element that acts like an
6882 identity, but filters caps. Will eventually replace filtered
6883 caps in pad linking.
6884 * gst/gstutils.c: (gst_element_create_all_pads): New function
6885 to create all the ALWAYS pads that are registered with an
6886 element class. This functionality should eventually be
6887 merged in with GstElement initialization.
6889 * testsuite/trigger/README: part of trigger test code that should
6890 have been checked in a long time ago.
6892 2005-04-23 David Schleef <ds@schleef.org>
6894 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
6895 needed with new versions of libtool (nobody will confirm this),
6896 and hard to carry around.
6897 * gst/autoplug/Makefile.am:
6898 * gst/base/Makefile.am:
6899 * gst/elements/Makefile.am:
6900 * gst/indexers/Makefile.am:
6901 * gst/schedulers/Makefile.am:
6902 * libs/gst/bytestream/Makefile.am:
6903 * libs/gst/control/Makefile.am:
6904 * libs/gst/dataprotocol/Makefile.am:
6905 * libs/gst/getbits/Makefile.am:
6907 2005-04-21 Wim Taymans <wim@fluendo.com>
6909 * docs/design/draft-push-pull.txt:
6910 * docs/design/part-MT-refcounting.txt:
6911 * docs/design/part-TODO.txt:
6912 * docs/design/part-caps.txt:
6913 * docs/design/part-events.txt:
6914 * docs/design/part-gstbus.txt:
6915 * docs/design/part-gstpipeline.txt:
6916 * docs/design/part-messages.txt:
6917 * docs/design/part-push-pull.txt:
6918 * docs/design/part-query.txt:
6921 2005-04-21 Wim Taymans <wim@fluendo.com>
6923 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
6924 (gst_message_new), (gst_message_new_error),
6925 (gst_message_new_warning), (gst_message_new_tag),
6926 (gst_message_new_state_changed), (gst_message_new_application),
6927 (gst_message_get_structure):
6929 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6930 (gst_structure_copy_conditional):
6931 Use parent refcount in GstMessage to ensure GstStructure
6933 Cleaned up headers a bit.
6936 2005-04-20 Wim Taymans <wim@fluendo.com>
6938 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6939 (gst_basesink_pad_getcaps), (gst_basesink_init),
6940 (gst_basesink_chain_unlocked):
6941 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
6942 (gst_type_find_helper):
6943 * gst/elements/gsttypefindelement.c:
6944 (gst_type_find_element_have_type), (gst_type_find_element_init),
6945 (stop_typefinding), (gst_type_find_element_handle_event),
6946 (find_suggest), (gst_type_find_element_chain),
6947 (gst_type_find_element_checkgetrange),
6948 (gst_type_find_element_getrange), (do_typefind),
6949 (gst_type_find_element_activate):
6950 * gst/gstbuffer.c: (_gst_buffer_sub_free),
6951 (gst_buffer_default_free), (gst_buffer_default_copy),
6952 (gst_buffer_set_caps):
6953 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
6955 * gst/gstmessage.c: (gst_message_new),
6956 (gst_message_new_state_changed):
6957 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6958 (gst_pad_set_checkgetrange_function),
6959 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
6960 (gst_pad_set_caps), (gst_pad_check_pull_range),
6961 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
6963 * gst/gsttypefind.c: (gst_type_find_register):
6964 Make gst_caps_replace() work like other _replace() functions.
6965 Use _caps_replace() where possible.
6966 Make sure _message_new() initialises its field.
6967 Add gst_static_pad_template_get_caps()
6970 2005-04-18 Andy Wingo <wingo@pobox.com>
6972 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
6973 on the peer, not the pad. I think that was a typo. Pass an extra
6974 arg to see if random access is possible. Activate the pads as
6975 PULL_RANGE if possible.
6977 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
6979 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
6980 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
6983 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6985 * docs/faq/using.xml:
6986 Add note on gstreamer-properties (#154996).
6988 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6990 * docs/random/bbb/optional-properties:
6991 Some analysis on optional properties.
6993 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6995 * docs/gst/tmpl/gstelementfactory.sgml:
6997 * gst/gstelementfactory.c: (gst_element_factory_init),
6998 (gst_element_factory_cleanup), (gst_element_register),
6999 (__gst_element_factory_add_static_pad_template),
7000 (gst_element_factory_get_static_pad_templates),
7001 (gst_element_factory_can_src_caps),
7002 (gst_element_factory_can_sink_caps):
7003 * gst/registries/Makefile.am:
7004 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7005 (gst_xml_registry_class_init), (gst_xml_registry_init),
7006 (gst_xml_registry_new), (gst_xml_registry_set_property),
7007 (gst_xml_registry_get_property), (get_time), (make_dir),
7008 (gst_xml_registry_get_perms_func),
7009 (plugin_times_older_than_recurse), (plugin_times_older_than),
7010 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7011 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7012 (add_to_char_array), (read_string), (read_uint), (read_enum),
7013 (load_pad_template), (load_feature), (load_plugin), (load_paths),
7014 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7015 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7016 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7017 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7018 (gst_xml_registry_rebuild):
7019 * gst/registries/gstlibxmlregistry.h:
7020 * tools/gst-compprep.c: (main):
7021 * tools/gst-inspect.c: (print_pad_templates_info):
7022 * tools/gst-xmlinspect.c: (print_element_info):
7023 Use libxml2 for registry parsing, use staticpadtemplates in
7024 elementfactories. Makes gst_init() +/- 10x faster.
7026 2005-04-12 Wim Taymans <wim@fluendo.com>
7028 * gst/base/Makefile.am:
7029 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7030 (gst_basesink_pad_getcaps), (gst_basesink_init),
7031 (gst_basesink_event), (gst_basesink_change_state):
7032 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7033 (gst_basesrc_init), (gst_basesrc_query),
7034 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7035 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7036 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7037 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7038 (gst_basesrc_stop), (gst_basesrc_activate),
7039 (gst_basesrc_change_state):
7040 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7041 (helper_find_suggest), (gst_type_find_helper):
7042 * gst/base/gsttypefindhelper.h:
7043 * gst/elements/Makefile.am:
7044 * gst/elements/gstelements.c:
7045 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7046 (gst_fakesink_get_times), (gst_fakesink_event),
7047 (gst_fakesink_preroll), (gst_fakesink_render):
7048 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7049 (gst_fakesrc_init), (gst_fakesrc_event_handler),
7050 (gst_fakesrc_get_property), (gst_fakesrc_create),
7051 (gst_fakesrc_start), (gst_fakesrc_stop):
7052 * gst/elements/gstfakesrc.h:
7053 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
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_is_seekable), (gst_filesrc_get_size),
7058 (gst_filesrc_start):
7059 * gst/elements/gsttypefindelement.c:
7060 (gst_type_find_element_have_type), (gst_type_find_element_init),
7061 (start_typefinding), (stop_typefinding), (push_buffer_store),
7062 (gst_type_find_element_handle_event),
7063 (gst_type_find_element_chain),
7064 (gst_type_find_element_checkgetrange),
7065 (gst_type_find_element_getrange), (do_typefind),
7066 (gst_type_find_element_activate),
7067 (gst_type_find_element_change_state):
7068 * gst/elements/gsttypefindelement.h:
7069 * gst/gstpipeline.c: (pipeline_bus_handler):
7070 Added typefind helper.
7071 Small preroll fix in the base sink.
7072 Disable typefind code in basesrc.
7073 Crude port of typefindelement.
7077 2005-04-11 Wim Taymans <wim@fluendo.com>
7079 * check/gst/gstbus.c: (gstbus_suite):
7080 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7082 Fix up the timeout so that the test does not fail.
7084 2005-04-06 Wim Taymans <wim@fluendo.com>
7087 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7088 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7089 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7090 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7091 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7092 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7093 (gst_basesrc_stop), (gst_basesrc_activate),
7094 (gst_basesrc_change_state), (basesrc_find_peek),
7095 (basesrc_find_suggest), (gst_basesrc_type_find):
7096 * gst/base/gstbasesrc.h:
7097 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7098 (gst_filesrc_class_init), (gst_filesrc_init),
7099 (gst_filesrc_finalize), (gst_filesrc_set_location),
7100 (gst_filesrc_set_property), (gst_filesrc_get_property),
7101 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7102 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7103 (gst_filesrc_create_read), (gst_filesrc_create),
7104 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7105 * gst/elements/gstfilesrc.h:
7106 * gst/gstelement.c: (gst_element_get_state_func),
7107 (gst_element_lost_state), (gst_element_pads_activate):
7108 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7109 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7110 (gst_pad_pull_range):
7112 More work on the generic source base class, implement seeking,
7114 Make filesrc extend the base source class.
7115 Added gst_pad_set_checkgetrange_function to GstPad.
7117 2005-04-06 Andy Wingo <wingo@pobox.com>
7119 * pkgconfig/gstreamer-base.pc.in:
7120 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7122 * pkgconfig/Makefile.am:
7123 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7125 2005-04-04 Wim Taymans <wim@fluendo.com>
7127 * gst/base/Makefile.am:
7129 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7130 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7131 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7132 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7133 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7134 (gst_basesrc_base_init), (gst_basesrc_class_init),
7135 (gst_basesrc_init), (gst_basesrc_get_formats),
7136 (gst_basesrc_get_query_types), (gst_basesrc_query),
7137 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7138 (gst_basesrc_set_property), (gst_basesrc_get_property),
7139 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7140 (gst_basesrc_loop), (gst_basesrc_activate),
7141 (gst_basesrc_change_state):
7142 * gst/base/gstbasesrc.h:
7143 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7144 (gst_fakesrc_class_init), (gst_fakesrc_init),
7145 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7146 (gst_fakesrc_get_property), (gst_fakesrc_create):
7147 * gst/elements/gstfakesrc.h:
7148 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7149 (gst_filesrc_open_file), (gst_filesrc_loop),
7150 (gst_filesrc_activate), (filesrc_find_peek),
7151 (gst_filesrc_type_find):
7152 Made base source class, make fakesrc extend it.
7153 Add comments to basesink class.
7154 Some filesrc cleanup.
7156 2005-03-31 David Schleef <ds@schleef.org>
7158 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7159 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7160 expected to link against libgstreamer.
7161 * gst/base/Makefile.am: link against libgstreamer
7162 * gst/elements/Makefile.am: same
7164 2005-03-31 Andy Wingo <wingo@pobox.com>
7166 * tests/instantiate/Makefile.am:
7167 * tests/instantiate/caps.c: Add test to test speed of caps copy
7170 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7171 GMemChunk to be fair.
7173 * gst/gsttrashstack.h: Remove warning about using the fallback
7174 trash stack implementation, it's still faster than malloc.
7176 2005-03-30 Andy Wingo <wingo@pobox.com>
7178 * tests/complexity.c: Add a copyright.
7180 2005-03-31 Wim Taymans <wim@fluendo.com>
7182 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7183 (gst_base_transform_class_init), (gst_base_transform_init),
7184 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7185 (gst_base_transform_get_property),
7186 (gst_base_transform_sink_activate),
7187 (gst_base_transform_src_activate),
7188 (gst_base_transform_change_state):
7189 * gst/base/gstbasetransform.h:
7190 * gst/elements/gstidentity.c: (gst_identity_class_init),
7191 (gst_identity_event), (gst_identity_check_perfect),
7192 (gst_identity_transform), (gst_identity_start),
7193 (gst_identity_stop):
7194 Added start/stop methods to transform base class so subclasses
7195 don't need to deal with state changes even.
7197 2005-03-31 Wim Taymans <wim@fluendo.com>
7199 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7200 (gst_event_new_discontinuous), (gst_event_discont_get_value):
7202 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7203 (gst_pad_pull_range):
7204 Added rate to the discont event to prepare for variable speed
7205 and reverse playback.
7207 2005-03-29 David Schleef <ds@schleef.org>
7210 * testsuite/trigger/Makefile.am:
7211 * testsuite/trigger/trigger.c: A little example program to show
7212 how trigger-based elements can work.
7214 2005-03-29 Wim Taymans <wim@fluendo.com>
7216 * gst/base/Makefile.am:
7218 * gst/base/gstbasesink.c: (gst_basesink_get_type),
7219 (gst_basesink_base_init), (gst_basesink_class_init),
7220 (gst_basesink_pad_getcaps), (gst_basesink_init),
7221 (gst_basesink_activate), (gst_basesink_change_state):
7222 * gst/base/gstbasesink.h:
7223 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7224 (gst_base_transform_base_init), (gst_base_transform_finalize),
7225 (gst_base_transform_class_init), (gst_base_transform_init),
7226 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7227 (gst_base_transform_event), (gst_base_transform_getrange),
7228 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7229 (gst_base_transform_set_property),
7230 (gst_base_transform_get_property),
7231 (gst_base_transform_sink_activate),
7232 (gst_base_transform_src_activate),
7233 (gst_base_transform_change_state):
7234 * gst/base/gstbasetransform.h:
7235 * gst/elements/gstidentity.c: (gst_identity_finalize),
7236 (gst_identity_class_init), (gst_identity_init),
7237 (gst_identity_event), (gst_identity_check_perfect),
7238 (gst_identity_transform), (gst_identity_set_property),
7239 (gst_identity_get_property), (gst_identity_change_state):
7240 * gst/elements/gstidentity.h:
7241 * gst/gstelement.c: (gst_element_get_state_func),
7242 (gst_element_lost_state), (gst_element_pads_activate):
7243 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7244 (gst_pad_check_pull_range), (gst_pad_pull_range):
7246 Simplify pad activation.
7247 Added function to check if pull_range can be performed.
7248 Error out when pulling inactive or flushing pads.
7249 Removed const from refcounted types as it does not make sense.
7250 Simplify pad templates in basesink
7251 Added base class for simple 1-to-1 transforms.
7252 Make identity subclass the base transform.
7254 2005-03-29 Andy Wingo <wingo@pobox.com>
7256 * docs/libs/gstreamer-libs-overrides.txt:
7257 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7258 really don't understand what's going on, but like whatever. I want
7261 * docs/gst/Makefile.am:
7262 * docs/libs/Makefile.am: Dist the overrides files.
7264 * check/Makefile.am (clean-local): Remove .libs directories.
7266 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7267 elements to EXTRA_DIST, so po/ files are happy.
7269 * po/POTFILES.in: Er, remove it here.
7271 * po/POTFILES: Remove gstspider.c.
7273 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7275 * docs/libs/gstreamer-libs-docs.sgml:
7276 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7279 * tests/complexity.c (main): Set the length of the preroll queue
7280 on the sinks to prevent a lockup.
7282 * libs/gst/dataprotocol/Makefile.am:
7283 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7284 the same as the one in check/gst-libs/gdp.c.
7286 * po/, docs/gst/: Commit automatic changes to docs and po files.
7288 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7289 the versioned libgstbase.
7291 * check/Makefile.am: Depend on an unversioned gst-register, seems
7292 to make autoconf happier.
7294 * gst/base/Makefile.am: Make libgstbase a versioned lib.
7296 2005-03-28 Wim Taymans <wim@fluendo.com>
7299 * docs/design/part-gstelement.txt:
7300 * docs/design/part-negotiation.txt:
7301 * docs/design/part-preroll.txt:
7302 * docs/design/part-scheduling.txt:
7303 * docs/design/part-states.txt:
7305 * gst/base/Makefile.am:
7307 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7308 (gst_basesink_base_init), (gst_basesink_class_init),
7309 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7310 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7311 (gst_basesink_set_pad_functions),
7312 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7313 (gst_basesink_set_property), (gst_basesink_get_property),
7314 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7315 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7316 (gst_basesink_preroll_queue_push),
7317 (gst_basesink_preroll_queue_empty),
7318 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7319 (gst_basesink_event), (gst_basesink_get_times),
7320 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7321 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7322 (gst_basesink_loop), (gst_basesink_activate),
7323 (gst_basesink_change_state):
7324 * gst/base/gstbasesink.h:
7325 * gst/elements/Makefile.am:
7326 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7327 (gst_fakesink_class_init), (gst_fakesink_init),
7328 (gst_fakesink_set_property), (gst_fakesink_get_property),
7329 (gst_fakesink_get_times), (gst_fakesink_event),
7330 (gst_fakesink_preroll), (gst_fakesink_render),
7331 (gst_fakesink_change_state):
7332 * gst/elements/gstfakesink.h:
7333 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7334 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7335 * gst/gstelement.c: (gst_element_add_pad),
7336 (gst_element_get_state_func), (gst_element_abort_state),
7337 (gst_element_commit_state), (gst_element_lost_state),
7338 (gst_element_set_state), (gst_element_pads_activate):
7339 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7340 * gst/gstpipeline.c: (gst_pipeline_send_event),
7341 (gst_pipeline_change_state):
7342 Added state change code.
7344 Added sink base class, make fakesink extend the base class.
7345 Small cleanups in GstPipeline.
7347 2005-03-26 David Schleef <ds@schleef.org>
7349 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7350 is broken and should be implemented in a different library.
7351 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7352 * gst/gst.h: remove gstcpu.h
7353 * gst/gstcpu.c: remove
7354 * gst/gstcpu.h: remove
7355 * gst/Makefile.am.future: Remove this file. It's ancient.
7357 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7359 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7360 (gst_bin_send_event):
7361 Add default event/set_manager handlers. The set_manager handler
7362 takes care that the manager is distributed over kids that were
7363 already in the bin before the manager was set. The event handler
7364 is a utility virtual function that sends the event over all sinks,
7365 so that gst_element_send_event (bin, event); has the expected
7367 * gst/gstpad.c: (gst_pad_event_default):
7368 Re-install default event handling for discontinuities, so that
7369 seeking works without requiring hacks in applications or extra
7371 * gst/gstpipeline.c: (gst_pipeline_class_init),
7372 (gst_pipeline_send_event):
7373 Half hack, half utility: set a pipeline to PAUSED for seek events,
7374 since that is the only way we can guarantee a/v sync. Means that
7375 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7376 and it "just works".
7378 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7380 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7381 Lock/unlock mismatch.
7383 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7385 * docs/faq/gst-uninstalled:
7386 add gst-plugins-base
7387 * docs/gst/Makefile.am:
7388 don't error out until docs are fixed
7389 * docs/gst/gstreamer.types:
7392 2005-03-22 Wim Taymans <wim@fluendo.com>
7394 * check/Makefile.am:
7395 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7396 * gst/gststructure.c: (gst_structure_set_valist),
7397 (gst_structure_copy_conditional):
7398 Activated more tests.
7400 Added G_TYPE_POINTER to GstStructure.
7403 2005-03-22 Wim Taymans <wim@fluendo.com>
7405 * docs/design/part-TODO.txt:
7406 * docs/design/part-events.txt:
7407 * docs/design/part-gstbin.txt:
7408 * docs/design/part-gstbus.txt:
7409 * docs/design/part-gstpipeline.txt:
7410 * docs/design/part-messages.txt:
7415 2005-03-21 Wim Taymans <wim@fluendo.com>
7417 * gst/gstbus.c: (gst_bus_post):
7418 Fix copy-and-paste error.
7420 2005-03-21 Wim Taymans <wim@fluendo.com>
7422 * check/Makefile.am:
7424 * gst/elements/Makefile.am:
7425 * gst/elements/gstelements.c:
7426 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7427 (gst_fakesink_event), (gst_fakesink_chain):
7428 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7429 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7430 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7431 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7432 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7433 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7434 (gst_fakesrc_loop), (gst_fakesrc_activate),
7435 (gst_fakesrc_change_state):
7436 * gst/elements/gstfakesrc.h:
7437 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7438 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7439 (gst_filesrc_open_file), (gst_filesrc_loop),
7440 (gst_filesrc_activate), (gst_filesrc_change_state),
7441 (filesrc_find_peek), (filesrc_find_suggest),
7442 (gst_filesrc_type_find):
7443 * gst/elements/gstidentity.c: (gst_identity_finalize),
7444 (gst_identity_class_init), (gst_identity_init),
7445 (gst_identity_proxy_getcaps), (identity_queue_push),
7446 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7447 (gst_identity_getrange), (gst_identity_chain),
7448 (gst_identity_sink_loop), (gst_identity_src_loop),
7449 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7450 (gst_identity_set_property), (gst_identity_get_property),
7451 (gst_identity_change_state):
7452 * gst/elements/gstidentity.h:
7453 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7454 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7455 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7456 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7457 (gst_tee_sink_activate):
7458 * gst/elements/gsttee.h:
7459 * gst/gst.c: (gst_register_core_elements), (init_post):
7461 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7462 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7463 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7464 (gst_bin_change_state):
7466 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7467 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7468 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7469 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7470 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7471 (bus_watch_callback), (bus_watch_destroy),
7472 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7473 (poll_timeout), (gst_bus_poll):
7477 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7478 (gst_element_post_message), (gst_element_message_full),
7479 (gst_element_get_state_func), (gst_element_get_state),
7480 (gst_element_abort_state), (gst_element_commit_state),
7481 (gst_element_lost_state), (gst_element_set_state),
7482 (gst_element_pads_activate), (gst_element_change_state),
7483 (gst_element_dispose), (gst_element_set_manager_func),
7484 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7485 (gst_element_set_manager), (gst_element_get_manager),
7486 (gst_element_set_bus), (gst_element_get_bus),
7487 (gst_element_set_scheduler), (gst_element_get_scheduler):
7489 * gst/gstevent.c: (gst_event_new_segment_seek),
7490 (gst_event_new_flush):
7492 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7493 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7494 (gst_message_new_eos), (gst_message_new_error),
7495 (gst_message_new_warning), (gst_message_new_tag),
7496 (gst_message_new_state_changed), (gst_message_new_application),
7497 (gst_message_get_structure), (gst_message_parse_tag),
7498 (gst_message_parse_state_changed), (gst_message_parse_error),
7499 (gst_message_parse_warning):
7501 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7502 (gst_real_pad_set_property), (gst_pad_set_active),
7503 (gst_pad_is_active), (gst_pad_set_blocked_async),
7504 (gst_pad_set_blocked), (gst_pad_is_blocked),
7505 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7506 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7507 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7508 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7509 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7510 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7511 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7512 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7513 (gst_pad_set_caps), (gst_pad_configure_sink),
7514 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7515 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7516 (gst_real_pad_dispose), (gst_real_pad_finalize),
7517 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7518 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7519 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7521 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7522 (pipeline_bus_handler), (gst_pipeline_change_state),
7523 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7524 * gst/gstpipeline.h:
7526 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7527 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7528 (gst_queue_link_src), (gst_queue_bufferalloc),
7529 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7530 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7531 (gst_queue_loop), (gst_queue_handle_src_event),
7532 (gst_queue_handle_src_query), (gst_queue_src_activate),
7533 (gst_queue_change_state):
7535 * gst/gstscheduler.c: (gst_scheduler_init),
7536 (gst_scheduler_dispose), (gst_scheduler_create_task),
7537 (gst_scheduler_factory_create):
7538 * gst/gstscheduler.h:
7539 * gst/gststructure.c: (gst_structure_get_type),
7540 (gst_structure_copy_conditional):
7541 * gst/gststructure.h:
7542 * gst/gsttaginterface.h:
7543 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7544 (gst_task_init), (gst_task_dispose), (gst_task_create),
7545 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7551 * gst/schedulers/Makefile.am:
7552 * gst/schedulers/cothreads_compat.h:
7553 * gst/schedulers/entryscheduler.c:
7554 * gst/schedulers/faircothreads.c:
7555 * gst/schedulers/faircothreads.h:
7556 * gst/schedulers/fairscheduler.c:
7557 * gst/schedulers/gstbasicscheduler.c:
7558 * gst/schedulers/gstoptimalscheduler.c:
7559 * gst/schedulers/gthread-cothreads.h:
7560 * gst/schedulers/threadscheduler.c:
7561 (gst_thread_scheduler_task_get_type),
7562 (gst_thread_scheduler_task_class_init),
7563 (gst_thread_scheduler_task_init),
7564 (gst_thread_scheduler_task_start),
7565 (gst_thread_scheduler_task_stop),
7566 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7567 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7568 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7569 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7571 * libs/gst/Makefile.am:
7572 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7573 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7574 (gst_file_pad_parent_set):
7575 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7576 (gst_dp_event_from_packet):
7577 * tests/complexity.c: (main):
7578 * tests/mass_elements.c: (main):
7579 * testsuite/states/locked.c: (message_received), (main):
7580 * testsuite/states/parent.c: (main):
7581 * tools/gst-inspect.c: (print_element_flag_info),
7582 (print_implementation_info), (print_pad_info):
7583 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7585 * tools/gst-md5sum.c: (event_loop), (main):
7586 * tools/gst-typefind.c: (main):
7587 * tools/gst-xmlinspect.c: (print_element_info):
7589 Added GstBus for mainloop integration.
7590 Added GstMessage for sending notifications on the bus.
7591 Added GstTask as an abstraction for pipeline entry points.
7594 Simplified GstQueue for multithreaded core.
7595 Made _link threadsafe, removed old capsnego.
7596 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7597 Added pad blocking functions.
7598 Reworked scheduling functions in GstPad to prepare for
7599 scheduling updates soon.
7600 Moved events out of data stream.
7601 Simplified GstEvent types.
7602 Added return values to push/pull.
7603 Removed clocking from GstElement.
7604 Added prototypes for state change function for next merge.
7605 Removed iterate from bins and state change management.
7606 Fixed some elements, disabled others for now.
7607 Fixed -inspect and -launch.
7608 Added check for GstBus.
7610 2005-03-10 Wim Taymans <wim@fluendo.com>
7612 * docs/design/part-MT-refcounting.txt:
7613 * docs/design/part-clocks.txt:
7614 * docs/design/part-gstelement.txt:
7615 * docs/design/part-gstobject.txt:
7616 * docs/design/part-standards.txt:
7617 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7618 (gst_bin_remove_func), (gst_bin_remove):
7622 * testsuite/clock/clock1.c: (main):
7623 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7625 * testsuite/dlopen/loadgst.c: (do_test):
7626 * testsuite/refcounting/bin.c: (add_remove_test1),
7627 (add_remove_test2), (main):
7628 * testsuite/refcounting/element.c: (main):
7629 * testsuite/refcounting/element_pad.c: (main):
7630 * testsuite/refcounting/pad.c: (main):
7631 * tools/gst-launch.c: (sigint_handler_sighandler):
7632 * tools/gst-typefind.c: (main):
7634 Added doc about clock.
7635 removed gst_bin_iterate_recurse_up(), marked methods
7637 Fix more testsuites.
7639 2005-03-09 Wim Taymans <wim@fluendo.com>
7641 * gst/gstpad.c: (gst_pad_get_direction),
7642 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7643 (gst_pad_collect_valist):
7644 * testsuite/bins/interface.c: (main):
7645 * testsuite/caps/audioscale.c: (test_caps):
7646 * testsuite/caps/caps.c: (test1), (test2), (test3):
7647 * testsuite/caps/deserialize.c: (main):
7648 * testsuite/caps/enumcaps.c: (main):
7649 * testsuite/caps/filtercaps.c: (main):
7650 * testsuite/caps/intersect2.c: (main):
7651 * testsuite/caps/random.c: (main):
7652 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7653 * testsuite/caps/sets.c: (check_caps):
7654 * testsuite/caps/simplify.c: (check_caps), (main):
7655 * testsuite/caps/subtract.c: (check_caps):
7656 Fix _pad_get_direction wrt ghostpads.
7659 2005-03-09 Wim Taymans <wim@fluendo.com>
7661 * check/Makefile.am:
7662 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7663 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7664 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7665 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7666 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7667 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7668 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7669 (bin_element_is_sink), (gst_bin_iterate_sinks),
7670 (gst_bin_iterate_all_by_interface):
7672 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7673 (gst_element_change_state), (gst_element_dispose),
7674 (gst_element_finalize), (gst_element_set_loop_function):
7676 * gst/gstiterator.c: (find_custom_fold_func):
7677 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7678 (gst_pad_collectv), (gst_pad_collect_valist),
7679 (gst_pad_template_new):
7680 * gst/gstpipeline.c: (gst_pipeline_class_init),
7681 (gst_pipeline_dispose), (gst_pipeline_set_property),
7682 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7683 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7684 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7686 * gst/schedulers/entryscheduler.c:
7687 * gst/schedulers/gstbasicscheduler.c:
7688 (gst_basic_scheduler_cothreaded_chain),
7689 (gst_basic_scheduler_chain_add_element):
7690 * testsuite/bins/interface.c: (main):
7692 Added GstSystemClock test.
7693 Implemented clock distribution code in GstBin.
7694 Implemented iterate sinks method for future use.
7695 Rearranged gstelement.h
7696 Fix GstIterator comparison bug.
7697 Moved some code to GstPipeline, mostly clocking related.
7699 2005-03-09 Wim Taymans <wim@fluendo.com>
7702 * gst/gst_private.h:
7703 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7704 (gst_bin_remove_func), (gst_bin_remove),
7705 (gst_bin_get_by_name_recurse_up):
7706 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7707 (gst_clock_id_compare_func), (gst_clock_id_wait),
7708 (gst_clock_id_wait_async), (gst_clock_init),
7709 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7711 * gst/gstinfo.c: (_gst_debug_init):
7713 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7714 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7716 Bump version number, we're now 0.9.0
7717 Add future debugging category.
7718 Fix NULL _unref() in _get_by_name_recurse_up
7722 2005-03-08 Wim Taymans <wim@fluendo.com>
7724 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7725 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7726 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7727 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7728 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7729 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7730 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7731 * gst/elements/gstidentity.c: (gst_identity_class_init):
7732 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7733 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7734 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7735 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7736 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7738 * gst/gstelement.c: (gst_element_class_init),
7739 (gst_element_base_class_init), (gst_element_init),
7740 (gst_element_get_random_pad), (gst_element_wait_state_change),
7741 (gst_element_change_state), (gst_element_dispose),
7742 (gst_element_finalize), (gst_element_set_loop_function):
7744 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7745 * gst/gstthread.c: (gst_thread_class_init),
7746 (gst_thread_release_children_locks), (gst_thread_change_state):
7747 * gst/schedulers/gstbasicscheduler.c:
7748 (gst_basic_scheduler_loopfunc_wrapper),
7749 (gst_basic_scheduler_chain_wrapper),
7750 (gst_basic_scheduler_src_wrapper),
7751 (gst_basic_scheduler_remove_element):
7752 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7753 Remove threadsafe properties. Fix elements because GObject
7754 complains when installing a property before declaring a
7755 set/get_property handler.
7756 Rearrange gstelement.h file, use STATE macros for state locks.
7757 Free mutexes in the finalize method instead of dispose.
7759 2005-03-08 Wim Taymans <wim@fluendo.com>
7761 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7762 * gst/gstthread.c: (gst_thread_release_children_locks):
7763 Added parentage check.
7764 Fix build og GstThread again.
7766 2005-03-08 Wim Taymans <wim@fluendo.com>
7768 * docs/design/part-MT-refcounting.txt:
7769 * docs/design/part-conventions.txt:
7770 * docs/design/part-gstobject.txt:
7771 * docs/design/part-relations.txt:
7772 * docs/design/part-standards.txt:
7773 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7774 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7775 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7776 (gst_bin_iterate_all_by_interface):
7779 * gst/gstelement.c: (gst_element_class_init),
7780 (gst_element_change_state), (gst_element_set_loop_function):
7782 * gst/gstiterator.c:
7783 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7784 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7785 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7786 (gst_object_set_parent), (gst_object_unparent),
7787 (gst_object_check_uniqueness):
7789 Docs updates, clean up some headers.
7791 2005-03-07 Wim Taymans <wim@fluendo.com>
7794 * check/Makefile.am:
7795 * check/gst-libs/.cvsignore:
7796 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7797 * check/gst/.cvsignore:
7798 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7799 (START_TEST), (gstbus_suite), (main):
7800 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7801 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7802 (gst_data_suite), (main):
7803 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7804 (add_fold_func), (gstiterator_suite), (main):
7805 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7806 (thread_name_object), (thread_name_object_default),
7807 (gst_object_name_compare), (gst_object_suite), (main):
7808 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7809 (gst_pad_suite), (main):
7810 * check/gstcheck.c: (gst_check_log_message_func),
7811 (gst_check_log_critical_func), (gst_check_init):
7813 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7814 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7817 2005-03-07 Wim Taymans <wim@fluendo.com>
7819 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7820 (gst_list_iterator_next), (gst_list_iterator_resync),
7821 (gst_list_iterator_free), (gst_iterator_new_list),
7822 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7823 (gst_iterator_free), (gst_iterator_push), (filter_next),
7824 (filter_resync), (filter_uninit), (filter_free),
7825 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7826 (gst_iterator_foreach), (find_custom_fold_func),
7827 (gst_iterator_find_custom):
7828 * gst/gstiterator.h:
7829 Added missing files.
7831 2005-03-07 Wim Taymans <wim@fluendo.com>
7835 * docs/design/part-MT-refcounting.txt:
7836 * docs/design/part-conventions.txt:
7837 * docs/design/part-gstobject.txt:
7838 * docs/design/part-relations.txt:
7839 * examples/mixer/mixer.c: (main):
7840 * examples/thread/thread.c: (eos), (main):
7842 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7843 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7844 (gst_spider_plug_from_srcpad):
7845 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7846 (gst_spider_identity_change_state),
7847 (gst_spider_identity_sink_loop_type_finding):
7848 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7849 * gst/elements/gstidentity.c: (gst_identity_init):
7850 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7851 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7852 * gst/elements/gsttypefindelement.c: (free_entry):
7855 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7856 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7857 (gst_bin_set_index), (gst_bin_set_element_sched),
7858 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7859 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7860 (gst_bin_iterate_elements), (iterate_child_recurse),
7861 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7862 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7863 (compare_interface), (gst_bin_get_by_interface),
7864 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7866 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7867 (gst_buffer_default_free), (gst_buffer_default_copy),
7868 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7869 (gst_buffer_create_sub):
7871 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7872 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7873 (gst_caps_unref), (gst_static_caps_get),
7874 (gst_caps_remove_and_get_structure), (gst_caps_append),
7875 (gst_caps_append_structure), (gst_caps_remove_structure),
7876 (gst_caps_copy_nth), (gst_caps_set_simple),
7877 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
7878 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
7879 (gst_caps_structure_intersect_field), (gst_caps_intersect),
7880 (gst_caps_structure_subtract_field), (gst_caps_subtract),
7881 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
7882 (gst_caps_structure_figure_out_union),
7883 (gst_caps_switch_structures), (gst_caps_do_simplify),
7884 (gst_caps_replace), (gst_caps_from_string),
7885 (gst_caps_copy_conditional):
7887 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
7888 (_gst_clock_id_free), (gst_clock_id_unref),
7889 (gst_clock_id_compare_func), (gst_clock_id_wait),
7890 (gst_clock_id_wait_async), (gst_clock_class_init),
7891 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
7892 (gst_clock_get_time), (gst_clock_set_time_adjust),
7893 (gst_clock_set_property), (gst_clock_get_property):
7896 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
7897 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
7899 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7900 (gst_element_requires_clock), (gst_element_provides_clock),
7901 (gst_element_set_clock), (gst_element_clock_wait),
7902 (gst_element_wait), (gst_element_set_time_delay),
7903 (gst_element_is_indexable), (gst_element_add_pad),
7904 (gst_element_add_ghost_pad), (gst_element_remove_pad),
7905 (pad_compare_name), (gst_element_get_static_pad),
7906 (gst_element_request_pad), (gst_element_get_request_pad),
7907 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
7908 (gst_element_class_get_pad_template_list),
7909 (gst_element_class_get_pad_template), (gst_element_error_func),
7910 (gst_element_get_random_pad), (gst_element_get_event_masks),
7911 (gst_element_send_event), (gst_element_seek),
7912 (gst_element_get_query_types), (gst_element_query),
7913 (gst_element_get_formats), (gst_element_convert),
7914 (gst_element_is_locked_state), (gst_element_set_locked_state),
7915 (gst_element_sync_state_with_parent), (gst_element_change_state),
7916 (gst_element_finalize), (gst_element_yield),
7917 (gst_element_interrupt), (gst_element_set_scheduler),
7918 (gst_element_get_scheduler), (gst_element_set_loop_function):
7921 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
7922 (gst_format_get_by_nick), (gst_format_get_details),
7923 (gst_format_iterate_definitions):
7925 * gst/gstindex.c: (gst_index_gtype_resolver):
7928 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
7929 (gst_mem_chunk_free):
7930 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7931 (gst_object_ref), (gst_object_unref), (gst_object_sink),
7932 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
7933 (gst_object_dispatch_properties_changed),
7934 (gst_object_set_name_default), (gst_object_set_name),
7935 (gst_object_get_name), (gst_object_set_name_prefix),
7936 (gst_object_get_name_prefix), (gst_object_set_parent),
7937 (gst_object_get_parent), (gst_object_unparent),
7938 (gst_object_check_uniqueness), (gst_object_save_thyself),
7939 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
7940 (gst_object_set_property), (gst_object_get_property),
7941 (gst_object_get_path_string):
7943 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7944 (gst_real_pad_init), (gst_real_pad_get_property),
7945 (gst_pad_custom_new), (gst_pad_get_direction),
7946 (gst_pad_set_active), (gst_pad_is_active),
7947 (gst_pad_set_event_function), (gst_pad_is_linked),
7948 (gst_pad_link_free), (gst_pad_link_intersect),
7949 (gst_pad_link_fixate), (gst_pad_set_caps),
7950 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
7951 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
7952 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
7953 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
7954 (gst_pad_get_caps), (gst_pad_peer_get_caps),
7955 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
7956 (gst_pad_realize), (gst_pad_get_allowed_caps),
7957 (gst_real_pad_dispose), (gst_real_pad_finalize),
7958 (gst_pad_collectv), (gst_pad_collect_valist),
7959 (gst_pad_template_dispose), (gst_pad_template_new),
7960 (gst_pad_get_internal_links):
7962 * gst/gstpipeline.c: (gst_pipeline_dispose),
7963 (gst_pipeline_change_state):
7964 * gst/gstpipeline.h:
7966 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
7967 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
7968 * gst/gstpluginfeature.h:
7969 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
7970 * gst/gstquery.c: (_gst_query_type_initialize),
7971 (gst_query_type_register), (gst_query_type_get_by_nick),
7972 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
7974 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
7975 * gst/gstscheduler.c: (gst_scheduler_add_element),
7976 (gst_scheduler_factory_create):
7977 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7978 (gst_structure_free), (gst_structure_set_name),
7979 (gst_structure_id_set_value), (gst_structure_set_value),
7980 (gst_structure_set_valist), (gst_structure_remove_field),
7981 (gst_structure_remove_fields),
7982 (gst_structure_remove_fields_valist),
7983 (gst_structure_remove_all_fields), (gst_structure_foreach),
7984 (gst_structure_map_in_place),
7985 (gst_caps_structure_fixate_field_nearest_int),
7986 (gst_caps_structure_fixate_field_nearest_double):
7987 * gst/gststructure.h:
7988 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7989 (gst_system_clock_init), (gst_system_clock_dispose),
7990 (gst_system_clock_async_thread),
7991 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
7992 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7993 * gst/gstsystemclock.h:
7994 * gst/gsttag.c: (gst_tag_list_add_value_internal),
7995 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
7996 * gst/gsttaginterface.c:
7997 * gst/gstthread.c: (gst_thread_dispose),
7998 (gst_thread_release_children_locks), (gst_thread_change_state),
7999 (gst_thread_main_loop):
8000 * gst/gsttrashstack.h:
8001 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8003 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8004 (gst_element_request_pad), (gst_element_get_pad_from_template),
8005 (gst_element_request_compatible_pad),
8006 (gst_element_get_compatible_pad_filtered),
8007 (gst_element_get_compatible_pad), (gst_element_state_get_name),
8008 (gst_element_link_pads_filtered), (gst_element_link_filtered),
8009 (gst_element_link_many), (gst_element_link),
8010 (gst_element_link_pads), (gst_element_unlink_pads),
8011 (gst_element_unlink_many), (gst_element_unlink),
8012 (gst_pad_can_link_filtered), (gst_pad_can_link),
8013 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8014 (gst_object_default_error), (gst_bin_add_many),
8015 (gst_bin_remove_many), (gst_element_populate_std_props),
8016 (gst_element_class_install_std_props), (gst_buffer_merge),
8017 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8018 (link_fold_func), (gst_pad_proxy_setcaps):
8020 * gst/gstvalue.c: (gst_value_deserialize_string):
8021 * gst/parse/grammar.y:
8022 * gst/schedulers/gstbasicscheduler.c:
8023 (gst_basic_scheduler_cothreaded_chain),
8024 (gst_basic_scheduler_chain_recursive_add),
8025 (gst_basic_scheduler_pad_link):
8026 * gst/schedulers/gstoptimalscheduler.c:
8027 (get_group_schedule_function),
8028 (gst_opt_scheduler_state_transition),
8029 (gst_opt_scheduler_add_element), (element_get_reachables_func):
8030 * libs/gst/bytestream/bytestream.c:
8031 * libs/gst/dataprotocol/dataprotocol.c:
8032 (gst_dp_header_from_buffer):
8035 * tests/threadstate/threadstate2.c: (eos):
8036 * tools/gst-compprep.c: (main):
8037 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8038 (print_pad_info), (print_children_info):
8039 * tools/gst-launch.c: (idle_func), (main):
8040 * tools/gst-md5sum.c: (idle_func), (main):
8041 * tools/gst-xmlinspect.c: (print_element_info):
8042 First THREADED backport attempt, focusing on adding locks and
8043 making sure the API is threadsafe. Needs more work. More docs
8046 2005-02-24 Andy Wingo <wingo@pobox.com>
8048 * tests/bench-complexity.scm:
8049 * tests/complexity.gnuplot: New files, good for running complexity
8052 * tests/Makefile.am:
8053 * tests/complexity.c: New test, sets up N elements, at each level
8054 teeing into M streams per element. Eeeenteresting.
8056 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8057 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8058 running bench-mass_elements.scm.
8060 * tests/bench-mass_elements.scm: New script, runs mass_elements
8061 for various numbers of identities, outputting the results to a
8062 file. Requires guile 1.6. Just for testing.
8064 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
8066 * gst/schedulers/fairscheduler.c:
8067 compile with debug disabled
8069 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
8072 hunting season on 0.9 is now OPEN