1 2005-10-06 Wim Taymans <wim@fluendo.com>
3 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4 Don't use NULL pointers.
6 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12 * gst/gstpluginfeature.c:
13 widen the debug category in output to fit the biggest one we have
14 add a bus category and use it
16 fix up some categories
18 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21 add push activation of sink ghost pads.
24 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
26 * gst/gstutils.c: (gst_element_link_pads):
27 fix a bug in the case where neither element has a pad
28 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
29 add a test for that case
31 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
33 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
34 emit have-data before checking for peers. This allows
35 for probe handlers to connect elements. This helps autopluggers.
36 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
38 add six checks, linked/unlinked with no/true/false probe
40 2005-10-04 Wim Taymans <wim@fluendo.com>
42 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
43 (gst_fake_sink_event), (gst_fake_sink_preroll),
44 (gst_fake_sink_render), (gst_fake_sink_change_state):
45 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
46 (gst_fake_src_get_property), (gst_fake_src_create),
48 * gst/elements/gstidentity.c: (gst_identity_stop):
49 Protect last_message with lock.
51 2005-10-04 Edward Hervey <edward@fluendo.com>
54 Added precision in the comments for GST_FORMAT_DEFAULT
56 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
58 * tools/gst-launch.c: (main):
59 Don't try to run erroneous pipelines.
61 2005-10-04 Julien MOUTTE <julien@moutte.net>
63 * gst/gstbus.c: We don't need this header.
65 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
72 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
76 Releasing 0.9.3, "Unregistered"
78 2005-10-03 Andy Wingo <wingo@pobox.com>
80 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
81 whereby calling a pad's activatepush() function can start a thread
82 that starts to push or pull before the pad gets the FLUSHING flag
83 unset. Hack around it by holding the stream lock until the flag is
84 set. Need to replace this with a proper solution. Together with
85 the ghost pad fixes, this fixes mp3 playing/tagreading.
87 * docs/design/part-gstghostpad.txt: Add a note about activation of
88 proxy pads outside of ghost pads.
90 * gst/gstghostpad.c: Implement the ghost pad activation design.
92 2005-10-02 Andy Wingo <wingo@pobox.com>
94 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
95 It is volatile, after all.
97 * docs/design/part-gstghostpad.txt: Flesh out activation with
100 * gst/base/gstbasesrc.c (gst_base_src_init): Use
103 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
106 Fix (unused) AM_CONDITIONAL tests.
108 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
110 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
112 * gst/gstutils.c: (gst_pad_query_convert):
113 Add assertion that makes sure src_val is >=0, just like
114 gst_query_new_convert() has. (#315895)
116 2005-09-30 Edward Hervey <edward@fluendo.com>
118 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
119 Let's not iterate pads we're not interested in, it avoids getting
120 sky-high refcounts on sinkpad.
122 2005-09-30 Wim Taymans <wim@fluendo.com>
124 * gst/gstelement.c: (gst_element_set_state),
125 (gst_element_change_state):
126 Small tweak, element in ASYNC remains ASYNC.
128 2005-09-30 Wim Taymans <wim@fluendo.com>
130 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
131 Only error is an error.
133 * gst/gstbin.c: (gst_bin_change_state):
136 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
137 Also call pad_block in pad alloc.
139 * gst/gstutils.c: (gst_flow_get_name):
142 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
144 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
145 (gst_base_src_get_range):
146 Fix documentation typos. Add some more debug info.
148 2005-09-29 David Schleef <ds@schleef.org>
150 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
151 more end-user friendly.
152 * tools/gst-inspect.c: (main): Check if command-line argument is
153 a file and attempt to load that file as a plugin.
155 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
157 * check/gst/gstbin.c:
158 * check/states/sinks.c:
159 fix tests for the new warning
160 * check/gst/gstpipeline.c:
161 add a test for pipeline and bus interaction
163 elements should be NULL if they get disposed; add a warning if not
165 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
168 for 2.6 refcounting, make debug log more correct by printing
169 the actual refcounts at the time of swap (Wim)
171 2005-09-29 Andy Wingo <wingo@pobox.com>
173 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
174 removes signal watches previously added via
175 gst_bus_add_signal_watch.
176 (gst_bus_add_signal_watch): Don't return the source id, just store
177 it on the bus if there wasn't an id already.
179 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
180 add_signal_watch and remove_signal_watch.
182 2005-09-29 Edward Hervey <edward@fluendo.com>
184 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
185 Better if we actually iterate the list :)
187 2005-09-29 Wim Taymans <wim@fluendo.com>
189 * check/gst/gstbin.c: (GST_START_TEST):
190 Change for new bus API.
192 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
193 (send_messages), (GST_START_TEST), (gstbus_suite):
194 Change for new bus signal API.
196 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
197 (gst_bus_source_prepare), (gst_bus_source_check),
198 (gst_bus_create_watch), (gst_bus_add_watch_full),
199 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
200 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
202 Remove support for multiple GSources operating on different
203 message types as it is too complex and unneeded when using
205 Added support for receiving signals from the bus.
207 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
209 * docs/libs/tmpl/gstdataprotocol.sgml:
210 * docs/manual/advanced-dataaccess.xml:
211 * gst/elements/gstcapsfilter.c:
213 rename filter-caps to caps property
215 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
217 * gst/gstvalue.c: (gst_value_deserialize_fraction):
218 More robust fraction string parsing.
220 * docs/pwg/appendix-porting.xml:
221 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
223 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
225 * gst/gstcaps.c: (gst_caps_do_simplify):
226 Thou shalt not free a structure and then continue using it
227 in the next loop iteration.
229 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
231 Add test case for caps simplification.
233 2005-09-29 Wim Taymans <wim@fluendo.com>
235 * check/gst/gstbin.c: (GST_START_TEST):
238 2005-09-29 Wim Taymans <wim@fluendo.com>
240 * check/gst/gstbin.c: (GST_START_TEST):
243 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
244 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
245 (find_element), (gst_bin_sort_iterator_next),
246 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
247 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
248 (gst_bin_change_state), (gst_bin_dispose):
249 A bin does not have a bus, it gets the bus from the parent.
251 * gst/gstelement.c: (gst_element_requires_clock),
252 (gst_element_provides_clock), (gst_element_is_indexable),
253 (gst_element_is_locked_state), (gst_element_change_state),
254 (gst_element_set_bus_func):
257 * gst/gstpipeline.c: (gst_pipeline_class_init),
258 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
259 The pipeline provides a bus.
261 2005-09-28 Johan Dahlin <johan@gnome.org>
263 * gst/gstmessage.c (gst_message_parse_state_changed): Use
264 gst_structure_get_enum instead of gst_structure_get_int
266 * gst/gststructure.c (gst_structure_get_enum): Impl.
268 * gst/gststructure.h (gst_structure_get_enum): Add
270 * docs/gst/gstreamer-sections.txt: Ditto
272 * gst/gstmessage.c (gst_message_new_state_changed): Use
273 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
274 which does introspection.
275 Reviewed by Christian Schaller
277 2005-09-28 Stefan Kost <ensonic@users.sf.net>
279 * gst/gstinfo.c: (gst_debug_log_default):
280 don't do dummy g_strdup()s
281 * libs/gst/controller/gstcontroller.c:
282 (on_object_controlled_property_changed),
283 (gst_controlled_property_new), (gst_controller_new_valist),
284 (gst_controller_new_list),
285 (gst_controller_remove_properties_valist), (gst_controller_set),
286 (gst_controller_get), (gst_controller_sync_values),
287 (gst_controller_get_value_array), (_gst_controller_class_init),
288 (gst_controller_get_type):
289 * libs/gst/controller/gstcontroller.h:
290 * libs/gst/controller/gstinterpolation.c:
291 (gst_controlled_property_find_timed_value_node):
292 convert // to /**/ comments
294 2005-09-28 Wim Taymans <wim@fluendo.com>
296 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
297 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
298 (gst_bus_sync_signal_handler):
300 Added async-message and sync-message signals to the bus.
301 Added helper BusFunc to emit signals for all posted messages.
303 * gst/gstmessage.c: (gst_message_type_get_name),
304 (gst_message_type_to_quark), (gst_message_get_type):
306 Register quarks for message names.
308 2005-09-28 Stefan Kost <ensonic@users.sf.net>
310 * docs/libs/gstreamer-libs-sections.txt:
311 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
312 (gst_controller_new_list):
313 * libs/gst/controller/gstcontroller.h:
314 added another constructor for language bindings
316 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
318 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
322 * gst/gstinfo.c: (_gst_debug_init):
323 slightly more readable color for refcount debugging
325 2005-09-28 Wim Taymans <wim@fluendo.com>
327 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
328 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
329 (find_element), (gst_bin_sort_iterator_next),
330 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
331 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
332 (gst_bin_change_state), (gst_bin_dispose):
333 Small doc fixes. get_clock -> provide_clock.
335 * gst/gstelement.c: (gst_element_class_init),
336 (gst_element_provides_clock), (gst_element_provide_clock),
337 (gst_element_get_clock), (gst_element_commit_state),
338 (gst_element_lost_state):
340 Make get/set_clock() symetric. Add provide_clock vmethod since
341 that is actually what this function does.
343 * gst/gstpipeline.c: (gst_pipeline_class_init),
344 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
345 (gst_pipeline_get_clock):
346 get_clock -> provide_clock.
348 2005-09-28 Andy Wingo <wingo@pobox.com>
350 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
353 * gst/elements/gstfdsrc.c: Cleaned up a bit.
355 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
357 * gst/elements/gstcapsfilter.c:
358 * gst/elements/gstfakesink.c:
359 * gst/elements/gstfakesrc.c:
360 * gst/elements/gstfdsink.c:
361 * gst/elements/gstfdsrc.c:
362 * gst/elements/gstfilesink.c:
363 * gst/elements/gstfilesrc.c:
364 * gst/elements/gstidentity.c:
365 * gst/elements/gsttee.c:
366 * gst/elements/gsttypefindelement.c:
367 Make element details static.
369 2005-09-28 Wim Taymans <wim@fluendo.com>
371 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
372 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
373 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
374 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
375 (gst_bin_change_state), (gst_bin_dispose):
376 Some documentation updates.
377 Clean up dispose handlers.
379 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
380 * gst/gstpad.c: (gst_pad_dispose):
381 Clean up dispose handler.
383 * gst/gstpipeline.c: (gst_pipeline_change_state):
384 Removed spurious UNLOCK.
386 2005-09-27 Stefan Kost <ensonic@users.sf.net>
388 * docs/gst/gstreamer-sections.txt:
389 * gst/base/gstbasesrc.h:
398 added two new functions to the docs
399 documents all undocumented GstXXXFlags
400 completed some incomplete docs
402 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
404 * gst/gstbin.c: (gst_bin_dispose):
405 * gst/gstelement.c: (gst_element_dispose):
406 remove now useless and leaky resurrection code in dispose
407 * gst/base/gstbasesrc.c: (gst_base_src_init):
408 * gst/gstelementfactory.c: (gst_element_factory_create):
409 * gst/gstobject.c: (gst_object_set_parent):
412 2005-09-27 Wim Taymans <wim@fluendo.com>
414 * docs/design/part-TODO.txt:
417 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
418 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
419 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
420 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
421 (gst_bin_change_state):
423 Remove element variable, we keep element info in the iterator now.
425 2005-09-27 Andy Wingo <wingo@pobox.com>
427 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
430 2005-09-27 Wim Taymans <wim@fluendo.com>
432 * check/gst/gstbin.c: (GST_START_TEST):
433 Enable check that works now.
435 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
436 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
437 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
438 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
439 (gst_bin_change_state):
441 Redid the state change algorithm using a topological sort algo.
442 Handles all cases correctly.
443 Exposed iterator for state change order.
446 Temp storage for state changes. Need to get rid of this soon.
448 2005-09-27 Wim Taymans <wim@fluendo.com>
450 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
451 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
452 (link_fold_func), (gst_pad_proxy_setcaps):
453 Leak fixes, the fold functions need to unref the passed object and
454 _get_parent_*() returns ref to parent.
456 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
458 * check/gst/gstbuffer.c: (test_make_writable):
459 Plug leak in test case and fix 'make check-valgrind'
461 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
463 * gst/gstbuffer.c: (gst_subbuffer_init):
464 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
465 works correctly in all circumstances (we could have just copied
466 the parent buffer's readonly flag, but conceptually it seems
467 cleaner to mark all subbuffers as read-only). (based on patch
468 by Alessandro Decina, #314710).
470 * check/gst/gstbuffer.c: (create_read_only_buffer),
471 (test_make_writable), (test_subbuffer_make_writable),
473 Add some tests for gst_buffer_make_writable().
475 2005-09-27 Wim Taymans <wim@fluendo.com>
477 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
478 use gst_object_has_ancestor().
480 * gst/gstobject.c: (gst_object_has_ancestor):
482 gst_object_has_ancestor() copied from gstbin.c as it is a
485 * tests/instantiate/create.c: (create_all_elements):
486 * tests/lat.c: (handoff_src), (handoff_sink):
487 * tests/sched/runxml.c: (main):
488 * tests/seeking/seeking1.c: (main):
489 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
491 Fix compilation of some tests.
493 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
496 Remove comment. GST_TYPE_G_ERROR is here to stay,
497 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
500 2005-09-26 Wim Taymans <wim@fluendo.com>
502 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
503 Added check that shows error in state change order.
505 2005-09-26 Wim Taymans <wim@fluendo.com>
507 * gst/gstbin.c: (gst_bin_change_state):
508 Make state change function use 3 queues again, we were
509 adding elements in the wrong order.
511 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
514 * gst/gstpad.c: (gst_pad_dispose):
515 Added some debug info first.
517 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
519 * docs/design/draft-push-pull.txt:
520 * docs/design/part-events.txt:
521 * docs/design/part-overview.txt:
522 * docs/design/part-scheduling.txt:
523 Replace all _pull_region() with _pull_range()
525 2005-09-26 Andy Wingo <wingo@pobox.com>
527 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
529 * check/gst-libs/controller.c: Update for controller api change.
533 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
534 over by GLib bug 118439.
536 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
537 routines to a function.
539 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
541 * libs/gst/controller/gsthelper.c:
542 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
543 (gst_object_sync_values): Renamed from sink_values. Ugh.
545 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
547 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
548 Renamed from controller_key, as it is exported.
550 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
552 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
557 * gst/gstpadtemplate.h:
560 * gst/gstqueryutils.c:
561 * gst/gstqueryutils.h:
562 remove queryutils headers after moving the two used functions
563 to gstquery. also fixes build problem for gstsiddec
565 2005-09-26 Michael Smith <msmith@fluendo.com>
567 * tools/gst-launch.1.in:
568 Correct documentation in manpage of debug syntax
570 2005-09-26 Wim Taymans <wim@fluendo.com>
572 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
573 (gst_base_src_is_seekable), (gst_base_src_change_state):
574 Some more debugging info.
576 2005-09-25 Stefan Kost <ensonic@users.sf.net>
578 * docs/gst/gstreamer-sections.txt:
579 * gst/base/gstbasetransform.h:
583 2005-09-25 Stefan Kost <ensonic@users.sf.net>
585 * docs/gst/.cvsignore:
586 * docs/gst/tmpl/.cvsignore:
587 * docs/gst/tmpl/gstpipeline.sgml:
588 * docs/gst/tmpl/gstplugin.sgml:
592 inlined the last two docs files
593 removed the tmpl directory from cvs (no more conflicts here!)
595 2005-09-25 Stefan Kost <ensonic@users.sf.net>
597 * docs/gst/gstreamer-sections.txt:
598 * docs/gst/tmpl/.cvsignore:
599 * docs/gst/tmpl/gstpad.sgml:
600 * docs/gst/tmpl/gstpadtemplate.sgml:
602 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
603 (gst_pad_finalize), (gst_pad_set_pad_template):
605 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
606 (gst_pad_template_class_init), (gst_pad_template_init),
607 (gst_pad_template_dispose), (name_is_valid),
608 (gst_static_pad_template_get), (gst_pad_template_new),
609 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
610 (gst_pad_template_pad_created):
611 * gst/gstpadtemplate.h:
612 inlined two more docs
613 factored gstpadtemplate out of gstpad
615 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
617 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
618 (test_children_state_change_order_semi_sink):
619 Fix test case: we can't rely on a fixed state change order when
620 going from READY => PAUSED because the sink might commit its
621 new state first when the first buffer created by the source
622 reaches the sink before the source has finished its change state.
623 (Test case still fails at times, see #316856, comment 5 onwards)
625 2005-09-24 Wim Taymans <wim@fluendo.com>
627 * docs/design/part-events.txt:
628 * docs/design/part-gstbus.txt:
629 * docs/design/part-gstpipeline.txt:
630 * docs/design/part-messages.txt:
631 * docs/design/part-overview.txt:
632 * docs/design/part-segments.txt:
640 Various documentation updates.
642 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
645 Well, that's embarassing. Luckily we weren't using
646 GST_CLOCK_DIFF anywhere.
648 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
650 * common/gtk-doc.mak:
651 don't fail on building XML, FC4 slave shows a bunch of doc
652 missing bits that I don't get
655 * gst/gststructure.c:
658 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
660 * docs/design/part-gstbin.txt:
661 * docs/design/part-gstbus.txt:
663 Add blurb about how the bus goes into flushing mode and
664 drops all messages when its bin goes from READY into NULL
667 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
669 * docs/gst/gstreamer-sections.txt:
670 * gst/gststructure.c: (gst_structure_get_clock_time):
671 * gst/gststructure.h:
672 add a method to get a GstClockTime out of a structure
674 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
676 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
677 (test_children_state_change_order_semi_sink), (gst_bin_suite):
678 Added test to check state change order in bins (can still be made
679 to fail here under heavy disk load; bails out with 'Push on pad
680 fakesink:sink0, but it was not activated in push mode').
682 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
683 Fix state change order when there is only a semi sink (#316856)
685 * gst/gstbus.c: (gst_bus_class_init):
686 Use _class_peek_parent(), not _class_ref(); fix docs to say
687 'default main context' instead of 'mainloop' where that is
690 * gst/gstelement.c: (gst_element_commit_state),
691 (gst_element_set_state):
692 Fix typos in debug messages
694 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
697 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
698 * gst/gstpluginfeature.c:
701 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
702 change an assert into an error until it gets fixed properly
704 2005-09-23 Stefan Kost <ensonic@users.sf.net>
706 * docs/gst/gstreamer-sections.txt:
707 * docs/gst/tmpl/.cvsignore:
708 * docs/gst/tmpl/gstelement.sgml:
709 * docs/gst/tmpl/gstinfo.sgml:
710 * docs/gst/tmpl/gstobject.sgml:
715 * gst/gstobject.c: (gst_object_class_init):
717 inlined 3 more biiiig doc files and added some missing docs on the fly
719 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
721 * check/gst/.cvsignore:
722 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
723 * gst/gstregistryxml.c: (load_plugin),
724 (gst_registry_xml_save_plugin):
725 put back source in registry. add checks for find_plugin.
726 * testsuite/states/bin.c: (assert_state), (empty_bin),
727 (test_adding_one_element), (main):
728 * testsuite/states/locked.c: (main):
729 some compile/run fixes
731 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
733 * check/gst/gstvalue.c: (GST_START_TEST):
734 fix leaks in the test itself
736 2005-09-22 Wim Taymans <wim@fluendo.com>
738 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
739 (gst_base_sink_send_event), (gst_base_sink_peer_query),
740 (gst_base_sink_query):
741 Prepare for more accurate position reporting and query
744 * gst/gstelement.c: (gst_element_send_event),
745 (gst_element_set_state):
748 2005-09-22 Wim Taymans <wim@fluendo.com>
750 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
751 (gst_query_parse_segment):
754 Add segment query for future use.
756 2005-09-22 Wim Taymans <wim@fluendo.com>
758 * gst/gstbin.c: (gst_bin_add_func):
759 Some more debug info.
761 * gst/gstelement.c: (gst_element_send_event):
765 Don't know how flags got broken.
770 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
772 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
773 Add simplistic test suite for GST_TYPE_DATE serialisation and
776 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
778 * docs/gst/gstreamer-sections.txt:
779 * gst/gststructure.c: (gst_structure_set_valist),
780 (gst_structure_get_date):
781 * gst/gststructure.h:
782 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
783 (gst_date_copy), (gst_value_compare_date),
784 (gst_value_serialize_date), (gst_value_deserialize_date),
785 (gst_value_transform_date_string),
786 (gst_value_transform_string_date), (_gst_value_initialize):
788 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
789 bunch of utility functions along with a hack that checks that
790 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
791 is required. Part of the grand scheme in #170777.
793 2005-09-22 Andy Wingo <wingo@pobox.com>
795 * gst/gstconfig.h.in: Psych out gtk-doc.
797 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
799 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
801 * tools/gst-inspect.c (print_element_list): Plug some
802 inconsequential leaks.
804 * gst/gstregistry.c (gst_registry_get_default): Doc.
806 * check/gst/gstplugin.c:
807 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
808 * gst/gstelementfactory.c (gst_element_factory_create):
809 * gst/gstindexfactory.c (gst_index_factory_create): Update for
812 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
813 (gst_plugin_feature_load): Doc, don't eat refs.
815 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
816 (gst_plugin_list_free): Doc.
817 (gst_plugin_load_file): Doc updates.
819 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
820 accessors returning refcounted objects, return a ref.
822 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
823 accessor for caps. IDEMPOTENCE. Oh yes.
825 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
827 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
829 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
830 (_gst_debug_register_funcptr):
831 Add mutex to serialise access to the hash table with
832 the function pointer => function name string mapping;
833 make that hash table static scope (#316809).
835 * gst/registries/.cvsignore:
836 Remove left-over file.
838 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
840 * docs/pwg/appendix-porting.xml:
841 And something about newsegment events and caps-on-buffers to
842 the porting guide (feel free to improve).
844 2005-09-21 Andy Wingo <wingo@pobox.com>
846 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
847 data and event probes on the same pad.
848 (test_buffer_probe_once): Test that removing probes from within
849 the probe functions works.
851 2005-09-21 Andy Wingo <wingo@pobox.com>
853 * check/gst/gstutils.c: New file.
854 (test_buffer_probe_n_times): A simple buffer probe test. More to
857 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
858 have-data::buffer, not have-data.
859 (gst_pad_add_event_probe): Likewise for have-data::event.
860 (gst_pad_add_data_probe): More docs. The part about 'resolving the
861 peer' isn't quite right yet though.
862 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
863 (gst_pad_remove_data_probe): Change to take the guint handler_id
864 as their arg, not the function+data, which is more glib-like.
866 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
867 the signal emission to indicate if the data is a buffer or an
869 (gst_pad_get_type): Initialize buffer and event quarks.
870 (gst_pad_class_init): have-data is now a detailed signal, yes it
873 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
875 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
876 * gst/gstutils.c: (gst_util_set_value_from_string),
877 (gst_util_set_object_arg):
878 Don't put functional code in g_return_if_fail() or
879 g_return_val_if_fail() statements, otherwise things will
880 break when G_DISABLE_CHECKS is defined during compilation.
882 2005-09-21 Stefan Kost <ensonic@users.sf.net>
884 * docs/gst/tmpl/.cvsignore:
885 * docs/gst/tmpl/gstvalue.sgml:
888 inlied another one and added some obvious docs
890 2005-09-21 Wim Taymans <wim@fluendo.com>
892 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
893 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
894 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
895 (gst_fdsrc_get_property), (gst_fdsrc_create):
896 * gst/elements/gstfdsrc.h:
897 Properly implement fdsrc. Removed signal and timeout,
898 better implemented somewhere else.
900 2005-09-21 Stefan Kost <ensonic@users.sf.net>
902 * docs/gst/tmpl/.cvsignore:
903 * docs/gst/tmpl/gstimplementsinterface.sgml:
904 * gst/gstinterface.c:
907 2005-09-21 Stefan Kost <ensonic@users.sf.net>
909 * docs/gst/gstreamer-sections.txt:
910 * docs/gst/tmpl/.cvsignore:
911 * docs/gst/tmpl/gstenumtypes.sgml:
912 remove obsolete doc file
914 2005-09-21 David Schleef <ds@schleef.org>
916 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
917 little beer, fix a little leak.
919 2005-09-21 Stefan Kost <ensonic@users.sf.net>
921 * docs/gst/gstreamer-docs.sgml:
922 * docs/gst/gstreamer-sections.txt:
923 * docs/gst/tmpl/.cvsignore:
928 * gst/gstindex.c: (gst_index_class_init):
930 * gst/gstindexfactory.c: (gst_index_factory_get_type),
931 (gst_index_factory_class_init), (gst_index_factory_init),
932 (gst_index_factory_finalize), (gst_index_factory_new),
933 (gst_index_factory_destroy), (gst_index_factory_find),
934 (gst_index_factory_create), (gst_index_factory_make):
935 * gst/gstindexfactory.h:
936 * gst/gstpluginfeature.c:
937 * gst/gstpluginfeature.h:
938 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
939 more docs inlined, splitted gstindex.{c,h}
941 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
943 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
946 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
948 * gst/elements/gstfilesink.c: (gst_file_sink_init):
949 Set sync to FALSE by default.
951 2005-09-20 Wim Taymans <wim@fluendo.com>
953 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
954 (gst_base_sink_init):
955 Make sync property settable from subclass.
957 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
958 (gst_fake_sink_change_state):
959 Set sync to FALSE by default.
961 2005-09-20 Wim Taymans <wim@fluendo.com>
963 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
964 * tools/gst-launch.c: (main):
965 The timeout handler should have lower priority than the source
966 so we don't timeout before popping a message with 0 timeout.
967 Dump error messages after failed state change.
969 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
971 * tools/gst-inspect.c: (print_element_properties_info):
974 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
976 * check/gst/gstevent.c:
977 * gst/elements/gstfakesink.c:
978 * gst/elements/gstfakesink.h:
979 remove the sync property from fakesink.
980 has the side effect of setting sync TRUE
981 for fakesink, which is a change. Anyone who knows how
982 to fix this nicely in a GObject-y way, feel free.
984 2005-09-20 Stefan Kost <ensonic@users.sf.net>
986 * docs/gst/gstreamer-docs.sgml:
987 remove probe refsection
989 2005-09-20 Stefan Kost <ensonic@users.sf.net>
992 disable valgrinding the controller test again
993 * docs/gst/gstreamer-sections.txt:
994 update for api-changes
996 2005-09-20 Wim Taymans <wim@fluendo.com>
998 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
999 (gst_base_sink_set_property), (gst_base_sink_get_property),
1000 (gst_base_sink_do_sync):
1001 * gst/base/gstbasesink.h:
1002 Added sync property to basesink to disable clock sync.
1004 2005-09-20 Andy Wingo <wingo@pobox.com>
1006 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1007 eating the caller's refcount.
1009 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
1010 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1013 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1014 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1015 of GLib 2.8 public, so we can know which refcount to check in
1018 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1019 (gst_object_init): Only set the gst refcount if we're going ahead
1020 with the refcount hack.
1022 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1024 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1025 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1026 more leaks plumbed, added more debug-logging
1030 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1033 remove include of gstmemchunk.h
1035 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1037 * gst/gstclock.c: (_gst_clock_id_free):
1038 Commit from the Political Party For More Atomic CVS Commits,
1039 so that people don't waste too much of their day fishing
1040 out obvious leaks out of massive commits.
1041 Oh, and fix a pretty damn obvious leak in the memchunk
1044 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1046 * check/Makefile.am:
1047 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1048 plug mem-leak, re-add to valgrindable tests
1050 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1053 unbreak the build for those who have chronic arthritis
1054 and typing "make check" is just too taxing on the hands
1056 2005-09-20 Andy Wingo <wingo@pobox.com>
1058 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1059 really want it out, you should fix plugins at the same time.
1061 2005-09-19 Stefan Kost <ensonic@users.sf.net>
1064 * docs/gst/gstreamer-sections.txt:
1066 added missing symbols to api docs
1067 disable ref-count hack if we have glib >= 2.8
1069 2005-09-19 David Schleef <ds@schleef.org>
1071 * docs/gst/Makefile.am: Ignore a few more internal headers
1072 * docs/gst/gstreamer-docs.sgml: Remove old sections
1073 * docs/gst/gstreamer-sections.txt: Remove old sections
1074 * docs/gst/tmpl/gstobject.sgml: update
1075 * docs/gst/tmpl/gstplugin.sgml: update
1076 * docs/gst/tmpl/gstpluginfeature.sgml: update
1077 * docs/random/ds/0.9-suggested-changes: update.
1078 * gst/Makefile.am: remove memchunk and trashstack, since they're
1080 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1081 * gst/gst.h: don't include some headers
1082 * gst/gstchildproxy.c: add gstmarshal.h
1083 * gst/gstclock.c: Don't use memchunks
1084 * gst/gstminiobject.c: Add some docs
1085 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1086 * gst/gstobject.h: same
1087 * gst/gstplugin.c: include gstmacros.h
1088 * gst/gstplugin.h: don't include gstmacros.h, since it's private
1089 * gst/gstquery.c: don't use memchunks
1090 * gst/gstregistry.c: rename gst_registry_deinit()
1091 * gst/gstregistry.h: same
1093 2005-09-19 David Schleef <ds@schleef.org>
1095 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1096 * docs/libs/gstreamer-libs-sections.txt:
1097 * docs/libs/tmpl/gstgetbits.sgml:
1098 * docs/libs/tmpl/gstputbits.sgml:
1100 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
1102 * win32/gstenumtypes.c:
1103 * win32/gstenumtypes.h:
1106 2005-09-19 Wim Taymans <wim@fluendo.com>
1108 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1109 Automatically PAUSE and RESUME a pipeline when a flushing seek
1112 2005-09-19 Andy Wingo <wingo@pobox.com>
1114 * gst/gstregistry.h: Spacing fixen.
1116 2005-09-19 Wim Taymans <wim@fluendo.com>
1118 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1119 Handle state change failure more correctly.
1121 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1123 * check/Makefile.am:
1124 * check/pipelines/cleanup.c: (run_pipeline):
1125 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1127 enable cleanup again after fixing the leak
1129 some more info on docs
1131 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1133 * check/Makefile.am:
1134 re-enable tests now that leaks are plugged
1136 * check/gst/gstbin.c:
1137 * check/gst/gstpipeline.c:
1138 add some more tests while fixing leaks
1140 make sure binaries are uptodate when valgrinding/gdbing
1142 * gst/gstelementfactory.c:
1143 remove a ref too many, and add a FIXME for when we get
1144 round to disposing of classes
1146 fix the refcounting when loading a plugin from a file and
1147 the code pretends that the pointer is the same even though
1148 of course it can change
1149 * gst/gstpluginfeature.c:
1150 unref plugins marked cached (a bit confusing as a name)
1151 as the docs state should be done
1152 various doc additions to explain refcounting
1153 * gst/gstregistry.c:
1154 * gst/gstregistryxml.c:
1157 2005-09-19 Wim Taymans <wim@fluendo.com>
1159 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1160 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1161 (send_messages), (GST_START_TEST), (gstbus_suite):
1162 * check/gst/gstpipeline.c: (GST_START_TEST):
1163 * check/pipelines/cleanup.c: (run_pipeline):
1164 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1166 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1167 (gst_bus_source_check), (gst_bus_source_dispatch),
1168 (gst_bus_create_watch), (gst_bus_add_watch_full),
1169 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1171 * tools/gst-launch.c: (event_loop):
1172 * tools/gst-md5sum.c: (event_loop):
1173 GstBusHandler -> GstBusFunc, return value has the same meaning as
1174 any other GSource (FALSE == remove source).
1175 _add_watch() and _add_watch_full() now take a MessageType mask to
1176 only handle specific types of messages.
1177 _poll() returns the GstMessage instead of the message type to avoid
1179 _have_pending() takes a MessageType mask now too.
1180 Added testsuite for multiple bus watches.
1181 Fix testsuites and applications for new bus API.
1183 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1185 * check/Makefile.am:
1186 mark a bunch of the tests as to fix until we fix them
1188 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1191 use GST_PLUGIN settings for valgrind tests as well, so we're
1192 valgrinding the correct thing
1193 * gst/gst.c: (init_post):
1196 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1198 * gst/gst.c: (init_post), (gst_deinit):
1199 * gst/gstelementfactory.c: (gst_element_factory_class_init),
1200 (gst_element_factory_finalize), (gst_element_factory_cleanup):
1201 * gst/gstindex.c: (gst_index_factory_class_init),
1202 (gst_index_factory_finalize):
1203 * gst/gstobject.c: (gst_object_dispose):
1204 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1205 (gst_plugin_load_file), (gst_plugin_desc_free):
1206 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1207 (gst_plugin_feature_finalize):
1208 * gst/gstregistry.c: (gst_registry_class_init),
1209 (gst_registry_init), (gst_registry_finalize),
1210 (gst_registry_get_default), (gst_registry_deinit):
1211 * gst/gstregistry.h:
1212 * gst/gstregistryxml.c: (load_feature), (load_plugin):
1213 various cleanups and memleak plugging. make valgrind is happy now.
1215 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1218 add a check-valgrind target
1220 2005-09-18 David Schleef <ds@schleef.org>
1222 * tools/gst-inspect.c: Revert the GOption code.
1224 2005-09-17 David Schleef <ds@schleef.org>
1226 * check/Makefile.am: Fix environment variables.
1227 * check/gst/gstplugin.c: Fix for API changes.
1228 * tools/gst-inspect.c: Fix for API changes.
1229 * tools/gst-xmlinspect.c: Fix for API changes.
1230 * gst/gstelementfactory.c:
1233 * gst/gstpluginfeature.c:
1234 * gst/gstpluginfeature.h:
1235 * gst/gstregistry.c:
1236 * gst/gstregistry.h:
1237 * gst/gstregistryxml.c:
1238 * gst/gsttypefind.c:
1239 * gst/gsttypefindfactory.c:
1240 * gst/indexers/gstfileindex.c:
1241 * gst/indexers/gstmemindex.c:
1242 * gst/schedulers/Makefile.am:
1243 Change registry to keep track of both plugins and features,
1244 removing the feature tracking from plugins themselves.
1246 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1248 * check/Makefile.am:
1249 * tools/gst-register.1.in:
1252 2005-09-15 David Schleef <ds@schleef.org>
1254 * check/gst/gstplugin.c:
1255 * gst/gstelementfactory.c:
1257 * gst/gstpluginfeature.c:
1258 * gst/gstregistry.c:
1259 Getting tired of debugging. Disabled all the unreffing of
1260 plugins and features, which fixes the segfaults, but of
1261 course leaks like crazy. At least playbin works.
1263 2005-09-15 David Schleef <ds@schleef.org>
1265 * check/gst/gstplugin.c: (register_check_elements),
1266 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1268 * gst/elements/gsttypefindelement.c: Fix refcounting.
1269 * gst/gsttypefind.c:
1270 * gst/gsttypefindfactory.c:
1271 * gst/gsttypefindfactory.h:
1273 2005-09-15 David Schleef <ds@schleef.org>
1275 * gst/gstindex.c: get refcounting correct.
1276 * gst/gstregistry.c: Handle the case where a feature/plugin is
1279 2005-09-15 David Schleef <ds@schleef.org>
1281 * check/Makefile.am:
1282 * check/gst/gstplugin.c: Add test
1283 * gst/gstplugin.c: Fix problems noticed by testsuite
1285 * gst/gstregistry.c:
1286 * gst/gstregistry.h:
1288 2005-09-15 David Schleef <ds@schleef.org>
1290 * gst/gstplugin.c: Implement semi-decent recounting and locking
1291 in plugins and plugin features.
1293 * gst/gstpluginfeature.c:
1294 * gst/gstpluginfeature.h:
1295 * gst/gstregistry.c:
1297 2005-09-15 Michael Smith <msmith@fluendo.com>
1299 * gst/gstregistry.c: (gst_registry_get_feature_list):
1300 Implement this. Makes oggdemux work; decodebin still broken.
1302 2005-09-14 David Schleef <ds@schleef.org>
1304 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1306 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1307 * gst/check/Makefile.am:
1308 * libs/gst/controller/Makefile.am:
1309 * libs/gst/dataprotocol/Makefile.am:
1311 2005-09-14 David Schleef <ds@schleef.org>
1313 * configure.ac: Remove getbits library. Nothing uses it, and
1314 it should be in something like liboil if someone did want
1316 * libs/gst/Makefile.am:
1317 * libs/gst/getbits/Makefile.am:
1318 * libs/gst/getbits/gbtest.c:
1319 * libs/gst/getbits/getbits.c:
1320 * libs/gst/getbits/getbits.h:
1321 * libs/gst/getbits/gstgetbits_generic.c:
1322 * libs/gst/getbits/gstgetbits_i386.s:
1323 * libs/gst/getbits/gstgetbits_inl.h:
1325 2005-09-14 David Schleef <ds@schleef.org>
1327 * gst/Makefile.am: Dist glib-compat.h
1329 2005-09-14 David Schleef <ds@schleef.org>
1331 * configure.ac: Remove gst/registries, since it's no longer used.
1332 * gst/registries/Makefile.am:
1333 * gst/registries/gstlibxmlregistry.c:
1334 * gst/registries/gstlibxmlregistry.h:
1335 * gst/registries/gstxmlregistry.c:
1336 * gst/registries/gstxmlregistry.h:
1337 * gst/registries/registrytest.c:
1339 2005-09-14 David Schleef <ds@schleef.org>
1341 * gst/glib-compat.h:
1342 * gst/gstregistryxml.c:
1343 Convergence is near. Seriously.
1345 2005-09-14 David Schleef <ds@schleef.org>
1347 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1348 * gst/glib-compat.h:
1349 Attempt #4 to appease the buildbots.
1351 2005-09-14 David Schleef <ds@schleef.org>
1353 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1356 2005-09-14 David Schleef <ds@schleef.org>
1358 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1361 2005-09-14 David Schleef <ds@schleef.org>
1363 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1366 2005-09-14 David Schleef <ds@schleef.org>
1368 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1369 * gst/glib-compat.h: Add some functions that are in newer versions
1370 of glib than we care to require.
1371 * gst/gstregistryxml.c: Use them.
1373 2005-09-14 David Schleef <ds@schleef.org>
1375 * po/POTFILES.in: remove gst-register.c
1377 2005-09-14 David Schleef <ds@schleef.org>
1379 * docs/gst/gstreamer-docs.sgml:
1380 * docs/gst/gstreamer-sections.txt:
1381 * docs/gst/gstreamer.types:
1382 * docs/gst/tmpl/gstelement.sgml:
1383 * docs/gst/tmpl/gstplugin.sgml:
1384 * docs/gst/tmpl/gstpluginfeature.sgml:
1385 Documentation updates for registry changes.
1387 2005-09-14 David Schleef <ds@schleef.org>
1389 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1390 because we don't require glib-2.8.
1392 2005-09-14 David Schleef <ds@schleef.org>
1394 * gst/gstregistryxml.c: Added. Essentially moved out of the
1395 registries directory.
1397 2005-09-14 David Schleef <ds@schleef.org>
1399 * check/Makefile.am:
1400 * check/generic/states.c:
1404 * gst/gst_private.h:
1405 * gst/gstelementfactory.c:
1410 * gst/gstpluginfeature.c:
1411 * gst/gstpluginfeature.h:
1412 * gst/gstregistry.c:
1413 * gst/gstregistry.h:
1414 * gst/gstregistrypool.c: remove
1415 * gst/gstregistrypool.h: remove
1416 * gst/gsttypefind.c:
1417 * gst/gsttypefindfactory.c:
1419 * tools/Makefile.am:
1420 * tools/gst-compprep.c:
1421 * tools/gst-inspect.c:
1422 * tools/gst-register.c: remove
1423 * tools/gst-xmlinspect.c:
1424 Registry rewrite. Changes registry from being a file created
1425 by a tool into a simple cache file created automatically by
1426 libgstreamer. Removed gst-register (because it's no longer
1427 needed). Remove registry pools, because we only have one
1428 registry implementation (XML). Fix up other subsystems as
1431 2005-09-13 Michael Smith <msmith@fluendo.com>
1433 * gst/gstconfig.h.in:
1434 Don't Use windows linking attributes for MinGW. Fixes #316157
1436 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1438 * gst/gstutils.c: (set_state_async_thread_func),
1439 (gst_element_set_state_async):
1440 Apparently people think it's better if this function doesn't
1441 try to set the state to whatever state was asked for on the first
1442 call to this function for any object. Seriously.
1444 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1446 * check/gst/gstpipeline.c: (GST_START_TEST):
1447 * docs/gst/gstreamer-sections.txt:
1448 * gst/gstutils.c: (set_state_async_thread_func),
1449 (gst_element_set_state_async):
1451 add a "gst_element_set_state_async" method that
1452 sets the state and starts a thread to make sure the state
1453 change completes as best as it can
1455 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1457 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1458 codify design+behaviour in testsuite after discussion
1460 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1462 * docs/gst/tmpl/gstelement.sgml:
1463 * docs/manual/appendix-quotes.xml:
1465 * gst/gstelement.c: (gst_element_set_state):
1468 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1470 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1471 (gst_base_transform_prepare_output_buf),
1472 (gst_base_transform_handle_buffer):
1473 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1474 (gst_capsfilter_prepare_buf):
1475 Remove the requirement for sub-classes to call the parent
1476 implementation of prepare_output_buffer with a wrapper function.
1479 * gst/gsttagsetter.h:
1482 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1484 * docs/gst/gstreamer-sections.txt:
1487 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1489 * docs/gst/gstreamer-sections.txt:
1490 * docs/gst/tmpl/gstelement.sgml:
1491 * docs/gst/tmpl/gstplugin.sgml:
1492 * gst/gstminiobject.c:
1494 docs now stop throwing warnings
1496 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1498 * docs/gst/gstreamer-sections.txt:
1499 * docs/gst/gstreamer.types:
1500 * docs/gst/tmpl/gstpad.sgml:
1501 * docs/gst/tmpl/gsttypes.sgml:
1502 * gst/base/gstadapter.h:
1503 * gst/base/gstbasesink.h:
1504 * gst/base/gstbasesrc.h:
1514 * gst/gststructure.c:
1515 * gst/registries/gstlibxmlregistry.h:
1516 various documentation fixes
1518 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1520 * docs/gst/gstreamer-sections.txt:
1521 * docs/gst/tmpl/gstvalue.sgml:
1522 rearrange gstvalue section
1523 * gst/gstutils.c: (gst_element_state_get_name):
1525 * gst/gstvalue.c: (_gst_value_initialize):
1529 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1531 * check/gst-libs/controller.c:
1533 * gst/base/gstbasetransform.c:
1534 (gst_base_transform_default_prepare_buf),
1535 (gst_base_transform_handle_buffer):
1536 * gst/base/gstbasetransform.h:
1537 Some more basetransform changes and fixes to enable sub-classes
1538 that modify buffer metadata only.
1539 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1540 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1541 (gst_capsfilter_prepare_buf):
1542 If the output pad has fixed allowed caps and input buffers
1543 don't have any, set the fixed caps on outgoing buffers.
1545 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1546 * check/elements/identity.c: (GST_START_TEST):
1547 Make the error a little clearer when the test fails because
1548 identity made a copy of the buffer.
1549 * docs/gst/gstreamer-sections.txt:
1550 New symbols in gstbasetransform.h
1551 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1552 (gst_base_transform_init), (gst_base_transform_transform_size),
1553 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1554 (gst_base_transform_default_prepare_buf),
1555 (gst_base_transform_get_unit_size),
1556 (gst_base_transform_buffer_alloc),
1557 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1558 (gst_base_transform_change_state),
1559 (gst_base_transform_set_passthrough),
1560 (gst_base_transform_set_in_place),
1561 (gst_base_transform_is_in_place):
1562 * gst/base/gstbasetransform.h:
1563 Change BaseTransform to separate in_place operate from same_caps
1564 output. in_place implies that the element can perform the transform
1565 on incoming buffers in-place, even if the caps on the output are
1567 Sub-class elements can now implement special buffer allocation
1568 methods for outgoing buffers if they wish to.
1569 Big documentation addition.
1570 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1571 * gst/elements/gstelements.c:
1572 Changes for basetransform modifications.
1573 * gst/elements/Makefile.am:
1574 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1575 Compile fix. Extra debug output.
1577 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1579 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1581 add tests for valid pad naming
1582 * gst/check/gstcheck.c: (gst_check_log_message_func),
1583 (gst_check_log_critical_func):
1585 remove printing of code, it is fragile when the code contains
1586 % and the line number is enough info
1587 * gst/check/gstcheck.h:
1588 * gst/gstpad.c: (gst_pad_template_new):
1591 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1594 say what CHECK flags we use
1595 * docs/libs/gstreamer-libs.types:
1596 * libs/gst/controller/Makefile.am:
1597 * libs/gst/controller/gst-controller.c:
1598 * libs/gst/controller/gst-controller.h:
1599 * libs/gst/controller/gst-helper.c:
1600 * libs/gst/controller/gst-interpolation.c:
1601 * libs/gst/controller/gstcontroller.c:
1602 * libs/gst/controller/gsthelper.c:
1603 * libs/gst/controller/gstinterpolation.c:
1604 * tools/gst-inspect.c: (print_plugin_info):
1605 we don't use dashes in header names
1607 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1609 * check/Makefile.am:
1610 * check/gst/.cvsignore:
1611 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1612 (gst_pipeline_suite), (main):
1613 adding a test for pipelines and state changes
1614 * gst/gstutils.c: (get_state_func):
1616 * gstreamer.spec.in:
1619 2005-09-08 Michael Smith <msmith@fluendo.com>
1621 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1622 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1623 (gst_file_src_is_seekable), (gst_file_src_get_size),
1624 (gst_file_src_start):
1625 * gst/elements/gstfilesrc.h:
1626 Various fixes for unseekable, unmmapable, and non-normal files, so
1627 that fallback to read() rather than mmap() works.
1628 * gst/gstevent.c: (gst_event_new_newsegment):
1629 Allow newsegment events with segment_start == segment_end, as will
1630 correctly happen if you use filesrc on a zero-size file, for
1633 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1635 * gst/gstplugin.c: (gst_plugin_load_file):
1636 Call g_module_close when we don't load the module
1638 * gst/registries/gstlibxmlregistry.c:
1639 (gst_xml_registry_get_property):
1640 Port leak fix from 0.8
1642 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1644 * docs/gst/gstreamer-docs.sgml:
1645 * docs/gst/tmpl/.cvsignore:
1646 * docs/gst/tmpl/gsttrace.sgml:
1647 * docs/gst/tmpl/gsttrashstack.sgml:
1656 * gst/gsttaginterface.c:
1657 * gst/gsttaginterface.h:
1660 * gst/gsttagsetter.c:
1661 * gst/gsttagsetter.h:
1664 * gst/gsttrashstack.c:
1665 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1666 inlined docs for gsttrace, gsttrashstack
1668 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1671 * gst/elements/gstbufferstore.h:
1672 * gst/elements/gsttypefindelement.c:
1673 * gst/elements/gsttypefindelement.h:
1675 * gst/gsttypefind.c:
1676 * gst/gsttypefind.h:
1677 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1678 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1679 (gst_type_find_factory_dispose),
1680 (gst_type_find_factory_unload_thyself),
1681 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1682 (gst_type_find_factory_get_caps),
1683 (gst_type_find_factory_get_extensions),
1684 (gst_type_find_factory_call_function):
1685 * gst/gsttypefindfactory.h:
1686 * gst/registries/gstlibxmlregistry.c:
1687 * gst/registries/gstxmlregistry.c:
1688 splitted gsttypefind into gsttypefind, gsttypefindfactory
1690 2005-09-07 Andy Wingo <wingo@pobox.com>
1692 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1693 condition whereby the pad's task function is entered before the
1694 pad_mode variable was set.
1696 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1698 * gst/gstpad.c: (gst_pad_alloc_buffer):
1699 Catch misbehaving pad_alloc functions that don't
1700 set up caps and do it for them.
1702 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1704 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1706 * docs/gst/tmpl/.cvsignore:
1707 * docs/gst/tmpl/gstmemchunk.sgml:
1708 * docs/gst/tmpl/gstparse.sgml:
1709 * docs/gst/tmpl/gsttaglist.sgml:
1710 * docs/gst/tmpl/gsttagsetter.sgml:
1711 * docs/gst/tmpl/gsttypefind.sgml:
1712 * docs/gst/tmpl/gsttypefindfactory.sgml:
1713 * gst/gstmemchunk.c:
1716 * gst/gsttaginterface.c:
1717 * gst/gsttypefind.c:
1718 * gst/gsttypefind.h:
1721 === release 0.9.2 ===
1723 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1728 releasing 0.9.2, "South"
1730 2005-09-05 Andy Wingo <wingo@pobox.com>
1732 * gst/registries/gstxmlregistry.h:
1733 * gst/registries/gstxmlregistry.c: Um... resurrect...
1735 * gst/registries/gstxmlregistry.h:
1736 * gst/registries/gstxmlregistry.c: and update to newer API.
1737 Incidentally they should be a bit faster now that they don't have
1740 2005-09-05 Andy Wingo <wingo@pobox.com>
1742 * gst/registries/gstxmlregistry.h:
1743 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1744 replaced by the libxml registry a while back
1746 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1748 * docs/gst/tmpl/gstplugin.sgml:
1749 * gst/elements/gstelements.c:
1751 * gst/gstplugin.c: (gst_plugin_register_func),
1752 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1753 (gst_plugin_get_source):
1755 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1756 (gst_xml_registry_save_plugin):
1757 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1758 (gst_xml_registry_save_plugin):
1759 * tools/gst-inspect.c: (print_plugin_info):
1760 add a "source" plugin description field, to represent the source
1761 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1762 will set it to PACKAGE, which is automake's idea of the name of
1765 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1771 * docs/faq/Makefile.am:
1772 * docs/gst/tmpl/gstelement.sgml:
1773 * docs/gst/tmpl/gsttypes.sgml:
1774 * docs/htmlinstall.mak:
1775 * docs/manual/Makefile.am:
1776 * docs/pwg/Makefile.am:
1777 reorganize doc build a little
1778 split out docbook and gtk-doc stuff
1779 have two separate --enable's and enable them through autogen
1780 but disable by default in configure (to be similar to other
1782 * gstreamer.spec.in:
1783 clean up docs install
1803 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
1805 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1808 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1809 (gst_fake_sink_change_state):
1810 Make state change function thread-safe.
1812 * gst/gstpad.c: (gst_pad_alloc_buffer):
1813 Set offset on generic buffer allocated by fallback.
1815 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1817 * docs/gst/gstreamer-sections.txt:
1818 * docs/gst/tmpl/gstelement.sgml:
1820 * libs/gst/controller/gst-controller.c:
1821 (gst_controlled_property_set_interpolation_mode),
1822 (gst_controlled_property_new),
1823 (gst_controller_find_controlled_property):
1824 run the wingo-magic script against the docs
1826 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1828 * docs/gst/gstreamer-docs.sgml:
1829 * docs/gst/gstreamer-sections.txt:
1830 * docs/gst/tmpl/.cvsignore:
1831 * docs/gst/tmpl/gstelementdetails.sgml:
1832 * docs/gst/tmpl/gstelementfactory.sgml:
1835 * gst/gstelementfactory.c:
1836 * gst/gstelementfactory.h:
1837 merged elementdetails docs into elementfactory docs
1840 2005-09-02 Andy Wingo <wingo@pobox.com>
1842 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1843 consider this enum an enum and not a flags.
1845 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1847 * docs/gst/gstreamer-docs.sgml:
1848 * docs/gst/tmpl/.cvsignore:
1849 * docs/gst/tmpl/gstghostpad.sgml:
1850 * docs/gst/tmpl/gstiterator.sgml:
1851 * docs/gst/tmpl/gstmacros.sgml:
1852 * docs/gst/tmpl/gstrealpad.sgml:
1853 * docs/gst/tmpl/gstregistry.sgml:
1854 * docs/gst/tmpl/gstregistrypool.sgml:
1855 * docs/gst/tmpl/gststructure.sgml:
1856 * docs/gst/tmpl/gstsystemclock.sgml:
1857 * docs/gst/tmpl/gsttrace.sgml:
1858 * gst/gstghostpad.c:
1860 * gst/gstmemchunk.c:
1861 * gst/gstmemchunk.h:
1863 * gst/gstregistry.c:
1864 * gst/gstregistrypool.c:
1865 * gst/gststructure.c:
1866 * gst/gstsystemclock.c:
1869 2005-09-02 Andy Wingo <wingo@pobox.com>
1871 * gst/gstelement.h (GstState): Renamed from GstElementState,
1872 changed to be a normal enum instead of flags.
1873 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1874 munged to be GST_STATE_CHANGE_*.
1875 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1876 work with the new state representation.
1877 (GstStateChange): New enumeration of possible state transitions.
1878 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1879 (GstElementClass::change_state): Pass the GstStateChange along as
1880 an argument. Helps language bindings, so they don't have to use
1881 tricky lock-needing macros like GST_STATE_CHANGE ().
1883 * scripts/update-states (file): New script. Run it on a file to
1884 update it for state naming and API changes. Updates files in
1887 * All files updated for the new API.
1889 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1891 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1892 * gst/gstutils.c: (gst_util_set_value_from_string),
1893 (gst_util_set_object_arg):
1894 fix a bunch of unchecked return values
1895 * tools/gst-complete.c: (main):
1896 * gstreamer.spec.in:
1899 2005-09-01 Wim Taymans <wim@fluendo.com>
1901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1902 (gst_base_sink_event), (gst_base_sink_do_sync),
1903 (gst_base_sink_handle_event):
1904 * gst/base/gstbasesink.h:
1905 Handle newsegments more correctly.
1910 * gst/gstevent.c: (gst_event_new_newsegment):
1911 A newsegment cannot have a start_time of -1
1913 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
1915 * win32/gstenumtypes.c:
1916 * win32/gstenumtypes.h:
1919 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1921 * libs/gst/controller/gst-controller.c:
1922 (gst_controlled_property_set_interpolation_mode),
1923 (gst_controlled_property_new):
1926 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
1928 * docs/faq/gst-uninstalled:
1933 * gst/gstutils.c: (gst_element_link_filtered):
1935 add gst_element_link_filtered
1937 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1939 * docs/gst/gstreamer-docs.sgml:
1940 * docs/gst/gstreamer-sections.txt:
1941 * docs/gst/tmpl/.cvsignore:
1942 * docs/gst/tmpl/gsterror.sgml:
1943 * docs/gst/tmpl/gstfilter.sgml:
1944 * docs/gst/tmpl/gsturihandler.sgml:
1945 * docs/gst/tmpl/gsturitype.sgml:
1946 * docs/gst/tmpl/gstutils.sgml:
1947 * docs/gst/tmpl/gstxml.sgml:
1955 inlined more docs, fixed double id-ref
1957 2005-08-31 Wim Taymans <wim@fluendo.com>
1959 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1960 (gst_base_transform_handle_buffer):
1961 Passthrough elements don't need the caps as they don't care.
1963 2005-08-31 Wim Taymans <wim@fluendo.com>
1965 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1966 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
1967 Don't leak refcounts on buffers.
1969 2005-08-31 Wim Taymans <wim@fluendo.com>
1971 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
1972 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
1973 (gst_base_transform_chain), (gst_base_transform_change_state):
1974 * gst/base/gstbasetransform.h:
1975 Handle the case where we are not negotiated more gracefully.
1977 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
1979 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
1980 (gst_file_src_map_region):
1981 Set READONLY flag on mmap'ed buffers, otherwise
1982 gst_buffer_make_writable() won't work properly (#314708).
1984 2005-08-31 Wim Taymans <wim@fluendo.com>
1986 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
1987 passthrough elements can even do inplace on non writable
1988 buffers (as they don't touch them).
1990 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1992 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1993 (gst_test_mono_source_set_property),
1994 (gst_test_mono_source_class_init), (GST_START_TEST),
1995 (gst_controller_suite):
1996 more tests (hehe I have the most)
1998 describe popping messages whenusing mulltiple sources
1999 * libs/gst/controller/gst-controller.c:
2000 (gst_controlled_property_set_interpolation_mode),
2001 (gst_controlled_property_new):
2002 * libs/gst/controller/gst-controller.h:
2003 * libs/gst/controller/gst-interpolation.c:
2004 implement boolean properties
2006 2005-08-31 Wim Taymans <wim@fluendo.com>
2008 * gst/gstminiobject.c: (gst_mini_object_ref):
2009 Cannot assert that the refcount has to be positive
2010 since a disposed object can be resurrected.
2012 2005-08-31 Wim Taymans <wim@fluendo.com>
2014 * gst/gstpad.c: (gst_pad_init):
2015 Revert change, need to first fix badly behaving
2018 2005-08-30 Wim Taymans <wim@fluendo.com>
2020 * check/elements/fakesrc.c: (setup_fakesrc):
2021 * check/elements/identity.c: (setup_identity):
2022 Activate pads before using them.
2024 2005-08-30 Wim Taymans <wim@fluendo.com>
2026 * gst/base/gstadapter.c: (gst_adapter_flush):
2027 Flushing out 0 bytes is ok for this function.
2029 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2030 no newsegment gives a warning and sets the start/stop to
2033 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2034 (gst_base_transform_set_passthrough):
2037 * gst/gstminiobject.c: (gst_mini_object_ref):
2038 Check refcount here too.
2040 * gst/gstpad.c: (gst_pad_init):
2041 Pads are initially flushing and refusing data.
2043 * gst/gstutils.c: (gst_element_link_pads_filtered):
2044 When adding a capsfilter element make sure it has the
2045 same state as the parent bin.
2047 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2049 * docs/gst/tmpl/.cvsignore:
2050 * docs/gst/tmpl/gstformat.sgml:
2051 * docs/gst/tmpl/gstversion.sgml:
2055 * gst/gstversion.h.in:
2056 more docs and two more inlined
2058 2005-08-30 Wim Taymans <wim@fluendo.com>
2060 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2061 Don't sync to clock.
2063 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2065 * docs/gst/gstreamer-sections.txt:
2066 ultral33t func10ns deserve to appear in the docs actually
2067 * docs/gst/tmpl/.cvsignore:
2068 * docs/gst/tmpl/gstcompat.sgml:
2069 * docs/gst/tmpl/gstconfig.sgml:
2070 * gst/check/gstcheck.c:
2072 * gst/gstconfig.h.in:
2075 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2077 * docs/gst/tmpl/.cvsignore:
2078 * docs/gst/tmpl/gstquery.sgml:
2079 * docs/gst/tmpl/gstutils.sgml:
2082 inlined and extended docs
2084 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2086 * check/gst-libs/controller.c: (GST_START_TEST),
2087 (gst_controller_suite):
2089 * docs/gst/tmpl/gstutils.sgml:
2090 * docs/libs/gstreamer-libs-sections.txt:
2091 * docs/libs/tmpl/gstdataprotocol.sgml:
2093 * examples/controller/audio-example.c: (main):
2094 controller example works now
2097 * tools/gst-inspect.c: (print_element_properties_info):
2098 show param spec flags
2100 2005-08-29 Andy Wingo <wingo@pobox.com>
2102 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2104 2005-08-28 Andy Wingo <wingo@pobox.com>
2106 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2107 as having two arguments instead of just one. Allows superclasses
2108 to access information on subclasses -- see the terrible for() loop
2109 in gtype.c:g_type_create_instance for the reason why. All callers
2112 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2114 * docs/design/part-messages.txt:
2116 * docs/gst/tmpl/.cvsignore:
2117 * docs/gst/tmpl/gstcaps.sgml:
2118 * docs/gst/tmpl/gstclock.sgml:
2125 added descriptions for bus and message
2126 inline caps and clock docs
2128 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2134 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2136 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2139 2005-08-26 Andy Wingo <wingo@pobox.com>
2141 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2142 element_set_state's return val.
2143 (test_2_elements): Add test that's been disabled for months.
2145 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2146 can-activate-pull properties.
2148 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2149 can-activate-pull properties. Implement is_seekable so fakesrc can
2150 operate in pull mode.
2152 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2154 (gst_base_sink_activate, gst_base_sink_activate_pull)
2155 (gst_base_sink_activate_push): Make activation mode choosing work.
2157 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2158 is right. Make pull mode work. Post an eos before pausing in pull
2160 (gst_base_sink_change_state): Pay attention to the core's
2161 change_state() return val.
2163 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2164 has-getrange properties. Cleanups.
2166 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2167 has_getrange and replace with can_activate_pull and
2170 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2171 locking comments. Remove has_loop, has_chain and replace with
2172 can_activate_pull and can_activate_push.
2174 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
2177 * examples/Makefile.am:
2178 * examples/metadata/Makefile.am:
2179 * examples/metadata/read-metadata.c: (message_loop),
2180 (have_pad_handler), (make_pipeline), (print_tag), (main):
2181 Add metadata reading example that loops over a list of filenames,
2182 dumping any tags found.
2184 * gst/gstbus.c: (gst_bus_dispose):
2185 * gst/gstelement.c: (gst_element_dispose):
2186 Release a few potentially-held references in dispose.
2188 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2190 * docs/gst/tmpl/gstminiobject.sgml:
2191 do *not* add tmpl/*.sgml files to CVS!
2193 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2195 * libs/gst/bytestream/.cvsignore:
2196 * libs/gst/bytestream/Makefile.am:
2197 * libs/gst/bytestream/adapter.c:
2198 * libs/gst/bytestream/adapter.h:
2199 * libs/gst/bytestream/bytestream.c:
2200 * libs/gst/bytestream/bytestream.h:
2201 * libs/gst/bytestream/filepad.c:
2202 * libs/gst/bytestream/filepad.h:
2203 removing obsolete files
2205 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2207 * docs/gst/gstreamer-docs.sgml:
2208 * docs/libs/gstreamer-libs-docs.sgml:
2209 disabed additional index entries again, as this makes docs-gen just
2210 slow and they aren't useful yet
2211 * docs/libs/gstreamer-libs-sections.txt:
2212 little -section.txt cleanup for libs
2214 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
2216 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2217 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2218 fix up some debugging
2219 (gst_base_transform_get_unit_size),
2220 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2221 (gst_base_transform_handle_buffer):
2222 * gst/base/gstbasetransform.h:
2223 handle and store timed NEWSEGMENT events so that subclasses that
2224 calculate time by counting samples have a segment_start time they
2225 need to add to their timestamps - see audioresample
2227 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2230 removed ';' from the end of macro defs
2231 * docs/gst/gstreamer-docs.sgml:
2232 * docs/gst/gstreamer-sections.txt:
2233 * docs/gst/tmpl/.cvsignore:
2235 * gst/gstelement.c: (gst_element_class_init),
2236 (gst_element_set_state), (activate_pads),
2237 (gst_element_save_thyself):
2238 * gst/gstevent.c: (gst_event_new_newsegment):
2240 * gst/gstiterator.c:
2241 * gst/gstiterator.h:
2244 * gst/gstutils.c: (gst_pad_query_convert):
2246 fixed parameter name mismatches between source, header and docs
2247 added some more docs, resolved the last batch of unused elements in
2248 docs (now someone needs to doc them)
2250 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2252 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2253 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2254 don't walk through the plugins backwards. Where is all this
2255 reversed logic coming from ?
2257 2005-08-25 Wim Taymans <wim@fluendo.com>
2259 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2260 (gst_base_transform_transform_size),
2261 (gst_base_transform_configure_caps),
2262 (gst_base_transform_get_unit_size),
2263 (gst_base_transform_buffer_alloc),
2264 (gst_base_transform_change_state):
2265 * gst/base/gstbasetransform.h:
2266 Cache caps unit_size.
2267 Make sure we cannot negotiate up and downstream at the
2270 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2272 * gst/gst.c: (init_pre), (init_post):
2273 register the installed plugin path after the env var
2274 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2275 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2276 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2277 directories, so the tests can prefer uninstalled over installed
2279 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2281 * gst/base/gstbasetransform.h:
2286 2005-08-25 Wim Taymans <wim@fluendo.com>
2288 * gst/gstbin.c: (bin_bus_handler):
2289 Be a bit more conservative about the posted message.
2291 * gst/gstbus.c: (gst_bus_post):
2292 Some cleanups, warn wrong return values.
2294 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
2296 * check/gst/gstbin.c: (GST_START_TEST):
2297 * gst/gstbin.c: (bin_bus_handler):
2298 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2299 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2300 (gst_message_new_warning), (gst_message_new_tag),
2301 (gst_message_new_state_changed), (gst_message_new_segment_start),
2302 (gst_message_new_segment_done), (gst_message_new_custom):
2304 * tools/gst-launch.c: (event_loop):
2305 * tools/gst-md5sum.c: (event_loop):
2306 Revert unpopular change for GST_MESSAGE_SRC to GObject.
2308 2005-08-25 Wim Taymans <wim@fluendo.com>
2310 * check/generic/states.c: (GST_START_TEST):
2311 Cleanup can be done at the end.
2313 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2314 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2315 (gst_task_get_state), (gst_task_start), (gst_task_pause):
2316 Oh boy.. Thanks for finding this, Thomas.
2318 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2320 * docs/gst/gstreamer.types:
2323 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2325 * docs/gst/gstreamer-docs.sgml:
2326 * docs/gst/gstreamer-sections.txt:
2327 * docs/gst/tmpl/.cvsignore:
2329 * gst/gstiterator.c:
2331 * gst/registries/gstxmlregistry.h:
2332 added missing classes and symbols (123 more to go)
2333 removed removed symbols from section file
2334 fixed many doc-comments
2336 2005-08-24 Wim Taymans <wim@fluendo.com>
2338 * check/generic/states.c: (GST_START_TEST):
2339 Make sure all tasks are stopped.
2341 * check/gst/gstbin.c: (GST_START_TEST):
2342 Unref after usage for proper valgrinding.
2344 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2345 Really wait for the task to stop before destroying the
2348 * gst/gstqueue.c: (gst_queue_sink_activate_push),
2349 (gst_queue_src_activate_push):
2350 Small cleanups. Don't stop the task when we did not start
2353 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2354 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2355 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2358 Protect the stream lock with the object lock.
2359 Disallow setting the stream lock when running.
2360 Add cleanup_all to wait for the threadpool to finish.
2361 Remove code to autoallocate a mutex if none was provided.
2362 Add _join() to wait for a task to stop.
2363 Protect the thread pool with a global lock.
2365 2005-08-24 Wim Taymans <wim@fluendo.com>
2367 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2368 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2369 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2370 * gst/base/gstbasesink.h:
2371 Handle newsegment events correctly.
2372 Drop buffers out of the segment range.
2374 2005-08-22 Andy Wingo <wingo@pobox.com>
2376 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2377 macro, implements an interface and gstimplementsinterface for a
2380 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2382 * check/Makefile.am:
2383 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2384 add a test that does a bunch of state changes on elements
2385 needs some fixing for valgrind
2386 * check/states/sinks.c: (gst_object_suite):
2389 add prototype for gst_caps_is_equal_fixed
2391 * gst/gstregistrypool.c:
2394 2005-08-24 Andy Wingo <wingo@pobox.com>
2396 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2397 convert a negative value. Doesn't make much sense. Mostly this is
2398 here to force callers to ensure -1 maps to -1.
2400 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2402 * docs/pwg/advanced-types.xml:
2403 Well done to Michael for catching my deliberate introduction
2404 of this spelling mistake.
2405 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2407 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2408 unlink pads before removing the element from the bin.
2410 2005-08-24 Andy Wingo <wingo@pobox.com>
2412 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2413 the same thing as GST_DEBUG=*:4.
2414 (parse_debug_level, parse_debug_category): New helper parsers.
2416 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2418 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2419 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2420 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2421 (gst_base_transform_buffer_alloc),
2422 (gst_base_transform_handle_buffer):
2423 use gboolean return values and pointers to size so we can use the
2424 full GST_BUFFER_SIZE range (guint) for buffer sizes
2425 use GstPadDirection for transform_caps
2426 * gst/base/gstbasetransform.h:
2427 rename get_size to get_unit_size since that's what it is
2428 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2429 use GstPadDirection for transform_caps
2430 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2432 cleanup and debugging
2434 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2436 * gst/gstelement.c: (gst_element_class_init),
2437 (gst_element_set_state), (activate_pads),
2438 (gst_element_save_thyself):
2439 * tools/gst-compprep.c: (main):
2440 * tools/gst-inspect.c: (print_element_properties_info):
2441 * tools/gst-xmlinspect.c: (print_element_properties):
2442 Fixed long standing mem-leak
2444 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2446 * check/gst/gstbin.c: (GST_START_TEST):
2447 * gst/gstbin.c: (bin_bus_handler):
2448 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2449 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2450 (gst_message_new_warning), (gst_message_new_tag),
2451 (gst_message_new_state_changed), (gst_message_new_segment_start),
2452 (gst_message_new_segment_done), (gst_message_new_custom):
2454 * tools/gst-launch.c: (event_loop):
2455 * tools/gst-md5sum.c: (event_loop):
2456 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2457 that applications can sensibly post custom messages with references
2458 to their own objects.
2460 2005-08-24 Andy Wingo <wingo@pobox.com>
2462 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2465 2005-08-24 Wim Taymans <wim@fluendo.com>
2467 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2468 (gst_base_transform_transform_caps),
2469 (gst_base_transform_transform_size),
2470 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2471 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2472 (gst_base_transform_handle_buffer):
2473 * gst/base/gstbasetransform.h:
2474 Many fixes and new features added by Thomas. Can now also do
2475 transforms with variable sizes and a custom fixate_caps function.
2477 2005-08-24 Wim Taymans <wim@fluendo.com>
2479 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2483 Cast to ClockTime before formatting to time.
2488 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2490 * check/gst-libs/controller.c: (GST_START_TEST),
2491 (gst_controller_suite):
2492 * docs/gst/tmpl/gstcaps.sgml:
2493 * docs/gst/tmpl/gstghostpad.sgml:
2494 * docs/gst/tmpl/gstquery.sgml:
2495 * docs/gst/tmpl/gstutils.sgml:
2496 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2497 (gst_object_sink_values), (gst_object_get_value_arrays),
2498 (gst_object_get_value_array):
2499 gracefully handle helper method calls to objects that are not beeing
2500 controlled, added test case for that
2502 2005-08-23 Wim Taymans <wim@fluendo.com>
2504 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2505 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2506 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2507 (gst_event_parse_qos), (gst_event_new_seek),
2508 (gst_event_parse_seek):
2510 Some more debugging output and doc cleanups.
2512 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2513 Fix possible deadlock.
2515 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2517 * docs/gst/gstreamer-docs.sgml:
2518 * docs/gst/gstreamer-sections.txt:
2519 * docs/gst/gstreamer.types:
2520 * docs/gst/tmpl/.cvsignore:
2525 added 100 symbols from gstreamer-unused.txt to the right sections
2526 fixed more broken comments
2527 added GstBus to docs
2529 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2531 * docs/gst/gstreamer-sections.txt:
2532 * docs/gst/tmpl/.cvsignore:
2533 * docs/gst/tmpl/gstbin.sgml:
2534 * docs/gst/tmpl/gstbuffer.sgml:
2535 * gst/base/gstbasesrc.c:
2536 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2539 * tools/gst-launch.1.in:
2540 inlined more doc comments, added missing comments and fixed comments
2543 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2545 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2549 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2551 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2552 * gst/gststructure.h:
2553 add a fixate function for booleans; add a FIXME that these func
2554 names should probably be gst_structure_fixate_*
2556 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2558 * docs/gst/gstreamer-docs.sgml:
2559 * docs/gst/gstreamer-sections.txt:
2561 * gst/gstbin.c: (gst_bin_get_type),
2562 (gst_bin_child_proxy_get_child_by_index),
2563 (gst_bin_child_proxy_get_children_count),
2564 (gst_bin_child_proxy_init):
2565 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2566 (gst_child_proxy_get_child_by_index),
2567 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2568 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2569 (gst_child_proxy_get), (gst_child_proxy_set_property),
2570 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2571 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2572 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2573 * gst/gstchildproxy.h:
2574 * gst/parse/grammar.y:
2575 * tools/gst-inspect.c: (print_interfaces),
2576 (print_element_properties_info), (print_element_info):
2577 ported gstchildproxy over from 0.8
2578 ported gst-inspect fixes and enhancements over from 0.8
2580 2005-08-22 Wim Taymans <wim@fluendo.com>
2582 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2583 (gst_base_transform_handle_buffer):
2584 Also call the transform function if we have ANY caps.
2586 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2589 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2591 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2592 Don't pretend to handle seek events if the source is not seekable
2594 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2597 Remove extra parameter to debug output
2599 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2600 (gst_base_src_do_seek), (gst_base_src_activate_push):
2601 Fix seek event handling.
2603 * gst/gstpipeline.c: (gst_pipeline_change_state):
2604 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2605 (gst_queue_src_activate_push):
2606 Don't start the src pad task on FLUSH_STOP if the pad
2610 2005-08-22 Wim Taymans <wim@fluendo.com>
2612 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2613 Added check for gst_static_caps_get() refcounting.
2615 2005-08-22 Wim Taymans <wim@fluendo.com>
2617 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2618 Make _static_caps_get() refcounting sane.
2620 * gst/gstelement.c: (gst_element_set_state):
2621 Add g_return_val_if_fail() to protect against segfaults.
2623 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2625 * docs/gst/tmpl/gstevent.sgml:
2628 inlined remaining docs, added missing doc comments
2630 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2632 * check/gst/gstbin.c: (GST_START_TEST):
2633 since we don't know when preroll is done, use refcount range
2635 * gst/check/gstcheck.h:
2636 add macro for checking refcount range
2638 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2640 * check/Makefile.am:
2641 clean up environment for when registry gets built versus
2642 when actual tests are run; valgrind seems to not report
2643 leaks if GST_PLUGIN_PATH is set to some specific values
2644 * check/gst/gstbin.c: (GST_START_TEST):
2645 add more refcounting checks; maybe this exposes a
2648 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2649 * gst/check/gstcheck.h:
2650 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2651 (gst_bin_change_state):
2652 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2653 add/fix debugging/whitespace
2655 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2657 * check/gst/gstevent.c: (event_probe), (test_event),
2659 Er, don't call gst_bin_watch_for_state_change you idiot.
2661 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2663 * check/Makefile.am:
2664 Use CHECK_CFLAGS and CHECK_LIBS
2665 * check/gst/gstevent.c: (event_probe), (test_event),
2668 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2669 (gst_base_src_start), (gst_base_src_stop),
2670 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2671 (gst_base_src_change_state):
2672 Sprinkle gst_base_src_stop liberally around error paths to fix
2673 problems reusing a source after failed state changes.
2674 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2675 (helper_find_suggest), (gst_type_find_helper):
2676 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2678 * docs/gst/tmpl/gstevent.sgml:
2679 Migrate part of the docs from the SGML file. Wait for ensonic to
2680 tell me how I did it wrong ;)
2681 * tools/gst-typefind.c: (main):
2682 Extra robustness to state changes between files.
2684 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2686 * check/Makefile.am:
2687 don't valgrind the controller test - it's leaking - Stefan, HELP
2688 * gst/check/gstcheck.c: (gst_check_message_error),
2689 (gst_check_chain_func), (gst_check_setup_element),
2690 (gst_check_teardown_element), (gst_check_setup_src_pad),
2691 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2692 (gst_check_teardown_sink_pad):
2693 * gst/check/gstcheck.h:
2694 add a bunch of methods to set up elements, and src and sink pads
2695 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2696 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2701 whitespace/doc fixes
2703 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2706 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2707 be handled by the application and not always printed as well
2709 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2711 * check/Makefile.am:
2713 * gst/check/gstcheck.c: (gst_check_message_error):
2714 * gst/check/gstcheck.h:
2715 add a fail_unless_equals_int
2716 add fail_unless for error messages
2718 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2720 * check/Makefile.am:
2722 * common/Makefile.am:
2725 factor out some of the common stuff so we can use it
2727 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2729 * check/Makefile.am:
2730 * check/gst/gstiterator.c: (GST_START_TEST):
2731 * check/gst/gstsystemclock.c: (GST_START_TEST),
2732 (gst_systemclock_suite):
2733 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2737 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2739 * check/elements/.cvsignore:
2740 * check/elements/gstfakesrc.c:
2741 rename to name of element
2742 * check/elements/identity.c: (chain_func), (event_func),
2743 (setup_identity), (cleanup_identity), (GST_START_TEST),
2744 (identity_suite), (main):
2745 add a test for identity
2746 * check/Makefile.am:
2747 * pkgconfig/Makefile.am:
2748 * pkgconfig/gstreamer-check.pc.in:
2749 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2753 move the check stuff to a library that gets installed
2754 * check/gst-libs/controller.c: (GST_START_TEST):
2755 * check/gst-libs/gdp.c:
2756 * check/gst/gst.c: (GST_START_TEST):
2757 * check/gst/gstbin.c:
2758 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2759 * check/gst/gstbus.c:
2760 * check/gst/gstcaps.c: (GST_START_TEST):
2761 * check/gst/gstelement.c:
2762 * check/gst/gstghostpad.c:
2763 * check/gst/gstiterator.c:
2764 * check/gst/gstmessage.c:
2765 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2766 * check/gst/gstobject.c:
2767 * check/gst/gstpad.c: (GST_START_TEST):
2768 * check/gst/gststructure.c: (GST_START_TEST):
2769 * check/gst/gstsystemclock.c: (GST_START_TEST),
2770 (gst_systemclock_suite):
2771 * check/gst/gsttag.c: (gst_tag_suite):
2772 * check/gst/gstvalue.c:
2773 * check/pipelines/cleanup.c:
2774 * check/pipelines/simple_launch_lines.c:
2775 * check/states/sinks.c:
2776 change include statement
2778 * docs/gst/gstreamer-sections.txt:
2779 * docs/gst/tmpl/gstpad.sgml:
2780 document more pad stuff
2781 * gst/gstminiobject.c: (gst_mini_object_ref),
2782 (gst_mini_object_unref):
2785 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2787 * docs/gst/tmpl/gst.sgml:
2789 eliminate another tmpl file, fix spelling in the long-description
2791 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2793 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2794 (test_event), (timediff), (gstevents_suite):
2795 Should fix build on 64-bit arch's
2797 2005-08-18 Andy Wingo <wingo@pobox.com>
2799 Make sure that when a pipeline goes to PLAYING, that data has
2800 actually hit the sink.
2802 * check/states/sinks.c (test_sink): A sink that doesn't get any
2803 data shouldn't return SUCCESS for going to either PLAYING or
2804 PAUSED. Test also the return values on the way back down.
2806 * gst/gstelement.c (gst_element_set_state): When changing the
2807 state of an element currently changing state asynchronously, go to
2808 lost-state after commiting the pending state. Makes future calls
2809 to get_state continue to return ASYNC.
2811 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2812 ASYNC when going to PLAYING if we still don't have preroll, as can
2813 happen with live sources.
2815 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2817 * docs/pwg/advanced-types.xml:
2818 Hack long paragraph into 2 chunks as a workaround for buggy
2819 jadetex version in sid and breezy that loops infinitely and
2822 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2824 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2825 (test_event), (timediff), (gstevents_suite):
2826 Provide more error margin in clock measurements to allow for
2827 g_get_current_time inaccuracies.
2829 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2831 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2832 (test_event), (timediff), (gstevents_suite):
2833 Fix error message output so I might be able to tell why the
2834 test works here but fails on the build farm.
2836 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2838 * check/Makefile.am:
2839 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2840 (test_event), (timediff), (gstevents_suite), (main):
2843 * docs/design/part-seeking.txt:
2846 * docs/gst/tmpl/gstevent.sgml:
2847 * docs/gst/tmpl/gstfakesrc.sgml:
2850 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2851 Treat a buffer-without-newsegment the same as a receiving
2852 a newsegment not in time format, and disable syncing to the clock
2855 * gst/gstbus.c: (gst_bus_set_sync_handler):
2856 Assert if anyone tries to replace the existing sync_handler for bus,
2857 as only the owner should be setting it.
2860 Have a fixed set of custom event enums with events identified by
2861 their structure name (as in 0.8), rather than a free-for-all
2862 allowing collisions between enum values from different plugins.
2864 * gst/gstpad.c: (gst_pad_class_init):
2867 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2868 Handle out-of-band downstream events from the sending thread.
2870 2005-08-17 Andy Wingo <wingo@pobox.com>
2872 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2873 play-timeout==0 to mean no timeout at all. In that case, don't
2874 bother with a get_state or a warning, just return directly, even
2877 * gst/base/gstbasetransform.c: Debug changes.
2880 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2881 ensure bins post state change messages. A bit of a hack but I can't
2882 think of a way to avoid it.
2884 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2886 2005-08-16 Andy Wingo <wingo@pobox.com>
2888 * gst/base/gstadapter.h:
2889 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2890 peek() but you own the data. Not terribly efficient atm.
2892 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2894 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2895 (gst_element_found_tags):
2897 Add two utility functions for tag handling.
2899 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2901 * docs/manual/advanced-dataaccess.xml:
2902 * docs/manual/basics-helloworld.xml:
2903 Fix docs to use _bin_add() before _link(), which fixes the examples
2904 with recent core versions (reported by Madhan Raj M
2905 <raj_madan@rediffmail.com>, #313199).
2907 2005-08-16 Wim Taymans <wim@fluendo.com>
2909 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2910 Added subtract checks.
2912 * docs/design/part-events.txt:
2913 Some more docs about newsegment
2915 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2918 * gst/gstcaps.c: (gst_caps_to_string):
2919 Add comments, cleanups.
2921 * gst/gstelement.c: (gst_element_save_thyself):
2924 * gst/gstvalue.c: (gst_value_collect_int_range),
2925 (gst_string_unwrap), (gst_value_union_int_int_range),
2926 (gst_value_union_int_range_int_range),
2927 (gst_value_intersect_int_int_range),
2928 (gst_value_intersect_int_range_int_range),
2929 (gst_value_intersect_double_double_range),
2930 (gst_value_intersect_double_range_double_range),
2931 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
2932 (gst_value_subtract_int_range_int),
2933 (gst_value_subtract_double_range_double),
2934 (gst_value_subtract_double_range_double_range),
2935 (gst_value_subtract_from_list), (gst_value_subtract_list),
2936 (gst_value_can_compare), (gst_value_compare_fraction):
2937 Cleanups, add comments, remove unneeded asserts.
2939 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2941 * tools/gst-launch.c: (event_loop):
2942 don't convert NULL structures to strings
2944 2005-08-15 Stefan Kost <ensonic@users.sf.net>
2946 * docs/gst/gstreamer-sections.txt:
2947 made some defines private
2948 * docs/gst/tmpl/gstconfig.sgml:
2949 * docs/gst/tmpl/gstqueue.sgml:
2950 * docs/gst/tmpl/gsttaglist.sgml:
2951 * docs/gst/tmpl/gsttypes.sgml:
2952 * docs/gst/tmpl/gstutils.sgml:
2953 * docs/pwg/appendix-porting.xml:
2954 * gst/base/gstbasesink.h:
2955 * gst/base/gstbasesrc.c:
2956 * gst/base/gstbasesrc.h:
2957 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
2958 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
2959 * gst/gstelement.c: (gst_element_class_init):
2960 * gst/gstpad.c: (gst_pad_class_init):
2961 * gst/gstqueue.c: (gst_queue_class_init):
2962 * gst/gstxml.c: (gst_xml_class_init):
2963 documented all undocumented signal inline
2964 * libs/gst/controller/gst-controller.h:
2967 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2969 * docs/pwg/appendix-porting.xml:
2970 Document _set_link_function -> _set_setcaps_function.
2972 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2974 * check/Makefile.am:
2975 add a .check target for running the check
2976 * check/gst-libs/controller.c: (GST_START_TEST):
2978 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2979 complete checks for gstbuffer; would be nice if I could get the
2980 gcov stuff to work so I can see if I actually completed gstbuffer.c
2982 add ASSERT_BUFFER_REFCOUNT
2984 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
2986 * docs/gst/gstreamer-sections.txt:
2987 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
2989 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
2990 spew out a warning if a tag that is already registered
2991 is re-registered, unless it is re-registered with a
2992 different type (#308438).
2994 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
2996 * docs/pwg/appendix-porting.xml:
2997 * docs/pwg/building-state.xml:
2998 Add some paragraphs about state changes in 0.9 to the PWG
2999 and the porting guide, in particular about the new meaning
3000 of GST_STATE_PAUSED and how to write state change functions
3001 with concurrent access by multiple threads in mind.
3003 2005-08-11 Stefan Kost <ensonic@users.sf.net>
3005 * docs/gst/gstreamer-docs.sgml:
3006 * docs/libs/gstreamer-libs-docs.sgml:
3007 added deprecation and since indexes
3008 * libs/gst/controller/gst-controller.c:
3009 * libs/gst/controller/gst-helper.c:
3013 2005-08-11 Wim Taymans <wim@fluendo.com>
3015 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3016 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3017 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3018 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3019 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3020 (gst_ghost_pad_set_target):
3021 Actually implement (re)setting the target on a ghostpad
3022 as described in the docs.
3024 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3026 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3027 Check whether GST_DEBUG_NO_COLOR environment variable is
3028 set and disable coloured debug output if that is the case.
3030 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3032 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3033 (gst_type_find_helper):
3034 The memory returned by gst_type_find_peek() needs to
3035 stay valid until the end of a typefind function, and
3036 typefind functions may keep results from different
3037 offsets around, so we can't just unref the buffer from
3038 the previous _peek(), but have to save all buffers
3039 returned by _peek() until typefinding is done and only
3042 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
3044 * docs/gst/gstreamer-sections.txt:
3046 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3048 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3050 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3051 Fix a pretty good memleak.
3053 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3055 * gst/gstiterator.h:
3056 Fix wrong include and 'make distcheck'.
3058 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3060 * gst/gstbin.c: (bin_bus_handler):
3061 Use gst_element_post_message() instead.
3063 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3065 * gst/base/gstadapter.h:
3066 * gst/base/gstbasesink.h:
3067 * gst/base/gstbasesrc.h:
3068 * gst/base/gstbasetransform.h:
3069 * gst/base/gstcollectpads.h:
3070 * gst/base/gstpushsrc.h:
3071 * gst/gstiterator.h:
3072 Add padding to our base elements' class and instance structs and
3073 to GstIterator (you will need to rebuild all plugins and apps!)
3075 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3077 * gst/gstbin.c: (bin_bus_handler):
3078 Make default message forwarding from child->bus to bin->bus
3079 threadsafe and make it not emit warnings if the parent has no bus.
3081 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3083 * gst/gstelement.c: (activate_pads):
3084 On paused->ready, set pad->caps to NULL, as is the documented
3085 behaviour in this state change. Fixes playback of series of
3086 media files when visualization is enabled in Totem.
3088 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3090 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3091 Allow NULL as filter-caps (which means "any").
3093 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3095 * docs/libs/gstreamer-libs-sections.txt:
3096 * libs/gst/controller/gst-controller.c:
3097 * libs/gst/controller/gst-controller.h:
3098 * libs/gst/controller/gst-helper.c:
3099 adding more entries to the docs and fix small doc-bugs
3101 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3103 * docs/gst/gstreamer-docs.sgml:
3104 * docs/gst/gstreamer-sections.txt:
3105 * docs/gst/gstreamer.types:
3106 * docs/gst/tmpl/gstbasesink.sgml:
3107 * docs/gst/tmpl/gstbasesrc.sgml:
3108 * docs/gst/tmpl/gstbasetransform.sgml:
3109 * docs/gst/tmpl/gstfakesrc.sgml:
3110 * gst/base/gstcollectpads.c:
3111 * gst/base/gstcollectpads.h:
3112 * libs/gst/controller/gst-controller.c:
3113 * libs/gst/controller/gst-controller.h:
3114 * libs/gst/controller/gst-helper.c:
3115 * libs/gst/controller/gst-interpolation.c:
3116 * libs/gst/controller/lib.c:
3117 added long/short desc for controller docs
3118 added collectpads base class docs
3119 added correct includes to base-class docs
3121 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3123 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3124 (gst_test_mono_source_set_property),
3125 (gst_test_mono_source_class_init), (GST_START_TEST),
3126 (gst_controller_suite):
3127 * docs/gst/gstreamer-docs.sgml:
3128 * docs/gst/gstreamer-sections.txt:
3129 * docs/gst/gstreamer.types:
3130 * docs/libs/gstreamer-libs-docs.sgml:
3131 * docs/libs/gstreamer-libs-sections.txt:
3132 * gst/base/gstadapter.c:
3133 * libs/gst/controller/gst-controller.c:
3134 (gst_controlled_property_new), (gst_controlled_property_free),
3135 (gst_controller_new_valist),
3136 (gst_controller_remove_properties_valist),
3137 (gst_controller_sink_values), (_gst_controller_finalize):
3138 * libs/gst/controller/gst-controller.h:
3139 * libs/gst/controller/gst-helper.c:
3140 (gst_object_control_properties), (gst_object_uncontrol_properties),
3141 (gst_object_get_controller), (gst_object_set_controller),
3142 (gst_object_sink_values), (gst_object_get_value_arrays),
3143 (gst_object_get_value_array):
3144 more tests (and fixes) for the controller
3145 more docs for the controller
3146 integrated companies docs for the adapter
3148 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
3150 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3151 (GST_START_TEST), (fakesrc_suite):
3152 add tests for sizetype
3154 2005-08-04 Andy Wingo <wingo@pobox.com>
3156 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3157 fixes buffer_alloc proxying among other things.
3159 * gst/base/gstbasetransform.c:
3160 * gst/base/gstbasetransform.h:
3161 Revert patch to gstbasetransform from 7-28 removing
3164 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3165 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3166 Semantics changed, should return not the size of the output buffer
3167 but the byte size of a buffer with a given caps.
3169 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3171 (gst_base_transform_configure_caps): Don't set out_size here: (in,
3172 out) are not the pad caps until setcaps finishes.
3173 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3174 not-in-place case as well. Deal with changing from in-place to
3175 not-in-place within calling pad_alloc_buffer. Still a bit
3176 concerned about the overhead here...
3178 2005-08-03 Andy Wingo <wingo@pobox.com>
3180 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3181 fixating is an error.
3183 2005-08-04 Edward Hervey <edward@fluendo.com>
3185 * gst/base/gstadapter.h:
3186 Added gst_adapter_get_type() to the header
3188 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3190 * check/Makefile.am:
3191 * check/gst-libs/controller.c:
3192 * libs/gst/controller/gst-controller.c:
3193 (gst_controller_new_valist):
3194 added check test suite for the controller
3195 * gst/base/gstpushsrc.c:
3198 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3200 * docs/gst/Makefile.am:
3201 * docs/gst/gstreamer-docs.sgml:
3202 * docs/gst/gstreamer-sections.txt:
3203 * docs/gst/gstreamer.types:
3204 * docs/gst/tmpl/gstfakesrc.sgml:
3206 * gst/base/gstbasesink.c:
3207 * gst/base/gstbasesink.h:
3208 * gst/base/gstbasesrc.c:
3209 * gst/base/gstbasesrc.h:
3210 * gst/base/gstbasetransform.c:
3211 * gst/base/gstpushsrc.c:
3212 * gst/base/gstpushsrc.h:
3213 add short/long description docs to base classes
3214 add pushsrc to the docs
3215 remove consolidated doc fragments
3217 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3220 * docs/libs/Makefile.am:
3221 * docs/libs/gstreamer-libs-docs.sgml:
3222 * docs/libs/gstreamer-libs-sections.txt:
3223 * docs/libs/gstreamer-libs.types:
3224 * examples/Makefile.am:
3225 * examples/controller/.cvsignore:
3226 * examples/controller/Makefile.am:
3227 * examples/controller/audio-example.c: (main):
3228 * libs/gst/Makefile.am:
3229 * libs/gst/controller/.cvsignore:
3230 * libs/gst/controller/Makefile.am:
3231 * libs/gst/controller/gst-controller.c:
3232 (on_object_controlled_property_changed), (gst_timed_value_compare),
3233 (gst_timed_value_find),
3234 (gst_controlled_property_set_interpolation_mode),
3235 (gst_controlled_property_new), (gst_controlled_property_free),
3236 (gst_controller_find_controlled_property),
3237 (gst_controller_new_valist), (gst_controller_new),
3238 (gst_controller_remove_properties_valist),
3239 (gst_controller_remove_properties), (gst_controller_set),
3240 (gst_controller_set_from_list), (gst_controller_unset),
3241 (gst_controller_get), (gst_controller_get_all),
3242 (gst_controller_sink_values), (gst_controller_get_value_arrays),
3243 (gst_controller_get_value_array),
3244 (gst_controller_set_interpolation_mode),
3245 (_gst_controller_finalize), (_gst_controller_init),
3246 (_gst_controller_class_init), (gst_controller_get_type):
3247 * libs/gst/controller/gst-controller.h:
3248 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3249 (g_object_uncontrol_properties), (g_object_get_controller),
3250 (g_object_set_controller), (g_object_sink_values),
3251 (g_object_get_value_arrays), (g_object_get_value_array):
3252 * libs/gst/controller/gst-interpolation.c:
3253 (gst_controlled_property_find_timed_value_node),
3254 (interpolate_none_get), (interpolate_trigger_get),
3255 (interpolate_trigger_get_value_array):
3256 * libs/gst/controller/lib.c: (gst_controller_init):
3257 * pkgconfig/Makefile.am:
3258 * pkgconfig/gstreamer-control-uninstalled.pc.in:
3259 * pkgconfig/gstreamer-control.pc.in:
3260 * testsuite/Makefile.am:
3261 * testsuite/controller/.cvsignore:
3262 * testsuite/controller/Makefile.am:
3263 * testsuite/controller/interpolator.c: (main):
3264 added controller code
3265 removed dparam pc files
3267 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3268 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3269 (gst_collectpads_stop):
3270 Broadcast the condition when shutting down, to make sure we wake all
3271 threads up. Shut down pads on finalize, for safety.
3273 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3274 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3275 (gst_base_transform_handle_buffer),
3276 (gst_base_transform_change_state):
3277 Handle PAUSED->READY->PAUSED transition after negotiation
3279 * gst/gstmessage.c: (gst_message_init):
3280 Extra piece of debug for new messages.
3282 2005-08-01 Stefan Kost <ensonic@users.sf.net>
3285 * docs/gst/tmpl/gstbasesrc.sgml:
3286 * docs/gst/tmpl/gstelement.sgml:
3287 * docs/gst/tmpl/gstevent.sgml:
3288 * docs/gst/tmpl/gstfakesrc.sgml:
3289 * docs/gst/tmpl/gstformat.sgml:
3290 * docs/gst/tmpl/gstghostpad.sgml:
3291 * docs/gst/tmpl/gstpad.sgml:
3292 * docs/gst/tmpl/gstquery.sgml:
3293 * docs/gst/tmpl/gststructure.sgml:
3294 * docs/gst/tmpl/gsttaglist.sgml:
3295 * docs/gst/tmpl/gstvalue.sgml:
3296 * docs/libs/gstreamer-libs-docs.sgml:
3297 * docs/libs/gstreamer-libs-sections.txt:
3298 * docs/libs/gstreamer-libs.types:
3299 * libs/gst/Makefile.am:
3300 * libs/gst/control/.cvsignore:
3301 * libs/gst/control/Makefile.am:
3302 * libs/gst/control/control.c:
3303 * libs/gst/control/control.h:
3304 * libs/gst/control/dparam.c:
3305 * libs/gst/control/dparam.h:
3306 * libs/gst/control/dparam_smooth.c:
3307 * libs/gst/control/dparam_smooth.h:
3308 * libs/gst/control/dparamcommon.h:
3309 * libs/gst/control/dparammanager.c:
3310 * libs/gst/control/dparammanager.h:
3311 * libs/gst/control/dplinearinterp.c:
3312 * libs/gst/control/dplinearinterp.h:
3313 * libs/gst/control/unitconvert.c:
3314 * libs/gst/control/unitconvert.h:
3315 * testsuite/Makefile.am:
3316 * testsuite/dynparams/.cvsignore:
3317 * testsuite/dynparams/Makefile.am:
3318 * testsuite/dynparams/dparamstest.c:
3319 * tools/Makefile.am:
3320 * tools/gst-inspect.c: (print_element_info), (main):
3321 * tools/gst-xmlinspect.c: (print_element_info), (main):
3322 deactivate and remove dparams (libgstcontrol)
3324 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3326 * gst/elements/gsttypefindelement.c:
3327 (gst_type_find_element_have_type), (gst_type_find_element_init),
3328 (stop_typefinding), (gst_type_find_element_handle_event),
3329 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3330 * gst/elements/gsttypefindelement.h:
3331 Set caps on all outgoing buffers, not just the first one.
3333 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3335 * gst/elements/gsttypefindelement.c:
3336 (gst_type_find_element_have_type),
3337 (gst_type_find_element_check_set_buffer_caps),
3338 (gst_type_find_element_init), (stop_typefinding),
3339 (gst_type_find_element_handle_event),
3340 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3341 * gst/elements/gsttypefindelement.h:
3342 Set caps on first outgoing buffer when we've found the type.
3344 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3346 * docs/gst/gstreamer-docs.sgml:
3347 * docs/gst/gstreamer-sections.txt:
3348 * docs/gst/tmpl/gstscheduler.sgml:
3349 * docs/gst/tmpl/gstschedulerfactory.sgml:
3350 Remove some old cruft from docs.
3352 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
3355 Fix inline docs for GstPadLinkReturn.
3357 * gst/gststructure.c: (gst_structure_has_name):
3358 * gst/gststructure.h:
3359 * docs/gst/gstreamer-sections.txt:
3360 New API: gst_structure_has_name().
3362 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
3365 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3366 and _LARGEFILE_SOURCE in config.h as required. Do not
3367 export those flags in our .pc files any longer (#142209).
3369 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3371 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3372 (gst_file_sink_do_seek), (gst_file_sink_event),
3373 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3374 Redo seek/tell calls with large file support in mind; add some
3375 debugging messages; add log message that tells us when large
3376 file support is unavailable or not enabled for some reason.
3378 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3379 Add log message that tells us when large file support
3380 is unavailable or not enabled for some reason.
3382 2005-07-29 Wim Taymans <wim@fluendo.com>
3384 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3385 Added test for removing an element with ghostpad from a bin.
3386 Fixed test as current implementation does the right thing.
3388 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3389 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3390 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3391 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3392 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3393 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3394 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3395 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3396 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3397 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3398 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3399 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3400 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3401 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3402 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3403 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3404 * gst/gstghostpad.h:
3405 Clean up ghostpads, remove properties for internal stuff.
3408 Prepare for switching targets, not all use cases work yet.
3410 2005-07-29 Wim Taymans <wim@fluendo.com>
3412 * docs/design/part-gstghostpad.txt:
3415 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3416 (gst_bin_remove_func):
3417 Unlinking pads while holding the bin LOCK is not a good
3420 * gst/gstpad.c: (gst_pad_class_init),
3421 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3422 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3423 No prob setting template after creating the pad.
3425 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3427 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3428 (gst_bus_peek), (gst_bus_source_dispatch),
3429 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3430 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3431 gst_bus_poll may be called from other threads. Handle
3432 this nicely by not making poll_data disappear off the
3433 stack once gst_bus_poll returns.
3434 gst_bus_peek now increments the refcount on the returned
3437 2005-07-29 Wim Taymans <wim@fluendo.com>
3439 * docs/design/part-gstghostpad.txt:
3440 Overview of current GhostPad datastructures and use
3441 cases for changing the target.
3443 2005-07-28 Wim Taymans <wim@fluendo.com>
3445 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3446 Added checks for hierarchy consistency whan adding linked
3449 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3450 Added check to test element scheduling without bin/pipeline.
3452 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3453 First add elements to bin, then link.
3455 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3456 (gst_bin_remove_func):
3457 Unlink pads from elements added/removed from bin to maintain
3458 hierarchy consistency.
3460 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3462 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3463 (gst_base_transform_handle_buffer):
3464 * gst/base/gstbasetransform.h:
3465 Remove broken delay_configure (fixes renegotiation of software
3466 scaling pipelines); remove some leftover printf()s.
3468 2005-07-28 Wim Taymans <wim@fluendo.com>
3470 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3471 Added some more tests for wrong hierarchy
3473 * docs/design/part-overview.txt:
3476 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3479 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3480 (gst_element_dispose):
3483 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3484 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3485 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3486 (gst_pad_set_caps), (gst_pad_send_event):
3487 Check for correct hierarchy when linking pads. Moving to
3488 strict requirement for ghostpads when linking elements in
3492 Clean ups. Added WRONG_HIERARCHY return value.
3494 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3496 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3497 Better debug if no transform is possible.
3499 2005-07-27 Wim Taymans <wim@fluendo.com>
3501 * docs/random/wtay/network-transp:
3504 2005-07-27 Wim Taymans <wim@fluendo.com>
3506 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3507 (gst_dp_event_from_packet):
3508 Fix serialization of seek events.
3510 2005-07-27 Wim Taymans <wim@fluendo.com>
3512 * check/gst-libs/gdp.c: (GST_START_TEST):
3513 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3514 Fix compilation and fix event serialization.
3516 2005-07-27 Wim Taymans <wim@fluendo.com>
3519 * docs/design/part-TODO.txt:
3520 * docs/design/part-events.txt:
3523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3524 (gst_base_sink_event), (gst_base_sink_do_sync),
3525 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3526 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3527 (gst_base_src_do_seek), (gst_base_src_event_handler),
3528 (gst_base_src_loop):
3529 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3530 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3531 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3532 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3533 (gst_base_transform_set_passthrough),
3534 (gst_base_transform_is_passthrough):
3535 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3536 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3542 * gst/gstelement.c: (gst_element_seek):
3544 Update gst_element_seek.
3546 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3547 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3548 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3549 (gst_event_new_eos), (gst_event_new_newsegment),
3550 (gst_event_parse_newsegment), (gst_event_new_tag),
3551 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3552 (gst_event_parse_qos), (gst_event_new_seek),
3553 (gst_event_parse_seek), (gst_event_new_navigation):
3555 Make GstEvent use GstStructure. Add parsing code, make sure the
3556 API is sufficiently generic.
3557 Mark possible directions of events and serialization.
3559 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3560 (_gst_message_copy), (gst_message_new_segment_start),
3561 (gst_message_new_segment_done), (gst_message_new_custom),
3562 (gst_message_parse_segment_start),
3563 (gst_message_parse_segment_done):
3566 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3567 (gst_pad_set_caps), (gst_pad_send_event):
3568 Update for new events.
3569 Catch events sent in wrong directions.
3571 * gst/gstqueue.c: (gst_queue_link_src),
3572 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3573 (gst_queue_handle_src_query):
3578 Remove event code from this file.
3580 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3581 (gst_dp_event_from_packet):
3584 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3586 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3587 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3588 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3589 Make debugging actually useful.
3591 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3593 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3594 (gst_pad_fixate_caps):
3595 Implement default fixation once again, so that gst_pad_fixate()
3596 actually does anything at all. This probably needs to be some
3597 sort of a last resort, and use profile-based fixation first, but
3598 since that doesn't exist yet, this is the best we have. Fixes
3599 visualization in Totem.
3601 2005-07-22 Wim Taymans <wim@fluendo.com>
3603 * docs/design/part-events.txt:
3606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3607 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3608 (gst_base_sink_activate_pull):
3611 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3612 (gst_fake_src_create):
3613 Fix handoff marshall.
3615 * gst/elements/gstidentity.c: (gst_identity_class_init),
3616 (gst_identity_transform_ip):
3617 We're a real inplace element.
3619 * gst/gstbus.c: (gst_bus_post):
3620 Added some comments.
3622 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3623 * tests/muxing/case1.c: (main):
3624 * tests/sched/dynamic-pipeline.c: (main):
3625 * tests/sched/interrupt1.c: (main):
3626 * tests/sched/interrupt2.c: (main):
3627 * tests/sched/interrupt3.c: (main):
3628 * tests/sched/runxml.c: (main):
3629 * tests/sched/sched-stress.c: (main):
3630 * tests/seeking/seeking1.c: (event_received), (main):
3631 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3633 * tests/threadstate/threadstate3.c: (main):
3634 * tests/threadstate/threadstate4.c: (main):
3635 * tests/threadstate/threadstate5.c: (main):
3638 2005-07-21 Wim Taymans <wim@fluendo.com>
3640 * docs/design/part-seeking.txt:
3641 Some small additions.
3643 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3644 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3645 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3646 * gst/base/gstbasesink.h:
3647 discont values are gint64, handle the math correctly.
3649 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3650 Make the basesrc report error if the source pad is not linked.
3652 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3653 (gst_queue_loop), (gst_queue_handle_src_query),
3654 (gst_queue_src_activate_push):
3655 Make queue collect data even if the srcpad is not linked.
3656 Start pushing out data as soon as it is linked.
3658 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3660 Added gst_flow_get_name() to ease error reporting.
3662 2005-07-20 Wim Taymans <wim@fluendo.com>
3664 * gst/gstmessage.c: (gst_message_new_segment_start),
3665 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3666 (gst_message_parse_segment_done):
3668 Added a bunch of messages for advanced seeking.
3670 * gst/parse/grammar.y:
3671 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3672 (gst_dpman_state_changed):
3673 Fix some new-pad -> pad-added signals
3675 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3677 * docs/manual/appendix-porting.xml:
3678 * docs/pwg/appendix-porting.xml:
3679 Document new-pad/state-change signal renames and the FixedList
3682 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3684 * docs/manual/advanced-autoplugging.xml:
3685 * docs/manual/basics-helloworld.xml:
3686 * docs/manual/basics-pads.xml:
3687 * docs/random/ds/0.9-suggested-changes:
3688 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3693 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3694 (gst_structure_parse_array), (gst_structure_parse_value):
3695 * gst/gstvalue.c: (gst_type_is_fixed),
3696 (gst_value_list_prepend_value), (gst_value_list_append_value),
3697 (gst_value_list_get_size), (gst_value_list_get_value),
3698 (gst_value_transform_array_string), (gst_value_serialize_array),
3699 (gst_value_deserialize_array), (gst_value_intersect_array),
3700 (gst_value_is_fixed), (_gst_value_initialize):
3702 GstElement::new-pad -> pad-added, GstElement::state-change ->
3703 state-changed, GstValueFixedList -> GstValueArray, add format and
3704 flags as their own arguments in gst_element_seek() (should improve
3705 "bindeability"), remove function generators since they don't work
3706 under a whole bunch of compilers (they were deprecated already
3709 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3711 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3712 (_gst_debug_register_funcptr):
3714 Fix illegal cast on some platforms (#309253).
3716 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3718 * gst/gstmessage.c: (gst_message_new_custom):
3720 Add _new_custom, make _new_application a macro to _new_custom.
3722 2005-07-20 Wim Taymans <wim@fluendo.com>
3724 * gst/base/gstbasesrc.c: (gst_base_src_init),
3725 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3726 * gst/base/gstbasesrc.h:
3727 Add a gboolean to decide when to push out a discont.
3729 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3730 (gst_queue_loop), (gst_queue_handle_src_query),
3731 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3732 (gst_queue_set_property), (gst_queue_get_property):
3735 * tests/threadstate/threadstate1.c: (main):
3736 Make a thread test compile and run... very silly..
3739 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3741 * docs/manual/appendix-porting.xml:
3742 Mention removal of libgstgconf-0.9.la and existence of gconf
3745 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3747 * docs/pwg/advanced-clock.xml:
3748 * docs/pwg/appendix-porting.xml:
3749 * docs/pwg/intro-preface.xml:
3750 * docs/pwg/other-base.xml:
3751 * docs/pwg/other-manager.xml:
3752 * docs/pwg/other-nton.xml:
3753 * docs/pwg/other-ntoone.xml:
3754 * docs/pwg/other-oneton.xml:
3756 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3757 demuxer), remove n-to-n (was never written), fix some code examples
3758 and links and update the porting section to include all this.
3760 2005-07-19 Wim Taymans <wim@fluendo.com>
3762 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3763 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3764 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3765 (gst_queue_src_activate_push), (gst_queue_change_state),
3766 (gst_queue_get_property):
3768 Propagate GstFlowReturn more intelligently upstream and output
3769 an ERROR/EOS when streaming stopped due to fatal error.
3771 2005-07-19 Wim Taymans <wim@fluendo.com>
3773 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3774 Don't block forever for the state change to complete, the
3775 pipeline already did with a sensible timeout.
3777 2005-07-19 Wim Taymans <wim@fluendo.com>
3779 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3780 Make sure we never call the create function is we
3783 2005-07-19 Andy Wingo <wingo@pobox.com>
3785 * gst/parse/parse.l: Attempt to solve bug #172815.
3787 2005-07-19 Wim Taymans <wim@fluendo.com>
3789 * docs/design/part-clocks.txt:
3790 * docs/design/part-events.txt:
3791 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3793 Only update the seeking values when we are not
3796 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3798 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3799 Oops, ignore the result of gst_pad_push_event here.
3801 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3803 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3804 (gst_base_src_activate_push):
3805 Send discont event from the loop function, as pads
3806 aren't activated yet in the activate_push handler.
3808 * gst/gstbin.c: (bin_bus_handler):
3809 Don't leak element name.
3811 2005-07-18 Andy Wingo <wingo@pobox.com>
3813 * configure.ac: Use AS_LIBTOOL_TAGS.
3815 2005-07-18 Wim Taymans <wim@fluendo.com>
3817 * docs/gst/gstreamer.types:
3818 Remove deleted types.
3820 2005-07-18 Wim Taymans <wim@fluendo.com>
3822 * check/elements/gstfakesrc.c: (GST_START_TEST):
3825 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3826 (init_popt_callback):
3828 * gst/gst_private.h:
3829 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3830 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3833 * gst/gstconfig.h.in:
3834 * gst/gstelement.c: (gst_element_class_init),
3835 (gst_element_set_base_time), (gst_element_get_base_time),
3836 (iterator_fold_with_resync), (gst_element_change_state),
3837 (gst_element_dispose), (gst_element_get_bus):
3839 * gst/gstelementfactory.h:
3840 * gst/gsterror.c: (_gst_core_errors_init):
3843 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3845 * gst/gstinfo.c: (_gst_debug_init):
3846 * gst/gstmessage.c: (_gst_message_copy):
3848 * gst/gstminiobject.h:
3851 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3852 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3855 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3856 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3857 (gst_pipeline_get_last_stream_time):
3858 * gst/gstpipeline.h:
3859 * gst/gstpluginfeature.h:
3861 * gst/gstscheduler.c:
3862 * gst/gstscheduler.h:
3863 * gst/gststructure.h:
3864 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3865 (gst_task_finalize), (gst_task_func), (gst_task_create),
3866 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3867 (gst_task_stop), (gst_task_pause):
3869 * gst/gsttypefind.h:
3871 * gst/registries/gstlibxmlregistry.c: (load_feature),
3872 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3873 * gst/registries/gstxmlregistry.c:
3874 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3875 * gst/schedulers/threadscheduler.c:
3876 * libs/gst/control/dparammanager.h:
3877 * tools/gst-inspect.c: (print_element_list),
3878 (print_plugin_features), (print_element_features):
3879 * tools/gst-xmlinspect.c: (print_element_list),
3880 (print_plugin_info), (main):
3881 Removed plugable schedulers.
3882 Removed Scheduler/Manager from elements.
3883 Removed gsttypes.h, rearranged includes.
3884 Removed dependency pad<->element, element<>pipeline, and
3885 various others, fix includes.
3886 implement gst_pad_get_parent() with gst_object_get_parent()
3887 Make GstTask sefcontained.
3888 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3890 Fix endless loop in iterator_fold_with_resync.
3893 2005-07-18 Wim Taymans <wim@fluendo.com>
3899 2005-07-18 Wim Taymans <wim@fluendo.com>
3904 2005-07-18 Wim Taymans <wim@fluendo.com>
3910 2005-07-18 Wim Taymans <wim@fluendo.com>
3912 * docs/design/part-dynamic.txt:
3913 * docs/design/part-events.txt:
3914 * docs/design/part-seeking.txt:
3915 Some more docs in the works.
3917 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3918 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3919 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3920 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3921 (gst_base_transform_handle_buffer),
3922 (gst_base_transform_sink_activate_push),
3923 (gst_base_transform_src_activate_pull),
3924 (gst_base_transform_set_passthrough),
3925 (gst_base_transform_is_passthrough):
3928 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3931 * gst/gstevent.c: (gst_event_finalize):
3934 * gst/gstutils.c: (gst_element_unlink),
3935 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
3936 (gst_pad_proxy_setcaps):
3938 Add _get_parent_element() to get a pads parent as an element.
3940 2005-07-18 Wim Taymans <wim@fluendo.com>
3942 * check/gst/gstbin.c: (GST_START_TEST):
3945 2005-07-18 Wim Taymans <wim@fluendo.com>
3947 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3948 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3949 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3950 (gst_base_sink_event), (gst_base_sink_do_sync),
3951 (gst_base_sink_chain), (gst_base_sink_loop),
3952 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
3953 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
3955 Fix logic for returning ASYNC when not prerolled.
3957 2005-07-18 Wim Taymans <wim@fluendo.com>
3959 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3960 Fix nasty refcount bug.
3962 2005-07-16 Philippe Khalaf <burger@speedy.org>
3964 * gst/elements/gstfdsrc.c:
3965 * gst/elements/gstfdsrc.h:
3966 * gst/elements/gstelements.c:
3967 * gst/elements/Makefile.am:
3968 Ported fdsrc to 0.9.
3970 2005-07-16 Wim Taymans <wim@fluendo.com>
3972 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3973 (gst_base_sink_do_sync):
3976 2005-07-16 Wim Taymans <wim@fluendo.com>
3978 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3979 (gst_base_sink_event), (gst_base_sink_get_times),
3980 (gst_base_sink_do_sync), (gst_base_sink_change_state):
3981 * gst/base/gstbasesink.h:
3982 Store and use discont values when syncing buffers as described
3985 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3986 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
3987 (gst_base_src_activate_push):
3988 Push discont event when starting.
3990 * gst/elements/gstidentity.c: (gst_identity_transform):
3993 * gst/gstbin.c: (gst_bin_change_state):
3994 Small cleanups in base_time distribution.
3996 * gst/gstelement.c: (gst_element_set_base_time),
3997 (gst_element_get_base_time), (gst_element_change_state):
3999 Added methods for the base_time of the element.
4002 * gst/gstpipeline.c: (gst_pipeline_send_event),
4003 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4004 (gst_pipeline_get_last_stream_time):
4005 * gst/gstpipeline.h:
4007 Handle seeking as described in design doc, remove stream_time
4009 Cleanups clock and stream_time selection code. Added accessors
4010 for the stream_time.
4013 2005-07-16 Andy Wingo <wingo@pobox.com>
4015 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4018 2005-07-16 Wim Taymans <wim@fluendo.com>
4020 * check/gst/gstbin.c: (GST_START_TEST):
4021 Make elements silent as the deep_notify refs the
4022 parent, which might make the test fail.
4024 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4025 Don't hold the lock for too long.
4027 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
4029 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4030 Don't unref the caps we passed to gst_caps_make_writable() after
4031 passing them. gst_caps_make_writable() will do that for us.
4033 2005-07-15 Andy Wingo <wingo@pobox.com>
4035 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4038 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4039 own marshalling function for the handoff signal. Properly type the
4040 buffer as a buffer. Fixes some warnings. Should do a more general
4042 (gst_identity_class_init): Plug into the right marshaller.
4044 2005-07-15 Wim Taymans <wim@fluendo.com>
4046 * docs/design/part-TODO.txt:
4047 * docs/design/part-clocks.txt:
4048 * docs/design/part-element-sink.txt:
4049 * docs/design/part-events.txt:
4050 * docs/design/part-gstpipeline.txt:
4051 Updated docs, mostly DISCONT related.
4053 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
4055 * docs/pwg/building-pads.xml:
4056 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4058 2005-07-15 Andy Wingo <wingo@pobox.com>
4060 * tools/gst-typefind.c: Update, add copyright block.
4062 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4063 Normalize and truncate caps before fixation.
4066 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4067 discards all but the first structure from its argument.
4069 2005-07-15 Wim Taymans <wim@fluendo.com>
4071 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4072 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4073 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4074 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4075 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4076 (gst_base_transform_chain), (gst_base_transform_change_state),
4077 (gst_base_transform_set_passthrough),
4078 (gst_base_transform_is_passthrough):
4079 * gst/base/gstbasetransform.h:
4080 Make passthrough work using the bufferpools.
4081 Changed API a bit, subclasses have to write into a buffer
4082 provided by the base class.
4083 More debug info in nego functions.
4085 * gst/elements/gstidentity.c: (gst_identity_init),
4086 (gst_identity_transform):
4087 Port to new base class.
4089 2005-07-15 Wim Taymans <wim@fluendo.com>
4091 * gst/gstmessage.c: (gst_message_new_state_changed):
4092 * tools/gst-launch.c: (event_loop), (main):
4093 Totally dump messages in -launch with the -m option.
4094 Fix message name for State messages,
4096 2005-07-14 Wim Taymans <wim@fluendo.com>
4098 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4099 Post error messages on errors.
4101 2005-07-14 Wim Taymans <wim@fluendo.com>
4103 * gst/gstcaps.c: (gst_caps_do_simplify):
4107 Define error for stream stopped.
4109 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4110 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4111 Do proper return values.
4113 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4114 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4115 (gst_pad_get_range):
4116 Better return values.
4119 Reorganise return values, add macro to check for fatal errors.
4121 * gst/gstqueue.c: (gst_queue_chain):
4122 Return proper GstFlowReturn values,
4124 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
4126 * docs/gst/gstreamer-sections.txt:
4127 * docs/gst/gstreamer.types:
4128 * docs/gst/tmpl/gst.sgml:
4129 * docs/gst/tmpl/gstbasesink.sgml:
4130 * docs/gst/tmpl/gstbasesrc.sgml:
4131 * docs/gst/tmpl/gstbasetransform.sgml:
4132 * docs/gst/tmpl/gstbin.sgml:
4133 * docs/gst/tmpl/gstbuffer.sgml:
4134 * docs/gst/tmpl/gstcaps.sgml:
4135 * docs/gst/tmpl/gstclock.sgml:
4136 * docs/gst/tmpl/gstcompat.sgml:
4137 * docs/gst/tmpl/gstconfig.sgml:
4138 * docs/gst/tmpl/gstelement.sgml:
4139 * docs/gst/tmpl/gstelementdetails.sgml:
4140 * docs/gst/tmpl/gstelementfactory.sgml:
4141 * docs/gst/tmpl/gstenumtypes.sgml:
4142 * docs/gst/tmpl/gsterror.sgml:
4143 * docs/gst/tmpl/gstevent.sgml:
4144 * docs/gst/tmpl/gstfakesink.sgml:
4145 * docs/gst/tmpl/gstfakesrc.sgml:
4146 * docs/gst/tmpl/gstfilesink.sgml:
4147 * docs/gst/tmpl/gstfilesrc.sgml:
4148 * docs/gst/tmpl/gstfilter.sgml:
4149 * docs/gst/tmpl/gstformat.sgml:
4150 * docs/gst/tmpl/gstghostpad.sgml:
4151 * docs/gst/tmpl/gstimplementsinterface.sgml:
4152 * docs/gst/tmpl/gstindex.sgml:
4153 * docs/gst/tmpl/gstindexfactory.sgml:
4154 * docs/gst/tmpl/gstinfo.sgml:
4155 * docs/gst/tmpl/gstiterator.sgml:
4156 * docs/gst/tmpl/gstmacros.sgml:
4157 * docs/gst/tmpl/gstmemchunk.sgml:
4158 * docs/gst/tmpl/gstminiobject.sgml:
4159 * docs/gst/tmpl/gstobject.sgml:
4160 * docs/gst/tmpl/gstpad.sgml:
4161 * docs/gst/tmpl/gstpadtemplate.sgml:
4162 * docs/gst/tmpl/gstparse.sgml:
4163 * docs/gst/tmpl/gstpipeline.sgml:
4164 * docs/gst/tmpl/gstplugin.sgml:
4165 * docs/gst/tmpl/gstpluginfeature.sgml:
4166 * docs/gst/tmpl/gstquery.sgml:
4167 * docs/gst/tmpl/gstqueue.sgml:
4168 * docs/gst/tmpl/gstregistry.sgml:
4169 * docs/gst/tmpl/gstregistrypool.sgml:
4170 * docs/gst/tmpl/gstscheduler.sgml:
4171 * docs/gst/tmpl/gstschedulerfactory.sgml:
4172 * docs/gst/tmpl/gststructure.sgml:
4173 * docs/gst/tmpl/gstsystemclock.sgml:
4174 * docs/gst/tmpl/gsttaglist.sgml:
4175 * docs/gst/tmpl/gsttagsetter.sgml:
4176 * docs/gst/tmpl/gsttrace.sgml:
4177 * docs/gst/tmpl/gsttrashstack.sgml:
4178 * docs/gst/tmpl/gsttypefind.sgml:
4179 * docs/gst/tmpl/gsttypefindfactory.sgml:
4180 * docs/gst/tmpl/gsttypes.sgml:
4181 * docs/gst/tmpl/gsturihandler.sgml:
4182 * docs/gst/tmpl/gsturitype.sgml:
4183 * docs/gst/tmpl/gstutils.sgml:
4184 * docs/gst/tmpl/gstvalue.sgml:
4185 * docs/gst/tmpl/gstversion.sgml:
4186 * docs/gst/tmpl/gstxml.sgml:
4187 * docs/libs/tmpl/gstcontrol.sgml:
4188 * docs/libs/tmpl/gstdataprotocol.sgml:
4189 * docs/libs/tmpl/gstdparam.sgml:
4190 * docs/libs/tmpl/gstdplinint.sgml:
4191 * docs/libs/tmpl/gstdpman.sgml:
4192 * docs/libs/tmpl/gstdpsmooth.sgml:
4193 * docs/libs/tmpl/gstgetbits.sgml:
4194 * docs/libs/tmpl/gstunitconvert.sgml:
4195 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4196 (gst_push_src_base_init), (gst_push_src_class_init),
4197 (gst_push_src_init), (gst_push_src_create):
4198 * gst/base/gstpushsrc.h:
4199 * gst/elements/gstelements.c:
4200 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4201 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4202 (gst_fake_sink_init), (gst_fake_sink_set_property),
4203 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4204 (gst_fake_sink_event), (gst_fake_sink_preroll),
4205 (gst_fake_sink_render), (gst_fake_sink_change_state):
4206 * gst/elements/gstfakesink.h:
4207 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4208 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4209 (gst_fake_src_base_init), (gst_fake_src_class_init),
4210 (gst_fake_src_init), (gst_fake_src_event_handler),
4211 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4212 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4213 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4214 (gst_fake_src_create_buffer), (gst_fake_src_create),
4215 (gst_fake_src_start), (gst_fake_src_stop):
4216 * gst/elements/gstfakesrc.h:
4217 * gst/elements/gstfilesink.c: (_do_init),
4218 (gst_file_sink_base_init), (gst_file_sink_class_init),
4219 (gst_file_sink_init), (gst_file_sink_dispose),
4220 (gst_file_sink_set_location), (gst_file_sink_set_property),
4221 (gst_file_sink_get_property), (gst_file_sink_open_file),
4222 (gst_file_sink_close_file), (gst_file_sink_query),
4223 (gst_file_sink_event), (gst_file_sink_render),
4224 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4225 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4226 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4227 * gst/elements/gstfilesink.h:
4228 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4229 (gst_file_src_class_init), (gst_file_src_init),
4230 (gst_file_src_finalize), (gst_file_src_set_location),
4231 (gst_file_src_set_property), (gst_file_src_get_property),
4232 (gst_file_src_map_region), (gst_file_src_map_small_region),
4233 (gst_file_src_create_mmap), (gst_file_src_create_read),
4234 (gst_file_src_create), (gst_file_src_is_seekable),
4235 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4236 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4237 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4238 (gst_file_src_uri_handler_init):
4239 * gst/elements/gstfilesrc.h:
4240 more autistic cleanliness in functions/names/defines
4242 2005-07-13 Andy Wingo <wingo@pobox.com>
4244 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4245 source couldn't negotiate.
4247 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4251 * gst/gstutils.c (gst_element_link_pads_filtered): New old
4252 function. I am channeling Hades. Put your boots on suckers!!!
4254 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4256 * testsuite/caps/Makefile.am:
4257 * testsuite/caps/value_compare.c:
4258 * testsuite/caps/value_intersect.c:
4259 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4260 move two testsuite apps over to the check dir
4262 2005-07-12 Wim Taymans <wim@fluendo.com>
4264 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4265 Added more debug info in the negotiate process.
4268 Prepare for segment playback.
4270 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4276 * tools/gst-launch.c: (main):
4277 NULL pipeline on errors.
4279 2005-07-12 Andy Wingo <wingo@pobox.com>
4281 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4282 not it comes from a malloc region. Make sure our copy gets freed.
4284 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4286 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4287 * check/gst/gstmessage.c: (GST_START_TEST):
4288 * check/gst/gststructure.c: (GST_START_TEST),
4289 (gst_structure_suite), (main):
4291 * gst/gstelement.c: (gst_element_message_full):
4292 clean up GError and debug string now that they get copied
4293 * gst/gstmessage.c: (gst_message_new_error),
4294 (gst_message_new_warning), (gst_message_parse_error),
4295 (gst_message_parse_warning):
4296 use GST_TYPE_G_ERROR for structure_new, and take copies of
4297 arguments, so that we don't mess up refcounting
4299 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4301 * check/Makefile.am:
4302 add per-test valgrind targets
4303 * check/gst-libs/gdp.c: (GST_START_TEST),
4304 (gst_data_protocol_suite), (main):
4307 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4309 * check/Makefile.am:
4310 instate more valgrindable tests
4311 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4312 (GST_START_TEST), (fakesrc_suite):
4313 * check/gst/gstpad.c: (GST_START_TEST):
4314 * check/gst/gststructure.c: (GST_START_TEST):
4316 * docs/gst/tmpl/gstminiobject.sgml:
4317 * gst/gstpad.c: (gst_pad_finalize):
4318 fix the static mutex leak
4320 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4322 * check/Makefile.am:
4323 add two more tests for valgrinding
4324 * check/gst/gstvalue.c: (GST_START_TEST):
4325 test refcount of deserialized buffer, found a leak
4326 * docs/gst/gstreamer-docs.sgml:
4327 * docs/gst/gstreamer-sections.txt:
4328 * docs/gst/gstreamer.types:
4329 * docs/gst/tmpl/gstminiobject.sgml:
4330 add miniobject to docs
4331 * gst/gstminiobject.c:
4333 * gst/gstvalue.c: (gst_value_deserialize_buffer),
4334 (gst_string_unwrap):
4335 fix a hard-to-find invalid write for one of the tests
4336 fix a leak for deserialized buffers
4338 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4340 * docs/pwg/advanced-events.xml:
4341 * docs/pwg/advanced-request.xml:
4342 * docs/pwg/advanced-scheduling.xml:
4343 * docs/pwg/appendix-porting.xml:
4344 * docs/pwg/building-boiler.xml:
4345 * docs/pwg/intro-preface.xml:
4346 * docs/pwg/other-ntoone.xml:
4347 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4348 of example code and explanation for pad activation, loop() and
4349 getrange() functions and a bit more. Remove old comments pointing
4351 * examples/pwg/Makefile.am:
4352 Add loop/getrange examples.
4354 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4357 check for valgrind binary + some fixes
4359 valgrind suppressions for the tests
4360 * check/Makefile.am:
4361 add a valgrind: target that valgrinds the unit tests
4362 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4363 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4364 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4365 * check/gst/gstghostpad.c:
4367 * check/gst/gstdata.c:
4369 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4370 (thread_unref), (gst_mini_object_suite), (main):
4372 * gst/gst.c: (gst_deinit):
4374 add a method to clean up.
4375 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4376 (gst_system_clock_obtain):
4377 allow for disposing the system clock.
4378 * tools/gst-launch.c: (main):
4381 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4383 * docs/gst/tmpl/gstbasesrc.sgml:
4384 * docs/gst/tmpl/gstfakesrc.sgml:
4385 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4386 (gst_base_src_init), (gst_base_src_set_property),
4387 (gst_base_src_get_property), (gst_base_src_get_range),
4388 (gst_base_src_start):
4389 * gst/base/gstbasesrc.h:
4390 add num-buffers property
4391 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4392 (gst_fakesrc_init), (gst_fakesrc_set_property),
4393 (gst_fakesrc_get_property), (gst_fakesrc_create),
4394 (gst_fakesrc_start):
4395 remove num-buffers property
4397 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4399 * docs/gst/gstreamer-sections.txt:
4400 * docs/gst/tmpl/gstbasesink.sgml:
4401 * docs/gst/tmpl/gstbasesrc.sgml:
4402 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4403 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4404 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4405 (gst_base_sink_set_property), (gst_base_sink_get_property),
4406 (gst_base_sink_handle_object), (gst_base_sink_event),
4407 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4408 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4409 (gst_base_sink_loop), (gst_base_sink_deactivate),
4410 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4411 (gst_base_sink_change_state):
4412 * gst/base/gstbasesink.h:
4413 * gst/base/gstbasesrc.h:
4414 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4415 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4416 (gst_filesink_init):
4417 more macro splitting
4419 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4421 * gst/gstelement.c: (gst_element_get_bus):
4423 * tools/gst-launch.c: (check_intr), (event_loop):
4426 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4428 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4431 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4433 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4434 (gst_base_src_finalize):
4435 add finalize method and clean up properly
4436 * gst/gstpipeline.c: (gst_pipeline_dispose):
4439 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4441 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4443 add more things to check
4444 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4448 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4450 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4451 (GST_START_TEST), (fakesrc_suite):
4452 * check/gst-libs/gdp.c: (GST_START_TEST):
4453 * check/gst/gst.c: (GST_START_TEST):
4454 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4455 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4456 * check/gst/gstbus.c: (GST_START_TEST):
4457 * check/gst/gstcaps.c: (GST_START_TEST):
4458 * check/gst/gstdata.c: (GST_START_TEST):
4459 * check/gst/gstelement.c: (GST_START_TEST):
4460 * check/gst/gstghostpad.c: (GST_START_TEST):
4461 * check/gst/gstiterator.c: (GST_START_TEST):
4462 * check/gst/gstmessage.c: (GST_START_TEST):
4463 * check/gst/gstobject.c: (GST_START_TEST):
4464 * check/gst/gstpad.c: (GST_START_TEST):
4465 * check/gst/gststructure.c: (GST_START_TEST):
4466 * check/gst/gstsystemclock.c: (GST_START_TEST),
4467 (gst_systemclock_suite):
4468 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4469 * check/gst/gstvalue.c: (GST_START_TEST):
4470 * check/pipelines/cleanup.c: (GST_START_TEST):
4471 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4472 * check/states/sinks.c: (GST_START_TEST):
4473 * check/gstcheck.c: (gst_check_init):
4475 add debugging category
4476 use GST_START_TEST now, so we add a debug line
4478 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4480 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4481 add test for state change message on a bin
4482 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4484 * gst/gstbin.c: (gst_bin_init):
4485 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4486 * gst/gstelement.c: (gst_element_post_message),
4487 (gst_element_set_state):
4488 * gst/gstelementfactory.c: (gst_element_factory_create):
4489 * gst/gstmessage.c: (gst_message_new):
4490 * gst/gstscheduler.c:
4491 various debugging additions and cleanups
4493 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4495 * check/Makefile.am:
4496 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4498 adding tests for elements
4499 * gst/gstelement.c: (gst_element_dispose):
4501 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4503 * gst/registries/gstlibxmlregistry.c: (load_feature):
4504 plug more leaks. A simple gst_init() now is leakfree, yay.
4506 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4508 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4509 (gst_xml_registry_load):
4510 plug another memleak
4512 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4515 use GST_SET_ERROR_CFLAGS
4517 change to ERROR_CFLAGS
4519 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4522 make GST_ERROR_CFLAGS overridable and re-enable Werror
4524 add a note about error CFLAGS
4525 * docs/gst/tmpl/gstfakesrc.sgml:
4526 * gst/elements/gstfakesrc.c:
4527 comment out some unused code
4528 * gst/gst.c: (split_and_iterate):
4529 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4533 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4535 * common/Makefile.am:
4536 * common/gtk-doc.mak:
4537 * docs/gst/Makefile.am:
4538 factor out gtk-doc.mak
4540 2005-07-07 Wim Taymans <wim@fluendo.com>
4542 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4543 (gst_thread_scheduler_dispose):
4544 Unlock the STREAM_LOCK completely.
4546 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4548 * check/Makefile.am:
4549 * check/elements/.cvsignore:
4550 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4551 (START_TEST), (fakesrc_suite), (main):
4552 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4553 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4554 (gst_fakesrc_create), (gst_fakesrc_start):
4555 * gst/elements/gstfakesrc.h:
4556 adding a first element test
4558 2005-07-07 Andy Wingo <wingo@pobox.com>
4560 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4563 2005-07-07 Wim Taymans <wim@fluendo.com>
4569 2005-07-07 Wim Taymans <wim@fluendo.com>
4571 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4572 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4573 Allow subclasses to implement their own negotiation.
4575 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4577 * docs/design/part-gstbin.txt:
4578 * docs/design/part-gstpipeline.txt:
4579 Update design notes to reflect the movement of
4580 responsibility for bus handling from GstPipeline to
4583 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4586 Remove unnecessary queue2/3/4 examples.
4588 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4590 * examples/Makefile.am:
4591 * examples/helloworld/helloworld.c: (event_loop), (main):
4592 * examples/queue/queue.c: (event_loop), (main):
4593 * examples/queue2/queue2.c: (main):
4594 Update a couple of the examples to work again.
4596 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4597 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4598 Spelling corrections and extra debug.
4600 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4601 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4602 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4604 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4605 (gst_pipeline_change_state):
4606 * gst/gstpipeline.h:
4607 Move the bus handler for children to the GstBin, and create a
4608 separate bus for receiving messages from children to the one the
4609 bus sends 'upwards' on.
4611 2005-07-06 Wim Taymans <wim@fluendo.com>
4614 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4615 (gst_base_sink_handle_object), (gst_base_sink_loop),
4616 (gst_base_sink_change_state):
4617 * gst/base/gstbasesink.h:
4618 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4619 (gst_base_src_init), (gst_base_src_setcaps),
4620 (gst_base_src_getcaps), (gst_base_src_loop),
4621 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4622 (gst_base_src_start), (gst_base_src_change_state):
4623 * gst/base/gstbasesrc.h:
4624 Make basesrc negotiate.
4625 Handle the case where preroll fails in basesink.
4628 2005-07-06 Wim Taymans <wim@fluendo.com>
4630 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4631 Implement the fixate function.
4632 Clean up acceptcaps.
4634 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4636 * docs/pwg/building-filterfactory.xml:
4638 Remove never-written filter-factory chapter; I'll add the various
4639 base classes to part 4 ("other element types") later on.
4641 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4643 * docs/pwg/advanced-negotiation.xml:
4644 * docs/pwg/building-boiler.xml:
4645 * docs/pwg/building-pads.xml:
4647 * examples/pwg/Makefile.am:
4648 Add a chapter on caps negotiation, simplify the original code
4649 samples a bit w.r.t. caps negotiation, add link to the advanced
4650 section. Add a bunch of examples showing different use cases of
4651 different types of caps negotiation. Upstream renegotiation isn't
4652 fully documented yet since nobody knows how that works.
4654 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4656 * check/gst/gstpad.c:
4658 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4659 if pad has no parent, return NULL as list of internal links
4661 2005-07-05 Andy Wingo <wingo@pobox.com>
4663 * gst/elements/gstfilesrc.c:
4664 * gst/elements/gstfakesrc.c:
4665 * gst/base/gstpushsrc.c:
4666 * gst/base/gstbasesrc.h:
4667 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4669 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4672 better report generation target (lcov needs a patch)
4674 2005-07-05 Andy Wingo <wingo@pobox.com>
4676 * gst/elements, testsuite: Null if we got it...
4678 2005-07-05 Wim Taymans <wim@fluendo.com>
4681 * libs/gst/dataprotocol/Makefile.am:
4682 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4683 * libs/gst/dataprotocol/dataprotocol.h:
4684 * pkgconfig/Makefile.am:
4685 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4686 * pkgconfig/gstreamer-dataprotocol.pc.in:
4687 Ported dataprotol to 0.9.
4688 Added pkgconfig files.
4690 2005-07-05 Andy Wingo <wingo@pobox.com>
4692 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4693 Default to returning TRUE for the case when tranform_caps returns
4694 a fixed caps, like for identity or volume.
4696 * check/gst/gstbus.c (pound_bus_with_messages):
4697 * check/gst/gstmessage.c (START_TEST):
4698 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4701 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4702 logic weaks here: always run transform_caps, trying passthrough
4703 operation only if the original caps intersects with the transform.
4705 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4706 source and sink caps.
4708 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4709 Intersect the peer caps with the pad template before going into
4711 (gst_base_transform_transform_caps): More debugging.
4713 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4716 2005-07-04 Edward Hervey <edward@fluendo.com>
4720 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4723 2005-07-04 Andy Wingo <wingo@pobox.com>
4725 * check/gst/gstpad.c: Only set explicit caps on pads.
4727 2005-07-01 Andy Wingo <wingo@pobox.com>
4729 * tests/network-clock.scm: Commentary update.
4731 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4732 Didn't really make sense, not implementable with basetransform,
4734 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4735 attempt at implementing the sync property, needs an unlock method.
4737 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4738 New func, by default returns the same caps (the identity
4740 (gst_base_transform_getcaps): Uses transform_caps to return
4742 (gst_base_transform_setcaps): Complicated logic to get caps on
4743 both pads, even if they are different, and to call set_caps once
4744 for every time both pads get their caps set.
4745 (gst_base_transform_handle_buffer): Give the ref to the transform
4746 function. Allows in-place modification of the buffer.
4748 * gst/base/gstbasetransform.h (transform_caps): New class method.
4749 Given caps on one side, what can I do on the other.
4750 (set_caps): Take two caps, one for each side of the element.
4753 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4754 caps in place. This is safe because we can check the mutability of
4755 the caps, and a good idea because fixate functions are just called
4756 as a matter of last resort. (Not actually implemented.)
4757 (gst_pad_set_caps): If the caps we're setting is actually the same
4758 as the existing pad caps, just update the pointer without calling
4759 setcaps. Assert that caps is either NULL or fixed, as per the
4762 * gst/gstghostpad.c: Update for fixate changes.
4764 2005-07-02 Andy Wingo <wingo@pobox.com>
4767 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4768 two refcounts makes it immutable, which is enough. Doc more.
4770 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4772 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4773 Put the mini_object into GValue as a mini_object,
4774 not a gpointer, since that's how we declared
4777 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4779 * examples/pwg/Makefile.am:
4782 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4784 * docs/pwg/building-testapp.xml:
4786 * examples/pwg/Makefile.am:
4789 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4792 * examples/Makefile.am:
4793 * examples/pwg/Makefile.am:
4794 * examples/pwg/extract.pl:
4795 Enable building the PWG examples.
4796 * docs/pwg/advanced-interfaces.xml:
4797 Add URI interface stub.
4798 * docs/pwg/advanced-types.xml:
4799 * docs/pwg/other-autoplugger.xml:
4800 * docs/pwg/appendix-porting.xml:
4802 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4803 * docs/pwg/building-boiler.xml:
4804 * docs/pwg/building-chainfn.xml:
4805 * docs/pwg/building-pads.xml:
4806 * docs/pwg/building-props.xml:
4807 * docs/pwg/building-state.xml:
4808 * docs/pwg/building-testapp.xml:
4809 Update the building-*.xml parts for 0.9 changes. All examples
4810 code blocks compile in examples/pwg/*.
4812 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4814 * docs/manual/advanced-autoplugging.xml:
4815 * docs/manual/appendix-checklist.xml:
4816 * docs/manual/appendix-integration.xml:
4817 * docs/manual/highlevel-components.xml:
4818 Fix playbin/decodebin examples, update docs a bit, mention bus
4819 instead of signals in various places, mention kmplayer and
4820 kaffeine since they have a working GStreamer backend in the KDE
4823 2005-06-30 Wim Taymans <wim@fluendo.com>
4826 * docs/design/draft-ghostpads.txt:
4827 * docs/design/draft-push-pull.txt:
4828 * docs/design/draft-query.txt:
4829 * docs/design/part-TODO.txt:
4830 * docs/design/part-query.txt:
4831 Added CHANGES-0.9 doc, updated status of other docs.
4836 2005-06-30 Wim Taymans <wim@fluendo.com>
4838 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4839 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4840 (gst_base_sink_change_state):
4841 * gst/base/gstbasesink.h:
4842 Some tweaks, only EOS and a buffer complete a preroll.
4844 2005-06-30 Andy Wingo <wingo@pobox.com>
4846 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4847 activate_push down to the internal pad as well.
4849 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4851 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4853 * gst/gsttaginterface.c:
4854 Some documentation fixes (#307394 and #307397).
4856 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4858 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4860 * gst/gstvalue.c: (gst_value_intersect_list):
4861 Fix memleak (#309125).
4863 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4865 * docs/manual/advanced-dataaccess.xml:
4866 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4867 * docs/manual/basics-pads.xml:
4868 Add reference for filtered caps to above chapter.
4870 2005-06-30 Wim Taymans <wim@fluendo.com>
4872 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4873 (gst_bin_change_state):
4875 Lame attempt at making the state change function a bit
4878 2005-06-30 Wim Taymans <wim@fluendo.com>
4880 * docs/design/part-clocks.txt:
4881 * docs/design/part-element-sink.txt:
4882 * docs/design/part-events.txt:
4883 * docs/design/part-preroll.txt:
4884 * docs/design/part-states.txt:
4885 Some more tweeks and additions to the docs.
4887 2005-06-30 Wim Taymans <wim@fluendo.com>
4889 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4890 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4891 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4892 (gst_pad_check_pull_range), (gst_pad_get_range),
4893 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4895 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4896 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4897 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4898 (gst_pad_remove_buffer_probe):
4899 Removed atomic operations, use existing LOCK.
4900 Move exception handling out of main code path.
4902 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4904 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4905 (silly_return_true_function), (gst_pad_class_init),
4906 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4907 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4908 (gst_pad_send_event):
4909 Fix accumulator, add default value by using _emitv() instead
4910 of _emit() for signal emission.
4912 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4914 * docs/manual/advanced-dataaccess.xml:
4915 * examples/manual/Makefile.am:
4917 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4920 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
4922 * gst/elements/gstfilesink.c: (gst_filesink_render):
4923 Simplify code so that we don't have to handle short
4924 writes and return GST_FLOW_ERROR if an error occured.
4926 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4928 * docs/gst/gstreamer-docs.sgml:
4931 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4933 * docs/gst/gstreamer-sections.txt:
4934 * docs/gst/tmpl/gstpad.sgml:
4935 * docs/gst/tmpl/gstprobe.sgml:
4937 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4938 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
4939 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4940 (gst_pad_push_event), (gst_pad_send_event):
4942 * gst/gstutils.c: (gst_pad_add_data_probe),
4943 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4944 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4945 (gst_pad_remove_buffer_probe):
4947 Remove old probes, add new g-signal-based probes and some utility
4950 2005-06-29 Edward Hervey <edward@fluendo.com>
4952 * gst/gstelementfactory.c:
4955 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
4956 the definition to the header file.
4958 2005-06-29 Andy Wingo <wingo@pobox.com>
4960 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
4961 plugins from the source directory.
4963 2005-06-29 Wim Taymans <wim@fluendo.com>
4965 * docs/gst/tmpl/gstbuffer.sgml:
4966 * docs/gst/tmpl/gstclock.sgml:
4967 Some fixings for blantently wrong text.
4969 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4971 * check/Makefile.am:
4972 * gst/gst.c: (add_path_func), (init_pre):
4973 * gst/gstregistry.c: (gst_registry_add_path):
4974 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
4975 only scan the GST_PLUGIN_PATH locations, and not add
4978 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4980 * docs/gst/gstreamer-sections.txt:
4981 * docs/gst/tmpl/gstbasesrc.sgml:
4988 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4990 * docs/manual/advanced-autoplugging.xml:
4991 Fix autoplugging example.
4993 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4995 * docs/manual/advanced-autoplugging.xml:
4996 * docs/manual/mime-world.fig:
4997 Try to get autoplugging working, fix type detection. Fix text
4998 in hello-world image.
5000 2005-06-29 Wim Taymans <wim@fluendo.com>
5002 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5003 (gst_base_sink_change_state):
5007 map SIGNAL and BROADCAST to the right function.
5010 Remove redundant braces.
5012 * gst/gstpad.c: (gst_pad_set_caps):
5013 Don't call setcaps function when reseting caps to NULL.
5015 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5016 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5017 (gst_system_clock_id_unschedule):
5018 Use BROADCAST as this is what we do.
5020 2005-06-29 Wim Taymans <wim@fluendo.com>
5022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5023 We are actually prerolling before commiting the state
5026 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5028 * docs/manual/advanced-clocks.xml:
5029 * docs/manual/advanced-interfaces.xml:
5030 * docs/manual/advanced-metadata.xml:
5031 * docs/manual/advanced-position.xml:
5032 * docs/manual/advanced-schedulers.xml:
5033 * docs/manual/advanced-threads.xml:
5034 * docs/manual/appendix-porting.xml:
5035 * docs/manual/basics-bins.xml:
5036 * docs/manual/basics-bus.xml:
5037 * docs/manual/basics-elements.xml:
5038 * docs/manual/basics-helloworld.xml:
5039 * docs/manual/basics-pads.xml:
5040 * docs/manual/highlevel-components.xml:
5041 * docs/manual/manual.xml:
5042 * docs/manual/thread.fig:
5043 Update (until threads/scheduling) Application Development Manual;
5044 remove GstThread, add GstBus, add simple porting checklist, add
5045 documentation for tag writing, clocks, make all examples until this
5046 part compile and run.
5047 * examples/manual/Makefile.am:
5048 Update from changes to Application Development Manual; add bus
5049 example, remove thread example.
5051 2005-06-28 Wim Taymans <wim@fluendo.com>
5053 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5054 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5055 (gst_bus_source_dispatch):
5056 Add debugging messages.
5057 Make internal methods static.
5058 Handle the case where the bus is flushed in the handler.
5060 * gst/gstelement.c: (gst_element_get_bus):
5061 Fix refcount in _get_bus();
5063 * gst/gstpipeline.c: (gst_pipeline_change_state),
5064 (gst_pipeline_get_clock_func):
5065 Clock refcounting fixes.
5066 Handle the case where preroll timed out more gracefully.
5068 * gst/gstsystemclock.c: (gst_system_clock_dispose):
5069 Clean up the internal thread in dispose. This is needed
5070 for subclasses that actually get disposed.
5072 * gst/schedulers/threadscheduler.c:
5073 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5074 (gst_thread_scheduler_dispose):
5075 Free thread pool in dispose.
5077 2005-06-28 Andy Wingo <wingo@pobox.com>
5079 * tests/network-clock-utils.scm (debug, print-event): New utils.
5081 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5082 (*packet-loss*): Unified loss probability.
5083 (network-time): Report out-of-band events.
5085 * tests/plot-data: Add support for out-of-band events. Hack it
5086 into this script instead of passing it down the pipe; should fix
5089 2005-06-28 Wim Taymans <wim@fluendo.com>
5091 * docs/gst/gstreamer.types:
5092 * docs/gst/tmpl/gstbasesrc.sgml:
5093 * docs/gst/tmpl/gstpad.sgml:
5096 2005-06-28 Wim Taymans <wim@fluendo.com>
5098 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5099 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5100 (gst_proxy_pad_do_fixatecaps):
5101 Correctly proxy the check_pull_range function.
5103 2005-06-28 Andy Wingo <wingo@pobox.com>
5105 * tests/network-clock.scm: Removed need for slib.
5107 2005-06-28 Wim Taymans <wim@fluendo.com>
5109 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5110 (gst_basesink_preroll_queue_flush):
5111 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5112 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5113 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5114 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5115 (gst_proxy_pad_set_property):
5118 * gst/gstqueue.c: (gst_queue_init):
5119 The deprecated pad loop function is removed now.
5121 2005-06-28 Andy Wingo <wingo@pobox.com>
5123 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5124 New parameters, simulate network packet loss.
5126 * tests/network-clock-utils.scm: Initialize the RNG.
5128 2005-06-28 Wim Taymans <wim@fluendo.com>
5130 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5131 (gst_basesink_event), (gst_basesink_deactivate):
5132 Flushing the preroll queue always needs to unlock the waiters.
5134 2005-06-28 Edward Hervey <edward@fluendo.com>
5136 * gst/gstpipeline.c: (gst_pipeline_send_event):
5137 Wheen a seek was successful on a pipeline, set the stream_time to the
5138 seek offset in order to have a synchronized stream_time.
5140 2005-06-28 Wim Taymans <wim@fluendo.com>
5142 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5143 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5144 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5145 (gst_proxy_pad_do_fixatecaps):
5146 Call wrapper function instead of just calling the function
5147 pointers. This takes care of any locking and whatmore.
5149 2005-06-28 Wim Taymans <wim@fluendo.com>
5151 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5152 (gst_pad_pull_range):
5154 CONNECTED -> LINKED.
5156 2005-06-28 Andy Wingo <wingo@pobox.com>
5158 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5159 source-munging commit!!!
5161 * gst/gstobject.c (gst_object_unref, gst_object_ref)
5162 (gst_object_sink): Take gpointer arguments, not GstObject --
5163 avoids casts. Like GLib.
5165 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5168 2005-06-27 Andy Wingo <wingo@pobox.com>
5170 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5173 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5174 returns a sorted copy of the trace list.
5175 (gst_alloc_trace_print_live): New API, only prints traces with
5176 live objects. Sort the list.
5177 (gst_alloc_trace_print_all): Sort the list.
5178 (gst_alloc_trace_print): Align columns.
5180 * gst/elements/gstttypefindelement.c:
5181 * gst/elements/gsttee.c:
5182 * gst/base/gstbasesrc.c:
5183 * gst/base/gstbasesink.c:
5184 * gst/base/gstbasetransform.c:
5185 * gst/gstqueue.c: Adapt for pad activation changes.
5187 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5189 (gst_pipeline_dispose): Drop ref on sched.
5191 * gst/gstpad.c (gst_pad_init): Set the default activate func.
5192 (gst_pad_activate_default): Push mode by default.
5193 (pre_activate_switch, post_activate_switch): New stubs, things to
5194 do before and after switching activation modes on pads.
5195 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5196 the pad's activate function to choose which mode to activate.
5197 Shortcut on deactivation and call the right function directly.
5198 (gst_pad_activate_pull): New API, (de)activates a pad in pull
5200 (gst_pad_activate_push): New API, same for push mode.
5201 (gst_pad_set_activate_function)
5202 (gst_pad_set_activatepull_function)
5203 (gst_pad_set_activatepush_function): Setters for new API.
5205 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5206 Trace all miniobjects.
5207 (gst_mini_object_make_writable): Unref the arg if we copy, like
5208 gst_caps_make_writable.
5210 * gst/gstmessage.c (_gst_message_initialize): No trace init.
5212 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
5213 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5214 Adapt for new pad API.
5216 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5219 * gst/gstelement.c (gst_element_iterate_src_pads)
5220 (gst_element_iterate_sink_pads): New API functions.
5222 * gst/gstelement.c (iterator_fold_with_resync): New utility,
5223 should fold into gstiterator.c in some form.
5224 (gst_element_pads_activate): Simplified via use of fold and
5225 delegation of decisions to gstpad->activate.
5227 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5230 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5231 class once in init, like gstmessage. Didn't run into this issue
5232 but it seems correct. Don't initialize a trace, gstminiobject does
5235 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5236 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5238 (assert_live_count): New util function, uses alloc traces to check
5241 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5242 To be modified when unlink drops the internal pad.
5244 2005-06-27 Wim Taymans <wim@fluendo.com>
5246 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5247 (gst_bin_change_state):
5248 Cleanup the get_state() function a little, make sure it
5249 iterates the same set of elements.
5250 Added stub iterate_state_order().
5252 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
5254 * docs/gst/gstreamer-docs.sgml:
5255 * docs/gst/gstreamer-sections.txt:
5256 * docs/gst/gstreamer.types:
5257 * docs/gst/tmpl/gstbasesink.sgml:
5258 * docs/gst/tmpl/gstbasesrc.sgml:
5259 * docs/gst/tmpl/gstbasetransform.sgml:
5260 * docs/gst/tmpl/gstelement.sgml:
5261 * docs/gst/tmpl/gstiterator.sgml:
5262 * gst/base/gstbasesrc.c:
5263 * gst/base/gstbasesrc.h:
5264 * gst/base/gstbasetransform.h:
5266 * gst/gstiterator.h:
5267 adding basetransform and iterator docs
5269 2005-06-27 Andy Wingo <wingo@pobox.com>
5271 * docs/design/part-activation.txt: Notes on how activation should
5272 work -- not quite implemented yet.
5274 2005-06-25 Wim Taymans <wim@fluendo.com>
5276 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5277 At least get the chain function correct, needs more
5280 2005-06-25 Wim Taymans <wim@fluendo.com>
5282 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5283 (gst_basesink_handle_object), (gst_basesink_event),
5284 (gst_basesink_do_sync), (gst_basesink_handle_event),
5285 (gst_basesink_change_state):
5287 Right, two problems here: ghostpads don't take locks and
5288 glib _rec_mutex_lock_full() with depth==0 still locks.
5289 Catch illegal locking and g_warn them.
5291 2005-06-25 Wim Taymans <wim@fluendo.com>
5293 * check/states/sinks.c: (START_TEST), (gst_object_suite):
5294 Have to check for completion now...
5296 2005-06-25 Wim Taymans <wim@fluendo.com>
5298 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5299 (gst_basesink_handle_object), (gst_basesink_event),
5300 (gst_basesink_do_sync), (gst_basesink_handle_event),
5301 (gst_basesink_change_state):
5303 Unlock STREAM_LOCK whatever the recursion was.
5305 2005-06-25 Wim Taymans <wim@fluendo.com>
5307 * gst/base/gstbasesink.c: (gst_basesink_set_property),
5308 (gst_basesink_preroll_queue_empty),
5309 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5310 (gst_basesink_event), (gst_basesink_do_sync),
5311 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5312 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5313 (gst_basesink_change_state):
5314 Reworked the base sink, handle event and buffer serialisation
5315 correctly and removed possible deadlock.
5316 Handle EOS correctly.
5318 2005-06-25 Wim Taymans <wim@fluendo.com>
5320 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5321 (gst_pipeline_change_state):
5322 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5323 Allow elements to post EOS in the state change function.
5324 Fix up -launch, make it exit the poll loop when the
5325 pipeline actually changed state.
5326 Fix up warning parsing in -launch.
5328 2005-06-25 Wim Taymans <wim@fluendo.com>
5330 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5331 (gst_tee_sink_activate):
5332 Core takes STREAM_LOCK for us now.
5334 2005-06-25 Wim Taymans <wim@fluendo.com>
5336 * gst/gstelement.c: (gst_element_get_state_func),
5337 (gst_element_set_state):
5339 * gst/gstmessage.c: (gst_message_parse_error),
5340 (gst_message_parse_warning):
5341 Keep track of current target state while performing a state
5342 change so that subclasses can do something interesting.
5343 Fix parsing of warning/error messages when GError is NULL.
5345 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5347 * docs/gst/Makefile.am:
5348 * docs/gst/gstreamer-docs.sgml:
5349 * docs/gst/gstreamer-sections.txt:
5350 * docs/gst/gstreamer.types:
5351 * docs/gst/tmpl/gstbasesink.sgml:
5352 * docs/gst/tmpl/gstbasesrc.sgml:
5353 * docs/gst/tmpl/gstbin.sgml:
5354 * docs/gst/tmpl/gstcompat.sgml:
5355 * docs/gst/tmpl/gstfakesink.sgml:
5356 * docs/gst/tmpl/gstfakesrc.sgml:
5357 * docs/gst/tmpl/gstfilesink.sgml:
5358 * docs/gst/tmpl/gstfilesrc.sgml:
5359 * docs/gst/tmpl/gstindex.sgml:
5360 * docs/manual/appendix-quotes.xml:
5361 * gst/base/gstbasesrc.h:
5362 * gst/elements/gstfakesrc.h:
5364 start pulling in base classes and elements in our docs
5366 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5368 * docs/gst/Makefile.am:
5369 * docs/libs/Makefile.am:
5370 fixed make distcheck with gtk-doc 1.3
5372 2005-06-23 Wim Taymans <wim@fluendo.com>
5374 * gst/gstelement.c: (gst_element_get_state_func),
5375 (gst_element_set_state), (gst_element_change_state):
5376 When the state did not change, also report NO_PREROLL
5379 2005-06-23 Wim Taymans <wim@fluendo.com>
5381 * gst/gstpad.c: (gst_pad_event_default):
5382 * gst/gstqueue.c: (gst_queue_loop):
5383 No unsafe task pausing please.
5385 2005-06-23 Wim Taymans <wim@fluendo.com>
5387 * gst/schedulers/threadscheduler.c:
5388 (gst_thread_scheduler_task_start),
5389 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5390 Ref the task before pushing it on the threadpool. This
5391 makes sure that we have a ref when the threadfunction is
5394 2005-06-23 Andy Wingo <wingo@pobox.com>
5396 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5397 offset is greater than the file's size.
5399 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5400 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5401 * gst/gstobject.c (gst_object_class_init): Make the class lock
5402 recursive. Wim won't let me drop deep_notify. Decodebin works
5405 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5406 internal pad, and hacks accordingly. Doesn't do it on the target
5407 pad because we change its caps. Probably catches all cases of
5409 (gst_ghost_pad_set_property): Connect to notify::caps as
5412 * tests/network-clock.scm (plot-simulation): Pipe data to the
5413 elite python skript.
5415 * tests/network-clock-utils.scm (define-parameter): New macro,
5416 defines a parameter that can be set via the command line.
5417 (set-parameter!, parse-parameter-arguments): Command line args
5420 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5423 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5425 * gst/elements/gsttypefindelement.c:
5426 (gst_type_find_element_handle_event):
5427 Don't restart typefinding on a discont.
5428 * gst/gstelement.c: (gst_element_set_state):
5430 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5431 Allow changing mode of an active pad.
5433 * gst/registries/gstlibxmlregistry.c: (load_feature):
5434 Don't cast a static pad template to a normal pad template.
5436 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5438 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5439 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5440 remove gst_strtoll completely, since it didn't actually do
5441 anything more than what g_ascii_strtoull already does.
5442 check for range errors when deserializing
5443 do a cast for the unsigned cases; but further fixing needs
5444 a decision on what the interpretation of "(int)" and
5445 deserialization should be for values that fall outside the
5446 type's boundaries (ie, refuse, or interpret as casting)
5448 2005-06-23 Wim Taymans <wim@fluendo.com>
5450 * check/Makefile.am:
5451 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5452 * docs/design/part-live-source.txt:
5453 * docs/design/part-states.txt:
5454 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5455 (gst_basesrc_set_live), (gst_basesrc_is_live),
5456 (gst_basesrc_get_range), (gst_basesrc_activate),
5457 (gst_basesrc_change_state):
5458 * gst/base/gstbasesrc.h:
5459 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5460 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5461 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5462 * gst/gstelement.c: (gst_element_get_state_func),
5463 (gst_element_set_state):
5466 * tools/gst-launch.c: (event_loop), (main):
5467 Added support for live sources and other elements that
5469 Updated design docs, added live-source design doc.
5470 Implemented live source functionality in basesrc
5471 Fix error condition in _bin_get_state()
5472 Implement live source handling in -launch.
5473 Added check for live sources.
5474 Fixed case in GstBin where elements were changed state
5478 2005-06-23 Andy Wingo <wingo@pobox.com>
5480 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5483 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5484 gst_caps_replace takes care of this for us.
5486 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5487 gst_pad_set_caps on the target, not just its setcaps() function.
5489 * tests/network-clock.scm:
5490 * tests/network-clock-utils.scm: A network clock simulator.
5491 Something of an algorithmic testbed before doing something in C.
5493 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5495 * check/Makefile.am:
5496 * check/gst/capslist.h:
5497 copy over from 0.8, and add two with bitmasks specified with
5499 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5500 add test to parse everything from capslist.h
5501 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5503 add test for structure deserialization
5504 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5505 add tests for deserialization of strings to int types
5506 * gst/gststructure.c: (gst_structure_nth_field_name):
5507 * gst/gststructure.h:
5508 add a way to get the name of a field referenced by index
5509 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5510 instead of checking if the resulting long long lies between
5511 min and max, we check if the long long would fit into
5512 a number of bytes for the final type.
5513 This fixes cases where a string represents 2^32 - 1, which
5514 when cast to int would be the (valid) -1, but is bigger than
5517 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5519 * gst/parse/grammar.y:
5520 add a log line for type deserialization
5522 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5524 * check/gst/gstvalue.c: (START_TEST):
5525 * gst/gstvalue.c: (gst_value_deserialize):
5526 return long long, not int, so gint64 deserialization actually
5527 works. Is there any flag that makes the compiler check this ?
5530 2005-06-22 Wim Taymans <wim@fluendo.com>
5533 Added convenience macros for setting buffers in GValue.
5535 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5537 * check/gst/.cvsignore:
5538 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5539 add a test deserializing int64, and comment part out because
5542 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5544 * check/Makefile.am:
5545 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5546 * testsuite/Makefile.am:
5547 * testsuite/caps/Makefile.am:
5548 * testsuite/caps/value_serialize.c:
5549 * testsuite/test_gst_init.c:
5550 move a value_serialize test over
5552 2005-06-20 Wim Taymans <wim@fluendo.com>
5557 * gst/gstvalue.c: (gst_value_compare_buffer),
5558 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5559 (gst_value_compare_flags), (gst_value_serialize_flags),
5560 (gst_value_deserialize_flags), (_gst_value_initialize):
5561 Fix serialisation of buffers, they are not boxed types anymore
5563 2005-06-20 Wim Taymans <wim@fluendo.com>
5565 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5566 Testcase to show error in buffer-on-caps serialisation.
5568 2005-06-20 Andy Wingo <wingo@pobox.com>
5570 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5571 will be adding to later.
5573 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5574 if its socks fill with rocks.
5575 (gst_system_clock_obtain): Set the name on object construction.
5576 Avoid double-checked locking.
5578 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
5580 * gst/gsturi.c: (gst_element_make_from_uri):
5581 Fix potential endless loop.
5583 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5585 * check/Makefile.am:
5587 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5589 move over from testsuite dir and clean up
5592 * testsuite/Makefile.am:
5593 * testsuite/tags/.cvsignore:
5594 * testsuite/tags/Makefile.am:
5595 * testsuite/tags/merge.c:
5596 remove testsuite/tags
5598 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5600 * docs/gst/gstreamer-sections.txt:
5601 * docs/gst/tmpl/gstenumtypes.sgml:
5602 * win32/gstenumtypes.c:
5603 clean up documentation build a little
5605 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5608 add macros for checking refcounts on objects and caps
5609 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5610 add some more unit tests
5611 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5612 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5613 fix leaked refcounts (I hope :)) so unittest works
5617 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5619 * configure.ac: back to HEAD
5621 === release 0.9.1 ===
5623 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5629 2005-06-17 Andy Wingo <wingo@pobox.com>
5631 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5632 assert; it's always possible that the pad gets deactivated in
5633 between the checks in gstpad.c and the implementation. Rely on
5634 finish_preroll() to return a FLUSHING or similar instead of on the
5637 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5638 clock and post an EOS message if we come out of finish_preroll in
5641 2005-06-16 David Schleef <ds@schleef.org>
5643 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5644 (gst_capsfilter_set_property): Allow NULL as possible value
5645 for filter_caps property, indicating GST_CAPS_ANY.
5647 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5649 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5651 * gst/schedulers/Makefile.am:
5653 * gstreamer.spec.in:
5656 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5658 * gstreamer.spec.in:
5661 2005-06-08 Andy Wingo <wingo@pobox.com>
5663 * gst/gstutils.c: RPAD fixes all around.
5664 (gst_element_link_pads): Refcounting fixes.
5666 * tools/gst-inspect.c:
5667 * tools/gst-xmlinspect.c:
5669 * gst/base/gsttypefindhelper.c:
5670 * gst/base/gstbasesink.c:
5671 * gst/gstqueue.c: RPAD fixes.
5673 * gst/gstghostpad.h:
5674 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5675 pads. The tricky thing is they provide both source and sink
5676 interfaces, since they proxy the internal pad for the external
5677 pad, and vice versa. Implement with lower-level ProxyPad objects,
5678 with the interior proxy pad as a child of the exterior ghost pad.
5679 Should write a doc on this.
5681 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5682 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5685 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5686 pads are real pads. No ghost pads in this file. Not documenting
5687 the myriad s/RPAD/PAD/ and REALIZE fixes.
5688 (gst_pad_class_init): Add properties for "direction" and
5689 "template". Both are construct-only, so they can't change during
5690 the life of the pad. Fixes properly deriving from GstPad.
5691 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5692 derived objects, just set properties when creating the objects via
5694 (gst_pad_get_parent): Implement as a function, return NULL if the
5695 parent is not an element.
5696 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5697 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5699 * gst/gstobject.c (gst_object_class_init): Make name a construct
5700 property. Don't set it in the object init.
5702 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5703 with UNKNOWN direction.
5704 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5705 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5706 (gst_element_remove_pad): Remove ghost-pad special cases.
5707 (gst_element_pads_activate): Remove rpad cruft.
5709 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5710 catch the pad's-parent-not-an-element case.
5712 * gst/gst.h: Include gstghostpad.h.
5714 * gst/gst.c (init_post): No more real, ghost pads.
5716 * gst/Makefile.am: Add gstghostpad.[ch].
5718 * check/Makefile.am:
5719 * check/gst/gstbin.c:
5720 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5721 into a bin creates ghost pads, and that the refcounts are right.
5722 Partly moved from gstbin.c.
5724 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5726 * check/gst-libs/.cvsignore:
5727 * check/gst/.cvsignore:
5728 * check/pipelines/.cvsignore:
5730 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5731 (START_TEST), (cleanup_suite), (main):
5732 add some tests related to cleanup after running pipelines
5734 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5736 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5737 add a testsuite for GstBuffer
5739 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5741 * gst/gstminiobject.h:
5742 add defines for accessing the refcount
5744 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5746 * Makefile.am: added support for html unit test coverage reports
5748 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5750 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5751 Free existing caps if the capsfilter changes. Add a FIXME about
5752 setting those caps on the pads.
5754 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5755 Before adding a ghost pad to a parent bin, check that there isn't
5756 already one for the element on the bin. Prevents infinite recursion
5757 when using decodebin in parse pipelines. Andy says he'll rewrite the
5758 way this works anyway, so ignore the hack.
5760 2005-06-02 Andy Wingo <wingo@pobox.com>
5762 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5763 file size, pass it on to the type find helper.
5765 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5766 segment_start and segment_end properly according to the seek
5767 method. Segment_end is still a bit flaky because offset can be
5768 negative for CUR and END cases, but it takes -1 as an "unset"
5771 2005-06-02 Wim Taymans <wim@fluendo.com>
5773 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5774 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5775 (gst_basesink_activate):
5776 * gst/base/gstbasesink.h:
5777 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5778 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5779 (gst_pad_query), (gst_pad_start_task):
5781 * gst/gstqueue.c: (gst_queue_bufferalloc),
5782 (gst_queue_handle_sink_event), (gst_queue_chain):
5783 Bufferalloc: return GstFlowReturn to more accuratly report
5784 why allocation failed.
5786 2005-06-02 Wim Taymans <wim@fluendo.com>
5788 * gst/gstpipeline.c: (gst_pipeline_send_event):
5789 Take snapshot of state without blocking.
5791 2005-06-02 Wim Taymans <wim@fluendo.com>
5793 * docs/design/part-TODO.txt:
5794 * docs/design/part-caps.txt:
5795 * docs/design/part-clocks.txt:
5796 * docs/design/part-negotiation.txt:
5797 * docs/design/part-preroll.txt:
5800 2005-05-30 Wim Taymans <wim@fluendo.com>
5802 * gst/elements/gstidentity.c: (gst_identity_event),
5803 (gst_identity_transform), (gst_identity_get_property):
5804 Protect last_message property as it is accessed from
5807 2005-05-30 Wim Taymans <wim@fluendo.com>
5809 * gst/gstelement.c: (gst_element_init),
5810 (gst_element_pads_activate), (gst_element_change_state):
5811 Slicker pad activation code.
5813 2005-05-30 Wim Taymans <wim@fluendo.com>
5817 * gst/gstelementfactory.h:
5819 Move elementfactory methods to separate .h file.
5821 2005-05-30 Wim Taymans <wim@fluendo.com>
5823 * docs/design/part-overview.txt:
5824 * gst/gstsystemclock.h:
5825 Small typo fixes, doc updates.
5827 2005-05-30 Wim Taymans <wim@fluendo.com>
5829 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5830 (init_popt_callback):
5831 Remove cpu-opt flag.
5833 2005-05-30 Wim Taymans <wim@fluendo.com>
5835 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5836 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5838 Avoid typechecking in places where not needed.
5839 Added accessor for malloc_data.
5841 2005-05-30 Wim Taymans <wim@fluendo.com>
5843 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5844 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5845 (gst_pad_configure_sink), (gst_pad_configure_src),
5846 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5847 (gst_pad_start_task):
5848 Propagate errors from _set_caps() in configure_src/sink
5849 functions instead of returning TRUE.
5850 FLUSH events can travel up and downstream
5853 2005-05-30 Wim Taymans <wim@fluendo.com>
5855 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5856 (gst_basesink_activate):
5857 Handle EOS in preroll.
5859 2005-05-30 Wim Taymans <wim@fluendo.com>
5861 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5862 (gst_queue_loop), (gst_queue_handle_src_event):
5863 Remove old pieces of code
5864 Flushing the queue in an upstream event is a very bad idea.
5866 2005-05-26 Andy Wingo <wingo@pobox.com>
5868 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5869 gst_value_set_mini_object so as to add a ref on the object (which
5870 will be removed when the value is unset).
5872 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5873 arg type in ::handoff.
5875 * gst/gstelement.c (gst_element_change_state): Also deactivate
5876 pads in READY->NULL, just in case the element didn't make it to
5877 PAUSED. Wingo tested, Wim approved.
5879 2005-05-26 Wim Taymans <wim@fluendo.com>
5881 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5882 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5883 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5884 A flushing pad cannot be used to alloc_buffer from.
5886 2005-05-26 Wim Taymans <wim@fluendo.com>
5888 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5889 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5890 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5891 (gst_bus_create_watch), (gst_bus_add_watch_full):
5893 Implement a real GSource and use g_main_context_wakeup() to
5894 signal new messages instead of the socketpair.
5896 2005-05-25 Wim Taymans <wim@fluendo.com>
5898 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5899 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5900 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5901 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5902 (gst_pad_send_event), (gst_pad_start_task):
5903 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5904 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5905 (gst_queue_sink_activate), (gst_queue_src_activate),
5906 (gst_queue_change_state):
5908 Fix state changes for non sinks. We now change sinks, then elements
5909 with unconnected srcpads, then the rest.
5910 More efficient queue unlocking in flush and state changes.
5911 Set the pad activate mode even if it does not have an activate
5914 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5916 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5917 Don't go in pull mode for non-seekable sources.
5918 * gst/elements/gsttypefindelement.h:
5919 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5920 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5921 (free_entry), (stop_typefinding),
5922 (gst_type_find_element_handle_event), (find_peek),
5923 (gst_type_find_element_chain), (do_pull_typefind),
5924 (gst_type_find_element_change_state):
5925 Allow typefinding (w/o seeking) in push-mode, simplified version
5927 * gst/gstutils.c: (gst_buffer_join):
5929 gst_buffer_join() from 0.8.
5931 2005-05-25 Wim Taymans <wim@fluendo.com>
5933 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5934 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5935 (gst_pad_send_event), (gst_pad_start_task):
5936 Disable attempt at mode switching until it is figured out.
5938 2005-05-25 Wim Taymans <wim@fluendo.com>
5940 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
5941 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5942 (gst_basesink_finish_preroll), (gst_basesink_chain),
5943 (gst_basesink_loop), (gst_basesink_activate),
5944 (gst_basesink_change_state):
5945 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
5946 (gst_basesrc_get_range), (gst_basesrc_loop),
5947 (gst_basesrc_activate):
5948 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5949 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5950 (gst_real_pad_init), (gst_real_pad_set_property),
5951 (gst_real_pad_get_property), (gst_pad_set_active),
5952 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
5953 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
5954 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
5955 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
5956 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5957 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
5958 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
5959 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5960 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
5961 (gst_pad_stop_task):
5963 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5964 (gst_queue_loop), (gst_queue_src_activate):
5965 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
5966 (gst_task_get_state):
5968 * gst/schedulers/threadscheduler.c:
5969 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
5970 Implement gst_pad_pause/start/stop_task(), take STREAM lock
5972 Remove ACTIVE pad flag, use FLUSHING everywhere
5973 Added _pad_chain(), _pad_get_range() to call chain/getrange
5975 Add locks around IS_FLUSHING when reading.
5976 Take STREAM lock in chain(), get_range() functions so plugins
5977 don't need to take it anymore.
5981 2005-05-25 Wim Taymans <wim@fluendo.com>
5983 * tools/gst-launch.c: (event_loop):
5984 Unref message after using its contents instead of
5987 2005-05-24 Wim Taymans <wim@fluendo.com>
5989 * docs/design/draft-ghostpads.txt:
5990 * docs/design/draft-push-pull.txt:
5991 * docs/design/draft-query.txt:
5992 * docs/design/part-overview.txt:
5993 Docs updates, added general overview doc.
5995 2005-05-21 David Schleef <ds@schleef.org>
5997 * docs/gst/tmpl/old/GstBin.sgml:
5998 * docs/gst/tmpl/old/GstBuffer.sgml:
5999 * docs/gst/tmpl/old/GstCaps.sgml:
6000 * docs/gst/tmpl/old/GstClock.sgml:
6001 * docs/gst/tmpl/old/GstCompat.sgml:
6002 * docs/gst/tmpl/old/GstData.sgml:
6003 * docs/gst/tmpl/old/GstElement.sgml:
6004 * docs/gst/tmpl/old/GstEvent.sgml:
6005 * docs/gst/tmpl/old/GstIndex.sgml:
6006 * docs/gst/tmpl/old/GstStructure.sgml:
6007 * docs/gst/tmpl/old/GstTag.sgml:
6008 * docs/gst/tmpl/old/cothreads.sgml:
6009 * docs/gst/tmpl/old/cothreads_compat.sgml:
6010 * docs/gst/tmpl/old/gettext.sgml:
6011 * docs/gst/tmpl/old/gobject2gtk.sgml:
6012 * docs/gst/tmpl/old/grammar.tab.sgml:
6013 * docs/gst/tmpl/old/gst-i18n-app.sgml:
6014 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6015 * docs/gst/tmpl/old/gst_private.sgml:
6016 * docs/gst/tmpl/old/gstaggregator.sgml:
6017 * docs/gst/tmpl/old/gstarch.sgml:
6018 * docs/gst/tmpl/old/gstatomic_impl.sgml:
6019 * docs/gst/tmpl/old/gstbufferstore.sgml:
6020 * docs/gst/tmpl/old/gstdata_private.sgml:
6021 * docs/gst/tmpl/old/gstdisksink.sgml:
6022 * docs/gst/tmpl/old/gstdisksrc.sgml:
6023 * docs/gst/tmpl/old/gstelementfactory.sgml:
6024 * docs/gst/tmpl/old/gstextratypes.sgml:
6025 * docs/gst/tmpl/old/gstfakesink.sgml:
6026 * docs/gst/tmpl/old/gstfakesrc.sgml:
6027 * docs/gst/tmpl/old/gstfdsink.sgml:
6028 * docs/gst/tmpl/old/gstfdsrc.sgml:
6029 * docs/gst/tmpl/old/gstfilesink.sgml:
6030 * docs/gst/tmpl/old/gstfilesrc.sgml:
6031 * docs/gst/tmpl/old/gsthttpsrc.sgml:
6032 * docs/gst/tmpl/old/gstidentity.sgml:
6033 * docs/gst/tmpl/old/gstindexfactory.sgml:
6034 * docs/gst/tmpl/old/gstmarshal.sgml:
6035 * docs/gst/tmpl/old/gstmd5sink.sgml:
6036 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6037 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6038 * docs/gst/tmpl/old/gstpadtemplate.sgml:
6039 * docs/gst/tmpl/old/gstpipefilter.sgml:
6040 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6041 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6042 * docs/gst/tmpl/old/gstshaper.sgml:
6043 * docs/gst/tmpl/old/gstspider.sgml:
6044 * docs/gst/tmpl/old/gstspideridentity.sgml:
6045 * docs/gst/tmpl/old/gststatistics.sgml:
6046 * docs/gst/tmpl/old/gsttee.sgml:
6047 * docs/gst/tmpl/old/gsttimecache.sgml:
6048 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6049 * docs/gst/tmpl/old/gstxmlregistry.sgml:
6050 * docs/gst/tmpl/old/gthread-cothreads.sgml:
6051 * docs/gst/tmpl/old/types.sgml:
6052 I didn't intend to add these or check them in.
6054 2005-05-19 David Schleef <ds@schleef.org>
6056 * configure.ac: Use -no-common everywhere. In a sane world, it
6057 would be the default in libtool, because without it, you can't
6058 build DLLs on Windows.
6059 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6060 * docs/gst/gstreamer-sections.txt:
6061 * docs/gst/tmpl/gstcpu.sgml:
6062 * docs/gst/tmpl/gstdata.sgml:
6063 * docs/gst/tmpl/gstthread.sgml:
6065 2005-05-19 David Schleef <ds@schleef.org>
6067 * gst/gstminiobject.c: (gst_value_set_mini_object),
6068 (gst_value_take_mini_object), (gst_value_get_mini_object):
6069 * gst/gstminiobject.h: Add GValue set/get functions.
6071 2005-05-19 Wim Taymans <wim@fluendo.com>
6073 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6074 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6075 (gst_subbuffer_init), (gst_buffer_is_span_fast):
6077 * gst/gstbus.c: (gst_bus_post):
6078 * gst/gstelement.c: (gst_element_get_random_pad):
6079 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6080 Make subbufer unref the parent in finalize.
6081 some more debugging info.
6084 2005-05-19 Wim Taymans <wim@fluendo.com>
6086 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6087 (gst_basesink_init), (gst_basesink_finalize),
6088 (gst_basesink_activate), (gst_basesink_change_state):
6089 Don't free preroll queue too early.
6091 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6095 Hi, I'm outdated. Please shoot me.
6097 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6099 * gst/gstpipeline.c: (gst_pipeline_send_event):
6100 Do not access variables after they have been deleted.
6102 2005-05-19 Wim Taymans <wim@fluendo.com>
6104 * tools/gst-inspect.c: (print_plugin_features):
6105 A plugin feature does unfortunatly not use the
6108 2005-05-18 Wim Taymans <wim@fluendo.com>
6110 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6111 Port _span() functions to new subbuffers.
6113 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6115 * gst/gstbin.c: (gst_bin_add_func):
6116 Fix clock settery in bins when adding kids after the clock has
6119 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6121 * gst/elements/gstidentity.c: (gst_identity_class_init):
6122 Workaround until signals support GstMiniObject.
6124 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6127 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6129 2005-05-18 Wim Taymans <wim@fluendo.com>
6131 * gst/base/Makefile.am:
6132 * gst/base/gstadapter.c: (gst_adapter_base_init),
6133 (gst_adapter_class_init), (gst_adapter_init),
6134 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6135 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6136 (gst_adapter_flush), (gst_adapter_available),
6137 (gst_adapter_available_fast):
6138 * gst/base/gstadapter.h:
6139 Ported and added adapter to the base classes.
6141 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6145 Make sure the class is reffed/unreffed once before threads can be
6146 used. Fixes #304551.
6148 2005-05-17 Wim Taymans <wim@fluendo.com>
6150 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6151 (gst_basesink_chain_unlocked), (gst_basesink_activate):
6152 * gst/gstminiobject.c: (gst_mini_object_get_type),
6153 (gst_mini_object_free):
6154 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6155 (gst_pad_push), (gst_pad_push_event):
6156 * gst/gstqueue.c: (gst_queue_change_state):
6157 Don't queue buffers in basesink when we are flushing.
6158 Unref buffer when flushing in basesink.
6159 Flush queue when going to READY
6160 Unref buffer when _push() returns an error.
6161 Don't free MiniObject instance when refcount is incremented
6162 in _finalize() so that we can recover objects.
6164 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
6166 * docs/manual/advanced-schedulers.xml:
6167 * docs/manual/appendix-checklist.xml:
6168 * docs/pwg/advanced-clock.xml:
6169 * docs/pwg/advanced-interfaces.xml:
6170 * docs/pwg/advanced-request.xml:
6171 * docs/pwg/advanced-types.xml:
6172 * docs/pwg/intro-preface.xml:
6173 * examples/plugins/example.c: (gst_example_get_type),
6174 (gst_example_class_init), (gst_example_chain),
6175 (gst_example_set_property), (gst_example_get_property),
6176 (gst_example_change_state), (plugin_init):
6177 * examples/plugins/example.h:
6180 2005-05-17 Wim Taymans <wim@fluendo.com>
6182 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6183 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6184 * gst/gstqueue.c: (gst_queue_change_state):
6185 Clear queue when going to READY.
6186 Remove IN_SETCAPS flag too.
6188 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
6190 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6191 Remove implicit cast from gboolean to GstElementStateReturn;
6192 make sure we still return failure in paused => ready case if
6193 the parent class fails to change state and our own stop
6196 2005-05-17 Wim Taymans <wim@fluendo.com>
6198 * tools/gst-launch.c: (event_loop):
6199 Message was unreffed too soon.
6201 2005-05-16 Andy Wingo <wingo@pobox.com>
6203 * gst/gstbin.c (sink_iterator_filter): Err... um...
6205 * check/gst/gstbin.c (test_ghost_pads): New test for the
6206 ghosting-if-elements-not-in-same-bin behavior.
6208 2005-05-16 David Schleef <ds@schleef.org>
6210 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6211 accessing refcount directly.
6213 2005-05-15 David Schleef <ds@schleef.org>
6215 * check/Makefile.am: remove GstData checks
6216 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6217 * gst/Makefile.am: add miniobject, remove data
6218 * gst/gst.h: add miniobject, remove data
6219 * gst/gstdata.c: remove
6220 * gst/gstdata.h: remove
6221 * gst/gstdata_private.h: remove
6222 * gst/gsttypes.h: remove GstEvent and GstMessage
6223 * gst/gstelement.c: (gst_element_post_message): fix for API changes
6224 * gst/gstmarshal.list: change BOXED -> OBJECT
6226 Implement GstMiniObject.
6227 * gst/gstminiobject.c:
6228 * gst/gstminiobject.h:
6230 Modify to be subclasses of GstMiniObject.
6231 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6232 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6233 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6234 (gst_subbuffer_get_type), (gst_subbuffer_init),
6235 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6238 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6239 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6240 (_gst_event_copy), (gst_event_new):
6242 * gst/gstmessage.c: (_gst_message_initialize),
6243 (gst_message_get_type), (gst_message_class_init),
6244 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6245 (gst_message_new), (gst_message_new_error),
6246 (gst_message_new_warning), (gst_message_new_tag),
6247 (gst_message_new_state_changed), (gst_message_new_application):
6249 * gst/gstprobe.c: (gst_probe_perform),
6250 (gst_probe_dispatcher_dispatch):
6252 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6253 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6254 (_gst_query_copy), (gst_query_new):
6256 Update elements for GstData -> GstMiniObject changes
6258 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6259 (gst_queue_chain), (gst_queue_loop):
6260 * gst/elements/gstbufferstore.c:
6261 (gst_buffer_store_add_buffer_func),
6262 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6263 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6264 (gst_fakesink_render):
6265 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6266 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6267 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6268 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6269 (gst_filesrc_create_read):
6270 * gst/elements/gstidentity.c: (gst_identity_class_init):
6271 * gst/elements/gsttypefindelement.c:
6272 (gst_type_find_element_src_event), (free_entry_buffers),
6273 (gst_type_find_element_handle_event):
6274 * libs/gst/dataprotocol/dataprotocol.c:
6275 (gst_dp_header_from_buffer):
6276 * libs/gst/dataprotocol/dataprotocol.h:
6277 * libs/gst/dataprotocol/dp-private.h:
6279 2005-05-15 David Schleef <ds@schleef.org>
6281 * gst/elements/gstelements.c: Don't include headers that were
6284 2005-05-15 David Schleef <ds@schleef.org>
6286 * gst/elements/Makefile.am: Remove some elements that don't
6287 need to be in the core (or even exist at all).
6288 * gst/elements/gstaggregator.c:
6289 * gst/elements/gstaggregator.h:
6290 * gst/elements/gstmd5sink.c:
6291 * gst/elements/gstmd5sink.h:
6292 * gst/elements/gstmultifilesrc.c:
6293 * gst/elements/gstmultifilesrc.h:
6294 * gst/elements/gstpipefilter.c:
6295 * gst/elements/gstpipefilter.h:
6296 * gst/elements/gstshaper.c:
6297 * gst/elements/gstshaper.h:
6298 * gst/elements/gststatistics.c:
6299 * gst/elements/gststatistics.h:
6300 * po/POTFILES.in: Remove above files.
6302 2005-05-14 Andy Wingo <wingo@pobox.com>
6304 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6305 so as to get the refs right.
6306 (sink_iterator_filter): New function, wraps bin_element_is_sink,
6307 unreffing objects that don't pass the filter.
6309 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6310 gst_element_set_bus.
6311 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6312 normal cases, this will destroy the bus.
6314 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6317 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6320 2005-05-13 Andy Wingo <wingo@pobox.com>
6322 * gst/gstutils.c (gst_element_link_pads): Instead of calling
6323 gst_pad_link, call pad_link_maybe_ghosting,
6324 (pad_link_maybe_ghosting): Links pads, making sure that the
6325 elements being linked are in the same bin.
6326 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6327 Helpers for pad_link_maybe_ghosting.
6329 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6332 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6334 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6336 * docs/design/part-element-source.txt:
6339 2005-05-12 Wim Taymans <wim@fluendo.com>
6341 * gst/base/gstbasesink.c: (gst_basesink_init),
6342 (gst_basesink_activate):
6343 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6344 (gst_basesrc_is_seekable):
6345 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6346 (bin_element_is_sink), (gst_bin_change_state):
6347 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6349 Identify sinks by their flag to avoid overly complicated
6351 Do state changes even for elements not reachable from the
6353 BaseSink is a sink now :)
6354 Some more debugging info in the basesrc.
6357 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6359 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6360 Implement _query on a bin, similar to _send_event.
6362 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
6364 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6365 Discont event offset format should be GST_FORMAT_BYTES,
6366 not GST_FORMAT_TIME.
6368 2005-05-12 Wim Taymans <wim@fluendo.com>
6370 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6371 Same fix as Ronald's but without the signal.
6373 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6375 * gst/gstutils.c: (gst_element_query_position):
6376 No, an element is not a pad.
6378 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6380 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6381 (gst_bin_get_state):
6382 If a child is removed from a bin while we remove the child from
6383 the bin and while we're retrieving its state, signal this to the
6384 get_state function so we abort the wait (instead of waiting for
6385 a timeout) and can immediately re-iterate over all other elements.
6387 2005-05-12 Wim Taymans <wim@fluendo.com>
6389 * gst/base/Makefile.am:
6390 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6391 (gst_basesrc_start):
6392 * gst/base/gstbasesrc.h:
6393 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6394 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6395 (gst_pushsrc_init), (gst_pushsrc_create):
6396 * gst/base/gstpushsrc.h:
6397 Added is_seekable to BaseSrc
6398 Added simple PushSrc.
6400 2005-05-11 Wim Taymans <wim@fluendo.com>
6402 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6403 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6404 (gst_element_link_pads), (gst_element_query_position),
6405 (gst_element_query_convert), (intersect_caps_func),
6406 (gst_pad_query_position), (gst_pad_query_convert):
6407 Fix refcounting in utils function.
6408 No point in trying to activate a pad when it's added, it could
6409 be added from the state change function and then we deadlock, the
6410 element has to decide what to do.
6412 2005-05-10 Andy Wingo <wingo@pobox.com>
6414 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6415 *all* the arguments.
6417 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6418 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6419 lock (according to the docs -- if this is wrong change the docs).
6421 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6422 flush messages in the NULL state.
6424 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6425 message immediately and return.
6426 (gst_bus_set_flushing): New function. If a bus is flushing, it
6427 flushes out any queued messages and immediately unrefs new
6428 messages. This is so when an element goes to NULL, all of the
6429 unhandled messages coming from it can be freed, and their
6430 references to the element dropped. In other words: message source
6431 ref considered harmful :P
6433 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6434 we're finished with it.
6436 * gst/gstmessage.c (gst_message_new_state_changed):
6438 2005-05-10 Wim Taymans <wim@fluendo.com>
6440 * gst/gstvalue.c: (gst_value_compare_flags),
6441 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6442 (_gst_value_initialize):
6443 Added flags serialize/deserialize/compare code.
6445 2005-05-09 Andy Wingo <wingo@pobox.com>
6447 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6448 Intersect the peer's caps with our caps.
6450 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6452 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6453 * gst/elements/gsttypefindelement.c: (find_peek):
6454 Handle negative offsets better. Fixes decodebin.
6456 2005-05-09 Wim Taymans <wim@fluendo.com>
6458 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6459 (gst_base_transform_event):
6460 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6461 Implement accept_caps.
6462 Fix silly lock/unlock mismatch in base class.
6464 2005-05-09 Wim Taymans <wim@fluendo.com>
6466 * docs/design/draft-push-pull.txt:
6467 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6468 * gst/elements/gstfilesink.c: (gst_filesink_init),
6469 (gst_filesink_query):
6470 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6471 (gst_type_find_handle_src_query), (find_element_get_length):
6472 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6476 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6477 (gst_real_pad_get_caps_unlocked),
6478 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6479 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6480 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6481 (gst_real_pad_dispose), (gst_real_pad_finalize),
6482 (gst_pad_load_and_link), (gst_pad_save_thyself),
6483 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6484 (gst_pad_check_pull_range), (gst_pad_pull_range),
6485 (gst_pad_template_get_type), (gst_pad_template_class_init),
6486 (gst_pad_template_init), (gst_pad_template_dispose),
6487 (name_is_valid), (gst_static_pad_template_get),
6488 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6489 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6490 (gst_pad_get_element_private), (gst_pad_start_task),
6491 (gst_pad_pause_task), (gst_pad_stop_task),
6492 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6493 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6494 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6495 (gst_ghost_pad_new):
6497 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6498 (gst_query_new_position), (gst_query_set_position),
6499 (gst_query_parse_position), (gst_query_new_convert),
6500 (gst_query_set_convert), (gst_query_parse_convert):
6502 * gst/gstqueryutils.c:
6503 * gst/gstqueryutils.h:
6504 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6505 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6506 (gst_queue_handle_src_query):
6507 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6508 (gst_element_query_position), (gst_element_query_convert),
6509 (intersect_caps_func), (gst_pad_query_position),
6510 (gst_pad_query_convert):
6512 * tools/gst-inspect.c: (print_pad_info):
6513 * tools/gst-xmlinspect.c: (print_element_info):
6514 Remove old query functions. Ported old code.
6515 Added position/convert helper functions to gstutils.
6516 Reordered gstpad.c code, grouping relevant things.
6517 Remove gst_message_new(), always need to speficy a specific
6521 2005-05-09 Andy Wingo <wingo@pobox.com>
6523 * gst/gstiterator.h: Add some includes.
6525 * gst/gstqueryutils.h: Include more headers.
6528 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6529 some uses of gst_pad_query.
6531 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6532 NULL out parameters.
6533 (gst_query_new_position): New proc, allocates a new position
6536 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6537 gstqueryutils.c to the build.
6539 * gst/gststructure.c (gst_structure_set_valist): Implement with
6540 the generic G_VALUE_COLLECT.
6542 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6544 * gst/Makefile.am: (gst_headers):
6545 Added gstqueryutils.h to the list of headers to install, that was
6546 a 'nachty' move wingo :)
6548 2005-05-06 Andy Wingo <wingo@pobox.com>
6551 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6552 GstData, init a memchunk.
6553 (standard_definitions): Add a few query types, deprecate a few.
6554 (gst_query_get_type): New proc.
6555 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6557 (gst_query_new_application, gst_query_get_structure): New public
6560 * docs/design/draft-query.txt: Removed LINKS from the query types,
6561 because all the rest can be dispatched to other pads -- seemed
6562 ugly to have a query that couldn't be dispatched. internal_links
6563 is fine as a pad method.
6565 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6566 in gstpad.c, but maintain binary compatibility for the moment.
6567 Will fix before 0.9 is out.
6569 * gst/gstqueryutils.c:
6570 * gst/gstqueryutils.h: New files, implement 3 methods for each
6571 query type: parse_query, parse_response, and set. Probably need an
6574 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6576 * gst/elements/gstfilesink.c (gst_filesink_query2):
6577 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6578 query_types, and formats methods.
6580 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6581 (gst_pad_set_query2_function): New functions.
6582 (gst_real_pad_init): Set query2_default as the default query2
6583 function. Basically just dispatches to internally linked pads.
6587 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6588 without using the atomic operations. Only one thread can possibly
6589 be accessing the data at this point. Changed so as to avoid
6590 gst_atomic operations.
6592 2005-05-06 Wim Taymans <wim@fluendo.com>
6594 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6595 Also set caps if we use the fallback buffer alloc.
6597 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
6599 * docs/gst/Makefile.am:
6600 * docs/gst/gstreamer-docs.sgml:
6601 * docs/gst/gstreamer-sections.txt:
6602 * docs/gst/tmpl/gstatomic.sgml:
6603 * docs/gst/tmpl/gstmemchunk.sgml:
6604 * testsuite/elements/struct_i386.h:
6605 * win32/GStreamer.vcproj:
6607 Purge GstAtomic stuff from docs and win32 makefiles as well
6609 2005-05-06 Wim Taymans <wim@fluendo.com>
6611 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6612 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6613 * gst/gstpad.c: (gst_pad_peer_get_caps):
6614 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6615 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6616 (gst_queue_src_activate), (gst_queue_change_state):
6618 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6619 (intersect_caps_func):
6620 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6621 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6622 Some fixes for the peer_get_caps() change.
6624 2005-05-06 Wim Taymans <wim@fluendo.com>
6626 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6627 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6628 (gst_basesink_activate):
6629 Actually do something with error codes returned from the push
6632 2005-05-06 Wim Taymans <wim@fluendo.com>
6634 * docs/design/part-element-sink.txt:
6635 * docs/design/part-element-source.txt:
6636 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6637 (gst_basesink_event), (gst_basesink_activate):
6638 * gst/base/gstbasesink.h:
6639 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6640 (gst_basesrc_activate):
6641 * gst/base/gstbasesrc.h:
6642 * gst/gstelement.c: (gst_element_pads_activate):
6643 Some more documentation.
6644 Fixed scheduling decision in _pads_activate().
6646 2005-05-05 Andy Wingo <wingo@pobox.com>
6648 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6651 2005-05-05 Wim Taymans <wim@fluendo.com>
6653 * gst/base/Makefile.am:
6654 * gst/base/gstbasesink.h:
6655 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6656 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6657 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6658 (gst_collectpads_class_init), (gst_collectpads_init),
6659 (gst_collectpads_finalize), (gst_collectpads_new),
6660 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6661 (find_pad), (gst_collectpads_remove_pad),
6662 (gst_collectpads_is_active), (gst_collectpads_collect),
6663 (gst_collectpads_collect_range), (gst_collectpads_start),
6664 (gst_collectpads_stop), (gst_collectpads_peek),
6665 (gst_collectpads_pop), (gst_collectpads_available),
6666 (gst_collectpads_read), (gst_collectpads_flush),
6667 (gst_collectpads_chain):
6668 * gst/base/gstcollectpads.h:
6669 * gst/elements/Makefile.am:
6670 * gst/elements/gstelements.c:
6671 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6672 (gst_fakesink_get_times), (gst_fakesink_event),
6673 (gst_fakesink_preroll), (gst_fakesink_render):
6674 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6675 (gst_filesink_init), (gst_filesink_set_location),
6676 (gst_filesink_open_file), (gst_filesink_close_file),
6677 (gst_filesink_pad_query), (gst_filesink_event),
6678 (gst_filesink_render), (gst_filesink_change_state):
6679 * gst/elements/gstfilesink.h:
6680 Added object to help in making collect pad based elements.
6682 Make event function in sink baseclass return gboolean.
6684 2005-05-05 Wim Taymans <wim@fluendo.com>
6686 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6687 (gst_bin_get_by_name):
6689 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6690 (gst_clock_finalize):
6691 * gst/gstdata.c: (gst_data_replace):
6693 * gst/gstelement.c: (gst_element_request_pad),
6694 (gst_element_pads_activate):
6695 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6697 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6698 (gst_pad_set_checkgetrange_function),
6699 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6700 (gst_pad_check_pull_range), (gst_pad_pull_range),
6701 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6702 (gst_pad_pause_task), (gst_pad_stop_task):
6703 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6704 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6705 Fix name lookup in GstBin.
6706 Added _data_replace() function and _buffer_replace()
6707 Use finalize method to clean up clock.
6708 Fix refcounting on request pads.
6709 Fix pad schedule mode error.
6710 Some more object refcounting debug info,
6713 2005-05-04 Andy Wingo <wingo@pobox.com>
6715 * check/Makefile.am:
6716 * docs/gst/tmpl/gstatomic.sgml:
6717 * docs/gst/tmpl/gstplugin.sgml:
6718 * gst/base/gstbasesink.c: (gst_basesink_activate):
6719 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6720 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6721 (gst_basesrc_query), (gst_basesrc_set_property),
6722 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6723 (gst_basesrc_activate):
6724 * gst/base/gstbasesrc.h:
6725 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6726 (gst_base_transform_src_activate):
6727 * gst/elements/gstelements.c:
6728 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6729 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6730 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6731 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6732 (gst_type_find_element_checkgetrange),
6733 (gst_type_find_element_activate):
6734 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6735 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6736 (gst_caps_load_thyself):
6737 * gst/gstelement.c: (gst_element_pads_activate),
6738 (gst_element_save_thyself), (gst_element_restore_thyself):
6739 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6740 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6742 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6743 (gst_xml_parse_file), (gst_xml_parse_memory),
6744 (gst_xml_get_element), (gst_xml_make_element):
6745 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6746 (_file_index_id_save_xml), (gst_file_index_commit):
6747 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6748 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6750 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6751 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6752 * tools/gst-complete.c: (main):
6753 * tools/gst-compprep.c: (main):
6754 * tools/gst-inspect.c: (print_element_properties_info):
6755 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6756 * tools/gst-xmlinspect.c: (print_element_properties):
6759 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6761 * gst/gstplugin.c: (gst_plugin_check_module),
6762 (gst_plugin_check_file), (gst_plugin_load_file):
6763 apply patch from #172526 to make register work on MacOSX
6765 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6767 * docs/gst/tmpl/gstconfig.sgml:
6768 * gst/gstconfig.h.in:
6769 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6770 * testsuite/debug/printf_extension.c: (main):
6771 Do not use GST_PTR_FORMAT on pointers to types with
6772 sizeof < sizeof(gpointer). Fixes test on 64-bit
6773 * testsuite/elements/property.h:
6774 use correct printf format
6776 2005-05-02 Wim Taymans <wim@fluendo.com>
6778 * docs/design/draft-push-pull.txt:
6779 * docs/design/draft-query.txt:
6780 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6781 (gst_basesrc_start):
6782 Added draft for new query API.
6783 Added draft for better selecting scheduling methods.
6784 Make basesrc ignore length if the subclass does not support
6787 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6790 possible fixes for automake-1.5 - _LIBADD is reserved
6792 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6794 * docs/faq/Makefile.am:
6795 * docs/manual/Makefile.am:
6797 * docs/pwg/Makefile.am:
6799 possible fixes for automake-1.5
6801 2005-04-28 Wim Taymans <wim@fluendo.com>
6803 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6804 (gst_basesink_pad_getcaps), (gst_basesink_init),
6805 (gst_basesink_do_sync):
6806 * gst/gstclock.c: (gst_clock_entry_new):
6807 * gst/gstevent.c: (gst_event_discont_get_value):
6808 * gst/gstpipeline.c: (pipeline_bus_handler),
6809 (gst_pipeline_change_state):
6810 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6811 Better debugging of clocking info.
6812 Allow NULL values when getting discont values.
6814 2005-04-27 Wim Taymans <wim@fluendo.com>
6816 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6817 * check/gst/gstpad.c: (gst_pad_suite):
6818 Increase timeout for checks.
6820 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6822 * check/Makefile.am:
6823 fix the broken rule for cleanup. Apparently this rule is
6824 only needed on FC2, so maybe this warrants further autotool
6827 2005-04-26 Wim Taymans <wim@fluendo.com>
6829 * gst/gsttrashstack.h:
6830 Ooohh. a nasty one! After having a failed pop() from the stack,
6831 it's possible that the stack is empty. In that case, don't
6832 follow the NULL pointer.
6834 2005-04-25 Wim Taymans <wim@fluendo.com>
6836 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6837 (gst_pad_set_checkgetrange_function),
6838 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6839 (gst_pad_check_pull_range), (gst_pad_pull_range),
6840 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6841 (gst_pad_pause_task), (gst_pad_stop_task):
6842 * gst/gstplugin.c: (gst_plugin_load):
6844 Remove gst_library_load as it does more harm than good with
6845 the new g_module flags.
6846 Revert bogus caps template check in pad linking, pad caps
6847 are important when linking not the template, which is more
6848 general than the current caps.
6850 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6852 * gst/autoplug/.cvsignore:
6853 * gst/autoplug/Makefile.am:
6854 * gst/autoplug/gstsearchfuncs.c:
6855 * gst/autoplug/gstsearchfuncs.h:
6856 * gst/autoplug/gstspider.c:
6857 * gst/autoplug/gstspider.h:
6858 * gst/autoplug/gstspideridentity.c:
6859 * gst/autoplug/gstspideridentity.h:
6860 * gst/autoplug/spidertest.c:
6863 2005-04-25 Wim Taymans <wim@fluendo.com>
6865 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6866 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6867 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6868 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6870 Added stubs for unimplemented functions.
6872 2005-04-24 David Schleef <ds@schleef.org>
6874 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6877 2005-04-24 David Schleef <ds@schleef.org>
6879 Convert everything from GstAtomicInt to g_atomic_int_*, and
6884 * gst/gstatomic_impl.h:
6892 * gst/gstdata_private.h:
6899 * gst/gststructure.c:
6900 * gst/gststructure.h:
6901 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6904 2005-04-24 David Schleef <ds@schleef.org>
6906 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6907 make the regressions tests work. Remove some code that is no
6909 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6910 Disable warning for pads without templates.
6912 2005-04-24 David Schleef <ds@schleef.org>
6914 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6915 functions that handle filtered links.
6916 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6918 * gst/gstutils.c: Fix/remove utility functions that handle
6921 * gst/gstvalue.c: Add serialization/deserialization of caps
6922 * gst/parse/grammar.y: Ignore filtered caps when linking. This
6923 requires fixing so that the filter caps notation creates
6924 a capsfilter element and sets the filter_caps property. I
6925 think everyone probably wants to keep the shorthand notation.
6926 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6927 * docs/gst/tmpl/gstpad.sgml:
6929 * gst/elements/gstelements.c: Register capsfilter element.
6930 * gst/Makefile.am: fix spacing
6931 * docs/random/ds/0.9-suggested-changes: random
6933 2005-04-23 David Schleef <ds@schleef.org>
6935 * gst/elements/Makefile.am:
6936 * gst/elements/gstcapsfilter.c: New element that acts like an
6937 identity, but filters caps. Will eventually replace filtered
6938 caps in pad linking.
6939 * gst/gstutils.c: (gst_element_create_all_pads): New function
6940 to create all the ALWAYS pads that are registered with an
6941 element class. This functionality should eventually be
6942 merged in with GstElement initialization.
6944 * testsuite/trigger/README: part of trigger test code that should
6945 have been checked in a long time ago.
6947 2005-04-23 David Schleef <ds@schleef.org>
6949 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
6950 needed with new versions of libtool (nobody will confirm this),
6951 and hard to carry around.
6952 * gst/autoplug/Makefile.am:
6953 * gst/base/Makefile.am:
6954 * gst/elements/Makefile.am:
6955 * gst/indexers/Makefile.am:
6956 * gst/schedulers/Makefile.am:
6957 * libs/gst/bytestream/Makefile.am:
6958 * libs/gst/control/Makefile.am:
6959 * libs/gst/dataprotocol/Makefile.am:
6960 * libs/gst/getbits/Makefile.am:
6962 2005-04-21 Wim Taymans <wim@fluendo.com>
6964 * docs/design/draft-push-pull.txt:
6965 * docs/design/part-MT-refcounting.txt:
6966 * docs/design/part-TODO.txt:
6967 * docs/design/part-caps.txt:
6968 * docs/design/part-events.txt:
6969 * docs/design/part-gstbus.txt:
6970 * docs/design/part-gstpipeline.txt:
6971 * docs/design/part-messages.txt:
6972 * docs/design/part-push-pull.txt:
6973 * docs/design/part-query.txt:
6976 2005-04-21 Wim Taymans <wim@fluendo.com>
6978 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
6979 (gst_message_new), (gst_message_new_error),
6980 (gst_message_new_warning), (gst_message_new_tag),
6981 (gst_message_new_state_changed), (gst_message_new_application),
6982 (gst_message_get_structure):
6984 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6985 (gst_structure_copy_conditional):
6986 Use parent refcount in GstMessage to ensure GstStructure
6988 Cleaned up headers a bit.
6991 2005-04-20 Wim Taymans <wim@fluendo.com>
6993 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6994 (gst_basesink_pad_getcaps), (gst_basesink_init),
6995 (gst_basesink_chain_unlocked):
6996 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
6997 (gst_type_find_helper):
6998 * gst/elements/gsttypefindelement.c:
6999 (gst_type_find_element_have_type), (gst_type_find_element_init),
7000 (stop_typefinding), (gst_type_find_element_handle_event),
7001 (find_suggest), (gst_type_find_element_chain),
7002 (gst_type_find_element_checkgetrange),
7003 (gst_type_find_element_getrange), (do_typefind),
7004 (gst_type_find_element_activate):
7005 * gst/gstbuffer.c: (_gst_buffer_sub_free),
7006 (gst_buffer_default_free), (gst_buffer_default_copy),
7007 (gst_buffer_set_caps):
7008 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7010 * gst/gstmessage.c: (gst_message_new),
7011 (gst_message_new_state_changed):
7012 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7013 (gst_pad_set_checkgetrange_function),
7014 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7015 (gst_pad_set_caps), (gst_pad_check_pull_range),
7016 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7018 * gst/gsttypefind.c: (gst_type_find_register):
7019 Make gst_caps_replace() work like other _replace() functions.
7020 Use _caps_replace() where possible.
7021 Make sure _message_new() initialises its field.
7022 Add gst_static_pad_template_get_caps()
7025 2005-04-18 Andy Wingo <wingo@pobox.com>
7027 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7028 on the peer, not the pad. I think that was a typo. Pass an extra
7029 arg to see if random access is possible. Activate the pads as
7030 PULL_RANGE if possible.
7032 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7034 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
7035 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7038 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7040 * docs/faq/using.xml:
7041 Add note on gstreamer-properties (#154996).
7043 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7045 * docs/random/bbb/optional-properties:
7046 Some analysis on optional properties.
7048 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7050 * docs/gst/tmpl/gstelementfactory.sgml:
7052 * gst/gstelementfactory.c: (gst_element_factory_init),
7053 (gst_element_factory_cleanup), (gst_element_register),
7054 (__gst_element_factory_add_static_pad_template),
7055 (gst_element_factory_get_static_pad_templates),
7056 (gst_element_factory_can_src_caps),
7057 (gst_element_factory_can_sink_caps):
7058 * gst/registries/Makefile.am:
7059 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7060 (gst_xml_registry_class_init), (gst_xml_registry_init),
7061 (gst_xml_registry_new), (gst_xml_registry_set_property),
7062 (gst_xml_registry_get_property), (get_time), (make_dir),
7063 (gst_xml_registry_get_perms_func),
7064 (plugin_times_older_than_recurse), (plugin_times_older_than),
7065 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7066 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7067 (add_to_char_array), (read_string), (read_uint), (read_enum),
7068 (load_pad_template), (load_feature), (load_plugin), (load_paths),
7069 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7070 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7071 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7072 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7073 (gst_xml_registry_rebuild):
7074 * gst/registries/gstlibxmlregistry.h:
7075 * tools/gst-compprep.c: (main):
7076 * tools/gst-inspect.c: (print_pad_templates_info):
7077 * tools/gst-xmlinspect.c: (print_element_info):
7078 Use libxml2 for registry parsing, use staticpadtemplates in
7079 elementfactories. Makes gst_init() +/- 10x faster.
7081 2005-04-12 Wim Taymans <wim@fluendo.com>
7083 * gst/base/Makefile.am:
7084 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7085 (gst_basesink_pad_getcaps), (gst_basesink_init),
7086 (gst_basesink_event), (gst_basesink_change_state):
7087 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7088 (gst_basesrc_init), (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):
7095 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7096 (helper_find_suggest), (gst_type_find_helper):
7097 * gst/base/gsttypefindhelper.h:
7098 * gst/elements/Makefile.am:
7099 * gst/elements/gstelements.c:
7100 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7101 (gst_fakesink_get_times), (gst_fakesink_event),
7102 (gst_fakesink_preroll), (gst_fakesink_render):
7103 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7104 (gst_fakesrc_init), (gst_fakesrc_event_handler),
7105 (gst_fakesrc_get_property), (gst_fakesrc_create),
7106 (gst_fakesrc_start), (gst_fakesrc_stop):
7107 * gst/elements/gstfakesrc.h:
7108 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7109 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7110 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7111 (gst_filesrc_create_read), (gst_filesrc_create),
7112 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7113 (gst_filesrc_start):
7114 * gst/elements/gsttypefindelement.c:
7115 (gst_type_find_element_have_type), (gst_type_find_element_init),
7116 (start_typefinding), (stop_typefinding), (push_buffer_store),
7117 (gst_type_find_element_handle_event),
7118 (gst_type_find_element_chain),
7119 (gst_type_find_element_checkgetrange),
7120 (gst_type_find_element_getrange), (do_typefind),
7121 (gst_type_find_element_activate),
7122 (gst_type_find_element_change_state):
7123 * gst/elements/gsttypefindelement.h:
7124 * gst/gstpipeline.c: (pipeline_bus_handler):
7125 Added typefind helper.
7126 Small preroll fix in the base sink.
7127 Disable typefind code in basesrc.
7128 Crude port of typefindelement.
7132 2005-04-11 Wim Taymans <wim@fluendo.com>
7134 * check/gst/gstbus.c: (gstbus_suite):
7135 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7137 Fix up the timeout so that the test does not fail.
7139 2005-04-06 Wim Taymans <wim@fluendo.com>
7142 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7143 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7144 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7145 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7146 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7147 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7148 (gst_basesrc_stop), (gst_basesrc_activate),
7149 (gst_basesrc_change_state), (basesrc_find_peek),
7150 (basesrc_find_suggest), (gst_basesrc_type_find):
7151 * gst/base/gstbasesrc.h:
7152 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7153 (gst_filesrc_class_init), (gst_filesrc_init),
7154 (gst_filesrc_finalize), (gst_filesrc_set_location),
7155 (gst_filesrc_set_property), (gst_filesrc_get_property),
7156 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7157 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7158 (gst_filesrc_create_read), (gst_filesrc_create),
7159 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7160 * gst/elements/gstfilesrc.h:
7161 * gst/gstelement.c: (gst_element_get_state_func),
7162 (gst_element_lost_state), (gst_element_pads_activate):
7163 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7164 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7165 (gst_pad_pull_range):
7167 More work on the generic source base class, implement seeking,
7169 Make filesrc extend the base source class.
7170 Added gst_pad_set_checkgetrange_function to GstPad.
7172 2005-04-06 Andy Wingo <wingo@pobox.com>
7174 * pkgconfig/gstreamer-base.pc.in:
7175 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7177 * pkgconfig/Makefile.am:
7178 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7180 2005-04-04 Wim Taymans <wim@fluendo.com>
7182 * gst/base/Makefile.am:
7184 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7185 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7186 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7187 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7188 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7189 (gst_basesrc_base_init), (gst_basesrc_class_init),
7190 (gst_basesrc_init), (gst_basesrc_get_formats),
7191 (gst_basesrc_get_query_types), (gst_basesrc_query),
7192 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7193 (gst_basesrc_set_property), (gst_basesrc_get_property),
7194 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7195 (gst_basesrc_loop), (gst_basesrc_activate),
7196 (gst_basesrc_change_state):
7197 * gst/base/gstbasesrc.h:
7198 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7199 (gst_fakesrc_class_init), (gst_fakesrc_init),
7200 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7201 (gst_fakesrc_get_property), (gst_fakesrc_create):
7202 * gst/elements/gstfakesrc.h:
7203 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7204 (gst_filesrc_open_file), (gst_filesrc_loop),
7205 (gst_filesrc_activate), (filesrc_find_peek),
7206 (gst_filesrc_type_find):
7207 Made base source class, make fakesrc extend it.
7208 Add comments to basesink class.
7209 Some filesrc cleanup.
7211 2005-03-31 David Schleef <ds@schleef.org>
7213 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7214 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7215 expected to link against libgstreamer.
7216 * gst/base/Makefile.am: link against libgstreamer
7217 * gst/elements/Makefile.am: same
7219 2005-03-31 Andy Wingo <wingo@pobox.com>
7221 * tests/instantiate/Makefile.am:
7222 * tests/instantiate/caps.c: Add test to test speed of caps copy
7225 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7226 GMemChunk to be fair.
7228 * gst/gsttrashstack.h: Remove warning about using the fallback
7229 trash stack implementation, it's still faster than malloc.
7231 2005-03-30 Andy Wingo <wingo@pobox.com>
7233 * tests/complexity.c: Add a copyright.
7235 2005-03-31 Wim Taymans <wim@fluendo.com>
7237 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7238 (gst_base_transform_class_init), (gst_base_transform_init),
7239 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7240 (gst_base_transform_get_property),
7241 (gst_base_transform_sink_activate),
7242 (gst_base_transform_src_activate),
7243 (gst_base_transform_change_state):
7244 * gst/base/gstbasetransform.h:
7245 * gst/elements/gstidentity.c: (gst_identity_class_init),
7246 (gst_identity_event), (gst_identity_check_perfect),
7247 (gst_identity_transform), (gst_identity_start),
7248 (gst_identity_stop):
7249 Added start/stop methods to transform base class so subclasses
7250 don't need to deal with state changes even.
7252 2005-03-31 Wim Taymans <wim@fluendo.com>
7254 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7255 (gst_event_new_discontinuous), (gst_event_discont_get_value):
7257 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7258 (gst_pad_pull_range):
7259 Added rate to the discont event to prepare for variable speed
7260 and reverse playback.
7262 2005-03-29 David Schleef <ds@schleef.org>
7265 * testsuite/trigger/Makefile.am:
7266 * testsuite/trigger/trigger.c: A little example program to show
7267 how trigger-based elements can work.
7269 2005-03-29 Wim Taymans <wim@fluendo.com>
7271 * gst/base/Makefile.am:
7273 * gst/base/gstbasesink.c: (gst_basesink_get_type),
7274 (gst_basesink_base_init), (gst_basesink_class_init),
7275 (gst_basesink_pad_getcaps), (gst_basesink_init),
7276 (gst_basesink_activate), (gst_basesink_change_state):
7277 * gst/base/gstbasesink.h:
7278 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7279 (gst_base_transform_base_init), (gst_base_transform_finalize),
7280 (gst_base_transform_class_init), (gst_base_transform_init),
7281 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7282 (gst_base_transform_event), (gst_base_transform_getrange),
7283 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7284 (gst_base_transform_set_property),
7285 (gst_base_transform_get_property),
7286 (gst_base_transform_sink_activate),
7287 (gst_base_transform_src_activate),
7288 (gst_base_transform_change_state):
7289 * gst/base/gstbasetransform.h:
7290 * gst/elements/gstidentity.c: (gst_identity_finalize),
7291 (gst_identity_class_init), (gst_identity_init),
7292 (gst_identity_event), (gst_identity_check_perfect),
7293 (gst_identity_transform), (gst_identity_set_property),
7294 (gst_identity_get_property), (gst_identity_change_state):
7295 * gst/elements/gstidentity.h:
7296 * gst/gstelement.c: (gst_element_get_state_func),
7297 (gst_element_lost_state), (gst_element_pads_activate):
7298 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7299 (gst_pad_check_pull_range), (gst_pad_pull_range):
7301 Simplify pad activation.
7302 Added function to check if pull_range can be performed.
7303 Error out when pulling inactive or flushing pads.
7304 Removed const from refcounted types as it does not make sense.
7305 Simplify pad templates in basesink
7306 Added base class for simple 1-to-1 transforms.
7307 Make identity subclass the base transform.
7309 2005-03-29 Andy Wingo <wingo@pobox.com>
7311 * docs/libs/gstreamer-libs-overrides.txt:
7312 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7313 really don't understand what's going on, but like whatever. I want
7316 * docs/gst/Makefile.am:
7317 * docs/libs/Makefile.am: Dist the overrides files.
7319 * check/Makefile.am (clean-local): Remove .libs directories.
7321 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7322 elements to EXTRA_DIST, so po/ files are happy.
7324 * po/POTFILES.in: Er, remove it here.
7326 * po/POTFILES: Remove gstspider.c.
7328 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7330 * docs/libs/gstreamer-libs-docs.sgml:
7331 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7334 * tests/complexity.c (main): Set the length of the preroll queue
7335 on the sinks to prevent a lockup.
7337 * libs/gst/dataprotocol/Makefile.am:
7338 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7339 the same as the one in check/gst-libs/gdp.c.
7341 * po/, docs/gst/: Commit automatic changes to docs and po files.
7343 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7344 the versioned libgstbase.
7346 * check/Makefile.am: Depend on an unversioned gst-register, seems
7347 to make autoconf happier.
7349 * gst/base/Makefile.am: Make libgstbase a versioned lib.
7351 2005-03-28 Wim Taymans <wim@fluendo.com>
7354 * docs/design/part-gstelement.txt:
7355 * docs/design/part-negotiation.txt:
7356 * docs/design/part-preroll.txt:
7357 * docs/design/part-scheduling.txt:
7358 * docs/design/part-states.txt:
7360 * gst/base/Makefile.am:
7362 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7363 (gst_basesink_base_init), (gst_basesink_class_init),
7364 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7365 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7366 (gst_basesink_set_pad_functions),
7367 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7368 (gst_basesink_set_property), (gst_basesink_get_property),
7369 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7370 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7371 (gst_basesink_preroll_queue_push),
7372 (gst_basesink_preroll_queue_empty),
7373 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7374 (gst_basesink_event), (gst_basesink_get_times),
7375 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7376 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7377 (gst_basesink_loop), (gst_basesink_activate),
7378 (gst_basesink_change_state):
7379 * gst/base/gstbasesink.h:
7380 * gst/elements/Makefile.am:
7381 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7382 (gst_fakesink_class_init), (gst_fakesink_init),
7383 (gst_fakesink_set_property), (gst_fakesink_get_property),
7384 (gst_fakesink_get_times), (gst_fakesink_event),
7385 (gst_fakesink_preroll), (gst_fakesink_render),
7386 (gst_fakesink_change_state):
7387 * gst/elements/gstfakesink.h:
7388 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7389 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7390 * gst/gstelement.c: (gst_element_add_pad),
7391 (gst_element_get_state_func), (gst_element_abort_state),
7392 (gst_element_commit_state), (gst_element_lost_state),
7393 (gst_element_set_state), (gst_element_pads_activate):
7394 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7395 * gst/gstpipeline.c: (gst_pipeline_send_event),
7396 (gst_pipeline_change_state):
7397 Added state change code.
7399 Added sink base class, make fakesink extend the base class.
7400 Small cleanups in GstPipeline.
7402 2005-03-26 David Schleef <ds@schleef.org>
7404 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7405 is broken and should be implemented in a different library.
7406 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7407 * gst/gst.h: remove gstcpu.h
7408 * gst/gstcpu.c: remove
7409 * gst/gstcpu.h: remove
7410 * gst/Makefile.am.future: Remove this file. It's ancient.
7412 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7414 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7415 (gst_bin_send_event):
7416 Add default event/set_manager handlers. The set_manager handler
7417 takes care that the manager is distributed over kids that were
7418 already in the bin before the manager was set. The event handler
7419 is a utility virtual function that sends the event over all sinks,
7420 so that gst_element_send_event (bin, event); has the expected
7422 * gst/gstpad.c: (gst_pad_event_default):
7423 Re-install default event handling for discontinuities, so that
7424 seeking works without requiring hacks in applications or extra
7426 * gst/gstpipeline.c: (gst_pipeline_class_init),
7427 (gst_pipeline_send_event):
7428 Half hack, half utility: set a pipeline to PAUSED for seek events,
7429 since that is the only way we can guarantee a/v sync. Means that
7430 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7431 and it "just works".
7433 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7435 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7436 Lock/unlock mismatch.
7438 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7440 * docs/faq/gst-uninstalled:
7441 add gst-plugins-base
7442 * docs/gst/Makefile.am:
7443 don't error out until docs are fixed
7444 * docs/gst/gstreamer.types:
7447 2005-03-22 Wim Taymans <wim@fluendo.com>
7449 * check/Makefile.am:
7450 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7451 * gst/gststructure.c: (gst_structure_set_valist),
7452 (gst_structure_copy_conditional):
7453 Activated more tests.
7455 Added G_TYPE_POINTER to GstStructure.
7458 2005-03-22 Wim Taymans <wim@fluendo.com>
7460 * docs/design/part-TODO.txt:
7461 * docs/design/part-events.txt:
7462 * docs/design/part-gstbin.txt:
7463 * docs/design/part-gstbus.txt:
7464 * docs/design/part-gstpipeline.txt:
7465 * docs/design/part-messages.txt:
7470 2005-03-21 Wim Taymans <wim@fluendo.com>
7472 * gst/gstbus.c: (gst_bus_post):
7473 Fix copy-and-paste error.
7475 2005-03-21 Wim Taymans <wim@fluendo.com>
7477 * check/Makefile.am:
7479 * gst/elements/Makefile.am:
7480 * gst/elements/gstelements.c:
7481 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7482 (gst_fakesink_event), (gst_fakesink_chain):
7483 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7484 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7485 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7486 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7487 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7488 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7489 (gst_fakesrc_loop), (gst_fakesrc_activate),
7490 (gst_fakesrc_change_state):
7491 * gst/elements/gstfakesrc.h:
7492 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7493 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7494 (gst_filesrc_open_file), (gst_filesrc_loop),
7495 (gst_filesrc_activate), (gst_filesrc_change_state),
7496 (filesrc_find_peek), (filesrc_find_suggest),
7497 (gst_filesrc_type_find):
7498 * gst/elements/gstidentity.c: (gst_identity_finalize),
7499 (gst_identity_class_init), (gst_identity_init),
7500 (gst_identity_proxy_getcaps), (identity_queue_push),
7501 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7502 (gst_identity_getrange), (gst_identity_chain),
7503 (gst_identity_sink_loop), (gst_identity_src_loop),
7504 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7505 (gst_identity_set_property), (gst_identity_get_property),
7506 (gst_identity_change_state):
7507 * gst/elements/gstidentity.h:
7508 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7509 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7510 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7511 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7512 (gst_tee_sink_activate):
7513 * gst/elements/gsttee.h:
7514 * gst/gst.c: (gst_register_core_elements), (init_post):
7516 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7517 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7518 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7519 (gst_bin_change_state):
7521 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7522 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7523 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7524 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7525 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7526 (bus_watch_callback), (bus_watch_destroy),
7527 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7528 (poll_timeout), (gst_bus_poll):
7532 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7533 (gst_element_post_message), (gst_element_message_full),
7534 (gst_element_get_state_func), (gst_element_get_state),
7535 (gst_element_abort_state), (gst_element_commit_state),
7536 (gst_element_lost_state), (gst_element_set_state),
7537 (gst_element_pads_activate), (gst_element_change_state),
7538 (gst_element_dispose), (gst_element_set_manager_func),
7539 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7540 (gst_element_set_manager), (gst_element_get_manager),
7541 (gst_element_set_bus), (gst_element_get_bus),
7542 (gst_element_set_scheduler), (gst_element_get_scheduler):
7544 * gst/gstevent.c: (gst_event_new_segment_seek),
7545 (gst_event_new_flush):
7547 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7548 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7549 (gst_message_new_eos), (gst_message_new_error),
7550 (gst_message_new_warning), (gst_message_new_tag),
7551 (gst_message_new_state_changed), (gst_message_new_application),
7552 (gst_message_get_structure), (gst_message_parse_tag),
7553 (gst_message_parse_state_changed), (gst_message_parse_error),
7554 (gst_message_parse_warning):
7556 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7557 (gst_real_pad_set_property), (gst_pad_set_active),
7558 (gst_pad_is_active), (gst_pad_set_blocked_async),
7559 (gst_pad_set_blocked), (gst_pad_is_blocked),
7560 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7561 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7562 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7563 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7564 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7565 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7566 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7567 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7568 (gst_pad_set_caps), (gst_pad_configure_sink),
7569 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7570 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7571 (gst_real_pad_dispose), (gst_real_pad_finalize),
7572 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7573 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7574 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7576 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7577 (pipeline_bus_handler), (gst_pipeline_change_state),
7578 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7579 * gst/gstpipeline.h:
7581 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7582 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7583 (gst_queue_link_src), (gst_queue_bufferalloc),
7584 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7585 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7586 (gst_queue_loop), (gst_queue_handle_src_event),
7587 (gst_queue_handle_src_query), (gst_queue_src_activate),
7588 (gst_queue_change_state):
7590 * gst/gstscheduler.c: (gst_scheduler_init),
7591 (gst_scheduler_dispose), (gst_scheduler_create_task),
7592 (gst_scheduler_factory_create):
7593 * gst/gstscheduler.h:
7594 * gst/gststructure.c: (gst_structure_get_type),
7595 (gst_structure_copy_conditional):
7596 * gst/gststructure.h:
7597 * gst/gsttaginterface.h:
7598 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7599 (gst_task_init), (gst_task_dispose), (gst_task_create),
7600 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7606 * gst/schedulers/Makefile.am:
7607 * gst/schedulers/cothreads_compat.h:
7608 * gst/schedulers/entryscheduler.c:
7609 * gst/schedulers/faircothreads.c:
7610 * gst/schedulers/faircothreads.h:
7611 * gst/schedulers/fairscheduler.c:
7612 * gst/schedulers/gstbasicscheduler.c:
7613 * gst/schedulers/gstoptimalscheduler.c:
7614 * gst/schedulers/gthread-cothreads.h:
7615 * gst/schedulers/threadscheduler.c:
7616 (gst_thread_scheduler_task_get_type),
7617 (gst_thread_scheduler_task_class_init),
7618 (gst_thread_scheduler_task_init),
7619 (gst_thread_scheduler_task_start),
7620 (gst_thread_scheduler_task_stop),
7621 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7622 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7623 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7624 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7626 * libs/gst/Makefile.am:
7627 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7628 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7629 (gst_file_pad_parent_set):
7630 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7631 (gst_dp_event_from_packet):
7632 * tests/complexity.c: (main):
7633 * tests/mass_elements.c: (main):
7634 * testsuite/states/locked.c: (message_received), (main):
7635 * testsuite/states/parent.c: (main):
7636 * tools/gst-inspect.c: (print_element_flag_info),
7637 (print_implementation_info), (print_pad_info):
7638 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7640 * tools/gst-md5sum.c: (event_loop), (main):
7641 * tools/gst-typefind.c: (main):
7642 * tools/gst-xmlinspect.c: (print_element_info):
7644 Added GstBus for mainloop integration.
7645 Added GstMessage for sending notifications on the bus.
7646 Added GstTask as an abstraction for pipeline entry points.
7649 Simplified GstQueue for multithreaded core.
7650 Made _link threadsafe, removed old capsnego.
7651 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7652 Added pad blocking functions.
7653 Reworked scheduling functions in GstPad to prepare for
7654 scheduling updates soon.
7655 Moved events out of data stream.
7656 Simplified GstEvent types.
7657 Added return values to push/pull.
7658 Removed clocking from GstElement.
7659 Added prototypes for state change function for next merge.
7660 Removed iterate from bins and state change management.
7661 Fixed some elements, disabled others for now.
7662 Fixed -inspect and -launch.
7663 Added check for GstBus.
7665 2005-03-10 Wim Taymans <wim@fluendo.com>
7667 * docs/design/part-MT-refcounting.txt:
7668 * docs/design/part-clocks.txt:
7669 * docs/design/part-gstelement.txt:
7670 * docs/design/part-gstobject.txt:
7671 * docs/design/part-standards.txt:
7672 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7673 (gst_bin_remove_func), (gst_bin_remove):
7677 * testsuite/clock/clock1.c: (main):
7678 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7680 * testsuite/dlopen/loadgst.c: (do_test):
7681 * testsuite/refcounting/bin.c: (add_remove_test1),
7682 (add_remove_test2), (main):
7683 * testsuite/refcounting/element.c: (main):
7684 * testsuite/refcounting/element_pad.c: (main):
7685 * testsuite/refcounting/pad.c: (main):
7686 * tools/gst-launch.c: (sigint_handler_sighandler):
7687 * tools/gst-typefind.c: (main):
7689 Added doc about clock.
7690 removed gst_bin_iterate_recurse_up(), marked methods
7692 Fix more testsuites.
7694 2005-03-09 Wim Taymans <wim@fluendo.com>
7696 * gst/gstpad.c: (gst_pad_get_direction),
7697 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7698 (gst_pad_collect_valist):
7699 * testsuite/bins/interface.c: (main):
7700 * testsuite/caps/audioscale.c: (test_caps):
7701 * testsuite/caps/caps.c: (test1), (test2), (test3):
7702 * testsuite/caps/deserialize.c: (main):
7703 * testsuite/caps/enumcaps.c: (main):
7704 * testsuite/caps/filtercaps.c: (main):
7705 * testsuite/caps/intersect2.c: (main):
7706 * testsuite/caps/random.c: (main):
7707 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7708 * testsuite/caps/sets.c: (check_caps):
7709 * testsuite/caps/simplify.c: (check_caps), (main):
7710 * testsuite/caps/subtract.c: (check_caps):
7711 Fix _pad_get_direction wrt ghostpads.
7714 2005-03-09 Wim Taymans <wim@fluendo.com>
7716 * check/Makefile.am:
7717 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7718 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7719 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7720 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7721 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7722 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7723 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7724 (bin_element_is_sink), (gst_bin_iterate_sinks),
7725 (gst_bin_iterate_all_by_interface):
7727 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7728 (gst_element_change_state), (gst_element_dispose),
7729 (gst_element_finalize), (gst_element_set_loop_function):
7731 * gst/gstiterator.c: (find_custom_fold_func):
7732 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7733 (gst_pad_collectv), (gst_pad_collect_valist),
7734 (gst_pad_template_new):
7735 * gst/gstpipeline.c: (gst_pipeline_class_init),
7736 (gst_pipeline_dispose), (gst_pipeline_set_property),
7737 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7738 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7739 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7741 * gst/schedulers/entryscheduler.c:
7742 * gst/schedulers/gstbasicscheduler.c:
7743 (gst_basic_scheduler_cothreaded_chain),
7744 (gst_basic_scheduler_chain_add_element):
7745 * testsuite/bins/interface.c: (main):
7747 Added GstSystemClock test.
7748 Implemented clock distribution code in GstBin.
7749 Implemented iterate sinks method for future use.
7750 Rearranged gstelement.h
7751 Fix GstIterator comparison bug.
7752 Moved some code to GstPipeline, mostly clocking related.
7754 2005-03-09 Wim Taymans <wim@fluendo.com>
7757 * gst/gst_private.h:
7758 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7759 (gst_bin_remove_func), (gst_bin_remove),
7760 (gst_bin_get_by_name_recurse_up):
7761 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7762 (gst_clock_id_compare_func), (gst_clock_id_wait),
7763 (gst_clock_id_wait_async), (gst_clock_init),
7764 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7766 * gst/gstinfo.c: (_gst_debug_init):
7768 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7769 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7771 Bump version number, we're now 0.9.0
7772 Add future debugging category.
7773 Fix NULL _unref() in _get_by_name_recurse_up
7777 2005-03-08 Wim Taymans <wim@fluendo.com>
7779 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7780 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7781 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7782 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7783 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7784 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7785 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7786 * gst/elements/gstidentity.c: (gst_identity_class_init):
7787 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7788 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7789 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7790 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7791 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7793 * gst/gstelement.c: (gst_element_class_init),
7794 (gst_element_base_class_init), (gst_element_init),
7795 (gst_element_get_random_pad), (gst_element_wait_state_change),
7796 (gst_element_change_state), (gst_element_dispose),
7797 (gst_element_finalize), (gst_element_set_loop_function):
7799 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7800 * gst/gstthread.c: (gst_thread_class_init),
7801 (gst_thread_release_children_locks), (gst_thread_change_state):
7802 * gst/schedulers/gstbasicscheduler.c:
7803 (gst_basic_scheduler_loopfunc_wrapper),
7804 (gst_basic_scheduler_chain_wrapper),
7805 (gst_basic_scheduler_src_wrapper),
7806 (gst_basic_scheduler_remove_element):
7807 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7808 Remove threadsafe properties. Fix elements because GObject
7809 complains when installing a property before declaring a
7810 set/get_property handler.
7811 Rearrange gstelement.h file, use STATE macros for state locks.
7812 Free mutexes in the finalize method instead of dispose.
7814 2005-03-08 Wim Taymans <wim@fluendo.com>
7816 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7817 * gst/gstthread.c: (gst_thread_release_children_locks):
7818 Added parentage check.
7819 Fix build og GstThread again.
7821 2005-03-08 Wim Taymans <wim@fluendo.com>
7823 * docs/design/part-MT-refcounting.txt:
7824 * docs/design/part-conventions.txt:
7825 * docs/design/part-gstobject.txt:
7826 * docs/design/part-relations.txt:
7827 * docs/design/part-standards.txt:
7828 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7829 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7830 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7831 (gst_bin_iterate_all_by_interface):
7834 * gst/gstelement.c: (gst_element_class_init),
7835 (gst_element_change_state), (gst_element_set_loop_function):
7837 * gst/gstiterator.c:
7838 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7839 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7840 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7841 (gst_object_set_parent), (gst_object_unparent),
7842 (gst_object_check_uniqueness):
7844 Docs updates, clean up some headers.
7846 2005-03-07 Wim Taymans <wim@fluendo.com>
7849 * check/Makefile.am:
7850 * check/gst-libs/.cvsignore:
7851 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7852 * check/gst/.cvsignore:
7853 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7854 (START_TEST), (gstbus_suite), (main):
7855 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7856 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7857 (gst_data_suite), (main):
7858 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7859 (add_fold_func), (gstiterator_suite), (main):
7860 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7861 (thread_name_object), (thread_name_object_default),
7862 (gst_object_name_compare), (gst_object_suite), (main):
7863 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7864 (gst_pad_suite), (main):
7865 * check/gstcheck.c: (gst_check_log_message_func),
7866 (gst_check_log_critical_func), (gst_check_init):
7868 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7869 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7872 2005-03-07 Wim Taymans <wim@fluendo.com>
7874 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7875 (gst_list_iterator_next), (gst_list_iterator_resync),
7876 (gst_list_iterator_free), (gst_iterator_new_list),
7877 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7878 (gst_iterator_free), (gst_iterator_push), (filter_next),
7879 (filter_resync), (filter_uninit), (filter_free),
7880 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7881 (gst_iterator_foreach), (find_custom_fold_func),
7882 (gst_iterator_find_custom):
7883 * gst/gstiterator.h:
7884 Added missing files.
7886 2005-03-07 Wim Taymans <wim@fluendo.com>
7890 * docs/design/part-MT-refcounting.txt:
7891 * docs/design/part-conventions.txt:
7892 * docs/design/part-gstobject.txt:
7893 * docs/design/part-relations.txt:
7894 * examples/mixer/mixer.c: (main):
7895 * examples/thread/thread.c: (eos), (main):
7897 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7898 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7899 (gst_spider_plug_from_srcpad):
7900 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7901 (gst_spider_identity_change_state),
7902 (gst_spider_identity_sink_loop_type_finding):
7903 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7904 * gst/elements/gstidentity.c: (gst_identity_init):
7905 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7906 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7907 * gst/elements/gsttypefindelement.c: (free_entry):
7910 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7911 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7912 (gst_bin_set_index), (gst_bin_set_element_sched),
7913 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7914 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7915 (gst_bin_iterate_elements), (iterate_child_recurse),
7916 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7917 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7918 (compare_interface), (gst_bin_get_by_interface),
7919 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7921 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7922 (gst_buffer_default_free), (gst_buffer_default_copy),
7923 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7924 (gst_buffer_create_sub):
7926 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7927 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7928 (gst_caps_unref), (gst_static_caps_get),
7929 (gst_caps_remove_and_get_structure), (gst_caps_append),
7930 (gst_caps_append_structure), (gst_caps_remove_structure),
7931 (gst_caps_copy_nth), (gst_caps_set_simple),
7932 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
7933 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
7934 (gst_caps_structure_intersect_field), (gst_caps_intersect),
7935 (gst_caps_structure_subtract_field), (gst_caps_subtract),
7936 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
7937 (gst_caps_structure_figure_out_union),
7938 (gst_caps_switch_structures), (gst_caps_do_simplify),
7939 (gst_caps_replace), (gst_caps_from_string),
7940 (gst_caps_copy_conditional):
7942 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
7943 (_gst_clock_id_free), (gst_clock_id_unref),
7944 (gst_clock_id_compare_func), (gst_clock_id_wait),
7945 (gst_clock_id_wait_async), (gst_clock_class_init),
7946 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
7947 (gst_clock_get_time), (gst_clock_set_time_adjust),
7948 (gst_clock_set_property), (gst_clock_get_property):
7951 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
7952 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
7954 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7955 (gst_element_requires_clock), (gst_element_provides_clock),
7956 (gst_element_set_clock), (gst_element_clock_wait),
7957 (gst_element_wait), (gst_element_set_time_delay),
7958 (gst_element_is_indexable), (gst_element_add_pad),
7959 (gst_element_add_ghost_pad), (gst_element_remove_pad),
7960 (pad_compare_name), (gst_element_get_static_pad),
7961 (gst_element_request_pad), (gst_element_get_request_pad),
7962 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
7963 (gst_element_class_get_pad_template_list),
7964 (gst_element_class_get_pad_template), (gst_element_error_func),
7965 (gst_element_get_random_pad), (gst_element_get_event_masks),
7966 (gst_element_send_event), (gst_element_seek),
7967 (gst_element_get_query_types), (gst_element_query),
7968 (gst_element_get_formats), (gst_element_convert),
7969 (gst_element_is_locked_state), (gst_element_set_locked_state),
7970 (gst_element_sync_state_with_parent), (gst_element_change_state),
7971 (gst_element_finalize), (gst_element_yield),
7972 (gst_element_interrupt), (gst_element_set_scheduler),
7973 (gst_element_get_scheduler), (gst_element_set_loop_function):
7976 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
7977 (gst_format_get_by_nick), (gst_format_get_details),
7978 (gst_format_iterate_definitions):
7980 * gst/gstindex.c: (gst_index_gtype_resolver):
7983 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
7984 (gst_mem_chunk_free):
7985 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7986 (gst_object_ref), (gst_object_unref), (gst_object_sink),
7987 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
7988 (gst_object_dispatch_properties_changed),
7989 (gst_object_set_name_default), (gst_object_set_name),
7990 (gst_object_get_name), (gst_object_set_name_prefix),
7991 (gst_object_get_name_prefix), (gst_object_set_parent),
7992 (gst_object_get_parent), (gst_object_unparent),
7993 (gst_object_check_uniqueness), (gst_object_save_thyself),
7994 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
7995 (gst_object_set_property), (gst_object_get_property),
7996 (gst_object_get_path_string):
7998 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7999 (gst_real_pad_init), (gst_real_pad_get_property),
8000 (gst_pad_custom_new), (gst_pad_get_direction),
8001 (gst_pad_set_active), (gst_pad_is_active),
8002 (gst_pad_set_event_function), (gst_pad_is_linked),
8003 (gst_pad_link_free), (gst_pad_link_intersect),
8004 (gst_pad_link_fixate), (gst_pad_set_caps),
8005 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8006 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8007 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8008 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8009 (gst_pad_get_caps), (gst_pad_peer_get_caps),
8010 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8011 (gst_pad_realize), (gst_pad_get_allowed_caps),
8012 (gst_real_pad_dispose), (gst_real_pad_finalize),
8013 (gst_pad_collectv), (gst_pad_collect_valist),
8014 (gst_pad_template_dispose), (gst_pad_template_new),
8015 (gst_pad_get_internal_links):
8017 * gst/gstpipeline.c: (gst_pipeline_dispose),
8018 (gst_pipeline_change_state):
8019 * gst/gstpipeline.h:
8021 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8022 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8023 * gst/gstpluginfeature.h:
8024 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8025 * gst/gstquery.c: (_gst_query_type_initialize),
8026 (gst_query_type_register), (gst_query_type_get_by_nick),
8027 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8029 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8030 * gst/gstscheduler.c: (gst_scheduler_add_element),
8031 (gst_scheduler_factory_create):
8032 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8033 (gst_structure_free), (gst_structure_set_name),
8034 (gst_structure_id_set_value), (gst_structure_set_value),
8035 (gst_structure_set_valist), (gst_structure_remove_field),
8036 (gst_structure_remove_fields),
8037 (gst_structure_remove_fields_valist),
8038 (gst_structure_remove_all_fields), (gst_structure_foreach),
8039 (gst_structure_map_in_place),
8040 (gst_caps_structure_fixate_field_nearest_int),
8041 (gst_caps_structure_fixate_field_nearest_double):
8042 * gst/gststructure.h:
8043 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8044 (gst_system_clock_init), (gst_system_clock_dispose),
8045 (gst_system_clock_async_thread),
8046 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8047 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8048 * gst/gstsystemclock.h:
8049 * gst/gsttag.c: (gst_tag_list_add_value_internal),
8050 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8051 * gst/gsttaginterface.c:
8052 * gst/gstthread.c: (gst_thread_dispose),
8053 (gst_thread_release_children_locks), (gst_thread_change_state),
8054 (gst_thread_main_loop):
8055 * gst/gsttrashstack.h:
8056 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8058 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8059 (gst_element_request_pad), (gst_element_get_pad_from_template),
8060 (gst_element_request_compatible_pad),
8061 (gst_element_get_compatible_pad_filtered),
8062 (gst_element_get_compatible_pad), (gst_element_state_get_name),
8063 (gst_element_link_pads_filtered), (gst_element_link_filtered),
8064 (gst_element_link_many), (gst_element_link),
8065 (gst_element_link_pads), (gst_element_unlink_pads),
8066 (gst_element_unlink_many), (gst_element_unlink),
8067 (gst_pad_can_link_filtered), (gst_pad_can_link),
8068 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8069 (gst_object_default_error), (gst_bin_add_many),
8070 (gst_bin_remove_many), (gst_element_populate_std_props),
8071 (gst_element_class_install_std_props), (gst_buffer_merge),
8072 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8073 (link_fold_func), (gst_pad_proxy_setcaps):
8075 * gst/gstvalue.c: (gst_value_deserialize_string):
8076 * gst/parse/grammar.y:
8077 * gst/schedulers/gstbasicscheduler.c:
8078 (gst_basic_scheduler_cothreaded_chain),
8079 (gst_basic_scheduler_chain_recursive_add),
8080 (gst_basic_scheduler_pad_link):
8081 * gst/schedulers/gstoptimalscheduler.c:
8082 (get_group_schedule_function),
8083 (gst_opt_scheduler_state_transition),
8084 (gst_opt_scheduler_add_element), (element_get_reachables_func):
8085 * libs/gst/bytestream/bytestream.c:
8086 * libs/gst/dataprotocol/dataprotocol.c:
8087 (gst_dp_header_from_buffer):
8090 * tests/threadstate/threadstate2.c: (eos):
8091 * tools/gst-compprep.c: (main):
8092 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8093 (print_pad_info), (print_children_info):
8094 * tools/gst-launch.c: (idle_func), (main):
8095 * tools/gst-md5sum.c: (idle_func), (main):
8096 * tools/gst-xmlinspect.c: (print_element_info):
8097 First THREADED backport attempt, focusing on adding locks and
8098 making sure the API is threadsafe. Needs more work. More docs
8101 2005-02-24 Andy Wingo <wingo@pobox.com>
8103 * tests/bench-complexity.scm:
8104 * tests/complexity.gnuplot: New files, good for running complexity
8107 * tests/Makefile.am:
8108 * tests/complexity.c: New test, sets up N elements, at each level
8109 teeing into M streams per element. Eeeenteresting.
8111 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8112 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8113 running bench-mass_elements.scm.
8115 * tests/bench-mass_elements.scm: New script, runs mass_elements
8116 for various numbers of identities, outputting the results to a
8117 file. Requires guile 1.6. Just for testing.
8119 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
8121 * gst/schedulers/fairscheduler.c:
8122 compile with debug disabled
8124 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
8127 hunting season on 0.9 is now OPEN