1 2005-09-29 Wim Taymans <wim@fluendo.com>
3 * check/gst/gstbin.c: (GST_START_TEST):
4 Change for new bus API.
6 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
7 (send_messages), (GST_START_TEST), (gstbus_suite):
8 Change for new bus signal API.
10 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11 (gst_bus_source_prepare), (gst_bus_source_check),
12 (gst_bus_create_watch), (gst_bus_add_watch_full),
13 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16 Remove support for multiple GSources operating on different
17 message types as it is too complex and unneeded when using
19 Added support for receiving signals from the bus.
21 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23 * docs/libs/tmpl/gstdataprotocol.sgml:
24 * docs/manual/advanced-dataaccess.xml:
25 * gst/elements/gstcapsfilter.c:
27 rename filter-caps to caps property
29 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
31 * gst/gstvalue.c: (gst_value_deserialize_fraction):
32 More robust fraction string parsing.
34 * docs/pwg/appendix-porting.xml:
35 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
37 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
39 * gst/gstcaps.c: (gst_caps_do_simplify):
40 Thou shalt not free a structure and then continue using it
41 in the next loop iteration.
43 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
45 Add test case for caps simplification.
47 2005-09-29 Wim Taymans <wim@fluendo.com>
49 * check/gst/gstbin.c: (GST_START_TEST):
52 2005-09-29 Wim Taymans <wim@fluendo.com>
54 * check/gst/gstbin.c: (GST_START_TEST):
57 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
58 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
59 (find_element), (gst_bin_sort_iterator_next),
60 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
61 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
62 (gst_bin_change_state), (gst_bin_dispose):
63 A bin does not have a bus, it gets the bus from the parent.
65 * gst/gstelement.c: (gst_element_requires_clock),
66 (gst_element_provides_clock), (gst_element_is_indexable),
67 (gst_element_is_locked_state), (gst_element_change_state),
68 (gst_element_set_bus_func):
71 * gst/gstpipeline.c: (gst_pipeline_class_init),
72 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
73 The pipeline provides a bus.
75 2005-09-28 Johan Dahlin <johan@gnome.org>
77 * gst/gstmessage.c (gst_message_parse_state_changed): Use
78 gst_structure_get_enum instead of gst_structure_get_int
80 * gst/gststructure.c (gst_structure_get_enum): Impl.
82 * gst/gststructure.h (gst_structure_get_enum): Add
84 * docs/gst/gstreamer-sections.txt: Ditto
86 * gst/gstmessage.c (gst_message_new_state_changed): Use
87 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
88 which does introspection.
89 Reviewed by Christian Schaller
91 2005-09-28 Stefan Kost <ensonic@users.sf.net>
93 * gst/gstinfo.c: (gst_debug_log_default):
94 don't do dummy g_strdup()s
95 * libs/gst/controller/gstcontroller.c:
96 (on_object_controlled_property_changed),
97 (gst_controlled_property_new), (gst_controller_new_valist),
98 (gst_controller_new_list),
99 (gst_controller_remove_properties_valist), (gst_controller_set),
100 (gst_controller_get), (gst_controller_sync_values),
101 (gst_controller_get_value_array), (_gst_controller_class_init),
102 (gst_controller_get_type):
103 * libs/gst/controller/gstcontroller.h:
104 * libs/gst/controller/gstinterpolation.c:
105 (gst_controlled_property_find_timed_value_node):
106 convert // to /**/ comments
108 2005-09-28 Wim Taymans <wim@fluendo.com>
110 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
111 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
112 (gst_bus_sync_signal_handler):
114 Added async-message and sync-message signals to the bus.
115 Added helper BusFunc to emit signals for all posted messages.
117 * gst/gstmessage.c: (gst_message_type_get_name),
118 (gst_message_type_to_quark), (gst_message_get_type):
120 Register quarks for message names.
122 2005-09-28 Stefan Kost <ensonic@users.sf.net>
124 * docs/libs/gstreamer-libs-sections.txt:
125 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
126 (gst_controller_new_list):
127 * libs/gst/controller/gstcontroller.h:
128 added another constructor for language bindings
130 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
132 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
136 * gst/gstinfo.c: (_gst_debug_init):
137 slightly more readable color for refcount debugging
139 2005-09-28 Wim Taymans <wim@fluendo.com>
141 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
142 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
143 (find_element), (gst_bin_sort_iterator_next),
144 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
145 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
146 (gst_bin_change_state), (gst_bin_dispose):
147 Small doc fixes. get_clock -> provide_clock.
149 * gst/gstelement.c: (gst_element_class_init),
150 (gst_element_provides_clock), (gst_element_provide_clock),
151 (gst_element_get_clock), (gst_element_commit_state),
152 (gst_element_lost_state):
154 Make get/set_clock() symetric. Add provide_clock vmethod since
155 that is actually what this function does.
157 * gst/gstpipeline.c: (gst_pipeline_class_init),
158 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
159 (gst_pipeline_get_clock):
160 get_clock -> provide_clock.
162 2005-09-28 Andy Wingo <wingo@pobox.com>
164 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
167 * gst/elements/gstfdsrc.c: Cleaned up a bit.
169 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
171 * gst/elements/gstcapsfilter.c:
172 * gst/elements/gstfakesink.c:
173 * gst/elements/gstfakesrc.c:
174 * gst/elements/gstfdsink.c:
175 * gst/elements/gstfdsrc.c:
176 * gst/elements/gstfilesink.c:
177 * gst/elements/gstfilesrc.c:
178 * gst/elements/gstidentity.c:
179 * gst/elements/gsttee.c:
180 * gst/elements/gsttypefindelement.c:
181 Make element details static.
183 2005-09-28 Wim Taymans <wim@fluendo.com>
185 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
186 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
187 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
188 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
189 (gst_bin_change_state), (gst_bin_dispose):
190 Some documentation updates.
191 Clean up dispose handlers.
193 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
194 * gst/gstpad.c: (gst_pad_dispose):
195 Clean up dispose handler.
197 * gst/gstpipeline.c: (gst_pipeline_change_state):
198 Removed spurious UNLOCK.
200 2005-09-27 Stefan Kost <ensonic@users.sf.net>
202 * docs/gst/gstreamer-sections.txt:
203 * gst/base/gstbasesrc.h:
212 added two new functions to the docs
213 documents all undocumented GstXXXFlags
214 completed some incomplete docs
216 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
218 * gst/gstbin.c: (gst_bin_dispose):
219 * gst/gstelement.c: (gst_element_dispose):
220 remove now useless and leaky resurrection code in dispose
221 * gst/base/gstbasesrc.c: (gst_base_src_init):
222 * gst/gstelementfactory.c: (gst_element_factory_create):
223 * gst/gstobject.c: (gst_object_set_parent):
226 2005-09-27 Wim Taymans <wim@fluendo.com>
228 * docs/design/part-TODO.txt:
231 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
232 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
233 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
234 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
235 (gst_bin_change_state):
237 Remove element variable, we keep element info in the iterator now.
239 2005-09-27 Andy Wingo <wingo@pobox.com>
241 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
244 2005-09-27 Wim Taymans <wim@fluendo.com>
246 * check/gst/gstbin.c: (GST_START_TEST):
247 Enable check that works now.
249 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
250 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
251 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
252 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
253 (gst_bin_change_state):
255 Redid the state change algorithm using a topological sort algo.
256 Handles all cases correctly.
257 Exposed iterator for state change order.
260 Temp storage for state changes. Need to get rid of this soon.
262 2005-09-27 Wim Taymans <wim@fluendo.com>
264 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
265 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
266 (link_fold_func), (gst_pad_proxy_setcaps):
267 Leak fixes, the fold functions need to unref the passed object and
268 _get_parent_*() returns ref to parent.
270 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
272 * check/gst/gstbuffer.c: (test_make_writable):
273 Plug leak in test case and fix 'make check-valgrind'
275 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
277 * gst/gstbuffer.c: (gst_subbuffer_init):
278 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
279 works correctly in all circumstances (we could have just copied
280 the parent buffer's readonly flag, but conceptually it seems
281 cleaner to mark all subbuffers as read-only). (based on patch
282 by Alessandro Decina, #314710).
284 * check/gst/gstbuffer.c: (create_read_only_buffer),
285 (test_make_writable), (test_subbuffer_make_writable),
287 Add some tests for gst_buffer_make_writable().
289 2005-09-27 Wim Taymans <wim@fluendo.com>
291 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
292 use gst_object_has_ancestor().
294 * gst/gstobject.c: (gst_object_has_ancestor):
296 gst_object_has_ancestor() copied from gstbin.c as it is a
299 * tests/instantiate/create.c: (create_all_elements):
300 * tests/lat.c: (handoff_src), (handoff_sink):
301 * tests/sched/runxml.c: (main):
302 * tests/seeking/seeking1.c: (main):
303 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
305 Fix compilation of some tests.
307 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
310 Remove comment. GST_TYPE_G_ERROR is here to stay,
311 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
314 2005-09-26 Wim Taymans <wim@fluendo.com>
316 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
317 Added check that shows error in state change order.
319 2005-09-26 Wim Taymans <wim@fluendo.com>
321 * gst/gstbin.c: (gst_bin_change_state):
322 Make state change function use 3 queues again, we were
323 adding elements in the wrong order.
325 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
328 * gst/gstpad.c: (gst_pad_dispose):
329 Added some debug info first.
331 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
333 * docs/design/draft-push-pull.txt:
334 * docs/design/part-events.txt:
335 * docs/design/part-overview.txt:
336 * docs/design/part-scheduling.txt:
337 Replace all _pull_region() with _pull_range()
339 2005-09-26 Andy Wingo <wingo@pobox.com>
341 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
343 * check/gst-libs/controller.c: Update for controller api change.
347 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
348 over by GLib bug 118439.
350 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
351 routines to a function.
353 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
355 * libs/gst/controller/gsthelper.c:
356 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
357 (gst_object_sync_values): Renamed from sink_values. Ugh.
359 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
361 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
362 Renamed from controller_key, as it is exported.
364 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
366 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
371 * gst/gstpadtemplate.h:
374 * gst/gstqueryutils.c:
375 * gst/gstqueryutils.h:
376 remove queryutils headers after moving the two used functions
377 to gstquery. also fixes build problem for gstsiddec
379 2005-09-26 Michael Smith <msmith@fluendo.com>
381 * tools/gst-launch.1.in:
382 Correct documentation in manpage of debug syntax
384 2005-09-26 Wim Taymans <wim@fluendo.com>
386 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
387 (gst_base_src_is_seekable), (gst_base_src_change_state):
388 Some more debugging info.
390 2005-09-25 Stefan Kost <ensonic@users.sf.net>
392 * docs/gst/gstreamer-sections.txt:
393 * gst/base/gstbasetransform.h:
397 2005-09-25 Stefan Kost <ensonic@users.sf.net>
399 * docs/gst/.cvsignore:
400 * docs/gst/tmpl/.cvsignore:
401 * docs/gst/tmpl/gstpipeline.sgml:
402 * docs/gst/tmpl/gstplugin.sgml:
406 inlined the last two docs files
407 removed the tmpl directory from cvs (no more conflicts here!)
409 2005-09-25 Stefan Kost <ensonic@users.sf.net>
411 * docs/gst/gstreamer-sections.txt:
412 * docs/gst/tmpl/.cvsignore:
413 * docs/gst/tmpl/gstpad.sgml:
414 * docs/gst/tmpl/gstpadtemplate.sgml:
416 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
417 (gst_pad_finalize), (gst_pad_set_pad_template):
419 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
420 (gst_pad_template_class_init), (gst_pad_template_init),
421 (gst_pad_template_dispose), (name_is_valid),
422 (gst_static_pad_template_get), (gst_pad_template_new),
423 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
424 (gst_pad_template_pad_created):
425 * gst/gstpadtemplate.h:
426 inlined two more docs
427 factored gstpadtemplate out of gstpad
429 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
431 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
432 (test_children_state_change_order_semi_sink):
433 Fix test case: we can't rely on a fixed state change order when
434 going from READY => PAUSED because the sink might commit its
435 new state first when the first buffer created by the source
436 reaches the sink before the source has finished its change state.
437 (Test case still fails at times, see #316856, comment 5 onwards)
439 2005-09-24 Wim Taymans <wim@fluendo.com>
441 * docs/design/part-events.txt:
442 * docs/design/part-gstbus.txt:
443 * docs/design/part-gstpipeline.txt:
444 * docs/design/part-messages.txt:
445 * docs/design/part-overview.txt:
446 * docs/design/part-segments.txt:
454 Various documentation updates.
456 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
459 Well, that's embarassing. Luckily we weren't using
460 GST_CLOCK_DIFF anywhere.
462 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
464 * common/gtk-doc.mak:
465 don't fail on building XML, FC4 slave shows a bunch of doc
466 missing bits that I don't get
469 * gst/gststructure.c:
472 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
474 * docs/design/part-gstbin.txt:
475 * docs/design/part-gstbus.txt:
477 Add blurb about how the bus goes into flushing mode and
478 drops all messages when its bin goes from READY into NULL
481 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
483 * docs/gst/gstreamer-sections.txt:
484 * gst/gststructure.c: (gst_structure_get_clock_time):
485 * gst/gststructure.h:
486 add a method to get a GstClockTime out of a structure
488 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
490 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
491 (test_children_state_change_order_semi_sink), (gst_bin_suite):
492 Added test to check state change order in bins (can still be made
493 to fail here under heavy disk load; bails out with 'Push on pad
494 fakesink:sink0, but it was not activated in push mode').
496 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
497 Fix state change order when there is only a semi sink (#316856)
499 * gst/gstbus.c: (gst_bus_class_init):
500 Use _class_peek_parent(), not _class_ref(); fix docs to say
501 'default main context' instead of 'mainloop' where that is
504 * gst/gstelement.c: (gst_element_commit_state),
505 (gst_element_set_state):
506 Fix typos in debug messages
508 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
511 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
512 * gst/gstpluginfeature.c:
515 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
516 change an assert into an error until it gets fixed properly
518 2005-09-23 Stefan Kost <ensonic@users.sf.net>
520 * docs/gst/gstreamer-sections.txt:
521 * docs/gst/tmpl/.cvsignore:
522 * docs/gst/tmpl/gstelement.sgml:
523 * docs/gst/tmpl/gstinfo.sgml:
524 * docs/gst/tmpl/gstobject.sgml:
529 * gst/gstobject.c: (gst_object_class_init):
531 inlined 3 more biiiig doc files and added some missing docs on the fly
533 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
535 * check/gst/.cvsignore:
536 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
537 * gst/gstregistryxml.c: (load_plugin),
538 (gst_registry_xml_save_plugin):
539 put back source in registry. add checks for find_plugin.
540 * testsuite/states/bin.c: (assert_state), (empty_bin),
541 (test_adding_one_element), (main):
542 * testsuite/states/locked.c: (main):
543 some compile/run fixes
545 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
547 * check/gst/gstvalue.c: (GST_START_TEST):
548 fix leaks in the test itself
550 2005-09-22 Wim Taymans <wim@fluendo.com>
552 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
553 (gst_base_sink_send_event), (gst_base_sink_peer_query),
554 (gst_base_sink_query):
555 Prepare for more accurate position reporting and query
558 * gst/gstelement.c: (gst_element_send_event),
559 (gst_element_set_state):
562 2005-09-22 Wim Taymans <wim@fluendo.com>
564 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
565 (gst_query_parse_segment):
568 Add segment query for future use.
570 2005-09-22 Wim Taymans <wim@fluendo.com>
572 * gst/gstbin.c: (gst_bin_add_func):
573 Some more debug info.
575 * gst/gstelement.c: (gst_element_send_event):
579 Don't know how flags got broken.
584 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
586 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
587 Add simplistic test suite for GST_TYPE_DATE serialisation and
590 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
592 * docs/gst/gstreamer-sections.txt:
593 * gst/gststructure.c: (gst_structure_set_valist),
594 (gst_structure_get_date):
595 * gst/gststructure.h:
596 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
597 (gst_date_copy), (gst_value_compare_date),
598 (gst_value_serialize_date), (gst_value_deserialize_date),
599 (gst_value_transform_date_string),
600 (gst_value_transform_string_date), (_gst_value_initialize):
602 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
603 bunch of utility functions along with a hack that checks that
604 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
605 is required. Part of the grand scheme in #170777.
607 2005-09-22 Andy Wingo <wingo@pobox.com>
609 * gst/gstconfig.h.in: Psych out gtk-doc.
611 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
613 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
615 * tools/gst-inspect.c (print_element_list): Plug some
616 inconsequential leaks.
618 * gst/gstregistry.c (gst_registry_get_default): Doc.
620 * check/gst/gstplugin.c:
621 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
622 * gst/gstelementfactory.c (gst_element_factory_create):
623 * gst/gstindexfactory.c (gst_index_factory_create): Update for
626 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
627 (gst_plugin_feature_load): Doc, don't eat refs.
629 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
630 (gst_plugin_list_free): Doc.
631 (gst_plugin_load_file): Doc updates.
633 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
634 accessors returning refcounted objects, return a ref.
636 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
637 accessor for caps. IDEMPOTENCE. Oh yes.
639 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
641 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
643 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
644 (_gst_debug_register_funcptr):
645 Add mutex to serialise access to the hash table with
646 the function pointer => function name string mapping;
647 make that hash table static scope (#316809).
649 * gst/registries/.cvsignore:
650 Remove left-over file.
652 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
654 * docs/pwg/appendix-porting.xml:
655 And something about newsegment events and caps-on-buffers to
656 the porting guide (feel free to improve).
658 2005-09-21 Andy Wingo <wingo@pobox.com>
660 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
661 data and event probes on the same pad.
662 (test_buffer_probe_once): Test that removing probes from within
663 the probe functions works.
665 2005-09-21 Andy Wingo <wingo@pobox.com>
667 * check/gst/gstutils.c: New file.
668 (test_buffer_probe_n_times): A simple buffer probe test. More to
671 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
672 have-data::buffer, not have-data.
673 (gst_pad_add_event_probe): Likewise for have-data::event.
674 (gst_pad_add_data_probe): More docs. The part about 'resolving the
675 peer' isn't quite right yet though.
676 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
677 (gst_pad_remove_data_probe): Change to take the guint handler_id
678 as their arg, not the function+data, which is more glib-like.
680 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
681 the signal emission to indicate if the data is a buffer or an
683 (gst_pad_get_type): Initialize buffer and event quarks.
684 (gst_pad_class_init): have-data is now a detailed signal, yes it
687 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
689 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
690 * gst/gstutils.c: (gst_util_set_value_from_string),
691 (gst_util_set_object_arg):
692 Don't put functional code in g_return_if_fail() or
693 g_return_val_if_fail() statements, otherwise things will
694 break when G_DISABLE_CHECKS is defined during compilation.
696 2005-09-21 Stefan Kost <ensonic@users.sf.net>
698 * docs/gst/tmpl/.cvsignore:
699 * docs/gst/tmpl/gstvalue.sgml:
702 inlied another one and added some obvious docs
704 2005-09-21 Wim Taymans <wim@fluendo.com>
706 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
707 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
708 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
709 (gst_fdsrc_get_property), (gst_fdsrc_create):
710 * gst/elements/gstfdsrc.h:
711 Properly implement fdsrc. Removed signal and timeout,
712 better implemented somewhere else.
714 2005-09-21 Stefan Kost <ensonic@users.sf.net>
716 * docs/gst/tmpl/.cvsignore:
717 * docs/gst/tmpl/gstimplementsinterface.sgml:
718 * gst/gstinterface.c:
721 2005-09-21 Stefan Kost <ensonic@users.sf.net>
723 * docs/gst/gstreamer-sections.txt:
724 * docs/gst/tmpl/.cvsignore:
725 * docs/gst/tmpl/gstenumtypes.sgml:
726 remove obsolete doc file
728 2005-09-21 David Schleef <ds@schleef.org>
730 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
731 little beer, fix a little leak.
733 2005-09-21 Stefan Kost <ensonic@users.sf.net>
735 * docs/gst/gstreamer-docs.sgml:
736 * docs/gst/gstreamer-sections.txt:
737 * docs/gst/tmpl/.cvsignore:
742 * gst/gstindex.c: (gst_index_class_init):
744 * gst/gstindexfactory.c: (gst_index_factory_get_type),
745 (gst_index_factory_class_init), (gst_index_factory_init),
746 (gst_index_factory_finalize), (gst_index_factory_new),
747 (gst_index_factory_destroy), (gst_index_factory_find),
748 (gst_index_factory_create), (gst_index_factory_make):
749 * gst/gstindexfactory.h:
750 * gst/gstpluginfeature.c:
751 * gst/gstpluginfeature.h:
752 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
753 more docs inlined, splitted gstindex.{c,h}
755 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
757 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
760 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
762 * gst/elements/gstfilesink.c: (gst_file_sink_init):
763 Set sync to FALSE by default.
765 2005-09-20 Wim Taymans <wim@fluendo.com>
767 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
768 (gst_base_sink_init):
769 Make sync property settable from subclass.
771 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
772 (gst_fake_sink_change_state):
773 Set sync to FALSE by default.
775 2005-09-20 Wim Taymans <wim@fluendo.com>
777 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
778 * tools/gst-launch.c: (main):
779 The timeout handler should have lower priority than the source
780 so we don't timeout before popping a message with 0 timeout.
781 Dump error messages after failed state change.
783 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
785 * tools/gst-inspect.c: (print_element_properties_info):
788 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
790 * check/gst/gstevent.c:
791 * gst/elements/gstfakesink.c:
792 * gst/elements/gstfakesink.h:
793 remove the sync property from fakesink.
794 has the side effect of setting sync TRUE
795 for fakesink, which is a change. Anyone who knows how
796 to fix this nicely in a GObject-y way, feel free.
798 2005-09-20 Stefan Kost <ensonic@users.sf.net>
800 * docs/gst/gstreamer-docs.sgml:
801 remove probe refsection
803 2005-09-20 Stefan Kost <ensonic@users.sf.net>
806 disable valgrinding the controller test again
807 * docs/gst/gstreamer-sections.txt:
808 update for api-changes
810 2005-09-20 Wim Taymans <wim@fluendo.com>
812 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
813 (gst_base_sink_set_property), (gst_base_sink_get_property),
814 (gst_base_sink_do_sync):
815 * gst/base/gstbasesink.h:
816 Added sync property to basesink to disable clock sync.
818 2005-09-20 Andy Wingo <wingo@pobox.com>
820 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
821 eating the caller's refcount.
823 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
824 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
827 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
828 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
829 of GLib 2.8 public, so we can know which refcount to check in
832 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
833 (gst_object_init): Only set the gst refcount if we're going ahead
834 with the refcount hack.
836 2005-09-20 Stefan Kost <ensonic@users.sf.net>
838 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
839 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
840 more leaks plumbed, added more debug-logging
844 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
847 remove include of gstmemchunk.h
849 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
851 * gst/gstclock.c: (_gst_clock_id_free):
852 Commit from the Political Party For More Atomic CVS Commits,
853 so that people don't waste too much of their day fishing
854 out obvious leaks out of massive commits.
855 Oh, and fix a pretty damn obvious leak in the memchunk
858 2005-09-20 Stefan Kost <ensonic@users.sf.net>
861 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
862 plug mem-leak, re-add to valgrindable tests
864 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
867 unbreak the build for those who have chronic arthritis
868 and typing "make check" is just too taxing on the hands
870 2005-09-20 Andy Wingo <wingo@pobox.com>
872 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
873 really want it out, you should fix plugins at the same time.
875 2005-09-19 Stefan Kost <ensonic@users.sf.net>
878 * docs/gst/gstreamer-sections.txt:
880 added missing symbols to api docs
881 disable ref-count hack if we have glib >= 2.8
883 2005-09-19 David Schleef <ds@schleef.org>
885 * docs/gst/Makefile.am: Ignore a few more internal headers
886 * docs/gst/gstreamer-docs.sgml: Remove old sections
887 * docs/gst/gstreamer-sections.txt: Remove old sections
888 * docs/gst/tmpl/gstobject.sgml: update
889 * docs/gst/tmpl/gstplugin.sgml: update
890 * docs/gst/tmpl/gstpluginfeature.sgml: update
891 * docs/random/ds/0.9-suggested-changes: update.
892 * gst/Makefile.am: remove memchunk and trashstack, since they're
894 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
895 * gst/gst.h: don't include some headers
896 * gst/gstchildproxy.c: add gstmarshal.h
897 * gst/gstclock.c: Don't use memchunks
898 * gst/gstminiobject.c: Add some docs
899 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
900 * gst/gstobject.h: same
901 * gst/gstplugin.c: include gstmacros.h
902 * gst/gstplugin.h: don't include gstmacros.h, since it's private
903 * gst/gstquery.c: don't use memchunks
904 * gst/gstregistry.c: rename gst_registry_deinit()
905 * gst/gstregistry.h: same
907 2005-09-19 David Schleef <ds@schleef.org>
909 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
910 * docs/libs/gstreamer-libs-sections.txt:
911 * docs/libs/tmpl/gstgetbits.sgml:
912 * docs/libs/tmpl/gstputbits.sgml:
914 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
916 * win32/gstenumtypes.c:
917 * win32/gstenumtypes.h:
920 2005-09-19 Wim Taymans <wim@fluendo.com>
922 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
923 Automatically PAUSE and RESUME a pipeline when a flushing seek
926 2005-09-19 Andy Wingo <wingo@pobox.com>
928 * gst/gstregistry.h: Spacing fixen.
930 2005-09-19 Wim Taymans <wim@fluendo.com>
932 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
933 Handle state change failure more correctly.
935 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
938 * check/pipelines/cleanup.c: (run_pipeline):
939 * check/pipelines/simple_launch_lines.c: (run_pipeline),
941 enable cleanup again after fixing the leak
943 some more info on docs
945 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
948 re-enable tests now that leaks are plugged
950 * check/gst/gstbin.c:
951 * check/gst/gstpipeline.c:
952 add some more tests while fixing leaks
954 make sure binaries are uptodate when valgrinding/gdbing
956 * gst/gstelementfactory.c:
957 remove a ref too many, and add a FIXME for when we get
958 round to disposing of classes
960 fix the refcounting when loading a plugin from a file and
961 the code pretends that the pointer is the same even though
962 of course it can change
963 * gst/gstpluginfeature.c:
964 unref plugins marked cached (a bit confusing as a name)
965 as the docs state should be done
966 various doc additions to explain refcounting
968 * gst/gstregistryxml.c:
971 2005-09-19 Wim Taymans <wim@fluendo.com>
973 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
974 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
975 (send_messages), (GST_START_TEST), (gstbus_suite):
976 * check/gst/gstpipeline.c: (GST_START_TEST):
977 * check/pipelines/cleanup.c: (run_pipeline):
978 * check/pipelines/simple_launch_lines.c: (run_pipeline),
980 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
981 (gst_bus_source_check), (gst_bus_source_dispatch),
982 (gst_bus_create_watch), (gst_bus_add_watch_full),
983 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
985 * tools/gst-launch.c: (event_loop):
986 * tools/gst-md5sum.c: (event_loop):
987 GstBusHandler -> GstBusFunc, return value has the same meaning as
988 any other GSource (FALSE == remove source).
989 _add_watch() and _add_watch_full() now take a MessageType mask to
990 only handle specific types of messages.
991 _poll() returns the GstMessage instead of the message type to avoid
993 _have_pending() takes a MessageType mask now too.
994 Added testsuite for multiple bus watches.
995 Fix testsuites and applications for new bus API.
997 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1000 mark a bunch of the tests as to fix until we fix them
1002 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1005 use GST_PLUGIN settings for valgrind tests as well, so we're
1006 valgrinding the correct thing
1007 * gst/gst.c: (init_post):
1010 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1012 * gst/gst.c: (init_post), (gst_deinit):
1013 * gst/gstelementfactory.c: (gst_element_factory_class_init),
1014 (gst_element_factory_finalize), (gst_element_factory_cleanup):
1015 * gst/gstindex.c: (gst_index_factory_class_init),
1016 (gst_index_factory_finalize):
1017 * gst/gstobject.c: (gst_object_dispose):
1018 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1019 (gst_plugin_load_file), (gst_plugin_desc_free):
1020 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1021 (gst_plugin_feature_finalize):
1022 * gst/gstregistry.c: (gst_registry_class_init),
1023 (gst_registry_init), (gst_registry_finalize),
1024 (gst_registry_get_default), (gst_registry_deinit):
1025 * gst/gstregistry.h:
1026 * gst/gstregistryxml.c: (load_feature), (load_plugin):
1027 various cleanups and memleak plugging. make valgrind is happy now.
1029 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1032 add a check-valgrind target
1034 2005-09-18 David Schleef <ds@schleef.org>
1036 * tools/gst-inspect.c: Revert the GOption code.
1038 2005-09-17 David Schleef <ds@schleef.org>
1040 * check/Makefile.am: Fix environment variables.
1041 * check/gst/gstplugin.c: Fix for API changes.
1042 * tools/gst-inspect.c: Fix for API changes.
1043 * tools/gst-xmlinspect.c: Fix for API changes.
1044 * gst/gstelementfactory.c:
1047 * gst/gstpluginfeature.c:
1048 * gst/gstpluginfeature.h:
1049 * gst/gstregistry.c:
1050 * gst/gstregistry.h:
1051 * gst/gstregistryxml.c:
1052 * gst/gsttypefind.c:
1053 * gst/gsttypefindfactory.c:
1054 * gst/indexers/gstfileindex.c:
1055 * gst/indexers/gstmemindex.c:
1056 * gst/schedulers/Makefile.am:
1057 Change registry to keep track of both plugins and features,
1058 removing the feature tracking from plugins themselves.
1060 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1062 * check/Makefile.am:
1063 * tools/gst-register.1.in:
1066 2005-09-15 David Schleef <ds@schleef.org>
1068 * check/gst/gstplugin.c:
1069 * gst/gstelementfactory.c:
1071 * gst/gstpluginfeature.c:
1072 * gst/gstregistry.c:
1073 Getting tired of debugging. Disabled all the unreffing of
1074 plugins and features, which fixes the segfaults, but of
1075 course leaks like crazy. At least playbin works.
1077 2005-09-15 David Schleef <ds@schleef.org>
1079 * check/gst/gstplugin.c: (register_check_elements),
1080 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1082 * gst/elements/gsttypefindelement.c: Fix refcounting.
1083 * gst/gsttypefind.c:
1084 * gst/gsttypefindfactory.c:
1085 * gst/gsttypefindfactory.h:
1087 2005-09-15 David Schleef <ds@schleef.org>
1089 * gst/gstindex.c: get refcounting correct.
1090 * gst/gstregistry.c: Handle the case where a feature/plugin is
1093 2005-09-15 David Schleef <ds@schleef.org>
1095 * check/Makefile.am:
1096 * check/gst/gstplugin.c: Add test
1097 * gst/gstplugin.c: Fix problems noticed by testsuite
1099 * gst/gstregistry.c:
1100 * gst/gstregistry.h:
1102 2005-09-15 David Schleef <ds@schleef.org>
1104 * gst/gstplugin.c: Implement semi-decent recounting and locking
1105 in plugins and plugin features.
1107 * gst/gstpluginfeature.c:
1108 * gst/gstpluginfeature.h:
1109 * gst/gstregistry.c:
1111 2005-09-15 Michael Smith <msmith@fluendo.com>
1113 * gst/gstregistry.c: (gst_registry_get_feature_list):
1114 Implement this. Makes oggdemux work; decodebin still broken.
1116 2005-09-14 David Schleef <ds@schleef.org>
1118 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1120 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1121 * gst/check/Makefile.am:
1122 * libs/gst/controller/Makefile.am:
1123 * libs/gst/dataprotocol/Makefile.am:
1125 2005-09-14 David Schleef <ds@schleef.org>
1127 * configure.ac: Remove getbits library. Nothing uses it, and
1128 it should be in something like liboil if someone did want
1130 * libs/gst/Makefile.am:
1131 * libs/gst/getbits/Makefile.am:
1132 * libs/gst/getbits/gbtest.c:
1133 * libs/gst/getbits/getbits.c:
1134 * libs/gst/getbits/getbits.h:
1135 * libs/gst/getbits/gstgetbits_generic.c:
1136 * libs/gst/getbits/gstgetbits_i386.s:
1137 * libs/gst/getbits/gstgetbits_inl.h:
1139 2005-09-14 David Schleef <ds@schleef.org>
1141 * gst/Makefile.am: Dist glib-compat.h
1143 2005-09-14 David Schleef <ds@schleef.org>
1145 * configure.ac: Remove gst/registries, since it's no longer used.
1146 * gst/registries/Makefile.am:
1147 * gst/registries/gstlibxmlregistry.c:
1148 * gst/registries/gstlibxmlregistry.h:
1149 * gst/registries/gstxmlregistry.c:
1150 * gst/registries/gstxmlregistry.h:
1151 * gst/registries/registrytest.c:
1153 2005-09-14 David Schleef <ds@schleef.org>
1155 * gst/glib-compat.h:
1156 * gst/gstregistryxml.c:
1157 Convergence is near. Seriously.
1159 2005-09-14 David Schleef <ds@schleef.org>
1161 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1162 * gst/glib-compat.h:
1163 Attempt #4 to appease the buildbots.
1165 2005-09-14 David Schleef <ds@schleef.org>
1167 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1170 2005-09-14 David Schleef <ds@schleef.org>
1172 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1175 2005-09-14 David Schleef <ds@schleef.org>
1177 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1180 2005-09-14 David Schleef <ds@schleef.org>
1182 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1183 * gst/glib-compat.h: Add some functions that are in newer versions
1184 of glib than we care to require.
1185 * gst/gstregistryxml.c: Use them.
1187 2005-09-14 David Schleef <ds@schleef.org>
1189 * po/POTFILES.in: remove gst-register.c
1191 2005-09-14 David Schleef <ds@schleef.org>
1193 * docs/gst/gstreamer-docs.sgml:
1194 * docs/gst/gstreamer-sections.txt:
1195 * docs/gst/gstreamer.types:
1196 * docs/gst/tmpl/gstelement.sgml:
1197 * docs/gst/tmpl/gstplugin.sgml:
1198 * docs/gst/tmpl/gstpluginfeature.sgml:
1199 Documentation updates for registry changes.
1201 2005-09-14 David Schleef <ds@schleef.org>
1203 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1204 because we don't require glib-2.8.
1206 2005-09-14 David Schleef <ds@schleef.org>
1208 * gst/gstregistryxml.c: Added. Essentially moved out of the
1209 registries directory.
1211 2005-09-14 David Schleef <ds@schleef.org>
1213 * check/Makefile.am:
1214 * check/generic/states.c:
1218 * gst/gst_private.h:
1219 * gst/gstelementfactory.c:
1224 * gst/gstpluginfeature.c:
1225 * gst/gstpluginfeature.h:
1226 * gst/gstregistry.c:
1227 * gst/gstregistry.h:
1228 * gst/gstregistrypool.c: remove
1229 * gst/gstregistrypool.h: remove
1230 * gst/gsttypefind.c:
1231 * gst/gsttypefindfactory.c:
1233 * tools/Makefile.am:
1234 * tools/gst-compprep.c:
1235 * tools/gst-inspect.c:
1236 * tools/gst-register.c: remove
1237 * tools/gst-xmlinspect.c:
1238 Registry rewrite. Changes registry from being a file created
1239 by a tool into a simple cache file created automatically by
1240 libgstreamer. Removed gst-register (because it's no longer
1241 needed). Remove registry pools, because we only have one
1242 registry implementation (XML). Fix up other subsystems as
1245 2005-09-13 Michael Smith <msmith@fluendo.com>
1247 * gst/gstconfig.h.in:
1248 Don't Use windows linking attributes for MinGW. Fixes #316157
1250 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1252 * gst/gstutils.c: (set_state_async_thread_func),
1253 (gst_element_set_state_async):
1254 Apparently people think it's better if this function doesn't
1255 try to set the state to whatever state was asked for on the first
1256 call to this function for any object. Seriously.
1258 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1260 * check/gst/gstpipeline.c: (GST_START_TEST):
1261 * docs/gst/gstreamer-sections.txt:
1262 * gst/gstutils.c: (set_state_async_thread_func),
1263 (gst_element_set_state_async):
1265 add a "gst_element_set_state_async" method that
1266 sets the state and starts a thread to make sure the state
1267 change completes as best as it can
1269 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1271 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1272 codify design+behaviour in testsuite after discussion
1274 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1276 * docs/gst/tmpl/gstelement.sgml:
1277 * docs/manual/appendix-quotes.xml:
1279 * gst/gstelement.c: (gst_element_set_state):
1282 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1284 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1285 (gst_base_transform_prepare_output_buf),
1286 (gst_base_transform_handle_buffer):
1287 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1288 (gst_capsfilter_prepare_buf):
1289 Remove the requirement for sub-classes to call the parent
1290 implementation of prepare_output_buffer with a wrapper function.
1293 * gst/gsttagsetter.h:
1296 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1298 * docs/gst/gstreamer-sections.txt:
1301 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1303 * docs/gst/gstreamer-sections.txt:
1304 * docs/gst/tmpl/gstelement.sgml:
1305 * docs/gst/tmpl/gstplugin.sgml:
1306 * gst/gstminiobject.c:
1308 docs now stop throwing warnings
1310 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1312 * docs/gst/gstreamer-sections.txt:
1313 * docs/gst/gstreamer.types:
1314 * docs/gst/tmpl/gstpad.sgml:
1315 * docs/gst/tmpl/gsttypes.sgml:
1316 * gst/base/gstadapter.h:
1317 * gst/base/gstbasesink.h:
1318 * gst/base/gstbasesrc.h:
1328 * gst/gststructure.c:
1329 * gst/registries/gstlibxmlregistry.h:
1330 various documentation fixes
1332 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1334 * docs/gst/gstreamer-sections.txt:
1335 * docs/gst/tmpl/gstvalue.sgml:
1336 rearrange gstvalue section
1337 * gst/gstutils.c: (gst_element_state_get_name):
1339 * gst/gstvalue.c: (_gst_value_initialize):
1343 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1345 * check/gst-libs/controller.c:
1347 * gst/base/gstbasetransform.c:
1348 (gst_base_transform_default_prepare_buf),
1349 (gst_base_transform_handle_buffer):
1350 * gst/base/gstbasetransform.h:
1351 Some more basetransform changes and fixes to enable sub-classes
1352 that modify buffer metadata only.
1353 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1354 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1355 (gst_capsfilter_prepare_buf):
1356 If the output pad has fixed allowed caps and input buffers
1357 don't have any, set the fixed caps on outgoing buffers.
1359 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1360 * check/elements/identity.c: (GST_START_TEST):
1361 Make the error a little clearer when the test fails because
1362 identity made a copy of the buffer.
1363 * docs/gst/gstreamer-sections.txt:
1364 New symbols in gstbasetransform.h
1365 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1366 (gst_base_transform_init), (gst_base_transform_transform_size),
1367 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1368 (gst_base_transform_default_prepare_buf),
1369 (gst_base_transform_get_unit_size),
1370 (gst_base_transform_buffer_alloc),
1371 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1372 (gst_base_transform_change_state),
1373 (gst_base_transform_set_passthrough),
1374 (gst_base_transform_set_in_place),
1375 (gst_base_transform_is_in_place):
1376 * gst/base/gstbasetransform.h:
1377 Change BaseTransform to separate in_place operate from same_caps
1378 output. in_place implies that the element can perform the transform
1379 on incoming buffers in-place, even if the caps on the output are
1381 Sub-class elements can now implement special buffer allocation
1382 methods for outgoing buffers if they wish to.
1383 Big documentation addition.
1384 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1385 * gst/elements/gstelements.c:
1386 Changes for basetransform modifications.
1387 * gst/elements/Makefile.am:
1388 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1389 Compile fix. Extra debug output.
1391 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1393 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1395 add tests for valid pad naming
1396 * gst/check/gstcheck.c: (gst_check_log_message_func),
1397 (gst_check_log_critical_func):
1399 remove printing of code, it is fragile when the code contains
1400 % and the line number is enough info
1401 * gst/check/gstcheck.h:
1402 * gst/gstpad.c: (gst_pad_template_new):
1405 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1408 say what CHECK flags we use
1409 * docs/libs/gstreamer-libs.types:
1410 * libs/gst/controller/Makefile.am:
1411 * libs/gst/controller/gst-controller.c:
1412 * libs/gst/controller/gst-controller.h:
1413 * libs/gst/controller/gst-helper.c:
1414 * libs/gst/controller/gst-interpolation.c:
1415 * libs/gst/controller/gstcontroller.c:
1416 * libs/gst/controller/gsthelper.c:
1417 * libs/gst/controller/gstinterpolation.c:
1418 * tools/gst-inspect.c: (print_plugin_info):
1419 we don't use dashes in header names
1421 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1423 * check/Makefile.am:
1424 * check/gst/.cvsignore:
1425 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1426 (gst_pipeline_suite), (main):
1427 adding a test for pipelines and state changes
1428 * gst/gstutils.c: (get_state_func):
1430 * gstreamer.spec.in:
1433 2005-09-08 Michael Smith <msmith@fluendo.com>
1435 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1436 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1437 (gst_file_src_is_seekable), (gst_file_src_get_size),
1438 (gst_file_src_start):
1439 * gst/elements/gstfilesrc.h:
1440 Various fixes for unseekable, unmmapable, and non-normal files, so
1441 that fallback to read() rather than mmap() works.
1442 * gst/gstevent.c: (gst_event_new_newsegment):
1443 Allow newsegment events with segment_start == segment_end, as will
1444 correctly happen if you use filesrc on a zero-size file, for
1447 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1449 * gst/gstplugin.c: (gst_plugin_load_file):
1450 Call g_module_close when we don't load the module
1452 * gst/registries/gstlibxmlregistry.c:
1453 (gst_xml_registry_get_property):
1454 Port leak fix from 0.8
1456 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1458 * docs/gst/gstreamer-docs.sgml:
1459 * docs/gst/tmpl/.cvsignore:
1460 * docs/gst/tmpl/gsttrace.sgml:
1461 * docs/gst/tmpl/gsttrashstack.sgml:
1470 * gst/gsttaginterface.c:
1471 * gst/gsttaginterface.h:
1474 * gst/gsttagsetter.c:
1475 * gst/gsttagsetter.h:
1478 * gst/gsttrashstack.c:
1479 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1480 inlined docs for gsttrace, gsttrashstack
1482 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1485 * gst/elements/gstbufferstore.h:
1486 * gst/elements/gsttypefindelement.c:
1487 * gst/elements/gsttypefindelement.h:
1489 * gst/gsttypefind.c:
1490 * gst/gsttypefind.h:
1491 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1492 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1493 (gst_type_find_factory_dispose),
1494 (gst_type_find_factory_unload_thyself),
1495 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1496 (gst_type_find_factory_get_caps),
1497 (gst_type_find_factory_get_extensions),
1498 (gst_type_find_factory_call_function):
1499 * gst/gsttypefindfactory.h:
1500 * gst/registries/gstlibxmlregistry.c:
1501 * gst/registries/gstxmlregistry.c:
1502 splitted gsttypefind into gsttypefind, gsttypefindfactory
1504 2005-09-07 Andy Wingo <wingo@pobox.com>
1506 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1507 condition whereby the pad's task function is entered before the
1508 pad_mode variable was set.
1510 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1512 * gst/gstpad.c: (gst_pad_alloc_buffer):
1513 Catch misbehaving pad_alloc functions that don't
1514 set up caps and do it for them.
1516 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1518 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1520 * docs/gst/tmpl/.cvsignore:
1521 * docs/gst/tmpl/gstmemchunk.sgml:
1522 * docs/gst/tmpl/gstparse.sgml:
1523 * docs/gst/tmpl/gsttaglist.sgml:
1524 * docs/gst/tmpl/gsttagsetter.sgml:
1525 * docs/gst/tmpl/gsttypefind.sgml:
1526 * docs/gst/tmpl/gsttypefindfactory.sgml:
1527 * gst/gstmemchunk.c:
1530 * gst/gsttaginterface.c:
1531 * gst/gsttypefind.c:
1532 * gst/gsttypefind.h:
1535 === release 0.9.2 ===
1537 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1542 releasing 0.9.2, "South"
1544 2005-09-05 Andy Wingo <wingo@pobox.com>
1546 * gst/registries/gstxmlregistry.h:
1547 * gst/registries/gstxmlregistry.c: Um... resurrect...
1549 * gst/registries/gstxmlregistry.h:
1550 * gst/registries/gstxmlregistry.c: and update to newer API.
1551 Incidentally they should be a bit faster now that they don't have
1554 2005-09-05 Andy Wingo <wingo@pobox.com>
1556 * gst/registries/gstxmlregistry.h:
1557 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1558 replaced by the libxml registry a while back
1560 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1562 * docs/gst/tmpl/gstplugin.sgml:
1563 * gst/elements/gstelements.c:
1565 * gst/gstplugin.c: (gst_plugin_register_func),
1566 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1567 (gst_plugin_get_source):
1569 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1570 (gst_xml_registry_save_plugin):
1571 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1572 (gst_xml_registry_save_plugin):
1573 * tools/gst-inspect.c: (print_plugin_info):
1574 add a "source" plugin description field, to represent the source
1575 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1576 will set it to PACKAGE, which is automake's idea of the name of
1579 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1585 * docs/faq/Makefile.am:
1586 * docs/gst/tmpl/gstelement.sgml:
1587 * docs/gst/tmpl/gsttypes.sgml:
1588 * docs/htmlinstall.mak:
1589 * docs/manual/Makefile.am:
1590 * docs/pwg/Makefile.am:
1591 reorganize doc build a little
1592 split out docbook and gtk-doc stuff
1593 have two separate --enable's and enable them through autogen
1594 but disable by default in configure (to be similar to other
1596 * gstreamer.spec.in:
1597 clean up docs install
1617 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
1619 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1622 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1623 (gst_fake_sink_change_state):
1624 Make state change function thread-safe.
1626 * gst/gstpad.c: (gst_pad_alloc_buffer):
1627 Set offset on generic buffer allocated by fallback.
1629 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1631 * docs/gst/gstreamer-sections.txt:
1632 * docs/gst/tmpl/gstelement.sgml:
1634 * libs/gst/controller/gst-controller.c:
1635 (gst_controlled_property_set_interpolation_mode),
1636 (gst_controlled_property_new),
1637 (gst_controller_find_controlled_property):
1638 run the wingo-magic script against the docs
1640 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1642 * docs/gst/gstreamer-docs.sgml:
1643 * docs/gst/gstreamer-sections.txt:
1644 * docs/gst/tmpl/.cvsignore:
1645 * docs/gst/tmpl/gstelementdetails.sgml:
1646 * docs/gst/tmpl/gstelementfactory.sgml:
1649 * gst/gstelementfactory.c:
1650 * gst/gstelementfactory.h:
1651 merged elementdetails docs into elementfactory docs
1654 2005-09-02 Andy Wingo <wingo@pobox.com>
1656 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1657 consider this enum an enum and not a flags.
1659 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1661 * docs/gst/gstreamer-docs.sgml:
1662 * docs/gst/tmpl/.cvsignore:
1663 * docs/gst/tmpl/gstghostpad.sgml:
1664 * docs/gst/tmpl/gstiterator.sgml:
1665 * docs/gst/tmpl/gstmacros.sgml:
1666 * docs/gst/tmpl/gstrealpad.sgml:
1667 * docs/gst/tmpl/gstregistry.sgml:
1668 * docs/gst/tmpl/gstregistrypool.sgml:
1669 * docs/gst/tmpl/gststructure.sgml:
1670 * docs/gst/tmpl/gstsystemclock.sgml:
1671 * docs/gst/tmpl/gsttrace.sgml:
1672 * gst/gstghostpad.c:
1674 * gst/gstmemchunk.c:
1675 * gst/gstmemchunk.h:
1677 * gst/gstregistry.c:
1678 * gst/gstregistrypool.c:
1679 * gst/gststructure.c:
1680 * gst/gstsystemclock.c:
1683 2005-09-02 Andy Wingo <wingo@pobox.com>
1685 * gst/gstelement.h (GstState): Renamed from GstElementState,
1686 changed to be a normal enum instead of flags.
1687 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1688 munged to be GST_STATE_CHANGE_*.
1689 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1690 work with the new state representation.
1691 (GstStateChange): New enumeration of possible state transitions.
1692 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1693 (GstElementClass::change_state): Pass the GstStateChange along as
1694 an argument. Helps language bindings, so they don't have to use
1695 tricky lock-needing macros like GST_STATE_CHANGE ().
1697 * scripts/update-states (file): New script. Run it on a file to
1698 update it for state naming and API changes. Updates files in
1701 * All files updated for the new API.
1703 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1705 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1706 * gst/gstutils.c: (gst_util_set_value_from_string),
1707 (gst_util_set_object_arg):
1708 fix a bunch of unchecked return values
1709 * tools/gst-complete.c: (main):
1710 * gstreamer.spec.in:
1713 2005-09-01 Wim Taymans <wim@fluendo.com>
1715 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1716 (gst_base_sink_event), (gst_base_sink_do_sync),
1717 (gst_base_sink_handle_event):
1718 * gst/base/gstbasesink.h:
1719 Handle newsegments more correctly.
1724 * gst/gstevent.c: (gst_event_new_newsegment):
1725 A newsegment cannot have a start_time of -1
1727 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
1729 * win32/gstenumtypes.c:
1730 * win32/gstenumtypes.h:
1733 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1735 * libs/gst/controller/gst-controller.c:
1736 (gst_controlled_property_set_interpolation_mode),
1737 (gst_controlled_property_new):
1740 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
1742 * docs/faq/gst-uninstalled:
1747 * gst/gstutils.c: (gst_element_link_filtered):
1749 add gst_element_link_filtered
1751 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1753 * docs/gst/gstreamer-docs.sgml:
1754 * docs/gst/gstreamer-sections.txt:
1755 * docs/gst/tmpl/.cvsignore:
1756 * docs/gst/tmpl/gsterror.sgml:
1757 * docs/gst/tmpl/gstfilter.sgml:
1758 * docs/gst/tmpl/gsturihandler.sgml:
1759 * docs/gst/tmpl/gsturitype.sgml:
1760 * docs/gst/tmpl/gstutils.sgml:
1761 * docs/gst/tmpl/gstxml.sgml:
1769 inlined more docs, fixed double id-ref
1771 2005-08-31 Wim Taymans <wim@fluendo.com>
1773 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1774 (gst_base_transform_handle_buffer):
1775 Passthrough elements don't need the caps as they don't care.
1777 2005-08-31 Wim Taymans <wim@fluendo.com>
1779 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1780 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
1781 Don't leak refcounts on buffers.
1783 2005-08-31 Wim Taymans <wim@fluendo.com>
1785 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
1786 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
1787 (gst_base_transform_chain), (gst_base_transform_change_state):
1788 * gst/base/gstbasetransform.h:
1789 Handle the case where we are not negotiated more gracefully.
1791 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
1793 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
1794 (gst_file_src_map_region):
1795 Set READONLY flag on mmap'ed buffers, otherwise
1796 gst_buffer_make_writable() won't work properly (#314708).
1798 2005-08-31 Wim Taymans <wim@fluendo.com>
1800 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
1801 passthrough elements can even do inplace on non writable
1802 buffers (as they don't touch them).
1804 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1806 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1807 (gst_test_mono_source_set_property),
1808 (gst_test_mono_source_class_init), (GST_START_TEST),
1809 (gst_controller_suite):
1810 more tests (hehe I have the most)
1812 describe popping messages whenusing mulltiple sources
1813 * libs/gst/controller/gst-controller.c:
1814 (gst_controlled_property_set_interpolation_mode),
1815 (gst_controlled_property_new):
1816 * libs/gst/controller/gst-controller.h:
1817 * libs/gst/controller/gst-interpolation.c:
1818 implement boolean properties
1820 2005-08-31 Wim Taymans <wim@fluendo.com>
1822 * gst/gstminiobject.c: (gst_mini_object_ref):
1823 Cannot assert that the refcount has to be positive
1824 since a disposed object can be resurrected.
1826 2005-08-31 Wim Taymans <wim@fluendo.com>
1828 * gst/gstpad.c: (gst_pad_init):
1829 Revert change, need to first fix badly behaving
1832 2005-08-30 Wim Taymans <wim@fluendo.com>
1834 * check/elements/fakesrc.c: (setup_fakesrc):
1835 * check/elements/identity.c: (setup_identity):
1836 Activate pads before using them.
1838 2005-08-30 Wim Taymans <wim@fluendo.com>
1840 * gst/base/gstadapter.c: (gst_adapter_flush):
1841 Flushing out 0 bytes is ok for this function.
1843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1844 no newsegment gives a warning and sets the start/stop to
1847 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
1848 (gst_base_transform_set_passthrough):
1851 * gst/gstminiobject.c: (gst_mini_object_ref):
1852 Check refcount here too.
1854 * gst/gstpad.c: (gst_pad_init):
1855 Pads are initially flushing and refusing data.
1857 * gst/gstutils.c: (gst_element_link_pads_filtered):
1858 When adding a capsfilter element make sure it has the
1859 same state as the parent bin.
1861 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1863 * docs/gst/tmpl/.cvsignore:
1864 * docs/gst/tmpl/gstformat.sgml:
1865 * docs/gst/tmpl/gstversion.sgml:
1869 * gst/gstversion.h.in:
1870 more docs and two more inlined
1872 2005-08-30 Wim Taymans <wim@fluendo.com>
1874 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
1875 Don't sync to clock.
1877 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1879 * docs/gst/gstreamer-sections.txt:
1880 ultral33t func10ns deserve to appear in the docs actually
1881 * docs/gst/tmpl/.cvsignore:
1882 * docs/gst/tmpl/gstcompat.sgml:
1883 * docs/gst/tmpl/gstconfig.sgml:
1884 * gst/check/gstcheck.c:
1886 * gst/gstconfig.h.in:
1889 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1891 * docs/gst/tmpl/.cvsignore:
1892 * docs/gst/tmpl/gstquery.sgml:
1893 * docs/gst/tmpl/gstutils.sgml:
1896 inlined and extended docs
1898 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1900 * check/gst-libs/controller.c: (GST_START_TEST),
1901 (gst_controller_suite):
1903 * docs/gst/tmpl/gstutils.sgml:
1904 * docs/libs/gstreamer-libs-sections.txt:
1905 * docs/libs/tmpl/gstdataprotocol.sgml:
1907 * examples/controller/audio-example.c: (main):
1908 controller example works now
1911 * tools/gst-inspect.c: (print_element_properties_info):
1912 show param spec flags
1914 2005-08-29 Andy Wingo <wingo@pobox.com>
1916 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
1918 2005-08-28 Andy Wingo <wingo@pobox.com>
1920 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
1921 as having two arguments instead of just one. Allows superclasses
1922 to access information on subclasses -- see the terrible for() loop
1923 in gtype.c:g_type_create_instance for the reason why. All callers
1926 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1928 * docs/design/part-messages.txt:
1930 * docs/gst/tmpl/.cvsignore:
1931 * docs/gst/tmpl/gstcaps.sgml:
1932 * docs/gst/tmpl/gstclock.sgml:
1939 added descriptions for bus and message
1940 inline caps and clock docs
1942 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1948 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1950 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1953 2005-08-26 Andy Wingo <wingo@pobox.com>
1955 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
1956 element_set_state's return val.
1957 (test_2_elements): Add test that's been disabled for months.
1959 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
1960 can-activate-pull properties.
1962 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
1963 can-activate-pull properties. Implement is_seekable so fakesrc can
1964 operate in pull mode.
1966 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
1968 (gst_base_sink_activate, gst_base_sink_activate_pull)
1969 (gst_base_sink_activate_push): Make activation mode choosing work.
1971 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
1972 is right. Make pull mode work. Post an eos before pausing in pull
1974 (gst_base_sink_change_state): Pay attention to the core's
1975 change_state() return val.
1977 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
1978 has-getrange properties. Cleanups.
1980 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
1981 has_getrange and replace with can_activate_pull and
1984 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
1985 locking comments. Remove has_loop, has_chain and replace with
1986 can_activate_pull and can_activate_push.
1988 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
1991 * examples/Makefile.am:
1992 * examples/metadata/Makefile.am:
1993 * examples/metadata/read-metadata.c: (message_loop),
1994 (have_pad_handler), (make_pipeline), (print_tag), (main):
1995 Add metadata reading example that loops over a list of filenames,
1996 dumping any tags found.
1998 * gst/gstbus.c: (gst_bus_dispose):
1999 * gst/gstelement.c: (gst_element_dispose):
2000 Release a few potentially-held references in dispose.
2002 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2004 * docs/gst/tmpl/gstminiobject.sgml:
2005 do *not* add tmpl/*.sgml files to CVS!
2007 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2009 * libs/gst/bytestream/.cvsignore:
2010 * libs/gst/bytestream/Makefile.am:
2011 * libs/gst/bytestream/adapter.c:
2012 * libs/gst/bytestream/adapter.h:
2013 * libs/gst/bytestream/bytestream.c:
2014 * libs/gst/bytestream/bytestream.h:
2015 * libs/gst/bytestream/filepad.c:
2016 * libs/gst/bytestream/filepad.h:
2017 removing obsolete files
2019 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2021 * docs/gst/gstreamer-docs.sgml:
2022 * docs/libs/gstreamer-libs-docs.sgml:
2023 disabed additional index entries again, as this makes docs-gen just
2024 slow and they aren't useful yet
2025 * docs/libs/gstreamer-libs-sections.txt:
2026 little -section.txt cleanup for libs
2028 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
2030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2031 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2032 fix up some debugging
2033 (gst_base_transform_get_unit_size),
2034 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2035 (gst_base_transform_handle_buffer):
2036 * gst/base/gstbasetransform.h:
2037 handle and store timed NEWSEGMENT events so that subclasses that
2038 calculate time by counting samples have a segment_start time they
2039 need to add to their timestamps - see audioresample
2041 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2044 removed ';' from the end of macro defs
2045 * docs/gst/gstreamer-docs.sgml:
2046 * docs/gst/gstreamer-sections.txt:
2047 * docs/gst/tmpl/.cvsignore:
2049 * gst/gstelement.c: (gst_element_class_init),
2050 (gst_element_set_state), (activate_pads),
2051 (gst_element_save_thyself):
2052 * gst/gstevent.c: (gst_event_new_newsegment):
2054 * gst/gstiterator.c:
2055 * gst/gstiterator.h:
2058 * gst/gstutils.c: (gst_pad_query_convert):
2060 fixed parameter name mismatches between source, header and docs
2061 added some more docs, resolved the last batch of unused elements in
2062 docs (now someone needs to doc them)
2064 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2066 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2067 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2068 don't walk through the plugins backwards. Where is all this
2069 reversed logic coming from ?
2071 2005-08-25 Wim Taymans <wim@fluendo.com>
2073 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2074 (gst_base_transform_transform_size),
2075 (gst_base_transform_configure_caps),
2076 (gst_base_transform_get_unit_size),
2077 (gst_base_transform_buffer_alloc),
2078 (gst_base_transform_change_state):
2079 * gst/base/gstbasetransform.h:
2080 Cache caps unit_size.
2081 Make sure we cannot negotiate up and downstream at the
2084 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2086 * gst/gst.c: (init_pre), (init_post):
2087 register the installed plugin path after the env var
2088 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2089 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2090 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2091 directories, so the tests can prefer uninstalled over installed
2093 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2095 * gst/base/gstbasetransform.h:
2100 2005-08-25 Wim Taymans <wim@fluendo.com>
2102 * gst/gstbin.c: (bin_bus_handler):
2103 Be a bit more conservative about the posted message.
2105 * gst/gstbus.c: (gst_bus_post):
2106 Some cleanups, warn wrong return values.
2108 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
2110 * check/gst/gstbin.c: (GST_START_TEST):
2111 * gst/gstbin.c: (bin_bus_handler):
2112 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2113 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2114 (gst_message_new_warning), (gst_message_new_tag),
2115 (gst_message_new_state_changed), (gst_message_new_segment_start),
2116 (gst_message_new_segment_done), (gst_message_new_custom):
2118 * tools/gst-launch.c: (event_loop):
2119 * tools/gst-md5sum.c: (event_loop):
2120 Revert unpopular change for GST_MESSAGE_SRC to GObject.
2122 2005-08-25 Wim Taymans <wim@fluendo.com>
2124 * check/generic/states.c: (GST_START_TEST):
2125 Cleanup can be done at the end.
2127 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2128 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2129 (gst_task_get_state), (gst_task_start), (gst_task_pause):
2130 Oh boy.. Thanks for finding this, Thomas.
2132 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2134 * docs/gst/gstreamer.types:
2137 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2139 * docs/gst/gstreamer-docs.sgml:
2140 * docs/gst/gstreamer-sections.txt:
2141 * docs/gst/tmpl/.cvsignore:
2143 * gst/gstiterator.c:
2145 * gst/registries/gstxmlregistry.h:
2146 added missing classes and symbols (123 more to go)
2147 removed removed symbols from section file
2148 fixed many doc-comments
2150 2005-08-24 Wim Taymans <wim@fluendo.com>
2152 * check/generic/states.c: (GST_START_TEST):
2153 Make sure all tasks are stopped.
2155 * check/gst/gstbin.c: (GST_START_TEST):
2156 Unref after usage for proper valgrinding.
2158 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2159 Really wait for the task to stop before destroying the
2162 * gst/gstqueue.c: (gst_queue_sink_activate_push),
2163 (gst_queue_src_activate_push):
2164 Small cleanups. Don't stop the task when we did not start
2167 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2168 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2169 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2172 Protect the stream lock with the object lock.
2173 Disallow setting the stream lock when running.
2174 Add cleanup_all to wait for the threadpool to finish.
2175 Remove code to autoallocate a mutex if none was provided.
2176 Add _join() to wait for a task to stop.
2177 Protect the thread pool with a global lock.
2179 2005-08-24 Wim Taymans <wim@fluendo.com>
2181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2182 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2183 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2184 * gst/base/gstbasesink.h:
2185 Handle newsegment events correctly.
2186 Drop buffers out of the segment range.
2188 2005-08-22 Andy Wingo <wingo@pobox.com>
2190 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2191 macro, implements an interface and gstimplementsinterface for a
2194 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2196 * check/Makefile.am:
2197 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2198 add a test that does a bunch of state changes on elements
2199 needs some fixing for valgrind
2200 * check/states/sinks.c: (gst_object_suite):
2203 add prototype for gst_caps_is_equal_fixed
2205 * gst/gstregistrypool.c:
2208 2005-08-24 Andy Wingo <wingo@pobox.com>
2210 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2211 convert a negative value. Doesn't make much sense. Mostly this is
2212 here to force callers to ensure -1 maps to -1.
2214 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2216 * docs/pwg/advanced-types.xml:
2217 Well done to Michael for catching my deliberate introduction
2218 of this spelling mistake.
2219 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2221 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2222 unlink pads before removing the element from the bin.
2224 2005-08-24 Andy Wingo <wingo@pobox.com>
2226 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2227 the same thing as GST_DEBUG=*:4.
2228 (parse_debug_level, parse_debug_category): New helper parsers.
2230 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2232 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2233 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2234 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2235 (gst_base_transform_buffer_alloc),
2236 (gst_base_transform_handle_buffer):
2237 use gboolean return values and pointers to size so we can use the
2238 full GST_BUFFER_SIZE range (guint) for buffer sizes
2239 use GstPadDirection for transform_caps
2240 * gst/base/gstbasetransform.h:
2241 rename get_size to get_unit_size since that's what it is
2242 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2243 use GstPadDirection for transform_caps
2244 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2246 cleanup and debugging
2248 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2250 * gst/gstelement.c: (gst_element_class_init),
2251 (gst_element_set_state), (activate_pads),
2252 (gst_element_save_thyself):
2253 * tools/gst-compprep.c: (main):
2254 * tools/gst-inspect.c: (print_element_properties_info):
2255 * tools/gst-xmlinspect.c: (print_element_properties):
2256 Fixed long standing mem-leak
2258 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2260 * check/gst/gstbin.c: (GST_START_TEST):
2261 * gst/gstbin.c: (bin_bus_handler):
2262 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2263 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2264 (gst_message_new_warning), (gst_message_new_tag),
2265 (gst_message_new_state_changed), (gst_message_new_segment_start),
2266 (gst_message_new_segment_done), (gst_message_new_custom):
2268 * tools/gst-launch.c: (event_loop):
2269 * tools/gst-md5sum.c: (event_loop):
2270 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2271 that applications can sensibly post custom messages with references
2272 to their own objects.
2274 2005-08-24 Andy Wingo <wingo@pobox.com>
2276 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2279 2005-08-24 Wim Taymans <wim@fluendo.com>
2281 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2282 (gst_base_transform_transform_caps),
2283 (gst_base_transform_transform_size),
2284 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2285 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2286 (gst_base_transform_handle_buffer):
2287 * gst/base/gstbasetransform.h:
2288 Many fixes and new features added by Thomas. Can now also do
2289 transforms with variable sizes and a custom fixate_caps function.
2291 2005-08-24 Wim Taymans <wim@fluendo.com>
2293 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2297 Cast to ClockTime before formatting to time.
2302 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2304 * check/gst-libs/controller.c: (GST_START_TEST),
2305 (gst_controller_suite):
2306 * docs/gst/tmpl/gstcaps.sgml:
2307 * docs/gst/tmpl/gstghostpad.sgml:
2308 * docs/gst/tmpl/gstquery.sgml:
2309 * docs/gst/tmpl/gstutils.sgml:
2310 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2311 (gst_object_sink_values), (gst_object_get_value_arrays),
2312 (gst_object_get_value_array):
2313 gracefully handle helper method calls to objects that are not beeing
2314 controlled, added test case for that
2316 2005-08-23 Wim Taymans <wim@fluendo.com>
2318 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2319 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2320 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2321 (gst_event_parse_qos), (gst_event_new_seek),
2322 (gst_event_parse_seek):
2324 Some more debugging output and doc cleanups.
2326 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2327 Fix possible deadlock.
2329 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2331 * docs/gst/gstreamer-docs.sgml:
2332 * docs/gst/gstreamer-sections.txt:
2333 * docs/gst/gstreamer.types:
2334 * docs/gst/tmpl/.cvsignore:
2339 added 100 symbols from gstreamer-unused.txt to the right sections
2340 fixed more broken comments
2341 added GstBus to docs
2343 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2345 * docs/gst/gstreamer-sections.txt:
2346 * docs/gst/tmpl/.cvsignore:
2347 * docs/gst/tmpl/gstbin.sgml:
2348 * docs/gst/tmpl/gstbuffer.sgml:
2349 * gst/base/gstbasesrc.c:
2350 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2353 * tools/gst-launch.1.in:
2354 inlined more doc comments, added missing comments and fixed comments
2357 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2359 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2363 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2365 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2366 * gst/gststructure.h:
2367 add a fixate function for booleans; add a FIXME that these func
2368 names should probably be gst_structure_fixate_*
2370 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2372 * docs/gst/gstreamer-docs.sgml:
2373 * docs/gst/gstreamer-sections.txt:
2375 * gst/gstbin.c: (gst_bin_get_type),
2376 (gst_bin_child_proxy_get_child_by_index),
2377 (gst_bin_child_proxy_get_children_count),
2378 (gst_bin_child_proxy_init):
2379 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2380 (gst_child_proxy_get_child_by_index),
2381 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2382 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2383 (gst_child_proxy_get), (gst_child_proxy_set_property),
2384 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2385 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2386 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2387 * gst/gstchildproxy.h:
2388 * gst/parse/grammar.y:
2389 * tools/gst-inspect.c: (print_interfaces),
2390 (print_element_properties_info), (print_element_info):
2391 ported gstchildproxy over from 0.8
2392 ported gst-inspect fixes and enhancements over from 0.8
2394 2005-08-22 Wim Taymans <wim@fluendo.com>
2396 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2397 (gst_base_transform_handle_buffer):
2398 Also call the transform function if we have ANY caps.
2400 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2403 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2405 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2406 Don't pretend to handle seek events if the source is not seekable
2408 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2410 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2411 Remove extra parameter to debug output
2413 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2414 (gst_base_src_do_seek), (gst_base_src_activate_push):
2415 Fix seek event handling.
2417 * gst/gstpipeline.c: (gst_pipeline_change_state):
2418 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2419 (gst_queue_src_activate_push):
2420 Don't start the src pad task on FLUSH_STOP if the pad
2424 2005-08-22 Wim Taymans <wim@fluendo.com>
2426 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2427 Added check for gst_static_caps_get() refcounting.
2429 2005-08-22 Wim Taymans <wim@fluendo.com>
2431 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2432 Make _static_caps_get() refcounting sane.
2434 * gst/gstelement.c: (gst_element_set_state):
2435 Add g_return_val_if_fail() to protect against segfaults.
2437 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2439 * docs/gst/tmpl/gstevent.sgml:
2442 inlined remaining docs, added missing doc comments
2444 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2446 * check/gst/gstbin.c: (GST_START_TEST):
2447 since we don't know when preroll is done, use refcount range
2449 * gst/check/gstcheck.h:
2450 add macro for checking refcount range
2452 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2454 * check/Makefile.am:
2455 clean up environment for when registry gets built versus
2456 when actual tests are run; valgrind seems to not report
2457 leaks if GST_PLUGIN_PATH is set to some specific values
2458 * check/gst/gstbin.c: (GST_START_TEST):
2459 add more refcounting checks; maybe this exposes a
2462 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2463 * gst/check/gstcheck.h:
2464 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2465 (gst_bin_change_state):
2466 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2467 add/fix debugging/whitespace
2469 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2471 * check/gst/gstevent.c: (event_probe), (test_event),
2473 Er, don't call gst_bin_watch_for_state_change you idiot.
2475 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2477 * check/Makefile.am:
2478 Use CHECK_CFLAGS and CHECK_LIBS
2479 * check/gst/gstevent.c: (event_probe), (test_event),
2482 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2483 (gst_base_src_start), (gst_base_src_stop),
2484 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2485 (gst_base_src_change_state):
2486 Sprinkle gst_base_src_stop liberally around error paths to fix
2487 problems reusing a source after failed state changes.
2488 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2489 (helper_find_suggest), (gst_type_find_helper):
2490 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2492 * docs/gst/tmpl/gstevent.sgml:
2493 Migrate part of the docs from the SGML file. Wait for ensonic to
2494 tell me how I did it wrong ;)
2495 * tools/gst-typefind.c: (main):
2496 Extra robustness to state changes between files.
2498 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2500 * check/Makefile.am:
2501 don't valgrind the controller test - it's leaking - Stefan, HELP
2502 * gst/check/gstcheck.c: (gst_check_message_error),
2503 (gst_check_chain_func), (gst_check_setup_element),
2504 (gst_check_teardown_element), (gst_check_setup_src_pad),
2505 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2506 (gst_check_teardown_sink_pad):
2507 * gst/check/gstcheck.h:
2508 add a bunch of methods to set up elements, and src and sink pads
2509 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2510 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2515 whitespace/doc fixes
2517 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2520 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2521 be handled by the application and not always printed as well
2523 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2525 * check/Makefile.am:
2527 * gst/check/gstcheck.c: (gst_check_message_error):
2528 * gst/check/gstcheck.h:
2529 add a fail_unless_equals_int
2530 add fail_unless for error messages
2532 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2534 * check/Makefile.am:
2536 * common/Makefile.am:
2539 factor out some of the common stuff so we can use it
2541 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2543 * check/Makefile.am:
2544 * check/gst/gstiterator.c: (GST_START_TEST):
2545 * check/gst/gstsystemclock.c: (GST_START_TEST),
2546 (gst_systemclock_suite):
2547 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2551 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2553 * check/elements/.cvsignore:
2554 * check/elements/gstfakesrc.c:
2555 rename to name of element
2556 * check/elements/identity.c: (chain_func), (event_func),
2557 (setup_identity), (cleanup_identity), (GST_START_TEST),
2558 (identity_suite), (main):
2559 add a test for identity
2560 * check/Makefile.am:
2561 * pkgconfig/Makefile.am:
2562 * pkgconfig/gstreamer-check.pc.in:
2563 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2567 move the check stuff to a library that gets installed
2568 * check/gst-libs/controller.c: (GST_START_TEST):
2569 * check/gst-libs/gdp.c:
2570 * check/gst/gst.c: (GST_START_TEST):
2571 * check/gst/gstbin.c:
2572 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2573 * check/gst/gstbus.c:
2574 * check/gst/gstcaps.c: (GST_START_TEST):
2575 * check/gst/gstelement.c:
2576 * check/gst/gstghostpad.c:
2577 * check/gst/gstiterator.c:
2578 * check/gst/gstmessage.c:
2579 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2580 * check/gst/gstobject.c:
2581 * check/gst/gstpad.c: (GST_START_TEST):
2582 * check/gst/gststructure.c: (GST_START_TEST):
2583 * check/gst/gstsystemclock.c: (GST_START_TEST),
2584 (gst_systemclock_suite):
2585 * check/gst/gsttag.c: (gst_tag_suite):
2586 * check/gst/gstvalue.c:
2587 * check/pipelines/cleanup.c:
2588 * check/pipelines/simple_launch_lines.c:
2589 * check/states/sinks.c:
2590 change include statement
2592 * docs/gst/gstreamer-sections.txt:
2593 * docs/gst/tmpl/gstpad.sgml:
2594 document more pad stuff
2595 * gst/gstminiobject.c: (gst_mini_object_ref),
2596 (gst_mini_object_unref):
2599 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2601 * docs/gst/tmpl/gst.sgml:
2603 eliminate another tmpl file, fix spelling in the long-description
2605 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2607 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2608 (test_event), (timediff), (gstevents_suite):
2609 Should fix build on 64-bit arch's
2611 2005-08-18 Andy Wingo <wingo@pobox.com>
2613 Make sure that when a pipeline goes to PLAYING, that data has
2614 actually hit the sink.
2616 * check/states/sinks.c (test_sink): A sink that doesn't get any
2617 data shouldn't return SUCCESS for going to either PLAYING or
2618 PAUSED. Test also the return values on the way back down.
2620 * gst/gstelement.c (gst_element_set_state): When changing the
2621 state of an element currently changing state asynchronously, go to
2622 lost-state after commiting the pending state. Makes future calls
2623 to get_state continue to return ASYNC.
2625 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2626 ASYNC when going to PLAYING if we still don't have preroll, as can
2627 happen with live sources.
2629 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2631 * docs/pwg/advanced-types.xml:
2632 Hack long paragraph into 2 chunks as a workaround for buggy
2633 jadetex version in sid and breezy that loops infinitely and
2636 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2638 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2639 (test_event), (timediff), (gstevents_suite):
2640 Provide more error margin in clock measurements to allow for
2641 g_get_current_time inaccuracies.
2643 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2645 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2646 (test_event), (timediff), (gstevents_suite):
2647 Fix error message output so I might be able to tell why the
2648 test works here but fails on the build farm.
2650 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2652 * check/Makefile.am:
2653 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2654 (test_event), (timediff), (gstevents_suite), (main):
2657 * docs/design/part-seeking.txt:
2660 * docs/gst/tmpl/gstevent.sgml:
2661 * docs/gst/tmpl/gstfakesrc.sgml:
2664 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2665 Treat a buffer-without-newsegment the same as a receiving
2666 a newsegment not in time format, and disable syncing to the clock
2669 * gst/gstbus.c: (gst_bus_set_sync_handler):
2670 Assert if anyone tries to replace the existing sync_handler for bus,
2671 as only the owner should be setting it.
2674 Have a fixed set of custom event enums with events identified by
2675 their structure name (as in 0.8), rather than a free-for-all
2676 allowing collisions between enum values from different plugins.
2678 * gst/gstpad.c: (gst_pad_class_init):
2681 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2682 Handle out-of-band downstream events from the sending thread.
2684 2005-08-17 Andy Wingo <wingo@pobox.com>
2686 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2687 play-timeout==0 to mean no timeout at all. In that case, don't
2688 bother with a get_state or a warning, just return directly, even
2691 * gst/base/gstbasetransform.c: Debug changes.
2694 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2695 ensure bins post state change messages. A bit of a hack but I can't
2696 think of a way to avoid it.
2698 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2700 2005-08-16 Andy Wingo <wingo@pobox.com>
2702 * gst/base/gstadapter.h:
2703 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2704 peek() but you own the data. Not terribly efficient atm.
2706 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2708 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2709 (gst_element_found_tags):
2711 Add two utility functions for tag handling.
2713 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2715 * docs/manual/advanced-dataaccess.xml:
2716 * docs/manual/basics-helloworld.xml:
2717 Fix docs to use _bin_add() before _link(), which fixes the examples
2718 with recent core versions (reported by Madhan Raj M
2719 <raj_madan@rediffmail.com>, #313199).
2721 2005-08-16 Wim Taymans <wim@fluendo.com>
2723 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2724 Added subtract checks.
2726 * docs/design/part-events.txt:
2727 Some more docs about newsegment
2729 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2732 * gst/gstcaps.c: (gst_caps_to_string):
2733 Add comments, cleanups.
2735 * gst/gstelement.c: (gst_element_save_thyself):
2738 * gst/gstvalue.c: (gst_value_collect_int_range),
2739 (gst_string_unwrap), (gst_value_union_int_int_range),
2740 (gst_value_union_int_range_int_range),
2741 (gst_value_intersect_int_int_range),
2742 (gst_value_intersect_int_range_int_range),
2743 (gst_value_intersect_double_double_range),
2744 (gst_value_intersect_double_range_double_range),
2745 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
2746 (gst_value_subtract_int_range_int),
2747 (gst_value_subtract_double_range_double),
2748 (gst_value_subtract_double_range_double_range),
2749 (gst_value_subtract_from_list), (gst_value_subtract_list),
2750 (gst_value_can_compare), (gst_value_compare_fraction):
2751 Cleanups, add comments, remove unneeded asserts.
2753 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2755 * tools/gst-launch.c: (event_loop):
2756 don't convert NULL structures to strings
2758 2005-08-15 Stefan Kost <ensonic@users.sf.net>
2760 * docs/gst/gstreamer-sections.txt:
2761 made some defines private
2762 * docs/gst/tmpl/gstconfig.sgml:
2763 * docs/gst/tmpl/gstqueue.sgml:
2764 * docs/gst/tmpl/gsttaglist.sgml:
2765 * docs/gst/tmpl/gsttypes.sgml:
2766 * docs/gst/tmpl/gstutils.sgml:
2767 * docs/pwg/appendix-porting.xml:
2768 * gst/base/gstbasesink.h:
2769 * gst/base/gstbasesrc.c:
2770 * gst/base/gstbasesrc.h:
2771 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
2772 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
2773 * gst/gstelement.c: (gst_element_class_init):
2774 * gst/gstpad.c: (gst_pad_class_init):
2775 * gst/gstqueue.c: (gst_queue_class_init):
2776 * gst/gstxml.c: (gst_xml_class_init):
2777 documented all undocumented signal inline
2778 * libs/gst/controller/gst-controller.h:
2781 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2783 * docs/pwg/appendix-porting.xml:
2784 Document _set_link_function -> _set_setcaps_function.
2786 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2788 * check/Makefile.am:
2789 add a .check target for running the check
2790 * check/gst-libs/controller.c: (GST_START_TEST):
2792 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2793 complete checks for gstbuffer; would be nice if I could get the
2794 gcov stuff to work so I can see if I actually completed gstbuffer.c
2796 add ASSERT_BUFFER_REFCOUNT
2798 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
2800 * docs/gst/gstreamer-sections.txt:
2801 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
2803 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
2804 spew out a warning if a tag that is already registered
2805 is re-registered, unless it is re-registered with a
2806 different type (#308438).
2808 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
2810 * docs/pwg/appendix-porting.xml:
2811 * docs/pwg/building-state.xml:
2812 Add some paragraphs about state changes in 0.9 to the PWG
2813 and the porting guide, in particular about the new meaning
2814 of GST_STATE_PAUSED and how to write state change functions
2815 with concurrent access by multiple threads in mind.
2817 2005-08-11 Stefan Kost <ensonic@users.sf.net>
2819 * docs/gst/gstreamer-docs.sgml:
2820 * docs/libs/gstreamer-libs-docs.sgml:
2821 added deprecation and since indexes
2822 * libs/gst/controller/gst-controller.c:
2823 * libs/gst/controller/gst-helper.c:
2827 2005-08-11 Wim Taymans <wim@fluendo.com>
2829 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
2830 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
2831 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
2832 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
2833 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
2834 (gst_ghost_pad_set_target):
2835 Actually implement (re)setting the target on a ghostpad
2836 as described in the docs.
2838 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
2840 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
2841 Check whether GST_DEBUG_NO_COLOR environment variable is
2842 set and disable coloured debug output if that is the case.
2844 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
2846 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2847 (gst_type_find_helper):
2848 The memory returned by gst_type_find_peek() needs to
2849 stay valid until the end of a typefind function, and
2850 typefind functions may keep results from different
2851 offsets around, so we can't just unref the buffer from
2852 the previous _peek(), but have to save all buffers
2853 returned by _peek() until typefinding is done and only
2856 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
2858 * docs/gst/gstreamer-sections.txt:
2860 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
2862 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2864 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
2865 Fix a pretty good memleak.
2867 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
2869 * gst/gstiterator.h:
2870 Fix wrong include and 'make distcheck'.
2872 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2874 * gst/gstbin.c: (bin_bus_handler):
2875 Use gst_element_post_message() instead.
2877 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
2879 * gst/base/gstadapter.h:
2880 * gst/base/gstbasesink.h:
2881 * gst/base/gstbasesrc.h:
2882 * gst/base/gstbasetransform.h:
2883 * gst/base/gstcollectpads.h:
2884 * gst/base/gstpushsrc.h:
2885 * gst/gstiterator.h:
2886 Add padding to our base elements' class and instance structs and
2887 to GstIterator (you will need to rebuild all plugins and apps!)
2889 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2891 * gst/gstbin.c: (bin_bus_handler):
2892 Make default message forwarding from child->bus to bin->bus
2893 threadsafe and make it not emit warnings if the parent has no bus.
2895 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2897 * gst/gstelement.c: (activate_pads):
2898 On paused->ready, set pad->caps to NULL, as is the documented
2899 behaviour in this state change. Fixes playback of series of
2900 media files when visualization is enabled in Totem.
2902 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2904 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
2905 Allow NULL as filter-caps (which means "any").
2907 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2909 * docs/libs/gstreamer-libs-sections.txt:
2910 * libs/gst/controller/gst-controller.c:
2911 * libs/gst/controller/gst-controller.h:
2912 * libs/gst/controller/gst-helper.c:
2913 adding more entries to the docs and fix small doc-bugs
2915 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2917 * docs/gst/gstreamer-docs.sgml:
2918 * docs/gst/gstreamer-sections.txt:
2919 * docs/gst/gstreamer.types:
2920 * docs/gst/tmpl/gstbasesink.sgml:
2921 * docs/gst/tmpl/gstbasesrc.sgml:
2922 * docs/gst/tmpl/gstbasetransform.sgml:
2923 * docs/gst/tmpl/gstfakesrc.sgml:
2924 * gst/base/gstcollectpads.c:
2925 * gst/base/gstcollectpads.h:
2926 * libs/gst/controller/gst-controller.c:
2927 * libs/gst/controller/gst-controller.h:
2928 * libs/gst/controller/gst-helper.c:
2929 * libs/gst/controller/gst-interpolation.c:
2930 * libs/gst/controller/lib.c:
2931 added long/short desc for controller docs
2932 added collectpads base class docs
2933 added correct includes to base-class docs
2935 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2937 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2938 (gst_test_mono_source_set_property),
2939 (gst_test_mono_source_class_init), (GST_START_TEST),
2940 (gst_controller_suite):
2941 * docs/gst/gstreamer-docs.sgml:
2942 * docs/gst/gstreamer-sections.txt:
2943 * docs/gst/gstreamer.types:
2944 * docs/libs/gstreamer-libs-docs.sgml:
2945 * docs/libs/gstreamer-libs-sections.txt:
2946 * gst/base/gstadapter.c:
2947 * libs/gst/controller/gst-controller.c:
2948 (gst_controlled_property_new), (gst_controlled_property_free),
2949 (gst_controller_new_valist),
2950 (gst_controller_remove_properties_valist),
2951 (gst_controller_sink_values), (_gst_controller_finalize):
2952 * libs/gst/controller/gst-controller.h:
2953 * libs/gst/controller/gst-helper.c:
2954 (gst_object_control_properties), (gst_object_uncontrol_properties),
2955 (gst_object_get_controller), (gst_object_set_controller),
2956 (gst_object_sink_values), (gst_object_get_value_arrays),
2957 (gst_object_get_value_array):
2958 more tests (and fixes) for the controller
2959 more docs for the controller
2960 integrated companies docs for the adapter
2962 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
2964 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
2965 (GST_START_TEST), (fakesrc_suite):
2966 add tests for sizetype
2968 2005-08-04 Andy Wingo <wingo@pobox.com>
2970 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
2971 fixes buffer_alloc proxying among other things.
2973 * gst/base/gstbasetransform.c:
2974 * gst/base/gstbasetransform.h:
2975 Revert patch to gstbasetransform from 7-28 removing
2978 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
2979 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
2980 Semantics changed, should return not the size of the output buffer
2981 but the byte size of a buffer with a given caps.
2983 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
2985 (gst_base_transform_configure_caps): Don't set out_size here: (in,
2986 out) are not the pad caps until setcaps finishes.
2987 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
2988 not-in-place case as well. Deal with changing from in-place to
2989 not-in-place within calling pad_alloc_buffer. Still a bit
2990 concerned about the overhead here...
2992 2005-08-03 Andy Wingo <wingo@pobox.com>
2994 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
2995 fixating is an error.
2997 2005-08-04 Edward Hervey <edward@fluendo.com>
2999 * gst/base/gstadapter.h:
3000 Added gst_adapter_get_type() to the header
3002 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3004 * check/Makefile.am:
3005 * check/gst-libs/controller.c:
3006 * libs/gst/controller/gst-controller.c:
3007 (gst_controller_new_valist):
3008 added check test suite for the controller
3009 * gst/base/gstpushsrc.c:
3012 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3014 * docs/gst/Makefile.am:
3015 * docs/gst/gstreamer-docs.sgml:
3016 * docs/gst/gstreamer-sections.txt:
3017 * docs/gst/gstreamer.types:
3018 * docs/gst/tmpl/gstfakesrc.sgml:
3020 * gst/base/gstbasesink.c:
3021 * gst/base/gstbasesink.h:
3022 * gst/base/gstbasesrc.c:
3023 * gst/base/gstbasesrc.h:
3024 * gst/base/gstbasetransform.c:
3025 * gst/base/gstpushsrc.c:
3026 * gst/base/gstpushsrc.h:
3027 add short/long description docs to base classes
3028 add pushsrc to the docs
3029 remove consolidated doc fragments
3031 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3034 * docs/libs/Makefile.am:
3035 * docs/libs/gstreamer-libs-docs.sgml:
3036 * docs/libs/gstreamer-libs-sections.txt:
3037 * docs/libs/gstreamer-libs.types:
3038 * examples/Makefile.am:
3039 * examples/controller/.cvsignore:
3040 * examples/controller/Makefile.am:
3041 * examples/controller/audio-example.c: (main):
3042 * libs/gst/Makefile.am:
3043 * libs/gst/controller/.cvsignore:
3044 * libs/gst/controller/Makefile.am:
3045 * libs/gst/controller/gst-controller.c:
3046 (on_object_controlled_property_changed), (gst_timed_value_compare),
3047 (gst_timed_value_find),
3048 (gst_controlled_property_set_interpolation_mode),
3049 (gst_controlled_property_new), (gst_controlled_property_free),
3050 (gst_controller_find_controlled_property),
3051 (gst_controller_new_valist), (gst_controller_new),
3052 (gst_controller_remove_properties_valist),
3053 (gst_controller_remove_properties), (gst_controller_set),
3054 (gst_controller_set_from_list), (gst_controller_unset),
3055 (gst_controller_get), (gst_controller_get_all),
3056 (gst_controller_sink_values), (gst_controller_get_value_arrays),
3057 (gst_controller_get_value_array),
3058 (gst_controller_set_interpolation_mode),
3059 (_gst_controller_finalize), (_gst_controller_init),
3060 (_gst_controller_class_init), (gst_controller_get_type):
3061 * libs/gst/controller/gst-controller.h:
3062 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3063 (g_object_uncontrol_properties), (g_object_get_controller),
3064 (g_object_set_controller), (g_object_sink_values),
3065 (g_object_get_value_arrays), (g_object_get_value_array):
3066 * libs/gst/controller/gst-interpolation.c:
3067 (gst_controlled_property_find_timed_value_node),
3068 (interpolate_none_get), (interpolate_trigger_get),
3069 (interpolate_trigger_get_value_array):
3070 * libs/gst/controller/lib.c: (gst_controller_init):
3071 * pkgconfig/Makefile.am:
3072 * pkgconfig/gstreamer-control-uninstalled.pc.in:
3073 * pkgconfig/gstreamer-control.pc.in:
3074 * testsuite/Makefile.am:
3075 * testsuite/controller/.cvsignore:
3076 * testsuite/controller/Makefile.am:
3077 * testsuite/controller/interpolator.c: (main):
3078 added controller code
3079 removed dparam pc files
3081 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3082 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3083 (gst_collectpads_stop):
3084 Broadcast the condition when shutting down, to make sure we wake all
3085 threads up. Shut down pads on finalize, for safety.
3087 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3088 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3089 (gst_base_transform_handle_buffer),
3090 (gst_base_transform_change_state):
3091 Handle PAUSED->READY->PAUSED transition after negotiation
3093 * gst/gstmessage.c: (gst_message_init):
3094 Extra piece of debug for new messages.
3096 2005-08-01 Stefan Kost <ensonic@users.sf.net>
3099 * docs/gst/tmpl/gstbasesrc.sgml:
3100 * docs/gst/tmpl/gstelement.sgml:
3101 * docs/gst/tmpl/gstevent.sgml:
3102 * docs/gst/tmpl/gstfakesrc.sgml:
3103 * docs/gst/tmpl/gstformat.sgml:
3104 * docs/gst/tmpl/gstghostpad.sgml:
3105 * docs/gst/tmpl/gstpad.sgml:
3106 * docs/gst/tmpl/gstquery.sgml:
3107 * docs/gst/tmpl/gststructure.sgml:
3108 * docs/gst/tmpl/gsttaglist.sgml:
3109 * docs/gst/tmpl/gstvalue.sgml:
3110 * docs/libs/gstreamer-libs-docs.sgml:
3111 * docs/libs/gstreamer-libs-sections.txt:
3112 * docs/libs/gstreamer-libs.types:
3113 * libs/gst/Makefile.am:
3114 * libs/gst/control/.cvsignore:
3115 * libs/gst/control/Makefile.am:
3116 * libs/gst/control/control.c:
3117 * libs/gst/control/control.h:
3118 * libs/gst/control/dparam.c:
3119 * libs/gst/control/dparam.h:
3120 * libs/gst/control/dparam_smooth.c:
3121 * libs/gst/control/dparam_smooth.h:
3122 * libs/gst/control/dparamcommon.h:
3123 * libs/gst/control/dparammanager.c:
3124 * libs/gst/control/dparammanager.h:
3125 * libs/gst/control/dplinearinterp.c:
3126 * libs/gst/control/dplinearinterp.h:
3127 * libs/gst/control/unitconvert.c:
3128 * libs/gst/control/unitconvert.h:
3129 * testsuite/Makefile.am:
3130 * testsuite/dynparams/.cvsignore:
3131 * testsuite/dynparams/Makefile.am:
3132 * testsuite/dynparams/dparamstest.c:
3133 * tools/Makefile.am:
3134 * tools/gst-inspect.c: (print_element_info), (main):
3135 * tools/gst-xmlinspect.c: (print_element_info), (main):
3136 deactivate and remove dparams (libgstcontrol)
3138 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3140 * gst/elements/gsttypefindelement.c:
3141 (gst_type_find_element_have_type), (gst_type_find_element_init),
3142 (stop_typefinding), (gst_type_find_element_handle_event),
3143 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3144 * gst/elements/gsttypefindelement.h:
3145 Set caps on all outgoing buffers, not just the first one.
3147 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3149 * gst/elements/gsttypefindelement.c:
3150 (gst_type_find_element_have_type),
3151 (gst_type_find_element_check_set_buffer_caps),
3152 (gst_type_find_element_init), (stop_typefinding),
3153 (gst_type_find_element_handle_event),
3154 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3155 * gst/elements/gsttypefindelement.h:
3156 Set caps on first outgoing buffer when we've found the type.
3158 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3160 * docs/gst/gstreamer-docs.sgml:
3161 * docs/gst/gstreamer-sections.txt:
3162 * docs/gst/tmpl/gstscheduler.sgml:
3163 * docs/gst/tmpl/gstschedulerfactory.sgml:
3164 Remove some old cruft from docs.
3166 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
3169 Fix inline docs for GstPadLinkReturn.
3171 * gst/gststructure.c: (gst_structure_has_name):
3172 * gst/gststructure.h:
3173 * docs/gst/gstreamer-sections.txt:
3174 New API: gst_structure_has_name().
3176 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
3179 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3180 and _LARGEFILE_SOURCE in config.h as required. Do not
3181 export those flags in our .pc files any longer (#142209).
3183 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3185 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3186 (gst_file_sink_do_seek), (gst_file_sink_event),
3187 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3188 Redo seek/tell calls with large file support in mind; add some
3189 debugging messages; add log message that tells us when large
3190 file support is unavailable or not enabled for some reason.
3192 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3193 Add log message that tells us when large file support
3194 is unavailable or not enabled for some reason.
3196 2005-07-29 Wim Taymans <wim@fluendo.com>
3198 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3199 Added test for removing an element with ghostpad from a bin.
3200 Fixed test as current implementation does the right thing.
3202 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3203 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3204 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3205 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3206 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3207 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3208 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3209 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3210 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3211 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3212 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3213 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3214 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3215 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3216 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3217 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3218 * gst/gstghostpad.h:
3219 Clean up ghostpads, remove properties for internal stuff.
3222 Prepare for switching targets, not all use cases work yet.
3224 2005-07-29 Wim Taymans <wim@fluendo.com>
3226 * docs/design/part-gstghostpad.txt:
3229 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3230 (gst_bin_remove_func):
3231 Unlinking pads while holding the bin LOCK is not a good
3234 * gst/gstpad.c: (gst_pad_class_init),
3235 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3236 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3237 No prob setting template after creating the pad.
3239 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3241 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3242 (gst_bus_peek), (gst_bus_source_dispatch),
3243 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3244 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3245 gst_bus_poll may be called from other threads. Handle
3246 this nicely by not making poll_data disappear off the
3247 stack once gst_bus_poll returns.
3248 gst_bus_peek now increments the refcount on the returned
3251 2005-07-29 Wim Taymans <wim@fluendo.com>
3253 * docs/design/part-gstghostpad.txt:
3254 Overview of current GhostPad datastructures and use
3255 cases for changing the target.
3257 2005-07-28 Wim Taymans <wim@fluendo.com>
3259 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3260 Added checks for hierarchy consistency whan adding linked
3263 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3264 Added check to test element scheduling without bin/pipeline.
3266 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3267 First add elements to bin, then link.
3269 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3270 (gst_bin_remove_func):
3271 Unlink pads from elements added/removed from bin to maintain
3272 hierarchy consistency.
3274 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3276 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3277 (gst_base_transform_handle_buffer):
3278 * gst/base/gstbasetransform.h:
3279 Remove broken delay_configure (fixes renegotiation of software
3280 scaling pipelines); remove some leftover printf()s.
3282 2005-07-28 Wim Taymans <wim@fluendo.com>
3284 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3285 Added some more tests for wrong hierarchy
3287 * docs/design/part-overview.txt:
3290 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3293 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3294 (gst_element_dispose):
3297 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3298 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3299 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3300 (gst_pad_set_caps), (gst_pad_send_event):
3301 Check for correct hierarchy when linking pads. Moving to
3302 strict requirement for ghostpads when linking elements in
3306 Clean ups. Added WRONG_HIERARCHY return value.
3308 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3310 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3311 Better debug if no transform is possible.
3313 2005-07-27 Wim Taymans <wim@fluendo.com>
3315 * docs/random/wtay/network-transp:
3318 2005-07-27 Wim Taymans <wim@fluendo.com>
3320 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3321 (gst_dp_event_from_packet):
3322 Fix serialization of seek events.
3324 2005-07-27 Wim Taymans <wim@fluendo.com>
3326 * check/gst-libs/gdp.c: (GST_START_TEST):
3327 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3328 Fix compilation and fix event serialization.
3330 2005-07-27 Wim Taymans <wim@fluendo.com>
3333 * docs/design/part-TODO.txt:
3334 * docs/design/part-events.txt:
3337 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3338 (gst_base_sink_event), (gst_base_sink_do_sync),
3339 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3340 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3341 (gst_base_src_do_seek), (gst_base_src_event_handler),
3342 (gst_base_src_loop):
3343 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3344 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3345 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3346 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3347 (gst_base_transform_set_passthrough),
3348 (gst_base_transform_is_passthrough):
3349 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3350 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3356 * gst/gstelement.c: (gst_element_seek):
3358 Update gst_element_seek.
3360 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3361 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3362 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3363 (gst_event_new_eos), (gst_event_new_newsegment),
3364 (gst_event_parse_newsegment), (gst_event_new_tag),
3365 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3366 (gst_event_parse_qos), (gst_event_new_seek),
3367 (gst_event_parse_seek), (gst_event_new_navigation):
3369 Make GstEvent use GstStructure. Add parsing code, make sure the
3370 API is sufficiently generic.
3371 Mark possible directions of events and serialization.
3373 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3374 (_gst_message_copy), (gst_message_new_segment_start),
3375 (gst_message_new_segment_done), (gst_message_new_custom),
3376 (gst_message_parse_segment_start),
3377 (gst_message_parse_segment_done):
3380 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3381 (gst_pad_set_caps), (gst_pad_send_event):
3382 Update for new events.
3383 Catch events sent in wrong directions.
3385 * gst/gstqueue.c: (gst_queue_link_src),
3386 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3387 (gst_queue_handle_src_query):
3392 Remove event code from this file.
3394 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3395 (gst_dp_event_from_packet):
3398 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3400 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3401 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3402 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3403 Make debugging actually useful.
3405 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3407 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3408 (gst_pad_fixate_caps):
3409 Implement default fixation once again, so that gst_pad_fixate()
3410 actually does anything at all. This probably needs to be some
3411 sort of a last resort, and use profile-based fixation first, but
3412 since that doesn't exist yet, this is the best we have. Fixes
3413 visualization in Totem.
3415 2005-07-22 Wim Taymans <wim@fluendo.com>
3417 * docs/design/part-events.txt:
3420 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3421 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3422 (gst_base_sink_activate_pull):
3425 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3426 (gst_fake_src_create):
3427 Fix handoff marshall.
3429 * gst/elements/gstidentity.c: (gst_identity_class_init),
3430 (gst_identity_transform_ip):
3431 We're a real inplace element.
3433 * gst/gstbus.c: (gst_bus_post):
3434 Added some comments.
3436 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3437 * tests/muxing/case1.c: (main):
3438 * tests/sched/dynamic-pipeline.c: (main):
3439 * tests/sched/interrupt1.c: (main):
3440 * tests/sched/interrupt2.c: (main):
3441 * tests/sched/interrupt3.c: (main):
3442 * tests/sched/runxml.c: (main):
3443 * tests/sched/sched-stress.c: (main):
3444 * tests/seeking/seeking1.c: (event_received), (main):
3445 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3447 * tests/threadstate/threadstate3.c: (main):
3448 * tests/threadstate/threadstate4.c: (main):
3449 * tests/threadstate/threadstate5.c: (main):
3452 2005-07-21 Wim Taymans <wim@fluendo.com>
3454 * docs/design/part-seeking.txt:
3455 Some small additions.
3457 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3458 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3459 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3460 * gst/base/gstbasesink.h:
3461 discont values are gint64, handle the math correctly.
3463 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3464 Make the basesrc report error if the source pad is not linked.
3466 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3467 (gst_queue_loop), (gst_queue_handle_src_query),
3468 (gst_queue_src_activate_push):
3469 Make queue collect data even if the srcpad is not linked.
3470 Start pushing out data as soon as it is linked.
3472 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3474 Added gst_flow_get_name() to ease error reporting.
3476 2005-07-20 Wim Taymans <wim@fluendo.com>
3478 * gst/gstmessage.c: (gst_message_new_segment_start),
3479 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3480 (gst_message_parse_segment_done):
3482 Added a bunch of messages for advanced seeking.
3484 * gst/parse/grammar.y:
3485 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3486 (gst_dpman_state_changed):
3487 Fix some new-pad -> pad-added signals
3489 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3491 * docs/manual/appendix-porting.xml:
3492 * docs/pwg/appendix-porting.xml:
3493 Document new-pad/state-change signal renames and the FixedList
3496 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3498 * docs/manual/advanced-autoplugging.xml:
3499 * docs/manual/basics-helloworld.xml:
3500 * docs/manual/basics-pads.xml:
3501 * docs/random/ds/0.9-suggested-changes:
3502 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3507 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3508 (gst_structure_parse_array), (gst_structure_parse_value):
3509 * gst/gstvalue.c: (gst_type_is_fixed),
3510 (gst_value_list_prepend_value), (gst_value_list_append_value),
3511 (gst_value_list_get_size), (gst_value_list_get_value),
3512 (gst_value_transform_array_string), (gst_value_serialize_array),
3513 (gst_value_deserialize_array), (gst_value_intersect_array),
3514 (gst_value_is_fixed), (_gst_value_initialize):
3516 GstElement::new-pad -> pad-added, GstElement::state-change ->
3517 state-changed, GstValueFixedList -> GstValueArray, add format and
3518 flags as their own arguments in gst_element_seek() (should improve
3519 "bindeability"), remove function generators since they don't work
3520 under a whole bunch of compilers (they were deprecated already
3523 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3525 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3526 (_gst_debug_register_funcptr):
3528 Fix illegal cast on some platforms (#309253).
3530 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3532 * gst/gstmessage.c: (gst_message_new_custom):
3534 Add _new_custom, make _new_application a macro to _new_custom.
3536 2005-07-20 Wim Taymans <wim@fluendo.com>
3538 * gst/base/gstbasesrc.c: (gst_base_src_init),
3539 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3540 * gst/base/gstbasesrc.h:
3541 Add a gboolean to decide when to push out a discont.
3543 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3544 (gst_queue_loop), (gst_queue_handle_src_query),
3545 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3546 (gst_queue_set_property), (gst_queue_get_property):
3549 * tests/threadstate/threadstate1.c: (main):
3550 Make a thread test compile and run... very silly..
3553 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3555 * docs/manual/appendix-porting.xml:
3556 Mention removal of libgstgconf-0.9.la and existence of gconf
3559 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3561 * docs/pwg/advanced-clock.xml:
3562 * docs/pwg/appendix-porting.xml:
3563 * docs/pwg/intro-preface.xml:
3564 * docs/pwg/other-base.xml:
3565 * docs/pwg/other-manager.xml:
3566 * docs/pwg/other-nton.xml:
3567 * docs/pwg/other-ntoone.xml:
3568 * docs/pwg/other-oneton.xml:
3570 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3571 demuxer), remove n-to-n (was never written), fix some code examples
3572 and links and update the porting section to include all this.
3574 2005-07-19 Wim Taymans <wim@fluendo.com>
3576 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3577 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3578 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3579 (gst_queue_src_activate_push), (gst_queue_change_state),
3580 (gst_queue_get_property):
3582 Propagate GstFlowReturn more intelligently upstream and output
3583 an ERROR/EOS when streaming stopped due to fatal error.
3585 2005-07-19 Wim Taymans <wim@fluendo.com>
3587 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3588 Don't block forever for the state change to complete, the
3589 pipeline already did with a sensible timeout.
3591 2005-07-19 Wim Taymans <wim@fluendo.com>
3593 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3594 Make sure we never call the create function is we
3597 2005-07-19 Andy Wingo <wingo@pobox.com>
3599 * gst/parse/parse.l: Attempt to solve bug #172815.
3601 2005-07-19 Wim Taymans <wim@fluendo.com>
3603 * docs/design/part-clocks.txt:
3604 * docs/design/part-events.txt:
3605 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3607 Only update the seeking values when we are not
3610 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3612 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3613 Oops, ignore the result of gst_pad_push_event here.
3615 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3617 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3618 (gst_base_src_activate_push):
3619 Send discont event from the loop function, as pads
3620 aren't activated yet in the activate_push handler.
3622 * gst/gstbin.c: (bin_bus_handler):
3623 Don't leak element name.
3625 2005-07-18 Andy Wingo <wingo@pobox.com>
3627 * configure.ac: Use AS_LIBTOOL_TAGS.
3629 2005-07-18 Wim Taymans <wim@fluendo.com>
3631 * docs/gst/gstreamer.types:
3632 Remove deleted types.
3634 2005-07-18 Wim Taymans <wim@fluendo.com>
3636 * check/elements/gstfakesrc.c: (GST_START_TEST):
3639 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3640 (init_popt_callback):
3642 * gst/gst_private.h:
3643 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3644 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3647 * gst/gstconfig.h.in:
3648 * gst/gstelement.c: (gst_element_class_init),
3649 (gst_element_set_base_time), (gst_element_get_base_time),
3650 (iterator_fold_with_resync), (gst_element_change_state),
3651 (gst_element_dispose), (gst_element_get_bus):
3653 * gst/gstelementfactory.h:
3654 * gst/gsterror.c: (_gst_core_errors_init):
3657 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3659 * gst/gstinfo.c: (_gst_debug_init):
3660 * gst/gstmessage.c: (_gst_message_copy):
3662 * gst/gstminiobject.h:
3665 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3666 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3669 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3670 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3671 (gst_pipeline_get_last_stream_time):
3672 * gst/gstpipeline.h:
3673 * gst/gstpluginfeature.h:
3675 * gst/gstscheduler.c:
3676 * gst/gstscheduler.h:
3677 * gst/gststructure.h:
3678 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3679 (gst_task_finalize), (gst_task_func), (gst_task_create),
3680 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3681 (gst_task_stop), (gst_task_pause):
3683 * gst/gsttypefind.h:
3685 * gst/registries/gstlibxmlregistry.c: (load_feature),
3686 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3687 * gst/registries/gstxmlregistry.c:
3688 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3689 * gst/schedulers/threadscheduler.c:
3690 * libs/gst/control/dparammanager.h:
3691 * tools/gst-inspect.c: (print_element_list),
3692 (print_plugin_features), (print_element_features):
3693 * tools/gst-xmlinspect.c: (print_element_list),
3694 (print_plugin_info), (main):
3695 Removed plugable schedulers.
3696 Removed Scheduler/Manager from elements.
3697 Removed gsttypes.h, rearranged includes.
3698 Removed dependency pad<->element, element<>pipeline, and
3699 various others, fix includes.
3700 implement gst_pad_get_parent() with gst_object_get_parent()
3701 Make GstTask sefcontained.
3702 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3704 Fix endless loop in iterator_fold_with_resync.
3707 2005-07-18 Wim Taymans <wim@fluendo.com>
3713 2005-07-18 Wim Taymans <wim@fluendo.com>
3718 2005-07-18 Wim Taymans <wim@fluendo.com>
3724 2005-07-18 Wim Taymans <wim@fluendo.com>
3726 * docs/design/part-dynamic.txt:
3727 * docs/design/part-events.txt:
3728 * docs/design/part-seeking.txt:
3729 Some more docs in the works.
3731 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3732 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3733 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3734 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3735 (gst_base_transform_handle_buffer),
3736 (gst_base_transform_sink_activate_push),
3737 (gst_base_transform_src_activate_pull),
3738 (gst_base_transform_set_passthrough),
3739 (gst_base_transform_is_passthrough):
3742 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3745 * gst/gstevent.c: (gst_event_finalize):
3748 * gst/gstutils.c: (gst_element_unlink),
3749 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
3750 (gst_pad_proxy_setcaps):
3752 Add _get_parent_element() to get a pads parent as an element.
3754 2005-07-18 Wim Taymans <wim@fluendo.com>
3756 * check/gst/gstbin.c: (GST_START_TEST):
3759 2005-07-18 Wim Taymans <wim@fluendo.com>
3761 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3762 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3763 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3764 (gst_base_sink_event), (gst_base_sink_do_sync),
3765 (gst_base_sink_chain), (gst_base_sink_loop),
3766 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
3767 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
3769 Fix logic for returning ASYNC when not prerolled.
3771 2005-07-18 Wim Taymans <wim@fluendo.com>
3773 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3774 Fix nasty refcount bug.
3776 2005-07-16 Philippe Khalaf <burger@speedy.org>
3778 * gst/elements/gstfdsrc.c:
3779 * gst/elements/gstfdsrc.h:
3780 * gst/elements/gstelements.c:
3781 * gst/elements/Makefile.am:
3782 Ported fdsrc to 0.9.
3784 2005-07-16 Wim Taymans <wim@fluendo.com>
3786 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3787 (gst_base_sink_do_sync):
3790 2005-07-16 Wim Taymans <wim@fluendo.com>
3792 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3793 (gst_base_sink_event), (gst_base_sink_get_times),
3794 (gst_base_sink_do_sync), (gst_base_sink_change_state):
3795 * gst/base/gstbasesink.h:
3796 Store and use discont values when syncing buffers as described
3799 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3800 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
3801 (gst_base_src_activate_push):
3802 Push discont event when starting.
3804 * gst/elements/gstidentity.c: (gst_identity_transform):
3807 * gst/gstbin.c: (gst_bin_change_state):
3808 Small cleanups in base_time distribution.
3810 * gst/gstelement.c: (gst_element_set_base_time),
3811 (gst_element_get_base_time), (gst_element_change_state):
3813 Added methods for the base_time of the element.
3816 * gst/gstpipeline.c: (gst_pipeline_send_event),
3817 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3818 (gst_pipeline_get_last_stream_time):
3819 * gst/gstpipeline.h:
3821 Handle seeking as described in design doc, remove stream_time
3823 Cleanups clock and stream_time selection code. Added accessors
3824 for the stream_time.
3827 2005-07-16 Andy Wingo <wingo@pobox.com>
3829 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
3832 2005-07-16 Wim Taymans <wim@fluendo.com>
3834 * check/gst/gstbin.c: (GST_START_TEST):
3835 Make elements silent as the deep_notify refs the
3836 parent, which might make the test fail.
3838 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3839 Don't hold the lock for too long.
3841 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
3843 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3844 Don't unref the caps we passed to gst_caps_make_writable() after
3845 passing them. gst_caps_make_writable() will do that for us.
3847 2005-07-15 Andy Wingo <wingo@pobox.com>
3849 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
3852 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
3853 own marshalling function for the handoff signal. Properly type the
3854 buffer as a buffer. Fixes some warnings. Should do a more general
3856 (gst_identity_class_init): Plug into the right marshaller.
3858 2005-07-15 Wim Taymans <wim@fluendo.com>
3860 * docs/design/part-TODO.txt:
3861 * docs/design/part-clocks.txt:
3862 * docs/design/part-element-sink.txt:
3863 * docs/design/part-events.txt:
3864 * docs/design/part-gstpipeline.txt:
3865 Updated docs, mostly DISCONT related.
3867 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
3869 * docs/pwg/building-pads.xml:
3870 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
3872 2005-07-15 Andy Wingo <wingo@pobox.com>
3874 * tools/gst-typefind.c: Update, add copyright block.
3876 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
3877 Normalize and truncate caps before fixation.
3880 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
3881 discards all but the first structure from its argument.
3883 2005-07-15 Wim Taymans <wim@fluendo.com>
3885 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3886 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
3887 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3888 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3889 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
3890 (gst_base_transform_chain), (gst_base_transform_change_state),
3891 (gst_base_transform_set_passthrough),
3892 (gst_base_transform_is_passthrough):
3893 * gst/base/gstbasetransform.h:
3894 Make passthrough work using the bufferpools.
3895 Changed API a bit, subclasses have to write into a buffer
3896 provided by the base class.
3897 More debug info in nego functions.
3899 * gst/elements/gstidentity.c: (gst_identity_init),
3900 (gst_identity_transform):
3901 Port to new base class.
3903 2005-07-15 Wim Taymans <wim@fluendo.com>
3905 * gst/gstmessage.c: (gst_message_new_state_changed):
3906 * tools/gst-launch.c: (event_loop), (main):
3907 Totally dump messages in -launch with the -m option.
3908 Fix message name for State messages,
3910 2005-07-14 Wim Taymans <wim@fluendo.com>
3912 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3913 Post error messages on errors.
3915 2005-07-14 Wim Taymans <wim@fluendo.com>
3917 * gst/gstcaps.c: (gst_caps_do_simplify):
3921 Define error for stream stopped.
3923 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3924 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
3925 Do proper return values.
3927 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3928 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
3929 (gst_pad_get_range):
3930 Better return values.
3933 Reorganise return values, add macro to check for fatal errors.
3935 * gst/gstqueue.c: (gst_queue_chain):
3936 Return proper GstFlowReturn values,
3938 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
3940 * docs/gst/gstreamer-sections.txt:
3941 * docs/gst/gstreamer.types:
3942 * docs/gst/tmpl/gst.sgml:
3943 * docs/gst/tmpl/gstbasesink.sgml:
3944 * docs/gst/tmpl/gstbasesrc.sgml:
3945 * docs/gst/tmpl/gstbasetransform.sgml:
3946 * docs/gst/tmpl/gstbin.sgml:
3947 * docs/gst/tmpl/gstbuffer.sgml:
3948 * docs/gst/tmpl/gstcaps.sgml:
3949 * docs/gst/tmpl/gstclock.sgml:
3950 * docs/gst/tmpl/gstcompat.sgml:
3951 * docs/gst/tmpl/gstconfig.sgml:
3952 * docs/gst/tmpl/gstelement.sgml:
3953 * docs/gst/tmpl/gstelementdetails.sgml:
3954 * docs/gst/tmpl/gstelementfactory.sgml:
3955 * docs/gst/tmpl/gstenumtypes.sgml:
3956 * docs/gst/tmpl/gsterror.sgml:
3957 * docs/gst/tmpl/gstevent.sgml:
3958 * docs/gst/tmpl/gstfakesink.sgml:
3959 * docs/gst/tmpl/gstfakesrc.sgml:
3960 * docs/gst/tmpl/gstfilesink.sgml:
3961 * docs/gst/tmpl/gstfilesrc.sgml:
3962 * docs/gst/tmpl/gstfilter.sgml:
3963 * docs/gst/tmpl/gstformat.sgml:
3964 * docs/gst/tmpl/gstghostpad.sgml:
3965 * docs/gst/tmpl/gstimplementsinterface.sgml:
3966 * docs/gst/tmpl/gstindex.sgml:
3967 * docs/gst/tmpl/gstindexfactory.sgml:
3968 * docs/gst/tmpl/gstinfo.sgml:
3969 * docs/gst/tmpl/gstiterator.sgml:
3970 * docs/gst/tmpl/gstmacros.sgml:
3971 * docs/gst/tmpl/gstmemchunk.sgml:
3972 * docs/gst/tmpl/gstminiobject.sgml:
3973 * docs/gst/tmpl/gstobject.sgml:
3974 * docs/gst/tmpl/gstpad.sgml:
3975 * docs/gst/tmpl/gstpadtemplate.sgml:
3976 * docs/gst/tmpl/gstparse.sgml:
3977 * docs/gst/tmpl/gstpipeline.sgml:
3978 * docs/gst/tmpl/gstplugin.sgml:
3979 * docs/gst/tmpl/gstpluginfeature.sgml:
3980 * docs/gst/tmpl/gstquery.sgml:
3981 * docs/gst/tmpl/gstqueue.sgml:
3982 * docs/gst/tmpl/gstregistry.sgml:
3983 * docs/gst/tmpl/gstregistrypool.sgml:
3984 * docs/gst/tmpl/gstscheduler.sgml:
3985 * docs/gst/tmpl/gstschedulerfactory.sgml:
3986 * docs/gst/tmpl/gststructure.sgml:
3987 * docs/gst/tmpl/gstsystemclock.sgml:
3988 * docs/gst/tmpl/gsttaglist.sgml:
3989 * docs/gst/tmpl/gsttagsetter.sgml:
3990 * docs/gst/tmpl/gsttrace.sgml:
3991 * docs/gst/tmpl/gsttrashstack.sgml:
3992 * docs/gst/tmpl/gsttypefind.sgml:
3993 * docs/gst/tmpl/gsttypefindfactory.sgml:
3994 * docs/gst/tmpl/gsttypes.sgml:
3995 * docs/gst/tmpl/gsturihandler.sgml:
3996 * docs/gst/tmpl/gsturitype.sgml:
3997 * docs/gst/tmpl/gstutils.sgml:
3998 * docs/gst/tmpl/gstvalue.sgml:
3999 * docs/gst/tmpl/gstversion.sgml:
4000 * docs/gst/tmpl/gstxml.sgml:
4001 * docs/libs/tmpl/gstcontrol.sgml:
4002 * docs/libs/tmpl/gstdataprotocol.sgml:
4003 * docs/libs/tmpl/gstdparam.sgml:
4004 * docs/libs/tmpl/gstdplinint.sgml:
4005 * docs/libs/tmpl/gstdpman.sgml:
4006 * docs/libs/tmpl/gstdpsmooth.sgml:
4007 * docs/libs/tmpl/gstgetbits.sgml:
4008 * docs/libs/tmpl/gstunitconvert.sgml:
4009 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4010 (gst_push_src_base_init), (gst_push_src_class_init),
4011 (gst_push_src_init), (gst_push_src_create):
4012 * gst/base/gstpushsrc.h:
4013 * gst/elements/gstelements.c:
4014 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4015 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4016 (gst_fake_sink_init), (gst_fake_sink_set_property),
4017 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4018 (gst_fake_sink_event), (gst_fake_sink_preroll),
4019 (gst_fake_sink_render), (gst_fake_sink_change_state):
4020 * gst/elements/gstfakesink.h:
4021 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4022 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4023 (gst_fake_src_base_init), (gst_fake_src_class_init),
4024 (gst_fake_src_init), (gst_fake_src_event_handler),
4025 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4026 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4027 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4028 (gst_fake_src_create_buffer), (gst_fake_src_create),
4029 (gst_fake_src_start), (gst_fake_src_stop):
4030 * gst/elements/gstfakesrc.h:
4031 * gst/elements/gstfilesink.c: (_do_init),
4032 (gst_file_sink_base_init), (gst_file_sink_class_init),
4033 (gst_file_sink_init), (gst_file_sink_dispose),
4034 (gst_file_sink_set_location), (gst_file_sink_set_property),
4035 (gst_file_sink_get_property), (gst_file_sink_open_file),
4036 (gst_file_sink_close_file), (gst_file_sink_query),
4037 (gst_file_sink_event), (gst_file_sink_render),
4038 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4039 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4040 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4041 * gst/elements/gstfilesink.h:
4042 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4043 (gst_file_src_class_init), (gst_file_src_init),
4044 (gst_file_src_finalize), (gst_file_src_set_location),
4045 (gst_file_src_set_property), (gst_file_src_get_property),
4046 (gst_file_src_map_region), (gst_file_src_map_small_region),
4047 (gst_file_src_create_mmap), (gst_file_src_create_read),
4048 (gst_file_src_create), (gst_file_src_is_seekable),
4049 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4050 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4051 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4052 (gst_file_src_uri_handler_init):
4053 * gst/elements/gstfilesrc.h:
4054 more autistic cleanliness in functions/names/defines
4056 2005-07-13 Andy Wingo <wingo@pobox.com>
4058 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4059 source couldn't negotiate.
4061 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4065 * gst/gstutils.c (gst_element_link_pads_filtered): New old
4066 function. I am channeling Hades. Put your boots on suckers!!!
4068 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4070 * testsuite/caps/Makefile.am:
4071 * testsuite/caps/value_compare.c:
4072 * testsuite/caps/value_intersect.c:
4073 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4074 move two testsuite apps over to the check dir
4076 2005-07-12 Wim Taymans <wim@fluendo.com>
4078 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4079 Added more debug info in the negotiate process.
4082 Prepare for segment playback.
4084 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4090 * tools/gst-launch.c: (main):
4091 NULL pipeline on errors.
4093 2005-07-12 Andy Wingo <wingo@pobox.com>
4095 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4096 not it comes from a malloc region. Make sure our copy gets freed.
4098 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4100 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4101 * check/gst/gstmessage.c: (GST_START_TEST):
4102 * check/gst/gststructure.c: (GST_START_TEST),
4103 (gst_structure_suite), (main):
4105 * gst/gstelement.c: (gst_element_message_full):
4106 clean up GError and debug string now that they get copied
4107 * gst/gstmessage.c: (gst_message_new_error),
4108 (gst_message_new_warning), (gst_message_parse_error),
4109 (gst_message_parse_warning):
4110 use GST_TYPE_G_ERROR for structure_new, and take copies of
4111 arguments, so that we don't mess up refcounting
4113 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4115 * check/Makefile.am:
4116 add per-test valgrind targets
4117 * check/gst-libs/gdp.c: (GST_START_TEST),
4118 (gst_data_protocol_suite), (main):
4121 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4123 * check/Makefile.am:
4124 instate more valgrindable tests
4125 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4126 (GST_START_TEST), (fakesrc_suite):
4127 * check/gst/gstpad.c: (GST_START_TEST):
4128 * check/gst/gststructure.c: (GST_START_TEST):
4130 * docs/gst/tmpl/gstminiobject.sgml:
4131 * gst/gstpad.c: (gst_pad_finalize):
4132 fix the static mutex leak
4134 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4136 * check/Makefile.am:
4137 add two more tests for valgrinding
4138 * check/gst/gstvalue.c: (GST_START_TEST):
4139 test refcount of deserialized buffer, found a leak
4140 * docs/gst/gstreamer-docs.sgml:
4141 * docs/gst/gstreamer-sections.txt:
4142 * docs/gst/gstreamer.types:
4143 * docs/gst/tmpl/gstminiobject.sgml:
4144 add miniobject to docs
4145 * gst/gstminiobject.c:
4147 * gst/gstvalue.c: (gst_value_deserialize_buffer),
4148 (gst_string_unwrap):
4149 fix a hard-to-find invalid write for one of the tests
4150 fix a leak for deserialized buffers
4152 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4154 * docs/pwg/advanced-events.xml:
4155 * docs/pwg/advanced-request.xml:
4156 * docs/pwg/advanced-scheduling.xml:
4157 * docs/pwg/appendix-porting.xml:
4158 * docs/pwg/building-boiler.xml:
4159 * docs/pwg/intro-preface.xml:
4160 * docs/pwg/other-ntoone.xml:
4161 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4162 of example code and explanation for pad activation, loop() and
4163 getrange() functions and a bit more. Remove old comments pointing
4165 * examples/pwg/Makefile.am:
4166 Add loop/getrange examples.
4168 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4171 check for valgrind binary + some fixes
4173 valgrind suppressions for the tests
4174 * check/Makefile.am:
4175 add a valgrind: target that valgrinds the unit tests
4176 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4177 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4178 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4179 * check/gst/gstghostpad.c:
4181 * check/gst/gstdata.c:
4183 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4184 (thread_unref), (gst_mini_object_suite), (main):
4186 * gst/gst.c: (gst_deinit):
4188 add a method to clean up.
4189 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4190 (gst_system_clock_obtain):
4191 allow for disposing the system clock.
4192 * tools/gst-launch.c: (main):
4195 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4197 * docs/gst/tmpl/gstbasesrc.sgml:
4198 * docs/gst/tmpl/gstfakesrc.sgml:
4199 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4200 (gst_base_src_init), (gst_base_src_set_property),
4201 (gst_base_src_get_property), (gst_base_src_get_range),
4202 (gst_base_src_start):
4203 * gst/base/gstbasesrc.h:
4204 add num-buffers property
4205 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4206 (gst_fakesrc_init), (gst_fakesrc_set_property),
4207 (gst_fakesrc_get_property), (gst_fakesrc_create),
4208 (gst_fakesrc_start):
4209 remove num-buffers property
4211 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4213 * docs/gst/gstreamer-sections.txt:
4214 * docs/gst/tmpl/gstbasesink.sgml:
4215 * docs/gst/tmpl/gstbasesrc.sgml:
4216 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4217 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4218 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4219 (gst_base_sink_set_property), (gst_base_sink_get_property),
4220 (gst_base_sink_handle_object), (gst_base_sink_event),
4221 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4222 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4223 (gst_base_sink_loop), (gst_base_sink_deactivate),
4224 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4225 (gst_base_sink_change_state):
4226 * gst/base/gstbasesink.h:
4227 * gst/base/gstbasesrc.h:
4228 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4229 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4230 (gst_filesink_init):
4231 more macro splitting
4233 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4235 * gst/gstelement.c: (gst_element_get_bus):
4237 * tools/gst-launch.c: (check_intr), (event_loop):
4240 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4242 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4245 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4247 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4248 (gst_base_src_finalize):
4249 add finalize method and clean up properly
4250 * gst/gstpipeline.c: (gst_pipeline_dispose):
4253 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4255 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4257 add more things to check
4258 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4262 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4264 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4265 (GST_START_TEST), (fakesrc_suite):
4266 * check/gst-libs/gdp.c: (GST_START_TEST):
4267 * check/gst/gst.c: (GST_START_TEST):
4268 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4269 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4270 * check/gst/gstbus.c: (GST_START_TEST):
4271 * check/gst/gstcaps.c: (GST_START_TEST):
4272 * check/gst/gstdata.c: (GST_START_TEST):
4273 * check/gst/gstelement.c: (GST_START_TEST):
4274 * check/gst/gstghostpad.c: (GST_START_TEST):
4275 * check/gst/gstiterator.c: (GST_START_TEST):
4276 * check/gst/gstmessage.c: (GST_START_TEST):
4277 * check/gst/gstobject.c: (GST_START_TEST):
4278 * check/gst/gstpad.c: (GST_START_TEST):
4279 * check/gst/gststructure.c: (GST_START_TEST):
4280 * check/gst/gstsystemclock.c: (GST_START_TEST),
4281 (gst_systemclock_suite):
4282 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4283 * check/gst/gstvalue.c: (GST_START_TEST):
4284 * check/pipelines/cleanup.c: (GST_START_TEST):
4285 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4286 * check/states/sinks.c: (GST_START_TEST):
4287 * check/gstcheck.c: (gst_check_init):
4289 add debugging category
4290 use GST_START_TEST now, so we add a debug line
4292 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4294 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4295 add test for state change message on a bin
4296 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4298 * gst/gstbin.c: (gst_bin_init):
4299 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4300 * gst/gstelement.c: (gst_element_post_message),
4301 (gst_element_set_state):
4302 * gst/gstelementfactory.c: (gst_element_factory_create):
4303 * gst/gstmessage.c: (gst_message_new):
4304 * gst/gstscheduler.c:
4305 various debugging additions and cleanups
4307 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4309 * check/Makefile.am:
4310 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4312 adding tests for elements
4313 * gst/gstelement.c: (gst_element_dispose):
4315 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4317 * gst/registries/gstlibxmlregistry.c: (load_feature):
4318 plug more leaks. A simple gst_init() now is leakfree, yay.
4320 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4322 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4323 (gst_xml_registry_load):
4324 plug another memleak
4326 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4329 use GST_SET_ERROR_CFLAGS
4331 change to ERROR_CFLAGS
4333 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4336 make GST_ERROR_CFLAGS overridable and re-enable Werror
4338 add a note about error CFLAGS
4339 * docs/gst/tmpl/gstfakesrc.sgml:
4340 * gst/elements/gstfakesrc.c:
4341 comment out some unused code
4342 * gst/gst.c: (split_and_iterate):
4343 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4347 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4349 * common/Makefile.am:
4350 * common/gtk-doc.mak:
4351 * docs/gst/Makefile.am:
4352 factor out gtk-doc.mak
4354 2005-07-07 Wim Taymans <wim@fluendo.com>
4356 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4357 (gst_thread_scheduler_dispose):
4358 Unlock the STREAM_LOCK completely.
4360 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4362 * check/Makefile.am:
4363 * check/elements/.cvsignore:
4364 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4365 (START_TEST), (fakesrc_suite), (main):
4366 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4367 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4368 (gst_fakesrc_create), (gst_fakesrc_start):
4369 * gst/elements/gstfakesrc.h:
4370 adding a first element test
4372 2005-07-07 Andy Wingo <wingo@pobox.com>
4374 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4377 2005-07-07 Wim Taymans <wim@fluendo.com>
4383 2005-07-07 Wim Taymans <wim@fluendo.com>
4385 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4386 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4387 Allow subclasses to implement their own negotiation.
4389 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4391 * docs/design/part-gstbin.txt:
4392 * docs/design/part-gstpipeline.txt:
4393 Update design notes to reflect the movement of
4394 responsibility for bus handling from GstPipeline to
4397 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4400 Remove unnecessary queue2/3/4 examples.
4402 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4404 * examples/Makefile.am:
4405 * examples/helloworld/helloworld.c: (event_loop), (main):
4406 * examples/queue/queue.c: (event_loop), (main):
4407 * examples/queue2/queue2.c: (main):
4408 Update a couple of the examples to work again.
4410 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4411 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4412 Spelling corrections and extra debug.
4414 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4415 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4416 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4418 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4419 (gst_pipeline_change_state):
4420 * gst/gstpipeline.h:
4421 Move the bus handler for children to the GstBin, and create a
4422 separate bus for receiving messages from children to the one the
4423 bus sends 'upwards' on.
4425 2005-07-06 Wim Taymans <wim@fluendo.com>
4428 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4429 (gst_base_sink_handle_object), (gst_base_sink_loop),
4430 (gst_base_sink_change_state):
4431 * gst/base/gstbasesink.h:
4432 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4433 (gst_base_src_init), (gst_base_src_setcaps),
4434 (gst_base_src_getcaps), (gst_base_src_loop),
4435 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4436 (gst_base_src_start), (gst_base_src_change_state):
4437 * gst/base/gstbasesrc.h:
4438 Make basesrc negotiate.
4439 Handle the case where preroll fails in basesink.
4442 2005-07-06 Wim Taymans <wim@fluendo.com>
4444 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4445 Implement the fixate function.
4446 Clean up acceptcaps.
4448 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4450 * docs/pwg/building-filterfactory.xml:
4452 Remove never-written filter-factory chapter; I'll add the various
4453 base classes to part 4 ("other element types") later on.
4455 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4457 * docs/pwg/advanced-negotiation.xml:
4458 * docs/pwg/building-boiler.xml:
4459 * docs/pwg/building-pads.xml:
4461 * examples/pwg/Makefile.am:
4462 Add a chapter on caps negotiation, simplify the original code
4463 samples a bit w.r.t. caps negotiation, add link to the advanced
4464 section. Add a bunch of examples showing different use cases of
4465 different types of caps negotiation. Upstream renegotiation isn't
4466 fully documented yet since nobody knows how that works.
4468 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4470 * check/gst/gstpad.c:
4472 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4473 if pad has no parent, return NULL as list of internal links
4475 2005-07-05 Andy Wingo <wingo@pobox.com>
4477 * gst/elements/gstfilesrc.c:
4478 * gst/elements/gstfakesrc.c:
4479 * gst/base/gstpushsrc.c:
4480 * gst/base/gstbasesrc.h:
4481 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4483 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4486 better report generation target (lcov needs a patch)
4488 2005-07-05 Andy Wingo <wingo@pobox.com>
4490 * gst/elements, testsuite: Null if we got it...
4492 2005-07-05 Wim Taymans <wim@fluendo.com>
4495 * libs/gst/dataprotocol/Makefile.am:
4496 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4497 * libs/gst/dataprotocol/dataprotocol.h:
4498 * pkgconfig/Makefile.am:
4499 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4500 * pkgconfig/gstreamer-dataprotocol.pc.in:
4501 Ported dataprotol to 0.9.
4502 Added pkgconfig files.
4504 2005-07-05 Andy Wingo <wingo@pobox.com>
4506 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4507 Default to returning TRUE for the case when tranform_caps returns
4508 a fixed caps, like for identity or volume.
4510 * check/gst/gstbus.c (pound_bus_with_messages):
4511 * check/gst/gstmessage.c (START_TEST):
4512 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4515 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4516 logic weaks here: always run transform_caps, trying passthrough
4517 operation only if the original caps intersects with the transform.
4519 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4520 source and sink caps.
4522 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4523 Intersect the peer caps with the pad template before going into
4525 (gst_base_transform_transform_caps): More debugging.
4527 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4530 2005-07-04 Edward Hervey <edward@fluendo.com>
4534 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4537 2005-07-04 Andy Wingo <wingo@pobox.com>
4539 * check/gst/gstpad.c: Only set explicit caps on pads.
4541 2005-07-01 Andy Wingo <wingo@pobox.com>
4543 * tests/network-clock.scm: Commentary update.
4545 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4546 Didn't really make sense, not implementable with basetransform,
4548 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4549 attempt at implementing the sync property, needs an unlock method.
4551 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4552 New func, by default returns the same caps (the identity
4554 (gst_base_transform_getcaps): Uses transform_caps to return
4556 (gst_base_transform_setcaps): Complicated logic to get caps on
4557 both pads, even if they are different, and to call set_caps once
4558 for every time both pads get their caps set.
4559 (gst_base_transform_handle_buffer): Give the ref to the transform
4560 function. Allows in-place modification of the buffer.
4562 * gst/base/gstbasetransform.h (transform_caps): New class method.
4563 Given caps on one side, what can I do on the other.
4564 (set_caps): Take two caps, one for each side of the element.
4567 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4568 caps in place. This is safe because we can check the mutability of
4569 the caps, and a good idea because fixate functions are just called
4570 as a matter of last resort. (Not actually implemented.)
4571 (gst_pad_set_caps): If the caps we're setting is actually the same
4572 as the existing pad caps, just update the pointer without calling
4573 setcaps. Assert that caps is either NULL or fixed, as per the
4576 * gst/gstghostpad.c: Update for fixate changes.
4578 2005-07-02 Andy Wingo <wingo@pobox.com>
4581 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4582 two refcounts makes it immutable, which is enough. Doc more.
4584 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4586 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4587 Put the mini_object into GValue as a mini_object,
4588 not a gpointer, since that's how we declared
4591 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4593 * examples/pwg/Makefile.am:
4596 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4598 * docs/pwg/building-testapp.xml:
4600 * examples/pwg/Makefile.am:
4603 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4606 * examples/Makefile.am:
4607 * examples/pwg/Makefile.am:
4608 * examples/pwg/extract.pl:
4609 Enable building the PWG examples.
4610 * docs/pwg/advanced-interfaces.xml:
4611 Add URI interface stub.
4612 * docs/pwg/advanced-types.xml:
4613 * docs/pwg/other-autoplugger.xml:
4614 * docs/pwg/appendix-porting.xml:
4616 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4617 * docs/pwg/building-boiler.xml:
4618 * docs/pwg/building-chainfn.xml:
4619 * docs/pwg/building-pads.xml:
4620 * docs/pwg/building-props.xml:
4621 * docs/pwg/building-state.xml:
4622 * docs/pwg/building-testapp.xml:
4623 Update the building-*.xml parts for 0.9 changes. All examples
4624 code blocks compile in examples/pwg/*.
4626 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4628 * docs/manual/advanced-autoplugging.xml:
4629 * docs/manual/appendix-checklist.xml:
4630 * docs/manual/appendix-integration.xml:
4631 * docs/manual/highlevel-components.xml:
4632 Fix playbin/decodebin examples, update docs a bit, mention bus
4633 instead of signals in various places, mention kmplayer and
4634 kaffeine since they have a working GStreamer backend in the KDE
4637 2005-06-30 Wim Taymans <wim@fluendo.com>
4640 * docs/design/draft-ghostpads.txt:
4641 * docs/design/draft-push-pull.txt:
4642 * docs/design/draft-query.txt:
4643 * docs/design/part-TODO.txt:
4644 * docs/design/part-query.txt:
4645 Added CHANGES-0.9 doc, updated status of other docs.
4650 2005-06-30 Wim Taymans <wim@fluendo.com>
4652 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4653 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4654 (gst_base_sink_change_state):
4655 * gst/base/gstbasesink.h:
4656 Some tweaks, only EOS and a buffer complete a preroll.
4658 2005-06-30 Andy Wingo <wingo@pobox.com>
4660 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4661 activate_push down to the internal pad as well.
4663 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4665 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4667 * gst/gsttaginterface.c:
4668 Some documentation fixes (#307394 and #307397).
4670 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4672 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4674 * gst/gstvalue.c: (gst_value_intersect_list):
4675 Fix memleak (#309125).
4677 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4679 * docs/manual/advanced-dataaccess.xml:
4680 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4681 * docs/manual/basics-pads.xml:
4682 Add reference for filtered caps to above chapter.
4684 2005-06-30 Wim Taymans <wim@fluendo.com>
4686 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4687 (gst_bin_change_state):
4689 Lame attempt at making the state change function a bit
4692 2005-06-30 Wim Taymans <wim@fluendo.com>
4694 * docs/design/part-clocks.txt:
4695 * docs/design/part-element-sink.txt:
4696 * docs/design/part-events.txt:
4697 * docs/design/part-preroll.txt:
4698 * docs/design/part-states.txt:
4699 Some more tweeks and additions to the docs.
4701 2005-06-30 Wim Taymans <wim@fluendo.com>
4703 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4704 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4705 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4706 (gst_pad_check_pull_range), (gst_pad_get_range),
4707 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4709 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4710 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4711 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4712 (gst_pad_remove_buffer_probe):
4713 Removed atomic operations, use existing LOCK.
4714 Move exception handling out of main code path.
4716 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4718 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4719 (silly_return_true_function), (gst_pad_class_init),
4720 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4721 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4722 (gst_pad_send_event):
4723 Fix accumulator, add default value by using _emitv() instead
4724 of _emit() for signal emission.
4726 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4728 * docs/manual/advanced-dataaccess.xml:
4729 * examples/manual/Makefile.am:
4731 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4734 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
4736 * gst/elements/gstfilesink.c: (gst_filesink_render):
4737 Simplify code so that we don't have to handle short
4738 writes and return GST_FLOW_ERROR if an error occured.
4740 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4742 * docs/gst/gstreamer-docs.sgml:
4745 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4747 * docs/gst/gstreamer-sections.txt:
4748 * docs/gst/tmpl/gstpad.sgml:
4749 * docs/gst/tmpl/gstprobe.sgml:
4751 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4752 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
4753 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4754 (gst_pad_push_event), (gst_pad_send_event):
4756 * gst/gstutils.c: (gst_pad_add_data_probe),
4757 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4758 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4759 (gst_pad_remove_buffer_probe):
4761 Remove old probes, add new g-signal-based probes and some utility
4764 2005-06-29 Edward Hervey <edward@fluendo.com>
4766 * gst/gstelementfactory.c:
4769 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
4770 the definition to the header file.
4772 2005-06-29 Andy Wingo <wingo@pobox.com>
4774 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
4775 plugins from the source directory.
4777 2005-06-29 Wim Taymans <wim@fluendo.com>
4779 * docs/gst/tmpl/gstbuffer.sgml:
4780 * docs/gst/tmpl/gstclock.sgml:
4781 Some fixings for blantently wrong text.
4783 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4785 * check/Makefile.am:
4786 * gst/gst.c: (add_path_func), (init_pre):
4787 * gst/gstregistry.c: (gst_registry_add_path):
4788 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
4789 only scan the GST_PLUGIN_PATH locations, and not add
4792 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4794 * docs/gst/gstreamer-sections.txt:
4795 * docs/gst/tmpl/gstbasesrc.sgml:
4802 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4804 * docs/manual/advanced-autoplugging.xml:
4805 Fix autoplugging example.
4807 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4809 * docs/manual/advanced-autoplugging.xml:
4810 * docs/manual/mime-world.fig:
4811 Try to get autoplugging working, fix type detection. Fix text
4812 in hello-world image.
4814 2005-06-29 Wim Taymans <wim@fluendo.com>
4816 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4817 (gst_base_sink_change_state):
4821 map SIGNAL and BROADCAST to the right function.
4824 Remove redundant braces.
4826 * gst/gstpad.c: (gst_pad_set_caps):
4827 Don't call setcaps function when reseting caps to NULL.
4829 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4830 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
4831 (gst_system_clock_id_unschedule):
4832 Use BROADCAST as this is what we do.
4834 2005-06-29 Wim Taymans <wim@fluendo.com>
4836 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4837 We are actually prerolling before commiting the state
4840 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4842 * docs/manual/advanced-clocks.xml:
4843 * docs/manual/advanced-interfaces.xml:
4844 * docs/manual/advanced-metadata.xml:
4845 * docs/manual/advanced-position.xml:
4846 * docs/manual/advanced-schedulers.xml:
4847 * docs/manual/advanced-threads.xml:
4848 * docs/manual/appendix-porting.xml:
4849 * docs/manual/basics-bins.xml:
4850 * docs/manual/basics-bus.xml:
4851 * docs/manual/basics-elements.xml:
4852 * docs/manual/basics-helloworld.xml:
4853 * docs/manual/basics-pads.xml:
4854 * docs/manual/highlevel-components.xml:
4855 * docs/manual/manual.xml:
4856 * docs/manual/thread.fig:
4857 Update (until threads/scheduling) Application Development Manual;
4858 remove GstThread, add GstBus, add simple porting checklist, add
4859 documentation for tag writing, clocks, make all examples until this
4860 part compile and run.
4861 * examples/manual/Makefile.am:
4862 Update from changes to Application Development Manual; add bus
4863 example, remove thread example.
4865 2005-06-28 Wim Taymans <wim@fluendo.com>
4867 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
4868 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
4869 (gst_bus_source_dispatch):
4870 Add debugging messages.
4871 Make internal methods static.
4872 Handle the case where the bus is flushed in the handler.
4874 * gst/gstelement.c: (gst_element_get_bus):
4875 Fix refcount in _get_bus();
4877 * gst/gstpipeline.c: (gst_pipeline_change_state),
4878 (gst_pipeline_get_clock_func):
4879 Clock refcounting fixes.
4880 Handle the case where preroll timed out more gracefully.
4882 * gst/gstsystemclock.c: (gst_system_clock_dispose):
4883 Clean up the internal thread in dispose. This is needed
4884 for subclasses that actually get disposed.
4886 * gst/schedulers/threadscheduler.c:
4887 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
4888 (gst_thread_scheduler_dispose):
4889 Free thread pool in dispose.
4891 2005-06-28 Andy Wingo <wingo@pobox.com>
4893 * tests/network-clock-utils.scm (debug, print-event): New utils.
4895 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
4896 (*packet-loss*): Unified loss probability.
4897 (network-time): Report out-of-band events.
4899 * tests/plot-data: Add support for out-of-band events. Hack it
4900 into this script instead of passing it down the pipe; should fix
4903 2005-06-28 Wim Taymans <wim@fluendo.com>
4905 * docs/gst/gstreamer.types:
4906 * docs/gst/tmpl/gstbasesrc.sgml:
4907 * docs/gst/tmpl/gstpad.sgml:
4910 2005-06-28 Wim Taymans <wim@fluendo.com>
4912 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4913 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
4914 (gst_proxy_pad_do_fixatecaps):
4915 Correctly proxy the check_pull_range function.
4917 2005-06-28 Andy Wingo <wingo@pobox.com>
4919 * tests/network-clock.scm: Removed need for slib.
4921 2005-06-28 Wim Taymans <wim@fluendo.com>
4923 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
4924 (gst_basesink_preroll_queue_flush):
4925 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
4926 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
4927 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4928 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4929 (gst_proxy_pad_set_property):
4932 * gst/gstqueue.c: (gst_queue_init):
4933 The deprecated pad loop function is removed now.
4935 2005-06-28 Andy Wingo <wingo@pobox.com>
4937 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
4938 New parameters, simulate network packet loss.
4940 * tests/network-clock-utils.scm: Initialize the RNG.
4942 2005-06-28 Wim Taymans <wim@fluendo.com>
4944 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
4945 (gst_basesink_event), (gst_basesink_deactivate):
4946 Flushing the preroll queue always needs to unlock the waiters.
4948 2005-06-28 Edward Hervey <edward@fluendo.com>
4950 * gst/gstpipeline.c: (gst_pipeline_send_event):
4951 Wheen a seek was successful on a pipeline, set the stream_time to the
4952 seek offset in order to have a synchronized stream_time.
4954 2005-06-28 Wim Taymans <wim@fluendo.com>
4956 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4957 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4958 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
4959 (gst_proxy_pad_do_fixatecaps):
4960 Call wrapper function instead of just calling the function
4961 pointers. This takes care of any locking and whatmore.
4963 2005-06-28 Wim Taymans <wim@fluendo.com>
4965 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
4966 (gst_pad_pull_range):
4968 CONNECTED -> LINKED.
4970 2005-06-28 Andy Wingo <wingo@pobox.com>
4972 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
4973 source-munging commit!!!
4975 * gst/gstobject.c (gst_object_unref, gst_object_ref)
4976 (gst_object_sink): Take gpointer arguments, not GstObject --
4977 avoids casts. Like GLib.
4979 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
4982 2005-06-27 Andy Wingo <wingo@pobox.com>
4984 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
4987 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
4988 returns a sorted copy of the trace list.
4989 (gst_alloc_trace_print_live): New API, only prints traces with
4990 live objects. Sort the list.
4991 (gst_alloc_trace_print_all): Sort the list.
4992 (gst_alloc_trace_print): Align columns.
4994 * gst/elements/gstttypefindelement.c:
4995 * gst/elements/gsttee.c:
4996 * gst/base/gstbasesrc.c:
4997 * gst/base/gstbasesink.c:
4998 * gst/base/gstbasetransform.c:
4999 * gst/gstqueue.c: Adapt for pad activation changes.
5001 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5003 (gst_pipeline_dispose): Drop ref on sched.
5005 * gst/gstpad.c (gst_pad_init): Set the default activate func.
5006 (gst_pad_activate_default): Push mode by default.
5007 (pre_activate_switch, post_activate_switch): New stubs, things to
5008 do before and after switching activation modes on pads.
5009 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5010 the pad's activate function to choose which mode to activate.
5011 Shortcut on deactivation and call the right function directly.
5012 (gst_pad_activate_pull): New API, (de)activates a pad in pull
5014 (gst_pad_activate_push): New API, same for push mode.
5015 (gst_pad_set_activate_function)
5016 (gst_pad_set_activatepull_function)
5017 (gst_pad_set_activatepush_function): Setters for new API.
5019 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5020 Trace all miniobjects.
5021 (gst_mini_object_make_writable): Unref the arg if we copy, like
5022 gst_caps_make_writable.
5024 * gst/gstmessage.c (_gst_message_initialize): No trace init.
5026 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
5027 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5028 Adapt for new pad API.
5030 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5033 * gst/gstelement.c (gst_element_iterate_src_pads)
5034 (gst_element_iterate_sink_pads): New API functions.
5036 * gst/gstelement.c (iterator_fold_with_resync): New utility,
5037 should fold into gstiterator.c in some form.
5038 (gst_element_pads_activate): Simplified via use of fold and
5039 delegation of decisions to gstpad->activate.
5041 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5044 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5045 class once in init, like gstmessage. Didn't run into this issue
5046 but it seems correct. Don't initialize a trace, gstminiobject does
5049 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5050 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5052 (assert_live_count): New util function, uses alloc traces to check
5055 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5056 To be modified when unlink drops the internal pad.
5058 2005-06-27 Wim Taymans <wim@fluendo.com>
5060 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5061 (gst_bin_change_state):
5062 Cleanup the get_state() function a little, make sure it
5063 iterates the same set of elements.
5064 Added stub iterate_state_order().
5066 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
5068 * docs/gst/gstreamer-docs.sgml:
5069 * docs/gst/gstreamer-sections.txt:
5070 * docs/gst/gstreamer.types:
5071 * docs/gst/tmpl/gstbasesink.sgml:
5072 * docs/gst/tmpl/gstbasesrc.sgml:
5073 * docs/gst/tmpl/gstbasetransform.sgml:
5074 * docs/gst/tmpl/gstelement.sgml:
5075 * docs/gst/tmpl/gstiterator.sgml:
5076 * gst/base/gstbasesrc.c:
5077 * gst/base/gstbasesrc.h:
5078 * gst/base/gstbasetransform.h:
5080 * gst/gstiterator.h:
5081 adding basetransform and iterator docs
5083 2005-06-27 Andy Wingo <wingo@pobox.com>
5085 * docs/design/part-activation.txt: Notes on how activation should
5086 work -- not quite implemented yet.
5088 2005-06-25 Wim Taymans <wim@fluendo.com>
5090 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5091 At least get the chain function correct, needs more
5094 2005-06-25 Wim Taymans <wim@fluendo.com>
5096 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5097 (gst_basesink_handle_object), (gst_basesink_event),
5098 (gst_basesink_do_sync), (gst_basesink_handle_event),
5099 (gst_basesink_change_state):
5101 Right, two problems here: ghostpads don't take locks and
5102 glib _rec_mutex_lock_full() with depth==0 still locks.
5103 Catch illegal locking and g_warn them.
5105 2005-06-25 Wim Taymans <wim@fluendo.com>
5107 * check/states/sinks.c: (START_TEST), (gst_object_suite):
5108 Have to check for completion now...
5110 2005-06-25 Wim Taymans <wim@fluendo.com>
5112 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5113 (gst_basesink_handle_object), (gst_basesink_event),
5114 (gst_basesink_do_sync), (gst_basesink_handle_event),
5115 (gst_basesink_change_state):
5117 Unlock STREAM_LOCK whatever the recursion was.
5119 2005-06-25 Wim Taymans <wim@fluendo.com>
5121 * gst/base/gstbasesink.c: (gst_basesink_set_property),
5122 (gst_basesink_preroll_queue_empty),
5123 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5124 (gst_basesink_event), (gst_basesink_do_sync),
5125 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5126 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5127 (gst_basesink_change_state):
5128 Reworked the base sink, handle event and buffer serialisation
5129 correctly and removed possible deadlock.
5130 Handle EOS correctly.
5132 2005-06-25 Wim Taymans <wim@fluendo.com>
5134 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5135 (gst_pipeline_change_state):
5136 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5137 Allow elements to post EOS in the state change function.
5138 Fix up -launch, make it exit the poll loop when the
5139 pipeline actually changed state.
5140 Fix up warning parsing in -launch.
5142 2005-06-25 Wim Taymans <wim@fluendo.com>
5144 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5145 (gst_tee_sink_activate):
5146 Core takes STREAM_LOCK for us now.
5148 2005-06-25 Wim Taymans <wim@fluendo.com>
5150 * gst/gstelement.c: (gst_element_get_state_func),
5151 (gst_element_set_state):
5153 * gst/gstmessage.c: (gst_message_parse_error),
5154 (gst_message_parse_warning):
5155 Keep track of current target state while performing a state
5156 change so that subclasses can do something interesting.
5157 Fix parsing of warning/error messages when GError is NULL.
5159 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5161 * docs/gst/Makefile.am:
5162 * docs/gst/gstreamer-docs.sgml:
5163 * docs/gst/gstreamer-sections.txt:
5164 * docs/gst/gstreamer.types:
5165 * docs/gst/tmpl/gstbasesink.sgml:
5166 * docs/gst/tmpl/gstbasesrc.sgml:
5167 * docs/gst/tmpl/gstbin.sgml:
5168 * docs/gst/tmpl/gstcompat.sgml:
5169 * docs/gst/tmpl/gstfakesink.sgml:
5170 * docs/gst/tmpl/gstfakesrc.sgml:
5171 * docs/gst/tmpl/gstfilesink.sgml:
5172 * docs/gst/tmpl/gstfilesrc.sgml:
5173 * docs/gst/tmpl/gstindex.sgml:
5174 * docs/manual/appendix-quotes.xml:
5175 * gst/base/gstbasesrc.h:
5176 * gst/elements/gstfakesrc.h:
5178 start pulling in base classes and elements in our docs
5180 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5182 * docs/gst/Makefile.am:
5183 * docs/libs/Makefile.am:
5184 fixed make distcheck with gtk-doc 1.3
5186 2005-06-23 Wim Taymans <wim@fluendo.com>
5188 * gst/gstelement.c: (gst_element_get_state_func),
5189 (gst_element_set_state), (gst_element_change_state):
5190 When the state did not change, also report NO_PREROLL
5193 2005-06-23 Wim Taymans <wim@fluendo.com>
5195 * gst/gstpad.c: (gst_pad_event_default):
5196 * gst/gstqueue.c: (gst_queue_loop):
5197 No unsafe task pausing please.
5199 2005-06-23 Wim Taymans <wim@fluendo.com>
5201 * gst/schedulers/threadscheduler.c:
5202 (gst_thread_scheduler_task_start),
5203 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5204 Ref the task before pushing it on the threadpool. This
5205 makes sure that we have a ref when the threadfunction is
5208 2005-06-23 Andy Wingo <wingo@pobox.com>
5210 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5211 offset is greater than the file's size.
5213 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5214 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5215 * gst/gstobject.c (gst_object_class_init): Make the class lock
5216 recursive. Wim won't let me drop deep_notify. Decodebin works
5219 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5220 internal pad, and hacks accordingly. Doesn't do it on the target
5221 pad because we change its caps. Probably catches all cases of
5223 (gst_ghost_pad_set_property): Connect to notify::caps as
5226 * tests/network-clock.scm (plot-simulation): Pipe data to the
5227 elite python skript.
5229 * tests/network-clock-utils.scm (define-parameter): New macro,
5230 defines a parameter that can be set via the command line.
5231 (set-parameter!, parse-parameter-arguments): Command line args
5234 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5237 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5239 * gst/elements/gsttypefindelement.c:
5240 (gst_type_find_element_handle_event):
5241 Don't restart typefinding on a discont.
5242 * gst/gstelement.c: (gst_element_set_state):
5244 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5245 Allow changing mode of an active pad.
5247 * gst/registries/gstlibxmlregistry.c: (load_feature):
5248 Don't cast a static pad template to a normal pad template.
5250 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5252 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5253 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5254 remove gst_strtoll completely, since it didn't actually do
5255 anything more than what g_ascii_strtoull already does.
5256 check for range errors when deserializing
5257 do a cast for the unsigned cases; but further fixing needs
5258 a decision on what the interpretation of "(int)" and
5259 deserialization should be for values that fall outside the
5260 type's boundaries (ie, refuse, or interpret as casting)
5262 2005-06-23 Wim Taymans <wim@fluendo.com>
5264 * check/Makefile.am:
5265 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5266 * docs/design/part-live-source.txt:
5267 * docs/design/part-states.txt:
5268 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5269 (gst_basesrc_set_live), (gst_basesrc_is_live),
5270 (gst_basesrc_get_range), (gst_basesrc_activate),
5271 (gst_basesrc_change_state):
5272 * gst/base/gstbasesrc.h:
5273 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5274 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5275 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5276 * gst/gstelement.c: (gst_element_get_state_func),
5277 (gst_element_set_state):
5280 * tools/gst-launch.c: (event_loop), (main):
5281 Added support for live sources and other elements that
5283 Updated design docs, added live-source design doc.
5284 Implemented live source functionality in basesrc
5285 Fix error condition in _bin_get_state()
5286 Implement live source handling in -launch.
5287 Added check for live sources.
5288 Fixed case in GstBin where elements were changed state
5292 2005-06-23 Andy Wingo <wingo@pobox.com>
5294 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5297 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5298 gst_caps_replace takes care of this for us.
5300 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5301 gst_pad_set_caps on the target, not just its setcaps() function.
5303 * tests/network-clock.scm:
5304 * tests/network-clock-utils.scm: A network clock simulator.
5305 Something of an algorithmic testbed before doing something in C.
5307 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5309 * check/Makefile.am:
5310 * check/gst/capslist.h:
5311 copy over from 0.8, and add two with bitmasks specified with
5313 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5314 add test to parse everything from capslist.h
5315 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5317 add test for structure deserialization
5318 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5319 add tests for deserialization of strings to int types
5320 * gst/gststructure.c: (gst_structure_nth_field_name):
5321 * gst/gststructure.h:
5322 add a way to get the name of a field referenced by index
5323 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5324 instead of checking if the resulting long long lies between
5325 min and max, we check if the long long would fit into
5326 a number of bytes for the final type.
5327 This fixes cases where a string represents 2^32 - 1, which
5328 when cast to int would be the (valid) -1, but is bigger than
5331 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5333 * gst/parse/grammar.y:
5334 add a log line for type deserialization
5336 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5338 * check/gst/gstvalue.c: (START_TEST):
5339 * gst/gstvalue.c: (gst_value_deserialize):
5340 return long long, not int, so gint64 deserialization actually
5341 works. Is there any flag that makes the compiler check this ?
5344 2005-06-22 Wim Taymans <wim@fluendo.com>
5347 Added convenience macros for setting buffers in GValue.
5349 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5351 * check/gst/.cvsignore:
5352 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5353 add a test deserializing int64, and comment part out because
5356 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5358 * check/Makefile.am:
5359 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5360 * testsuite/Makefile.am:
5361 * testsuite/caps/Makefile.am:
5362 * testsuite/caps/value_serialize.c:
5363 * testsuite/test_gst_init.c:
5364 move a value_serialize test over
5366 2005-06-20 Wim Taymans <wim@fluendo.com>
5371 * gst/gstvalue.c: (gst_value_compare_buffer),
5372 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5373 (gst_value_compare_flags), (gst_value_serialize_flags),
5374 (gst_value_deserialize_flags), (_gst_value_initialize):
5375 Fix serialisation of buffers, they are not boxed types anymore
5377 2005-06-20 Wim Taymans <wim@fluendo.com>
5379 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5380 Testcase to show error in buffer-on-caps serialisation.
5382 2005-06-20 Andy Wingo <wingo@pobox.com>
5384 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5385 will be adding to later.
5387 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5388 if its socks fill with rocks.
5389 (gst_system_clock_obtain): Set the name on object construction.
5390 Avoid double-checked locking.
5392 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
5394 * gst/gsturi.c: (gst_element_make_from_uri):
5395 Fix potential endless loop.
5397 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5399 * check/Makefile.am:
5401 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5403 move over from testsuite dir and clean up
5406 * testsuite/Makefile.am:
5407 * testsuite/tags/.cvsignore:
5408 * testsuite/tags/Makefile.am:
5409 * testsuite/tags/merge.c:
5410 remove testsuite/tags
5412 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5414 * docs/gst/gstreamer-sections.txt:
5415 * docs/gst/tmpl/gstenumtypes.sgml:
5416 * win32/gstenumtypes.c:
5417 clean up documentation build a little
5419 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5422 add macros for checking refcounts on objects and caps
5423 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5424 add some more unit tests
5425 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5426 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5427 fix leaked refcounts (I hope :)) so unittest works
5431 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5433 * configure.ac: back to HEAD
5435 === release 0.9.1 ===
5437 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5443 2005-06-17 Andy Wingo <wingo@pobox.com>
5445 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5446 assert; it's always possible that the pad gets deactivated in
5447 between the checks in gstpad.c and the implementation. Rely on
5448 finish_preroll() to return a FLUSHING or similar instead of on the
5451 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5452 clock and post an EOS message if we come out of finish_preroll in
5455 2005-06-16 David Schleef <ds@schleef.org>
5457 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5458 (gst_capsfilter_set_property): Allow NULL as possible value
5459 for filter_caps property, indicating GST_CAPS_ANY.
5461 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5463 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5465 * gst/schedulers/Makefile.am:
5467 * gstreamer.spec.in:
5470 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5472 * gstreamer.spec.in:
5475 2005-06-08 Andy Wingo <wingo@pobox.com>
5477 * gst/gstutils.c: RPAD fixes all around.
5478 (gst_element_link_pads): Refcounting fixes.
5480 * tools/gst-inspect.c:
5481 * tools/gst-xmlinspect.c:
5483 * gst/base/gsttypefindhelper.c:
5484 * gst/base/gstbasesink.c:
5485 * gst/gstqueue.c: RPAD fixes.
5487 * gst/gstghostpad.h:
5488 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5489 pads. The tricky thing is they provide both source and sink
5490 interfaces, since they proxy the internal pad for the external
5491 pad, and vice versa. Implement with lower-level ProxyPad objects,
5492 with the interior proxy pad as a child of the exterior ghost pad.
5493 Should write a doc on this.
5495 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5496 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5499 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5500 pads are real pads. No ghost pads in this file. Not documenting
5501 the myriad s/RPAD/PAD/ and REALIZE fixes.
5502 (gst_pad_class_init): Add properties for "direction" and
5503 "template". Both are construct-only, so they can't change during
5504 the life of the pad. Fixes properly deriving from GstPad.
5505 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5506 derived objects, just set properties when creating the objects via
5508 (gst_pad_get_parent): Implement as a function, return NULL if the
5509 parent is not an element.
5510 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5511 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5513 * gst/gstobject.c (gst_object_class_init): Make name a construct
5514 property. Don't set it in the object init.
5516 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5517 with UNKNOWN direction.
5518 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5519 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5520 (gst_element_remove_pad): Remove ghost-pad special cases.
5521 (gst_element_pads_activate): Remove rpad cruft.
5523 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5524 catch the pad's-parent-not-an-element case.
5526 * gst/gst.h: Include gstghostpad.h.
5528 * gst/gst.c (init_post): No more real, ghost pads.
5530 * gst/Makefile.am: Add gstghostpad.[ch].
5532 * check/Makefile.am:
5533 * check/gst/gstbin.c:
5534 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5535 into a bin creates ghost pads, and that the refcounts are right.
5536 Partly moved from gstbin.c.
5538 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5540 * check/gst-libs/.cvsignore:
5541 * check/gst/.cvsignore:
5542 * check/pipelines/.cvsignore:
5544 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5545 (START_TEST), (cleanup_suite), (main):
5546 add some tests related to cleanup after running pipelines
5548 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5550 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5551 add a testsuite for GstBuffer
5553 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5555 * gst/gstminiobject.h:
5556 add defines for accessing the refcount
5558 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5560 * Makefile.am: added support for html unit test coverage reports
5562 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5564 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5565 Free existing caps if the capsfilter changes. Add a FIXME about
5566 setting those caps on the pads.
5568 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5569 Before adding a ghost pad to a parent bin, check that there isn't
5570 already one for the element on the bin. Prevents infinite recursion
5571 when using decodebin in parse pipelines. Andy says he'll rewrite the
5572 way this works anyway, so ignore the hack.
5574 2005-06-02 Andy Wingo <wingo@pobox.com>
5576 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5577 file size, pass it on to the type find helper.
5579 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5580 segment_start and segment_end properly according to the seek
5581 method. Segment_end is still a bit flaky because offset can be
5582 negative for CUR and END cases, but it takes -1 as an "unset"
5585 2005-06-02 Wim Taymans <wim@fluendo.com>
5587 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5588 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5589 (gst_basesink_activate):
5590 * gst/base/gstbasesink.h:
5591 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5592 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5593 (gst_pad_query), (gst_pad_start_task):
5595 * gst/gstqueue.c: (gst_queue_bufferalloc),
5596 (gst_queue_handle_sink_event), (gst_queue_chain):
5597 Bufferalloc: return GstFlowReturn to more accuratly report
5598 why allocation failed.
5600 2005-06-02 Wim Taymans <wim@fluendo.com>
5602 * gst/gstpipeline.c: (gst_pipeline_send_event):
5603 Take snapshot of state without blocking.
5605 2005-06-02 Wim Taymans <wim@fluendo.com>
5607 * docs/design/part-TODO.txt:
5608 * docs/design/part-caps.txt:
5609 * docs/design/part-clocks.txt:
5610 * docs/design/part-negotiation.txt:
5611 * docs/design/part-preroll.txt:
5614 2005-05-30 Wim Taymans <wim@fluendo.com>
5616 * gst/elements/gstidentity.c: (gst_identity_event),
5617 (gst_identity_transform), (gst_identity_get_property):
5618 Protect last_message property as it is accessed from
5621 2005-05-30 Wim Taymans <wim@fluendo.com>
5623 * gst/gstelement.c: (gst_element_init),
5624 (gst_element_pads_activate), (gst_element_change_state):
5625 Slicker pad activation code.
5627 2005-05-30 Wim Taymans <wim@fluendo.com>
5631 * gst/gstelementfactory.h:
5633 Move elementfactory methods to separate .h file.
5635 2005-05-30 Wim Taymans <wim@fluendo.com>
5637 * docs/design/part-overview.txt:
5638 * gst/gstsystemclock.h:
5639 Small typo fixes, doc updates.
5641 2005-05-30 Wim Taymans <wim@fluendo.com>
5643 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5644 (init_popt_callback):
5645 Remove cpu-opt flag.
5647 2005-05-30 Wim Taymans <wim@fluendo.com>
5649 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5650 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5652 Avoid typechecking in places where not needed.
5653 Added accessor for malloc_data.
5655 2005-05-30 Wim Taymans <wim@fluendo.com>
5657 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5658 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5659 (gst_pad_configure_sink), (gst_pad_configure_src),
5660 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5661 (gst_pad_start_task):
5662 Propagate errors from _set_caps() in configure_src/sink
5663 functions instead of returning TRUE.
5664 FLUSH events can travel up and downstream
5667 2005-05-30 Wim Taymans <wim@fluendo.com>
5669 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5670 (gst_basesink_activate):
5671 Handle EOS in preroll.
5673 2005-05-30 Wim Taymans <wim@fluendo.com>
5675 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5676 (gst_queue_loop), (gst_queue_handle_src_event):
5677 Remove old pieces of code
5678 Flushing the queue in an upstream event is a very bad idea.
5680 2005-05-26 Andy Wingo <wingo@pobox.com>
5682 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5683 gst_value_set_mini_object so as to add a ref on the object (which
5684 will be removed when the value is unset).
5686 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5687 arg type in ::handoff.
5689 * gst/gstelement.c (gst_element_change_state): Also deactivate
5690 pads in READY->NULL, just in case the element didn't make it to
5691 PAUSED. Wingo tested, Wim approved.
5693 2005-05-26 Wim Taymans <wim@fluendo.com>
5695 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5696 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5697 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5698 A flushing pad cannot be used to alloc_buffer from.
5700 2005-05-26 Wim Taymans <wim@fluendo.com>
5702 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5703 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5704 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5705 (gst_bus_create_watch), (gst_bus_add_watch_full):
5707 Implement a real GSource and use g_main_context_wakeup() to
5708 signal new messages instead of the socketpair.
5710 2005-05-25 Wim Taymans <wim@fluendo.com>
5712 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5713 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5714 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5715 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5716 (gst_pad_send_event), (gst_pad_start_task):
5717 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5718 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5719 (gst_queue_sink_activate), (gst_queue_src_activate),
5720 (gst_queue_change_state):
5722 Fix state changes for non sinks. We now change sinks, then elements
5723 with unconnected srcpads, then the rest.
5724 More efficient queue unlocking in flush and state changes.
5725 Set the pad activate mode even if it does not have an activate
5728 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5730 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5731 Don't go in pull mode for non-seekable sources.
5732 * gst/elements/gsttypefindelement.h:
5733 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5734 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5735 (free_entry), (stop_typefinding),
5736 (gst_type_find_element_handle_event), (find_peek),
5737 (gst_type_find_element_chain), (do_pull_typefind),
5738 (gst_type_find_element_change_state):
5739 Allow typefinding (w/o seeking) in push-mode, simplified version
5741 * gst/gstutils.c: (gst_buffer_join):
5743 gst_buffer_join() from 0.8.
5745 2005-05-25 Wim Taymans <wim@fluendo.com>
5747 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5748 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5749 (gst_pad_send_event), (gst_pad_start_task):
5750 Disable attempt at mode switching until it is figured out.
5752 2005-05-25 Wim Taymans <wim@fluendo.com>
5754 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
5755 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5756 (gst_basesink_finish_preroll), (gst_basesink_chain),
5757 (gst_basesink_loop), (gst_basesink_activate),
5758 (gst_basesink_change_state):
5759 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
5760 (gst_basesrc_get_range), (gst_basesrc_loop),
5761 (gst_basesrc_activate):
5762 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5763 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5764 (gst_real_pad_init), (gst_real_pad_set_property),
5765 (gst_real_pad_get_property), (gst_pad_set_active),
5766 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
5767 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
5768 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
5769 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
5770 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5771 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
5772 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
5773 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5774 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
5775 (gst_pad_stop_task):
5777 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5778 (gst_queue_loop), (gst_queue_src_activate):
5779 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
5780 (gst_task_get_state):
5782 * gst/schedulers/threadscheduler.c:
5783 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
5784 Implement gst_pad_pause/start/stop_task(), take STREAM lock
5786 Remove ACTIVE pad flag, use FLUSHING everywhere
5787 Added _pad_chain(), _pad_get_range() to call chain/getrange
5789 Add locks around IS_FLUSHING when reading.
5790 Take STREAM lock in chain(), get_range() functions so plugins
5791 don't need to take it anymore.
5795 2005-05-25 Wim Taymans <wim@fluendo.com>
5797 * tools/gst-launch.c: (event_loop):
5798 Unref message after using its contents instead of
5801 2005-05-24 Wim Taymans <wim@fluendo.com>
5803 * docs/design/draft-ghostpads.txt:
5804 * docs/design/draft-push-pull.txt:
5805 * docs/design/draft-query.txt:
5806 * docs/design/part-overview.txt:
5807 Docs updates, added general overview doc.
5809 2005-05-21 David Schleef <ds@schleef.org>
5811 * docs/gst/tmpl/old/GstBin.sgml:
5812 * docs/gst/tmpl/old/GstBuffer.sgml:
5813 * docs/gst/tmpl/old/GstCaps.sgml:
5814 * docs/gst/tmpl/old/GstClock.sgml:
5815 * docs/gst/tmpl/old/GstCompat.sgml:
5816 * docs/gst/tmpl/old/GstData.sgml:
5817 * docs/gst/tmpl/old/GstElement.sgml:
5818 * docs/gst/tmpl/old/GstEvent.sgml:
5819 * docs/gst/tmpl/old/GstIndex.sgml:
5820 * docs/gst/tmpl/old/GstStructure.sgml:
5821 * docs/gst/tmpl/old/GstTag.sgml:
5822 * docs/gst/tmpl/old/cothreads.sgml:
5823 * docs/gst/tmpl/old/cothreads_compat.sgml:
5824 * docs/gst/tmpl/old/gettext.sgml:
5825 * docs/gst/tmpl/old/gobject2gtk.sgml:
5826 * docs/gst/tmpl/old/grammar.tab.sgml:
5827 * docs/gst/tmpl/old/gst-i18n-app.sgml:
5828 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
5829 * docs/gst/tmpl/old/gst_private.sgml:
5830 * docs/gst/tmpl/old/gstaggregator.sgml:
5831 * docs/gst/tmpl/old/gstarch.sgml:
5832 * docs/gst/tmpl/old/gstatomic_impl.sgml:
5833 * docs/gst/tmpl/old/gstbufferstore.sgml:
5834 * docs/gst/tmpl/old/gstdata_private.sgml:
5835 * docs/gst/tmpl/old/gstdisksink.sgml:
5836 * docs/gst/tmpl/old/gstdisksrc.sgml:
5837 * docs/gst/tmpl/old/gstelementfactory.sgml:
5838 * docs/gst/tmpl/old/gstextratypes.sgml:
5839 * docs/gst/tmpl/old/gstfakesink.sgml:
5840 * docs/gst/tmpl/old/gstfakesrc.sgml:
5841 * docs/gst/tmpl/old/gstfdsink.sgml:
5842 * docs/gst/tmpl/old/gstfdsrc.sgml:
5843 * docs/gst/tmpl/old/gstfilesink.sgml:
5844 * docs/gst/tmpl/old/gstfilesrc.sgml:
5845 * docs/gst/tmpl/old/gsthttpsrc.sgml:
5846 * docs/gst/tmpl/old/gstidentity.sgml:
5847 * docs/gst/tmpl/old/gstindexfactory.sgml:
5848 * docs/gst/tmpl/old/gstmarshal.sgml:
5849 * docs/gst/tmpl/old/gstmd5sink.sgml:
5850 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
5851 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
5852 * docs/gst/tmpl/old/gstpadtemplate.sgml:
5853 * docs/gst/tmpl/old/gstpipefilter.sgml:
5854 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
5855 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
5856 * docs/gst/tmpl/old/gstshaper.sgml:
5857 * docs/gst/tmpl/old/gstspider.sgml:
5858 * docs/gst/tmpl/old/gstspideridentity.sgml:
5859 * docs/gst/tmpl/old/gststatistics.sgml:
5860 * docs/gst/tmpl/old/gsttee.sgml:
5861 * docs/gst/tmpl/old/gsttimecache.sgml:
5862 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
5863 * docs/gst/tmpl/old/gstxmlregistry.sgml:
5864 * docs/gst/tmpl/old/gthread-cothreads.sgml:
5865 * docs/gst/tmpl/old/types.sgml:
5866 I didn't intend to add these or check them in.
5868 2005-05-19 David Schleef <ds@schleef.org>
5870 * configure.ac: Use -no-common everywhere. In a sane world, it
5871 would be the default in libtool, because without it, you can't
5872 build DLLs on Windows.
5873 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
5874 * docs/gst/gstreamer-sections.txt:
5875 * docs/gst/tmpl/gstcpu.sgml:
5876 * docs/gst/tmpl/gstdata.sgml:
5877 * docs/gst/tmpl/gstthread.sgml:
5879 2005-05-19 David Schleef <ds@schleef.org>
5881 * gst/gstminiobject.c: (gst_value_set_mini_object),
5882 (gst_value_take_mini_object), (gst_value_get_mini_object):
5883 * gst/gstminiobject.h: Add GValue set/get functions.
5885 2005-05-19 Wim Taymans <wim@fluendo.com>
5887 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
5888 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
5889 (gst_subbuffer_init), (gst_buffer_is_span_fast):
5891 * gst/gstbus.c: (gst_bus_post):
5892 * gst/gstelement.c: (gst_element_get_random_pad):
5893 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
5894 Make subbufer unref the parent in finalize.
5895 some more debugging info.
5898 2005-05-19 Wim Taymans <wim@fluendo.com>
5900 * gst/base/gstbasesink.c: (gst_basesink_class_init),
5901 (gst_basesink_init), (gst_basesink_finalize),
5902 (gst_basesink_activate), (gst_basesink_change_state):
5903 Don't free preroll queue too early.
5905 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5909 Hi, I'm outdated. Please shoot me.
5911 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5913 * gst/gstpipeline.c: (gst_pipeline_send_event):
5914 Do not access variables after they have been deleted.
5916 2005-05-19 Wim Taymans <wim@fluendo.com>
5918 * tools/gst-inspect.c: (print_plugin_features):
5919 A plugin feature does unfortunatly not use the
5922 2005-05-18 Wim Taymans <wim@fluendo.com>
5924 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
5925 Port _span() functions to new subbuffers.
5927 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5929 * gst/gstbin.c: (gst_bin_add_func):
5930 Fix clock settery in bins when adding kids after the clock has
5933 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5935 * gst/elements/gstidentity.c: (gst_identity_class_init):
5936 Workaround until signals support GstMiniObject.
5938 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5941 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
5943 2005-05-18 Wim Taymans <wim@fluendo.com>
5945 * gst/base/Makefile.am:
5946 * gst/base/gstadapter.c: (gst_adapter_base_init),
5947 (gst_adapter_class_init), (gst_adapter_init),
5948 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
5949 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
5950 (gst_adapter_flush), (gst_adapter_available),
5951 (gst_adapter_available_fast):
5952 * gst/base/gstadapter.h:
5953 Ported and added adapter to the base classes.
5955 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5959 Make sure the class is reffed/unreffed once before threads can be
5960 used. Fixes #304551.
5962 2005-05-17 Wim Taymans <wim@fluendo.com>
5964 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
5965 (gst_basesink_chain_unlocked), (gst_basesink_activate):
5966 * gst/gstminiobject.c: (gst_mini_object_get_type),
5967 (gst_mini_object_free):
5968 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
5969 (gst_pad_push), (gst_pad_push_event):
5970 * gst/gstqueue.c: (gst_queue_change_state):
5971 Don't queue buffers in basesink when we are flushing.
5972 Unref buffer when flushing in basesink.
5973 Flush queue when going to READY
5974 Unref buffer when _push() returns an error.
5975 Don't free MiniObject instance when refcount is incremented
5976 in _finalize() so that we can recover objects.
5978 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
5980 * docs/manual/advanced-schedulers.xml:
5981 * docs/manual/appendix-checklist.xml:
5982 * docs/pwg/advanced-clock.xml:
5983 * docs/pwg/advanced-interfaces.xml:
5984 * docs/pwg/advanced-request.xml:
5985 * docs/pwg/advanced-types.xml:
5986 * docs/pwg/intro-preface.xml:
5987 * examples/plugins/example.c: (gst_example_get_type),
5988 (gst_example_class_init), (gst_example_chain),
5989 (gst_example_set_property), (gst_example_get_property),
5990 (gst_example_change_state), (plugin_init):
5991 * examples/plugins/example.h:
5994 2005-05-17 Wim Taymans <wim@fluendo.com>
5996 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
5997 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
5998 * gst/gstqueue.c: (gst_queue_change_state):
5999 Clear queue when going to READY.
6000 Remove IN_SETCAPS flag too.
6002 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
6004 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6005 Remove implicit cast from gboolean to GstElementStateReturn;
6006 make sure we still return failure in paused => ready case if
6007 the parent class fails to change state and our own stop
6010 2005-05-17 Wim Taymans <wim@fluendo.com>
6012 * tools/gst-launch.c: (event_loop):
6013 Message was unreffed too soon.
6015 2005-05-16 Andy Wingo <wingo@pobox.com>
6017 * gst/gstbin.c (sink_iterator_filter): Err... um...
6019 * check/gst/gstbin.c (test_ghost_pads): New test for the
6020 ghosting-if-elements-not-in-same-bin behavior.
6022 2005-05-16 David Schleef <ds@schleef.org>
6024 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6025 accessing refcount directly.
6027 2005-05-15 David Schleef <ds@schleef.org>
6029 * check/Makefile.am: remove GstData checks
6030 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6031 * gst/Makefile.am: add miniobject, remove data
6032 * gst/gst.h: add miniobject, remove data
6033 * gst/gstdata.c: remove
6034 * gst/gstdata.h: remove
6035 * gst/gstdata_private.h: remove
6036 * gst/gsttypes.h: remove GstEvent and GstMessage
6037 * gst/gstelement.c: (gst_element_post_message): fix for API changes
6038 * gst/gstmarshal.list: change BOXED -> OBJECT
6040 Implement GstMiniObject.
6041 * gst/gstminiobject.c:
6042 * gst/gstminiobject.h:
6044 Modify to be subclasses of GstMiniObject.
6045 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6046 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6047 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6048 (gst_subbuffer_get_type), (gst_subbuffer_init),
6049 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6052 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6053 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6054 (_gst_event_copy), (gst_event_new):
6056 * gst/gstmessage.c: (_gst_message_initialize),
6057 (gst_message_get_type), (gst_message_class_init),
6058 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6059 (gst_message_new), (gst_message_new_error),
6060 (gst_message_new_warning), (gst_message_new_tag),
6061 (gst_message_new_state_changed), (gst_message_new_application):
6063 * gst/gstprobe.c: (gst_probe_perform),
6064 (gst_probe_dispatcher_dispatch):
6066 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6067 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6068 (_gst_query_copy), (gst_query_new):
6070 Update elements for GstData -> GstMiniObject changes
6072 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6073 (gst_queue_chain), (gst_queue_loop):
6074 * gst/elements/gstbufferstore.c:
6075 (gst_buffer_store_add_buffer_func),
6076 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6077 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6078 (gst_fakesink_render):
6079 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6080 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6081 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6082 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6083 (gst_filesrc_create_read):
6084 * gst/elements/gstidentity.c: (gst_identity_class_init):
6085 * gst/elements/gsttypefindelement.c:
6086 (gst_type_find_element_src_event), (free_entry_buffers),
6087 (gst_type_find_element_handle_event):
6088 * libs/gst/dataprotocol/dataprotocol.c:
6089 (gst_dp_header_from_buffer):
6090 * libs/gst/dataprotocol/dataprotocol.h:
6091 * libs/gst/dataprotocol/dp-private.h:
6093 2005-05-15 David Schleef <ds@schleef.org>
6095 * gst/elements/gstelements.c: Don't include headers that were
6098 2005-05-15 David Schleef <ds@schleef.org>
6100 * gst/elements/Makefile.am: Remove some elements that don't
6101 need to be in the core (or even exist at all).
6102 * gst/elements/gstaggregator.c:
6103 * gst/elements/gstaggregator.h:
6104 * gst/elements/gstmd5sink.c:
6105 * gst/elements/gstmd5sink.h:
6106 * gst/elements/gstmultifilesrc.c:
6107 * gst/elements/gstmultifilesrc.h:
6108 * gst/elements/gstpipefilter.c:
6109 * gst/elements/gstpipefilter.h:
6110 * gst/elements/gstshaper.c:
6111 * gst/elements/gstshaper.h:
6112 * gst/elements/gststatistics.c:
6113 * gst/elements/gststatistics.h:
6114 * po/POTFILES.in: Remove above files.
6116 2005-05-14 Andy Wingo <wingo@pobox.com>
6118 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6119 so as to get the refs right.
6120 (sink_iterator_filter): New function, wraps bin_element_is_sink,
6121 unreffing objects that don't pass the filter.
6123 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6124 gst_element_set_bus.
6125 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6126 normal cases, this will destroy the bus.
6128 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6131 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6134 2005-05-13 Andy Wingo <wingo@pobox.com>
6136 * gst/gstutils.c (gst_element_link_pads): Instead of calling
6137 gst_pad_link, call pad_link_maybe_ghosting,
6138 (pad_link_maybe_ghosting): Links pads, making sure that the
6139 elements being linked are in the same bin.
6140 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6141 Helpers for pad_link_maybe_ghosting.
6143 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6146 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6148 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6150 * docs/design/part-element-source.txt:
6153 2005-05-12 Wim Taymans <wim@fluendo.com>
6155 * gst/base/gstbasesink.c: (gst_basesink_init),
6156 (gst_basesink_activate):
6157 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6158 (gst_basesrc_is_seekable):
6159 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6160 (bin_element_is_sink), (gst_bin_change_state):
6161 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6163 Identify sinks by their flag to avoid overly complicated
6165 Do state changes even for elements not reachable from the
6167 BaseSink is a sink now :)
6168 Some more debugging info in the basesrc.
6171 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6173 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6174 Implement _query on a bin, similar to _send_event.
6176 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
6178 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6179 Discont event offset format should be GST_FORMAT_BYTES,
6180 not GST_FORMAT_TIME.
6182 2005-05-12 Wim Taymans <wim@fluendo.com>
6184 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6185 Same fix as Ronald's but without the signal.
6187 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6189 * gst/gstutils.c: (gst_element_query_position):
6190 No, an element is not a pad.
6192 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6194 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6195 (gst_bin_get_state):
6196 If a child is removed from a bin while we remove the child from
6197 the bin and while we're retrieving its state, signal this to the
6198 get_state function so we abort the wait (instead of waiting for
6199 a timeout) and can immediately re-iterate over all other elements.
6201 2005-05-12 Wim Taymans <wim@fluendo.com>
6203 * gst/base/Makefile.am:
6204 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6205 (gst_basesrc_start):
6206 * gst/base/gstbasesrc.h:
6207 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6208 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6209 (gst_pushsrc_init), (gst_pushsrc_create):
6210 * gst/base/gstpushsrc.h:
6211 Added is_seekable to BaseSrc
6212 Added simple PushSrc.
6214 2005-05-11 Wim Taymans <wim@fluendo.com>
6216 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6217 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6218 (gst_element_link_pads), (gst_element_query_position),
6219 (gst_element_query_convert), (intersect_caps_func),
6220 (gst_pad_query_position), (gst_pad_query_convert):
6221 Fix refcounting in utils function.
6222 No point in trying to activate a pad when it's added, it could
6223 be added from the state change function and then we deadlock, the
6224 element has to decide what to do.
6226 2005-05-10 Andy Wingo <wingo@pobox.com>
6228 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6229 *all* the arguments.
6231 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6232 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6233 lock (according to the docs -- if this is wrong change the docs).
6235 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6236 flush messages in the NULL state.
6238 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6239 message immediately and return.
6240 (gst_bus_set_flushing): New function. If a bus is flushing, it
6241 flushes out any queued messages and immediately unrefs new
6242 messages. This is so when an element goes to NULL, all of the
6243 unhandled messages coming from it can be freed, and their
6244 references to the element dropped. In other words: message source
6245 ref considered harmful :P
6247 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6248 we're finished with it.
6250 * gst/gstmessage.c (gst_message_new_state_changed):
6252 2005-05-10 Wim Taymans <wim@fluendo.com>
6254 * gst/gstvalue.c: (gst_value_compare_flags),
6255 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6256 (_gst_value_initialize):
6257 Added flags serialize/deserialize/compare code.
6259 2005-05-09 Andy Wingo <wingo@pobox.com>
6261 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6262 Intersect the peer's caps with our caps.
6264 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6266 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6267 * gst/elements/gsttypefindelement.c: (find_peek):
6268 Handle negative offsets better. Fixes decodebin.
6270 2005-05-09 Wim Taymans <wim@fluendo.com>
6272 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6273 (gst_base_transform_event):
6274 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6275 Implement accept_caps.
6276 Fix silly lock/unlock mismatch in base class.
6278 2005-05-09 Wim Taymans <wim@fluendo.com>
6280 * docs/design/draft-push-pull.txt:
6281 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6282 * gst/elements/gstfilesink.c: (gst_filesink_init),
6283 (gst_filesink_query):
6284 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6285 (gst_type_find_handle_src_query), (find_element_get_length):
6286 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6290 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6291 (gst_real_pad_get_caps_unlocked),
6292 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6293 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6294 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6295 (gst_real_pad_dispose), (gst_real_pad_finalize),
6296 (gst_pad_load_and_link), (gst_pad_save_thyself),
6297 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6298 (gst_pad_check_pull_range), (gst_pad_pull_range),
6299 (gst_pad_template_get_type), (gst_pad_template_class_init),
6300 (gst_pad_template_init), (gst_pad_template_dispose),
6301 (name_is_valid), (gst_static_pad_template_get),
6302 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6303 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6304 (gst_pad_get_element_private), (gst_pad_start_task),
6305 (gst_pad_pause_task), (gst_pad_stop_task),
6306 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6307 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6308 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6309 (gst_ghost_pad_new):
6311 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6312 (gst_query_new_position), (gst_query_set_position),
6313 (gst_query_parse_position), (gst_query_new_convert),
6314 (gst_query_set_convert), (gst_query_parse_convert):
6316 * gst/gstqueryutils.c:
6317 * gst/gstqueryutils.h:
6318 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6319 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6320 (gst_queue_handle_src_query):
6321 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6322 (gst_element_query_position), (gst_element_query_convert),
6323 (intersect_caps_func), (gst_pad_query_position),
6324 (gst_pad_query_convert):
6326 * tools/gst-inspect.c: (print_pad_info):
6327 * tools/gst-xmlinspect.c: (print_element_info):
6328 Remove old query functions. Ported old code.
6329 Added position/convert helper functions to gstutils.
6330 Reordered gstpad.c code, grouping relevant things.
6331 Remove gst_message_new(), always need to speficy a specific
6335 2005-05-09 Andy Wingo <wingo@pobox.com>
6337 * gst/gstiterator.h: Add some includes.
6339 * gst/gstqueryutils.h: Include more headers.
6342 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6343 some uses of gst_pad_query.
6345 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6346 NULL out parameters.
6347 (gst_query_new_position): New proc, allocates a new position
6350 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6351 gstqueryutils.c to the build.
6353 * gst/gststructure.c (gst_structure_set_valist): Implement with
6354 the generic G_VALUE_COLLECT.
6356 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6358 * gst/Makefile.am: (gst_headers):
6359 Added gstqueryutils.h to the list of headers to install, that was
6360 a 'nachty' move wingo :)
6362 2005-05-06 Andy Wingo <wingo@pobox.com>
6365 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6366 GstData, init a memchunk.
6367 (standard_definitions): Add a few query types, deprecate a few.
6368 (gst_query_get_type): New proc.
6369 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6371 (gst_query_new_application, gst_query_get_structure): New public
6374 * docs/design/draft-query.txt: Removed LINKS from the query types,
6375 because all the rest can be dispatched to other pads -- seemed
6376 ugly to have a query that couldn't be dispatched. internal_links
6377 is fine as a pad method.
6379 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6380 in gstpad.c, but maintain binary compatibility for the moment.
6381 Will fix before 0.9 is out.
6383 * gst/gstqueryutils.c:
6384 * gst/gstqueryutils.h: New files, implement 3 methods for each
6385 query type: parse_query, parse_response, and set. Probably need an
6388 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6390 * gst/elements/gstfilesink.c (gst_filesink_query2):
6391 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6392 query_types, and formats methods.
6394 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6395 (gst_pad_set_query2_function): New functions.
6396 (gst_real_pad_init): Set query2_default as the default query2
6397 function. Basically just dispatches to internally linked pads.
6401 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6402 without using the atomic operations. Only one thread can possibly
6403 be accessing the data at this point. Changed so as to avoid
6404 gst_atomic operations.
6406 2005-05-06 Wim Taymans <wim@fluendo.com>
6408 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6409 Also set caps if we use the fallback buffer alloc.
6411 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
6413 * docs/gst/Makefile.am:
6414 * docs/gst/gstreamer-docs.sgml:
6415 * docs/gst/gstreamer-sections.txt:
6416 * docs/gst/tmpl/gstatomic.sgml:
6417 * docs/gst/tmpl/gstmemchunk.sgml:
6418 * testsuite/elements/struct_i386.h:
6419 * win32/GStreamer.vcproj:
6421 Purge GstAtomic stuff from docs and win32 makefiles as well
6423 2005-05-06 Wim Taymans <wim@fluendo.com>
6425 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6426 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6427 * gst/gstpad.c: (gst_pad_peer_get_caps):
6428 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6429 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6430 (gst_queue_src_activate), (gst_queue_change_state):
6432 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6433 (intersect_caps_func):
6434 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6435 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6436 Some fixes for the peer_get_caps() change.
6438 2005-05-06 Wim Taymans <wim@fluendo.com>
6440 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6441 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6442 (gst_basesink_activate):
6443 Actually do something with error codes returned from the push
6446 2005-05-06 Wim Taymans <wim@fluendo.com>
6448 * docs/design/part-element-sink.txt:
6449 * docs/design/part-element-source.txt:
6450 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6451 (gst_basesink_event), (gst_basesink_activate):
6452 * gst/base/gstbasesink.h:
6453 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6454 (gst_basesrc_activate):
6455 * gst/base/gstbasesrc.h:
6456 * gst/gstelement.c: (gst_element_pads_activate):
6457 Some more documentation.
6458 Fixed scheduling decision in _pads_activate().
6460 2005-05-05 Andy Wingo <wingo@pobox.com>
6462 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6465 2005-05-05 Wim Taymans <wim@fluendo.com>
6467 * gst/base/Makefile.am:
6468 * gst/base/gstbasesink.h:
6469 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6470 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6471 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6472 (gst_collectpads_class_init), (gst_collectpads_init),
6473 (gst_collectpads_finalize), (gst_collectpads_new),
6474 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6475 (find_pad), (gst_collectpads_remove_pad),
6476 (gst_collectpads_is_active), (gst_collectpads_collect),
6477 (gst_collectpads_collect_range), (gst_collectpads_start),
6478 (gst_collectpads_stop), (gst_collectpads_peek),
6479 (gst_collectpads_pop), (gst_collectpads_available),
6480 (gst_collectpads_read), (gst_collectpads_flush),
6481 (gst_collectpads_chain):
6482 * gst/base/gstcollectpads.h:
6483 * gst/elements/Makefile.am:
6484 * gst/elements/gstelements.c:
6485 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6486 (gst_fakesink_get_times), (gst_fakesink_event),
6487 (gst_fakesink_preroll), (gst_fakesink_render):
6488 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6489 (gst_filesink_init), (gst_filesink_set_location),
6490 (gst_filesink_open_file), (gst_filesink_close_file),
6491 (gst_filesink_pad_query), (gst_filesink_event),
6492 (gst_filesink_render), (gst_filesink_change_state):
6493 * gst/elements/gstfilesink.h:
6494 Added object to help in making collect pad based elements.
6496 Make event function in sink baseclass return gboolean.
6498 2005-05-05 Wim Taymans <wim@fluendo.com>
6500 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6501 (gst_bin_get_by_name):
6503 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6504 (gst_clock_finalize):
6505 * gst/gstdata.c: (gst_data_replace):
6507 * gst/gstelement.c: (gst_element_request_pad),
6508 (gst_element_pads_activate):
6509 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6511 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6512 (gst_pad_set_checkgetrange_function),
6513 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6514 (gst_pad_check_pull_range), (gst_pad_pull_range),
6515 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6516 (gst_pad_pause_task), (gst_pad_stop_task):
6517 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6518 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6519 Fix name lookup in GstBin.
6520 Added _data_replace() function and _buffer_replace()
6521 Use finalize method to clean up clock.
6522 Fix refcounting on request pads.
6523 Fix pad schedule mode error.
6524 Some more object refcounting debug info,
6527 2005-05-04 Andy Wingo <wingo@pobox.com>
6529 * check/Makefile.am:
6530 * docs/gst/tmpl/gstatomic.sgml:
6531 * docs/gst/tmpl/gstplugin.sgml:
6532 * gst/base/gstbasesink.c: (gst_basesink_activate):
6533 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6534 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6535 (gst_basesrc_query), (gst_basesrc_set_property),
6536 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6537 (gst_basesrc_activate):
6538 * gst/base/gstbasesrc.h:
6539 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6540 (gst_base_transform_src_activate):
6541 * gst/elements/gstelements.c:
6542 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6543 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6544 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6545 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6546 (gst_type_find_element_checkgetrange),
6547 (gst_type_find_element_activate):
6548 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6549 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6550 (gst_caps_load_thyself):
6551 * gst/gstelement.c: (gst_element_pads_activate),
6552 (gst_element_save_thyself), (gst_element_restore_thyself):
6553 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6554 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6556 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6557 (gst_xml_parse_file), (gst_xml_parse_memory),
6558 (gst_xml_get_element), (gst_xml_make_element):
6559 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6560 (_file_index_id_save_xml), (gst_file_index_commit):
6561 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6562 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6564 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6565 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6566 * tools/gst-complete.c: (main):
6567 * tools/gst-compprep.c: (main):
6568 * tools/gst-inspect.c: (print_element_properties_info):
6569 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6570 * tools/gst-xmlinspect.c: (print_element_properties):
6573 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6575 * gst/gstplugin.c: (gst_plugin_check_module),
6576 (gst_plugin_check_file), (gst_plugin_load_file):
6577 apply patch from #172526 to make register work on MacOSX
6579 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6581 * docs/gst/tmpl/gstconfig.sgml:
6582 * gst/gstconfig.h.in:
6583 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6584 * testsuite/debug/printf_extension.c: (main):
6585 Do not use GST_PTR_FORMAT on pointers to types with
6586 sizeof < sizeof(gpointer). Fixes test on 64-bit
6587 * testsuite/elements/property.h:
6588 use correct printf format
6590 2005-05-02 Wim Taymans <wim@fluendo.com>
6592 * docs/design/draft-push-pull.txt:
6593 * docs/design/draft-query.txt:
6594 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6595 (gst_basesrc_start):
6596 Added draft for new query API.
6597 Added draft for better selecting scheduling methods.
6598 Make basesrc ignore length if the subclass does not support
6601 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6604 possible fixes for automake-1.5 - _LIBADD is reserved
6606 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6608 * docs/faq/Makefile.am:
6609 * docs/manual/Makefile.am:
6611 * docs/pwg/Makefile.am:
6613 possible fixes for automake-1.5
6615 2005-04-28 Wim Taymans <wim@fluendo.com>
6617 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6618 (gst_basesink_pad_getcaps), (gst_basesink_init),
6619 (gst_basesink_do_sync):
6620 * gst/gstclock.c: (gst_clock_entry_new):
6621 * gst/gstevent.c: (gst_event_discont_get_value):
6622 * gst/gstpipeline.c: (pipeline_bus_handler),
6623 (gst_pipeline_change_state):
6624 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6625 Better debugging of clocking info.
6626 Allow NULL values when getting discont values.
6628 2005-04-27 Wim Taymans <wim@fluendo.com>
6630 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6631 * check/gst/gstpad.c: (gst_pad_suite):
6632 Increase timeout for checks.
6634 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6636 * check/Makefile.am:
6637 fix the broken rule for cleanup. Apparently this rule is
6638 only needed on FC2, so maybe this warrants further autotool
6641 2005-04-26 Wim Taymans <wim@fluendo.com>
6643 * gst/gsttrashstack.h:
6644 Ooohh. a nasty one! After having a failed pop() from the stack,
6645 it's possible that the stack is empty. In that case, don't
6646 follow the NULL pointer.
6648 2005-04-25 Wim Taymans <wim@fluendo.com>
6650 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6651 (gst_pad_set_checkgetrange_function),
6652 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6653 (gst_pad_check_pull_range), (gst_pad_pull_range),
6654 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6655 (gst_pad_pause_task), (gst_pad_stop_task):
6656 * gst/gstplugin.c: (gst_plugin_load):
6658 Remove gst_library_load as it does more harm than good with
6659 the new g_module flags.
6660 Revert bogus caps template check in pad linking, pad caps
6661 are important when linking not the template, which is more
6662 general than the current caps.
6664 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6666 * gst/autoplug/.cvsignore:
6667 * gst/autoplug/Makefile.am:
6668 * gst/autoplug/gstsearchfuncs.c:
6669 * gst/autoplug/gstsearchfuncs.h:
6670 * gst/autoplug/gstspider.c:
6671 * gst/autoplug/gstspider.h:
6672 * gst/autoplug/gstspideridentity.c:
6673 * gst/autoplug/gstspideridentity.h:
6674 * gst/autoplug/spidertest.c:
6677 2005-04-25 Wim Taymans <wim@fluendo.com>
6679 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6680 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6681 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6682 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6684 Added stubs for unimplemented functions.
6686 2005-04-24 David Schleef <ds@schleef.org>
6688 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6691 2005-04-24 David Schleef <ds@schleef.org>
6693 Convert everything from GstAtomicInt to g_atomic_int_*, and
6698 * gst/gstatomic_impl.h:
6706 * gst/gstdata_private.h:
6713 * gst/gststructure.c:
6714 * gst/gststructure.h:
6715 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6718 2005-04-24 David Schleef <ds@schleef.org>
6720 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6721 make the regressions tests work. Remove some code that is no
6723 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6724 Disable warning for pads without templates.
6726 2005-04-24 David Schleef <ds@schleef.org>
6728 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6729 functions that handle filtered links.
6730 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6732 * gst/gstutils.c: Fix/remove utility functions that handle
6735 * gst/gstvalue.c: Add serialization/deserialization of caps
6736 * gst/parse/grammar.y: Ignore filtered caps when linking. This
6737 requires fixing so that the filter caps notation creates
6738 a capsfilter element and sets the filter_caps property. I
6739 think everyone probably wants to keep the shorthand notation.
6740 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6741 * docs/gst/tmpl/gstpad.sgml:
6743 * gst/elements/gstelements.c: Register capsfilter element.
6744 * gst/Makefile.am: fix spacing
6745 * docs/random/ds/0.9-suggested-changes: random
6747 2005-04-23 David Schleef <ds@schleef.org>
6749 * gst/elements/Makefile.am:
6750 * gst/elements/gstcapsfilter.c: New element that acts like an
6751 identity, but filters caps. Will eventually replace filtered
6752 caps in pad linking.
6753 * gst/gstutils.c: (gst_element_create_all_pads): New function
6754 to create all the ALWAYS pads that are registered with an
6755 element class. This functionality should eventually be
6756 merged in with GstElement initialization.
6758 * testsuite/trigger/README: part of trigger test code that should
6759 have been checked in a long time ago.
6761 2005-04-23 David Schleef <ds@schleef.org>
6763 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
6764 needed with new versions of libtool (nobody will confirm this),
6765 and hard to carry around.
6766 * gst/autoplug/Makefile.am:
6767 * gst/base/Makefile.am:
6768 * gst/elements/Makefile.am:
6769 * gst/indexers/Makefile.am:
6770 * gst/schedulers/Makefile.am:
6771 * libs/gst/bytestream/Makefile.am:
6772 * libs/gst/control/Makefile.am:
6773 * libs/gst/dataprotocol/Makefile.am:
6774 * libs/gst/getbits/Makefile.am:
6776 2005-04-21 Wim Taymans <wim@fluendo.com>
6778 * docs/design/draft-push-pull.txt:
6779 * docs/design/part-MT-refcounting.txt:
6780 * docs/design/part-TODO.txt:
6781 * docs/design/part-caps.txt:
6782 * docs/design/part-events.txt:
6783 * docs/design/part-gstbus.txt:
6784 * docs/design/part-gstpipeline.txt:
6785 * docs/design/part-messages.txt:
6786 * docs/design/part-push-pull.txt:
6787 * docs/design/part-query.txt:
6790 2005-04-21 Wim Taymans <wim@fluendo.com>
6792 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
6793 (gst_message_new), (gst_message_new_error),
6794 (gst_message_new_warning), (gst_message_new_tag),
6795 (gst_message_new_state_changed), (gst_message_new_application),
6796 (gst_message_get_structure):
6798 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6799 (gst_structure_copy_conditional):
6800 Use parent refcount in GstMessage to ensure GstStructure
6802 Cleaned up headers a bit.
6805 2005-04-20 Wim Taymans <wim@fluendo.com>
6807 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6808 (gst_basesink_pad_getcaps), (gst_basesink_init),
6809 (gst_basesink_chain_unlocked):
6810 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
6811 (gst_type_find_helper):
6812 * gst/elements/gsttypefindelement.c:
6813 (gst_type_find_element_have_type), (gst_type_find_element_init),
6814 (stop_typefinding), (gst_type_find_element_handle_event),
6815 (find_suggest), (gst_type_find_element_chain),
6816 (gst_type_find_element_checkgetrange),
6817 (gst_type_find_element_getrange), (do_typefind),
6818 (gst_type_find_element_activate):
6819 * gst/gstbuffer.c: (_gst_buffer_sub_free),
6820 (gst_buffer_default_free), (gst_buffer_default_copy),
6821 (gst_buffer_set_caps):
6822 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
6824 * gst/gstmessage.c: (gst_message_new),
6825 (gst_message_new_state_changed):
6826 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6827 (gst_pad_set_checkgetrange_function),
6828 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
6829 (gst_pad_set_caps), (gst_pad_check_pull_range),
6830 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
6832 * gst/gsttypefind.c: (gst_type_find_register):
6833 Make gst_caps_replace() work like other _replace() functions.
6834 Use _caps_replace() where possible.
6835 Make sure _message_new() initialises its field.
6836 Add gst_static_pad_template_get_caps()
6839 2005-04-18 Andy Wingo <wingo@pobox.com>
6841 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
6842 on the peer, not the pad. I think that was a typo. Pass an extra
6843 arg to see if random access is possible. Activate the pads as
6844 PULL_RANGE if possible.
6846 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
6848 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
6849 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
6852 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6854 * docs/faq/using.xml:
6855 Add note on gstreamer-properties (#154996).
6857 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6859 * docs/random/bbb/optional-properties:
6860 Some analysis on optional properties.
6862 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6864 * docs/gst/tmpl/gstelementfactory.sgml:
6866 * gst/gstelementfactory.c: (gst_element_factory_init),
6867 (gst_element_factory_cleanup), (gst_element_register),
6868 (__gst_element_factory_add_static_pad_template),
6869 (gst_element_factory_get_static_pad_templates),
6870 (gst_element_factory_can_src_caps),
6871 (gst_element_factory_can_sink_caps):
6872 * gst/registries/Makefile.am:
6873 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
6874 (gst_xml_registry_class_init), (gst_xml_registry_init),
6875 (gst_xml_registry_new), (gst_xml_registry_set_property),
6876 (gst_xml_registry_get_property), (get_time), (make_dir),
6877 (gst_xml_registry_get_perms_func),
6878 (plugin_times_older_than_recurse), (plugin_times_older_than),
6879 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
6880 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
6881 (add_to_char_array), (read_string), (read_uint), (read_enum),
6882 (load_pad_template), (load_feature), (load_plugin), (load_paths),
6883 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
6884 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
6885 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
6886 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
6887 (gst_xml_registry_rebuild):
6888 * gst/registries/gstlibxmlregistry.h:
6889 * tools/gst-compprep.c: (main):
6890 * tools/gst-inspect.c: (print_pad_templates_info):
6891 * tools/gst-xmlinspect.c: (print_element_info):
6892 Use libxml2 for registry parsing, use staticpadtemplates in
6893 elementfactories. Makes gst_init() +/- 10x faster.
6895 2005-04-12 Wim Taymans <wim@fluendo.com>
6897 * gst/base/Makefile.am:
6898 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6899 (gst_basesink_pad_getcaps), (gst_basesink_init),
6900 (gst_basesink_event), (gst_basesink_change_state):
6901 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6902 (gst_basesrc_init), (gst_basesrc_query),
6903 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6904 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6905 (gst_basesrc_check_get_range), (gst_basesrc_loop),
6906 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6907 (gst_basesrc_stop), (gst_basesrc_activate),
6908 (gst_basesrc_change_state):
6909 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6910 (helper_find_suggest), (gst_type_find_helper):
6911 * gst/base/gsttypefindhelper.h:
6912 * gst/elements/Makefile.am:
6913 * gst/elements/gstelements.c:
6914 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6915 (gst_fakesink_get_times), (gst_fakesink_event),
6916 (gst_fakesink_preroll), (gst_fakesink_render):
6917 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6918 (gst_fakesrc_init), (gst_fakesrc_event_handler),
6919 (gst_fakesrc_get_property), (gst_fakesrc_create),
6920 (gst_fakesrc_start), (gst_fakesrc_stop):
6921 * gst/elements/gstfakesrc.h:
6922 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
6923 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
6924 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
6925 (gst_filesrc_create_read), (gst_filesrc_create),
6926 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
6927 (gst_filesrc_start):
6928 * gst/elements/gsttypefindelement.c:
6929 (gst_type_find_element_have_type), (gst_type_find_element_init),
6930 (start_typefinding), (stop_typefinding), (push_buffer_store),
6931 (gst_type_find_element_handle_event),
6932 (gst_type_find_element_chain),
6933 (gst_type_find_element_checkgetrange),
6934 (gst_type_find_element_getrange), (do_typefind),
6935 (gst_type_find_element_activate),
6936 (gst_type_find_element_change_state):
6937 * gst/elements/gsttypefindelement.h:
6938 * gst/gstpipeline.c: (pipeline_bus_handler):
6939 Added typefind helper.
6940 Small preroll fix in the base sink.
6941 Disable typefind code in basesrc.
6942 Crude port of typefindelement.
6946 2005-04-11 Wim Taymans <wim@fluendo.com>
6948 * check/gst/gstbus.c: (gstbus_suite):
6949 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
6951 Fix up the timeout so that the test does not fail.
6953 2005-04-06 Wim Taymans <wim@fluendo.com>
6956 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6957 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
6958 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6959 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6960 (gst_basesrc_check_get_range), (gst_basesrc_loop),
6961 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6962 (gst_basesrc_stop), (gst_basesrc_activate),
6963 (gst_basesrc_change_state), (basesrc_find_peek),
6964 (basesrc_find_suggest), (gst_basesrc_type_find):
6965 * gst/base/gstbasesrc.h:
6966 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
6967 (gst_filesrc_class_init), (gst_filesrc_init),
6968 (gst_filesrc_finalize), (gst_filesrc_set_location),
6969 (gst_filesrc_set_property), (gst_filesrc_get_property),
6970 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
6971 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
6972 (gst_filesrc_create_read), (gst_filesrc_create),
6973 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
6974 * gst/elements/gstfilesrc.h:
6975 * gst/gstelement.c: (gst_element_get_state_func),
6976 (gst_element_lost_state), (gst_element_pads_activate):
6977 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6978 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6979 (gst_pad_pull_range):
6981 More work on the generic source base class, implement seeking,
6983 Make filesrc extend the base source class.
6984 Added gst_pad_set_checkgetrange_function to GstPad.
6986 2005-04-06 Andy Wingo <wingo@pobox.com>
6988 * pkgconfig/gstreamer-base.pc.in:
6989 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
6991 * pkgconfig/Makefile.am:
6992 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
6994 2005-04-04 Wim Taymans <wim@fluendo.com>
6996 * gst/base/Makefile.am:
6998 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6999 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7000 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7001 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7002 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7003 (gst_basesrc_base_init), (gst_basesrc_class_init),
7004 (gst_basesrc_init), (gst_basesrc_get_formats),
7005 (gst_basesrc_get_query_types), (gst_basesrc_query),
7006 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7007 (gst_basesrc_set_property), (gst_basesrc_get_property),
7008 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7009 (gst_basesrc_loop), (gst_basesrc_activate),
7010 (gst_basesrc_change_state):
7011 * gst/base/gstbasesrc.h:
7012 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7013 (gst_fakesrc_class_init), (gst_fakesrc_init),
7014 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7015 (gst_fakesrc_get_property), (gst_fakesrc_create):
7016 * gst/elements/gstfakesrc.h:
7017 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7018 (gst_filesrc_open_file), (gst_filesrc_loop),
7019 (gst_filesrc_activate), (filesrc_find_peek),
7020 (gst_filesrc_type_find):
7021 Made base source class, make fakesrc extend it.
7022 Add comments to basesink class.
7023 Some filesrc cleanup.
7025 2005-03-31 David Schleef <ds@schleef.org>
7027 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7028 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7029 expected to link against libgstreamer.
7030 * gst/base/Makefile.am: link against libgstreamer
7031 * gst/elements/Makefile.am: same
7033 2005-03-31 Andy Wingo <wingo@pobox.com>
7035 * tests/instantiate/Makefile.am:
7036 * tests/instantiate/caps.c: Add test to test speed of caps copy
7039 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7040 GMemChunk to be fair.
7042 * gst/gsttrashstack.h: Remove warning about using the fallback
7043 trash stack implementation, it's still faster than malloc.
7045 2005-03-30 Andy Wingo <wingo@pobox.com>
7047 * tests/complexity.c: Add a copyright.
7049 2005-03-31 Wim Taymans <wim@fluendo.com>
7051 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7052 (gst_base_transform_class_init), (gst_base_transform_init),
7053 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7054 (gst_base_transform_get_property),
7055 (gst_base_transform_sink_activate),
7056 (gst_base_transform_src_activate),
7057 (gst_base_transform_change_state):
7058 * gst/base/gstbasetransform.h:
7059 * gst/elements/gstidentity.c: (gst_identity_class_init),
7060 (gst_identity_event), (gst_identity_check_perfect),
7061 (gst_identity_transform), (gst_identity_start),
7062 (gst_identity_stop):
7063 Added start/stop methods to transform base class so subclasses
7064 don't need to deal with state changes even.
7066 2005-03-31 Wim Taymans <wim@fluendo.com>
7068 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7069 (gst_event_new_discontinuous), (gst_event_discont_get_value):
7071 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7072 (gst_pad_pull_range):
7073 Added rate to the discont event to prepare for variable speed
7074 and reverse playback.
7076 2005-03-29 David Schleef <ds@schleef.org>
7079 * testsuite/trigger/Makefile.am:
7080 * testsuite/trigger/trigger.c: A little example program to show
7081 how trigger-based elements can work.
7083 2005-03-29 Wim Taymans <wim@fluendo.com>
7085 * gst/base/Makefile.am:
7087 * gst/base/gstbasesink.c: (gst_basesink_get_type),
7088 (gst_basesink_base_init), (gst_basesink_class_init),
7089 (gst_basesink_pad_getcaps), (gst_basesink_init),
7090 (gst_basesink_activate), (gst_basesink_change_state):
7091 * gst/base/gstbasesink.h:
7092 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7093 (gst_base_transform_base_init), (gst_base_transform_finalize),
7094 (gst_base_transform_class_init), (gst_base_transform_init),
7095 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7096 (gst_base_transform_event), (gst_base_transform_getrange),
7097 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7098 (gst_base_transform_set_property),
7099 (gst_base_transform_get_property),
7100 (gst_base_transform_sink_activate),
7101 (gst_base_transform_src_activate),
7102 (gst_base_transform_change_state):
7103 * gst/base/gstbasetransform.h:
7104 * gst/elements/gstidentity.c: (gst_identity_finalize),
7105 (gst_identity_class_init), (gst_identity_init),
7106 (gst_identity_event), (gst_identity_check_perfect),
7107 (gst_identity_transform), (gst_identity_set_property),
7108 (gst_identity_get_property), (gst_identity_change_state):
7109 * gst/elements/gstidentity.h:
7110 * gst/gstelement.c: (gst_element_get_state_func),
7111 (gst_element_lost_state), (gst_element_pads_activate):
7112 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7113 (gst_pad_check_pull_range), (gst_pad_pull_range):
7115 Simplify pad activation.
7116 Added function to check if pull_range can be performed.
7117 Error out when pulling inactive or flushing pads.
7118 Removed const from refcounted types as it does not make sense.
7119 Simplify pad templates in basesink
7120 Added base class for simple 1-to-1 transforms.
7121 Make identity subclass the base transform.
7123 2005-03-29 Andy Wingo <wingo@pobox.com>
7125 * docs/libs/gstreamer-libs-overrides.txt:
7126 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7127 really don't understand what's going on, but like whatever. I want
7130 * docs/gst/Makefile.am:
7131 * docs/libs/Makefile.am: Dist the overrides files.
7133 * check/Makefile.am (clean-local): Remove .libs directories.
7135 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7136 elements to EXTRA_DIST, so po/ files are happy.
7138 * po/POTFILES.in: Er, remove it here.
7140 * po/POTFILES: Remove gstspider.c.
7142 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7144 * docs/libs/gstreamer-libs-docs.sgml:
7145 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7148 * tests/complexity.c (main): Set the length of the preroll queue
7149 on the sinks to prevent a lockup.
7151 * libs/gst/dataprotocol/Makefile.am:
7152 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7153 the same as the one in check/gst-libs/gdp.c.
7155 * po/, docs/gst/: Commit automatic changes to docs and po files.
7157 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7158 the versioned libgstbase.
7160 * check/Makefile.am: Depend on an unversioned gst-register, seems
7161 to make autoconf happier.
7163 * gst/base/Makefile.am: Make libgstbase a versioned lib.
7165 2005-03-28 Wim Taymans <wim@fluendo.com>
7168 * docs/design/part-gstelement.txt:
7169 * docs/design/part-negotiation.txt:
7170 * docs/design/part-preroll.txt:
7171 * docs/design/part-scheduling.txt:
7172 * docs/design/part-states.txt:
7174 * gst/base/Makefile.am:
7176 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7177 (gst_basesink_base_init), (gst_basesink_class_init),
7178 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7179 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7180 (gst_basesink_set_pad_functions),
7181 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7182 (gst_basesink_set_property), (gst_basesink_get_property),
7183 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7184 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7185 (gst_basesink_preroll_queue_push),
7186 (gst_basesink_preroll_queue_empty),
7187 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7188 (gst_basesink_event), (gst_basesink_get_times),
7189 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7190 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7191 (gst_basesink_loop), (gst_basesink_activate),
7192 (gst_basesink_change_state):
7193 * gst/base/gstbasesink.h:
7194 * gst/elements/Makefile.am:
7195 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7196 (gst_fakesink_class_init), (gst_fakesink_init),
7197 (gst_fakesink_set_property), (gst_fakesink_get_property),
7198 (gst_fakesink_get_times), (gst_fakesink_event),
7199 (gst_fakesink_preroll), (gst_fakesink_render),
7200 (gst_fakesink_change_state):
7201 * gst/elements/gstfakesink.h:
7202 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7203 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7204 * gst/gstelement.c: (gst_element_add_pad),
7205 (gst_element_get_state_func), (gst_element_abort_state),
7206 (gst_element_commit_state), (gst_element_lost_state),
7207 (gst_element_set_state), (gst_element_pads_activate):
7208 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7209 * gst/gstpipeline.c: (gst_pipeline_send_event),
7210 (gst_pipeline_change_state):
7211 Added state change code.
7213 Added sink base class, make fakesink extend the base class.
7214 Small cleanups in GstPipeline.
7216 2005-03-26 David Schleef <ds@schleef.org>
7218 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7219 is broken and should be implemented in a different library.
7220 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7221 * gst/gst.h: remove gstcpu.h
7222 * gst/gstcpu.c: remove
7223 * gst/gstcpu.h: remove
7224 * gst/Makefile.am.future: Remove this file. It's ancient.
7226 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7228 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7229 (gst_bin_send_event):
7230 Add default event/set_manager handlers. The set_manager handler
7231 takes care that the manager is distributed over kids that were
7232 already in the bin before the manager was set. The event handler
7233 is a utility virtual function that sends the event over all sinks,
7234 so that gst_element_send_event (bin, event); has the expected
7236 * gst/gstpad.c: (gst_pad_event_default):
7237 Re-install default event handling for discontinuities, so that
7238 seeking works without requiring hacks in applications or extra
7240 * gst/gstpipeline.c: (gst_pipeline_class_init),
7241 (gst_pipeline_send_event):
7242 Half hack, half utility: set a pipeline to PAUSED for seek events,
7243 since that is the only way we can guarantee a/v sync. Means that
7244 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7245 and it "just works".
7247 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7249 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7250 Lock/unlock mismatch.
7252 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7254 * docs/faq/gst-uninstalled:
7255 add gst-plugins-base
7256 * docs/gst/Makefile.am:
7257 don't error out until docs are fixed
7258 * docs/gst/gstreamer.types:
7261 2005-03-22 Wim Taymans <wim@fluendo.com>
7263 * check/Makefile.am:
7264 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7265 * gst/gststructure.c: (gst_structure_set_valist),
7266 (gst_structure_copy_conditional):
7267 Activated more tests.
7269 Added G_TYPE_POINTER to GstStructure.
7272 2005-03-22 Wim Taymans <wim@fluendo.com>
7274 * docs/design/part-TODO.txt:
7275 * docs/design/part-events.txt:
7276 * docs/design/part-gstbin.txt:
7277 * docs/design/part-gstbus.txt:
7278 * docs/design/part-gstpipeline.txt:
7279 * docs/design/part-messages.txt:
7284 2005-03-21 Wim Taymans <wim@fluendo.com>
7286 * gst/gstbus.c: (gst_bus_post):
7287 Fix copy-and-paste error.
7289 2005-03-21 Wim Taymans <wim@fluendo.com>
7291 * check/Makefile.am:
7293 * gst/elements/Makefile.am:
7294 * gst/elements/gstelements.c:
7295 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7296 (gst_fakesink_event), (gst_fakesink_chain):
7297 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7298 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7299 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7300 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7301 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7302 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7303 (gst_fakesrc_loop), (gst_fakesrc_activate),
7304 (gst_fakesrc_change_state):
7305 * gst/elements/gstfakesrc.h:
7306 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7307 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7308 (gst_filesrc_open_file), (gst_filesrc_loop),
7309 (gst_filesrc_activate), (gst_filesrc_change_state),
7310 (filesrc_find_peek), (filesrc_find_suggest),
7311 (gst_filesrc_type_find):
7312 * gst/elements/gstidentity.c: (gst_identity_finalize),
7313 (gst_identity_class_init), (gst_identity_init),
7314 (gst_identity_proxy_getcaps), (identity_queue_push),
7315 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7316 (gst_identity_getrange), (gst_identity_chain),
7317 (gst_identity_sink_loop), (gst_identity_src_loop),
7318 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7319 (gst_identity_set_property), (gst_identity_get_property),
7320 (gst_identity_change_state):
7321 * gst/elements/gstidentity.h:
7322 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7323 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7324 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7325 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7326 (gst_tee_sink_activate):
7327 * gst/elements/gsttee.h:
7328 * gst/gst.c: (gst_register_core_elements), (init_post):
7330 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7331 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7332 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7333 (gst_bin_change_state):
7335 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7336 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7337 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7338 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7339 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7340 (bus_watch_callback), (bus_watch_destroy),
7341 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7342 (poll_timeout), (gst_bus_poll):
7346 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7347 (gst_element_post_message), (gst_element_message_full),
7348 (gst_element_get_state_func), (gst_element_get_state),
7349 (gst_element_abort_state), (gst_element_commit_state),
7350 (gst_element_lost_state), (gst_element_set_state),
7351 (gst_element_pads_activate), (gst_element_change_state),
7352 (gst_element_dispose), (gst_element_set_manager_func),
7353 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7354 (gst_element_set_manager), (gst_element_get_manager),
7355 (gst_element_set_bus), (gst_element_get_bus),
7356 (gst_element_set_scheduler), (gst_element_get_scheduler):
7358 * gst/gstevent.c: (gst_event_new_segment_seek),
7359 (gst_event_new_flush):
7361 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7362 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7363 (gst_message_new_eos), (gst_message_new_error),
7364 (gst_message_new_warning), (gst_message_new_tag),
7365 (gst_message_new_state_changed), (gst_message_new_application),
7366 (gst_message_get_structure), (gst_message_parse_tag),
7367 (gst_message_parse_state_changed), (gst_message_parse_error),
7368 (gst_message_parse_warning):
7370 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7371 (gst_real_pad_set_property), (gst_pad_set_active),
7372 (gst_pad_is_active), (gst_pad_set_blocked_async),
7373 (gst_pad_set_blocked), (gst_pad_is_blocked),
7374 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7375 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7376 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7377 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7378 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7379 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7380 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7381 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7382 (gst_pad_set_caps), (gst_pad_configure_sink),
7383 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7384 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7385 (gst_real_pad_dispose), (gst_real_pad_finalize),
7386 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7387 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7388 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7390 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7391 (pipeline_bus_handler), (gst_pipeline_change_state),
7392 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7393 * gst/gstpipeline.h:
7395 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7396 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7397 (gst_queue_link_src), (gst_queue_bufferalloc),
7398 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7399 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7400 (gst_queue_loop), (gst_queue_handle_src_event),
7401 (gst_queue_handle_src_query), (gst_queue_src_activate),
7402 (gst_queue_change_state):
7404 * gst/gstscheduler.c: (gst_scheduler_init),
7405 (gst_scheduler_dispose), (gst_scheduler_create_task),
7406 (gst_scheduler_factory_create):
7407 * gst/gstscheduler.h:
7408 * gst/gststructure.c: (gst_structure_get_type),
7409 (gst_structure_copy_conditional):
7410 * gst/gststructure.h:
7411 * gst/gsttaginterface.h:
7412 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7413 (gst_task_init), (gst_task_dispose), (gst_task_create),
7414 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7420 * gst/schedulers/Makefile.am:
7421 * gst/schedulers/cothreads_compat.h:
7422 * gst/schedulers/entryscheduler.c:
7423 * gst/schedulers/faircothreads.c:
7424 * gst/schedulers/faircothreads.h:
7425 * gst/schedulers/fairscheduler.c:
7426 * gst/schedulers/gstbasicscheduler.c:
7427 * gst/schedulers/gstoptimalscheduler.c:
7428 * gst/schedulers/gthread-cothreads.h:
7429 * gst/schedulers/threadscheduler.c:
7430 (gst_thread_scheduler_task_get_type),
7431 (gst_thread_scheduler_task_class_init),
7432 (gst_thread_scheduler_task_init),
7433 (gst_thread_scheduler_task_start),
7434 (gst_thread_scheduler_task_stop),
7435 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7436 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7437 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7438 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7440 * libs/gst/Makefile.am:
7441 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7442 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7443 (gst_file_pad_parent_set):
7444 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7445 (gst_dp_event_from_packet):
7446 * tests/complexity.c: (main):
7447 * tests/mass_elements.c: (main):
7448 * testsuite/states/locked.c: (message_received), (main):
7449 * testsuite/states/parent.c: (main):
7450 * tools/gst-inspect.c: (print_element_flag_info),
7451 (print_implementation_info), (print_pad_info):
7452 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7454 * tools/gst-md5sum.c: (event_loop), (main):
7455 * tools/gst-typefind.c: (main):
7456 * tools/gst-xmlinspect.c: (print_element_info):
7458 Added GstBus for mainloop integration.
7459 Added GstMessage for sending notifications on the bus.
7460 Added GstTask as an abstraction for pipeline entry points.
7463 Simplified GstQueue for multithreaded core.
7464 Made _link threadsafe, removed old capsnego.
7465 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7466 Added pad blocking functions.
7467 Reworked scheduling functions in GstPad to prepare for
7468 scheduling updates soon.
7469 Moved events out of data stream.
7470 Simplified GstEvent types.
7471 Added return values to push/pull.
7472 Removed clocking from GstElement.
7473 Added prototypes for state change function for next merge.
7474 Removed iterate from bins and state change management.
7475 Fixed some elements, disabled others for now.
7476 Fixed -inspect and -launch.
7477 Added check for GstBus.
7479 2005-03-10 Wim Taymans <wim@fluendo.com>
7481 * docs/design/part-MT-refcounting.txt:
7482 * docs/design/part-clocks.txt:
7483 * docs/design/part-gstelement.txt:
7484 * docs/design/part-gstobject.txt:
7485 * docs/design/part-standards.txt:
7486 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7487 (gst_bin_remove_func), (gst_bin_remove):
7491 * testsuite/clock/clock1.c: (main):
7492 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7494 * testsuite/dlopen/loadgst.c: (do_test):
7495 * testsuite/refcounting/bin.c: (add_remove_test1),
7496 (add_remove_test2), (main):
7497 * testsuite/refcounting/element.c: (main):
7498 * testsuite/refcounting/element_pad.c: (main):
7499 * testsuite/refcounting/pad.c: (main):
7500 * tools/gst-launch.c: (sigint_handler_sighandler):
7501 * tools/gst-typefind.c: (main):
7503 Added doc about clock.
7504 removed gst_bin_iterate_recurse_up(), marked methods
7506 Fix more testsuites.
7508 2005-03-09 Wim Taymans <wim@fluendo.com>
7510 * gst/gstpad.c: (gst_pad_get_direction),
7511 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7512 (gst_pad_collect_valist):
7513 * testsuite/bins/interface.c: (main):
7514 * testsuite/caps/audioscale.c: (test_caps):
7515 * testsuite/caps/caps.c: (test1), (test2), (test3):
7516 * testsuite/caps/deserialize.c: (main):
7517 * testsuite/caps/enumcaps.c: (main):
7518 * testsuite/caps/filtercaps.c: (main):
7519 * testsuite/caps/intersect2.c: (main):
7520 * testsuite/caps/random.c: (main):
7521 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7522 * testsuite/caps/sets.c: (check_caps):
7523 * testsuite/caps/simplify.c: (check_caps), (main):
7524 * testsuite/caps/subtract.c: (check_caps):
7525 Fix _pad_get_direction wrt ghostpads.
7528 2005-03-09 Wim Taymans <wim@fluendo.com>
7530 * check/Makefile.am:
7531 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7532 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7533 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7534 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7535 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7536 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7537 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7538 (bin_element_is_sink), (gst_bin_iterate_sinks),
7539 (gst_bin_iterate_all_by_interface):
7541 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7542 (gst_element_change_state), (gst_element_dispose),
7543 (gst_element_finalize), (gst_element_set_loop_function):
7545 * gst/gstiterator.c: (find_custom_fold_func):
7546 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7547 (gst_pad_collectv), (gst_pad_collect_valist),
7548 (gst_pad_template_new):
7549 * gst/gstpipeline.c: (gst_pipeline_class_init),
7550 (gst_pipeline_dispose), (gst_pipeline_set_property),
7551 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7552 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7553 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7555 * gst/schedulers/entryscheduler.c:
7556 * gst/schedulers/gstbasicscheduler.c:
7557 (gst_basic_scheduler_cothreaded_chain),
7558 (gst_basic_scheduler_chain_add_element):
7559 * testsuite/bins/interface.c: (main):
7561 Added GstSystemClock test.
7562 Implemented clock distribution code in GstBin.
7563 Implemented iterate sinks method for future use.
7564 Rearranged gstelement.h
7565 Fix GstIterator comparison bug.
7566 Moved some code to GstPipeline, mostly clocking related.
7568 2005-03-09 Wim Taymans <wim@fluendo.com>
7571 * gst/gst_private.h:
7572 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7573 (gst_bin_remove_func), (gst_bin_remove),
7574 (gst_bin_get_by_name_recurse_up):
7575 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7576 (gst_clock_id_compare_func), (gst_clock_id_wait),
7577 (gst_clock_id_wait_async), (gst_clock_init),
7578 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7580 * gst/gstinfo.c: (_gst_debug_init):
7582 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7583 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7585 Bump version number, we're now 0.9.0
7586 Add future debugging category.
7587 Fix NULL _unref() in _get_by_name_recurse_up
7591 2005-03-08 Wim Taymans <wim@fluendo.com>
7593 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7594 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7595 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7596 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7597 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7598 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7599 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7600 * gst/elements/gstidentity.c: (gst_identity_class_init):
7601 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7602 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7603 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7604 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7605 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7607 * gst/gstelement.c: (gst_element_class_init),
7608 (gst_element_base_class_init), (gst_element_init),
7609 (gst_element_get_random_pad), (gst_element_wait_state_change),
7610 (gst_element_change_state), (gst_element_dispose),
7611 (gst_element_finalize), (gst_element_set_loop_function):
7613 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7614 * gst/gstthread.c: (gst_thread_class_init),
7615 (gst_thread_release_children_locks), (gst_thread_change_state):
7616 * gst/schedulers/gstbasicscheduler.c:
7617 (gst_basic_scheduler_loopfunc_wrapper),
7618 (gst_basic_scheduler_chain_wrapper),
7619 (gst_basic_scheduler_src_wrapper),
7620 (gst_basic_scheduler_remove_element):
7621 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7622 Remove threadsafe properties. Fix elements because GObject
7623 complains when installing a property before declaring a
7624 set/get_property handler.
7625 Rearrange gstelement.h file, use STATE macros for state locks.
7626 Free mutexes in the finalize method instead of dispose.
7628 2005-03-08 Wim Taymans <wim@fluendo.com>
7630 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7631 * gst/gstthread.c: (gst_thread_release_children_locks):
7632 Added parentage check.
7633 Fix build og GstThread again.
7635 2005-03-08 Wim Taymans <wim@fluendo.com>
7637 * docs/design/part-MT-refcounting.txt:
7638 * docs/design/part-conventions.txt:
7639 * docs/design/part-gstobject.txt:
7640 * docs/design/part-relations.txt:
7641 * docs/design/part-standards.txt:
7642 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7643 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7644 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7645 (gst_bin_iterate_all_by_interface):
7648 * gst/gstelement.c: (gst_element_class_init),
7649 (gst_element_change_state), (gst_element_set_loop_function):
7651 * gst/gstiterator.c:
7652 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7653 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7654 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7655 (gst_object_set_parent), (gst_object_unparent),
7656 (gst_object_check_uniqueness):
7658 Docs updates, clean up some headers.
7660 2005-03-07 Wim Taymans <wim@fluendo.com>
7663 * check/Makefile.am:
7664 * check/gst-libs/.cvsignore:
7665 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7666 * check/gst/.cvsignore:
7667 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7668 (START_TEST), (gstbus_suite), (main):
7669 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7670 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7671 (gst_data_suite), (main):
7672 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7673 (add_fold_func), (gstiterator_suite), (main):
7674 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7675 (thread_name_object), (thread_name_object_default),
7676 (gst_object_name_compare), (gst_object_suite), (main):
7677 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7678 (gst_pad_suite), (main):
7679 * check/gstcheck.c: (gst_check_log_message_func),
7680 (gst_check_log_critical_func), (gst_check_init):
7682 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7683 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7686 2005-03-07 Wim Taymans <wim@fluendo.com>
7688 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7689 (gst_list_iterator_next), (gst_list_iterator_resync),
7690 (gst_list_iterator_free), (gst_iterator_new_list),
7691 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7692 (gst_iterator_free), (gst_iterator_push), (filter_next),
7693 (filter_resync), (filter_uninit), (filter_free),
7694 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7695 (gst_iterator_foreach), (find_custom_fold_func),
7696 (gst_iterator_find_custom):
7697 * gst/gstiterator.h:
7698 Added missing files.
7700 2005-03-07 Wim Taymans <wim@fluendo.com>
7704 * docs/design/part-MT-refcounting.txt:
7705 * docs/design/part-conventions.txt:
7706 * docs/design/part-gstobject.txt:
7707 * docs/design/part-relations.txt:
7708 * examples/mixer/mixer.c: (main):
7709 * examples/thread/thread.c: (eos), (main):
7711 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7712 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7713 (gst_spider_plug_from_srcpad):
7714 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7715 (gst_spider_identity_change_state),
7716 (gst_spider_identity_sink_loop_type_finding):
7717 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7718 * gst/elements/gstidentity.c: (gst_identity_init):
7719 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7720 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7721 * gst/elements/gsttypefindelement.c: (free_entry):
7724 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7725 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7726 (gst_bin_set_index), (gst_bin_set_element_sched),
7727 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7728 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7729 (gst_bin_iterate_elements), (iterate_child_recurse),
7730 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7731 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7732 (compare_interface), (gst_bin_get_by_interface),
7733 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7735 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7736 (gst_buffer_default_free), (gst_buffer_default_copy),
7737 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7738 (gst_buffer_create_sub):
7740 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7741 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7742 (gst_caps_unref), (gst_static_caps_get),
7743 (gst_caps_remove_and_get_structure), (gst_caps_append),
7744 (gst_caps_append_structure), (gst_caps_remove_structure),
7745 (gst_caps_copy_nth), (gst_caps_set_simple),
7746 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
7747 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
7748 (gst_caps_structure_intersect_field), (gst_caps_intersect),
7749 (gst_caps_structure_subtract_field), (gst_caps_subtract),
7750 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
7751 (gst_caps_structure_figure_out_union),
7752 (gst_caps_switch_structures), (gst_caps_do_simplify),
7753 (gst_caps_replace), (gst_caps_from_string),
7754 (gst_caps_copy_conditional):
7756 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
7757 (_gst_clock_id_free), (gst_clock_id_unref),
7758 (gst_clock_id_compare_func), (gst_clock_id_wait),
7759 (gst_clock_id_wait_async), (gst_clock_class_init),
7760 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
7761 (gst_clock_get_time), (gst_clock_set_time_adjust),
7762 (gst_clock_set_property), (gst_clock_get_property):
7765 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
7766 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
7768 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7769 (gst_element_requires_clock), (gst_element_provides_clock),
7770 (gst_element_set_clock), (gst_element_clock_wait),
7771 (gst_element_wait), (gst_element_set_time_delay),
7772 (gst_element_is_indexable), (gst_element_add_pad),
7773 (gst_element_add_ghost_pad), (gst_element_remove_pad),
7774 (pad_compare_name), (gst_element_get_static_pad),
7775 (gst_element_request_pad), (gst_element_get_request_pad),
7776 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
7777 (gst_element_class_get_pad_template_list),
7778 (gst_element_class_get_pad_template), (gst_element_error_func),
7779 (gst_element_get_random_pad), (gst_element_get_event_masks),
7780 (gst_element_send_event), (gst_element_seek),
7781 (gst_element_get_query_types), (gst_element_query),
7782 (gst_element_get_formats), (gst_element_convert),
7783 (gst_element_is_locked_state), (gst_element_set_locked_state),
7784 (gst_element_sync_state_with_parent), (gst_element_change_state),
7785 (gst_element_finalize), (gst_element_yield),
7786 (gst_element_interrupt), (gst_element_set_scheduler),
7787 (gst_element_get_scheduler), (gst_element_set_loop_function):
7790 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
7791 (gst_format_get_by_nick), (gst_format_get_details),
7792 (gst_format_iterate_definitions):
7794 * gst/gstindex.c: (gst_index_gtype_resolver):
7797 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
7798 (gst_mem_chunk_free):
7799 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7800 (gst_object_ref), (gst_object_unref), (gst_object_sink),
7801 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
7802 (gst_object_dispatch_properties_changed),
7803 (gst_object_set_name_default), (gst_object_set_name),
7804 (gst_object_get_name), (gst_object_set_name_prefix),
7805 (gst_object_get_name_prefix), (gst_object_set_parent),
7806 (gst_object_get_parent), (gst_object_unparent),
7807 (gst_object_check_uniqueness), (gst_object_save_thyself),
7808 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
7809 (gst_object_set_property), (gst_object_get_property),
7810 (gst_object_get_path_string):
7812 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7813 (gst_real_pad_init), (gst_real_pad_get_property),
7814 (gst_pad_custom_new), (gst_pad_get_direction),
7815 (gst_pad_set_active), (gst_pad_is_active),
7816 (gst_pad_set_event_function), (gst_pad_is_linked),
7817 (gst_pad_link_free), (gst_pad_link_intersect),
7818 (gst_pad_link_fixate), (gst_pad_set_caps),
7819 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
7820 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
7821 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
7822 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
7823 (gst_pad_get_caps), (gst_pad_peer_get_caps),
7824 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
7825 (gst_pad_realize), (gst_pad_get_allowed_caps),
7826 (gst_real_pad_dispose), (gst_real_pad_finalize),
7827 (gst_pad_collectv), (gst_pad_collect_valist),
7828 (gst_pad_template_dispose), (gst_pad_template_new),
7829 (gst_pad_get_internal_links):
7831 * gst/gstpipeline.c: (gst_pipeline_dispose),
7832 (gst_pipeline_change_state):
7833 * gst/gstpipeline.h:
7835 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
7836 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
7837 * gst/gstpluginfeature.h:
7838 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
7839 * gst/gstquery.c: (_gst_query_type_initialize),
7840 (gst_query_type_register), (gst_query_type_get_by_nick),
7841 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
7843 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
7844 * gst/gstscheduler.c: (gst_scheduler_add_element),
7845 (gst_scheduler_factory_create):
7846 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7847 (gst_structure_free), (gst_structure_set_name),
7848 (gst_structure_id_set_value), (gst_structure_set_value),
7849 (gst_structure_set_valist), (gst_structure_remove_field),
7850 (gst_structure_remove_fields),
7851 (gst_structure_remove_fields_valist),
7852 (gst_structure_remove_all_fields), (gst_structure_foreach),
7853 (gst_structure_map_in_place),
7854 (gst_caps_structure_fixate_field_nearest_int),
7855 (gst_caps_structure_fixate_field_nearest_double):
7856 * gst/gststructure.h:
7857 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7858 (gst_system_clock_init), (gst_system_clock_dispose),
7859 (gst_system_clock_async_thread),
7860 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
7861 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7862 * gst/gstsystemclock.h:
7863 * gst/gsttag.c: (gst_tag_list_add_value_internal),
7864 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
7865 * gst/gsttaginterface.c:
7866 * gst/gstthread.c: (gst_thread_dispose),
7867 (gst_thread_release_children_locks), (gst_thread_change_state),
7868 (gst_thread_main_loop):
7869 * gst/gsttrashstack.h:
7870 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
7872 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7873 (gst_element_request_pad), (gst_element_get_pad_from_template),
7874 (gst_element_request_compatible_pad),
7875 (gst_element_get_compatible_pad_filtered),
7876 (gst_element_get_compatible_pad), (gst_element_state_get_name),
7877 (gst_element_link_pads_filtered), (gst_element_link_filtered),
7878 (gst_element_link_many), (gst_element_link),
7879 (gst_element_link_pads), (gst_element_unlink_pads),
7880 (gst_element_unlink_many), (gst_element_unlink),
7881 (gst_pad_can_link_filtered), (gst_pad_can_link),
7882 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
7883 (gst_object_default_error), (gst_bin_add_many),
7884 (gst_bin_remove_many), (gst_element_populate_std_props),
7885 (gst_element_class_install_std_props), (gst_buffer_merge),
7886 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
7887 (link_fold_func), (gst_pad_proxy_setcaps):
7889 * gst/gstvalue.c: (gst_value_deserialize_string):
7890 * gst/parse/grammar.y:
7891 * gst/schedulers/gstbasicscheduler.c:
7892 (gst_basic_scheduler_cothreaded_chain),
7893 (gst_basic_scheduler_chain_recursive_add),
7894 (gst_basic_scheduler_pad_link):
7895 * gst/schedulers/gstoptimalscheduler.c:
7896 (get_group_schedule_function),
7897 (gst_opt_scheduler_state_transition),
7898 (gst_opt_scheduler_add_element), (element_get_reachables_func):
7899 * libs/gst/bytestream/bytestream.c:
7900 * libs/gst/dataprotocol/dataprotocol.c:
7901 (gst_dp_header_from_buffer):
7904 * tests/threadstate/threadstate2.c: (eos):
7905 * tools/gst-compprep.c: (main):
7906 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
7907 (print_pad_info), (print_children_info):
7908 * tools/gst-launch.c: (idle_func), (main):
7909 * tools/gst-md5sum.c: (idle_func), (main):
7910 * tools/gst-xmlinspect.c: (print_element_info):
7911 First THREADED backport attempt, focusing on adding locks and
7912 making sure the API is threadsafe. Needs more work. More docs
7915 2005-02-24 Andy Wingo <wingo@pobox.com>
7917 * tests/bench-complexity.scm:
7918 * tests/complexity.gnuplot: New files, good for running complexity
7921 * tests/Makefile.am:
7922 * tests/complexity.c: New test, sets up N elements, at each level
7923 teeing into M streams per element. Eeeenteresting.
7925 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
7926 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
7927 running bench-mass_elements.scm.
7929 * tests/bench-mass_elements.scm: New script, runs mass_elements
7930 for various numbers of identities, outputting the results to a
7931 file. Requires guile 1.6. Just for testing.
7933 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
7935 * gst/schedulers/fairscheduler.c:
7936 compile with debug disabled
7938 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
7941 hunting season on 0.9 is now OPEN