1 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3 * gst/elements/gstcapsfilter.c:
4 * gst/elements/gstfakesink.c:
5 * gst/elements/gstfakesrc.c:
6 * gst/elements/gstfdsink.c:
7 * gst/elements/gstfdsrc.c:
8 * gst/elements/gstfilesink.c:
9 * gst/elements/gstfilesrc.c:
10 * gst/elements/gstidentity.c:
11 * gst/elements/gsttee.c:
12 * gst/elements/gsttypefindelement.c:
13 Make element details static.
15 2005-09-28 Wim Taymans <wim@fluendo.com>
17 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21 (gst_bin_change_state), (gst_bin_dispose):
22 Some documentation updates.
23 Clean up dispose handlers.
25 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
26 * gst/gstpad.c: (gst_pad_dispose):
27 Clean up dispose handler.
29 * gst/gstpipeline.c: (gst_pipeline_change_state):
30 Removed spurious UNLOCK.
32 2005-09-27 Stefan Kost <ensonic@users.sf.net>
34 * docs/gst/gstreamer-sections.txt:
35 * gst/base/gstbasesrc.h:
44 added two new functions to the docs
45 documents all undocumented GstXXXFlags
46 completed some incomplete docs
48 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
50 * gst/gstbin.c: (gst_bin_dispose):
51 * gst/gstelement.c: (gst_element_dispose):
52 remove now useless and leaky resurrection code in dispose
53 * gst/base/gstbasesrc.c: (gst_base_src_init):
54 * gst/gstelementfactory.c: (gst_element_factory_create):
55 * gst/gstobject.c: (gst_object_set_parent):
58 2005-09-27 Wim Taymans <wim@fluendo.com>
60 * docs/design/part-TODO.txt:
63 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
64 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
65 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
66 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
67 (gst_bin_change_state):
69 Remove element variable, we keep element info in the iterator now.
71 2005-09-27 Andy Wingo <wingo@pobox.com>
73 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
76 2005-09-27 Wim Taymans <wim@fluendo.com>
78 * check/gst/gstbin.c: (GST_START_TEST):
79 Enable check that works now.
81 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
82 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
83 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
84 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
85 (gst_bin_change_state):
87 Redid the state change algorithm using a topological sort algo.
88 Handles all cases correctly.
89 Exposed iterator for state change order.
92 Temp storage for state changes. Need to get rid of this soon.
94 2005-09-27 Wim Taymans <wim@fluendo.com>
96 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
97 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
98 (link_fold_func), (gst_pad_proxy_setcaps):
99 Leak fixes, the fold functions need to unref the passed object and
100 _get_parent_*() returns ref to parent.
102 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
104 * check/gst/gstbuffer.c: (test_make_writable):
105 Plug leak in test case and fix 'make check-valgrind'
107 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
109 * gst/gstbuffer.c: (gst_subbuffer_init):
110 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
111 works correctly in all circumstances (we could have just copied
112 the parent buffer's readonly flag, but conceptually it seems
113 cleaner to mark all subbuffers as read-only). (based on patch
114 by Alessandro Decina, #314710).
116 * check/gst/gstbuffer.c: (create_read_only_buffer),
117 (test_make_writable), (test_subbuffer_make_writable),
119 Add some tests for gst_buffer_make_writable().
121 2005-09-27 Wim Taymans <wim@fluendo.com>
123 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
124 use gst_object_has_ancestor().
126 * gst/gstobject.c: (gst_object_has_ancestor):
128 gst_object_has_ancestor() copied from gstbin.c as it is a
131 * tests/instantiate/create.c: (create_all_elements):
132 * tests/lat.c: (handoff_src), (handoff_sink):
133 * tests/sched/runxml.c: (main):
134 * tests/seeking/seeking1.c: (main):
135 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
137 Fix compilation of some tests.
139 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
142 Remove comment. GST_TYPE_G_ERROR is here to stay,
143 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
146 2005-09-26 Wim Taymans <wim@fluendo.com>
148 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
149 Added check that shows error in state change order.
151 2005-09-26 Wim Taymans <wim@fluendo.com>
153 * gst/gstbin.c: (gst_bin_change_state):
154 Make state change function use 3 queues again, we were
155 adding elements in the wrong order.
157 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
160 * gst/gstpad.c: (gst_pad_dispose):
161 Added some debug info first.
163 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
165 * docs/design/draft-push-pull.txt:
166 * docs/design/part-events.txt:
167 * docs/design/part-overview.txt:
168 * docs/design/part-scheduling.txt:
169 Replace all _pull_region() with _pull_range()
171 2005-09-26 Andy Wingo <wingo@pobox.com>
173 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
175 * check/gst-libs/controller.c: Update for controller api change.
179 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
180 over by GLib bug 118439.
182 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
183 routines to a function.
185 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
187 * libs/gst/controller/gsthelper.c:
188 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
189 (gst_object_sync_values): Renamed from sink_values. Ugh.
191 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
193 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
194 Renamed from controller_key, as it is exported.
196 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
198 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
203 * gst/gstpadtemplate.h:
206 * gst/gstqueryutils.c:
207 * gst/gstqueryutils.h:
208 remove queryutils headers after moving the two used functions
209 to gstquery. also fixes build problem for gstsiddec
211 2005-09-26 Michael Smith <msmith@fluendo.com>
213 * tools/gst-launch.1.in:
214 Correct documentation in manpage of debug syntax
216 2005-09-26 Wim Taymans <wim@fluendo.com>
218 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
219 (gst_base_src_is_seekable), (gst_base_src_change_state):
220 Some more debugging info.
222 2005-09-25 Stefan Kost <ensonic@users.sf.net>
224 * docs/gst/gstreamer-sections.txt:
225 * gst/base/gstbasetransform.h:
229 2005-09-25 Stefan Kost <ensonic@users.sf.net>
231 * docs/gst/.cvsignore:
232 * docs/gst/tmpl/.cvsignore:
233 * docs/gst/tmpl/gstpipeline.sgml:
234 * docs/gst/tmpl/gstplugin.sgml:
238 inlined the last two docs files
239 removed the tmpl directory from cvs (no more conflicts here!)
241 2005-09-25 Stefan Kost <ensonic@users.sf.net>
243 * docs/gst/gstreamer-sections.txt:
244 * docs/gst/tmpl/.cvsignore:
245 * docs/gst/tmpl/gstpad.sgml:
246 * docs/gst/tmpl/gstpadtemplate.sgml:
248 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
249 (gst_pad_finalize), (gst_pad_set_pad_template):
251 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
252 (gst_pad_template_class_init), (gst_pad_template_init),
253 (gst_pad_template_dispose), (name_is_valid),
254 (gst_static_pad_template_get), (gst_pad_template_new),
255 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
256 (gst_pad_template_pad_created):
257 * gst/gstpadtemplate.h:
258 inlined two more docs
259 factored gstpadtemplate out of gstpad
261 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
263 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
264 (test_children_state_change_order_semi_sink):
265 Fix test case: we can't rely on a fixed state change order when
266 going from READY => PAUSED because the sink might commit its
267 new state first when the first buffer created by the source
268 reaches the sink before the source has finished its change state.
269 (Test case still fails at times, see #316856, comment 5 onwards)
271 2005-09-24 Wim Taymans <wim@fluendo.com>
273 * docs/design/part-events.txt:
274 * docs/design/part-gstbus.txt:
275 * docs/design/part-gstpipeline.txt:
276 * docs/design/part-messages.txt:
277 * docs/design/part-overview.txt:
278 * docs/design/part-segments.txt:
286 Various documentation updates.
288 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
291 Well, that's embarassing. Luckily we weren't using
292 GST_CLOCK_DIFF anywhere.
294 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
296 * common/gtk-doc.mak:
297 don't fail on building XML, FC4 slave shows a bunch of doc
298 missing bits that I don't get
301 * gst/gststructure.c:
304 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
306 * docs/design/part-gstbin.txt:
307 * docs/design/part-gstbus.txt:
309 Add blurb about how the bus goes into flushing mode and
310 drops all messages when its bin goes from READY into NULL
313 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
315 * docs/gst/gstreamer-sections.txt:
316 * gst/gststructure.c: (gst_structure_get_clock_time):
317 * gst/gststructure.h:
318 add a method to get a GstClockTime out of a structure
320 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
322 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
323 (test_children_state_change_order_semi_sink), (gst_bin_suite):
324 Added test to check state change order in bins (can still be made
325 to fail here under heavy disk load; bails out with 'Push on pad
326 fakesink:sink0, but it was not activated in push mode').
328 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
329 Fix state change order when there is only a semi sink (#316856)
331 * gst/gstbus.c: (gst_bus_class_init):
332 Use _class_peek_parent(), not _class_ref(); fix docs to say
333 'default main context' instead of 'mainloop' where that is
336 * gst/gstelement.c: (gst_element_commit_state),
337 (gst_element_set_state):
338 Fix typos in debug messages
340 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
343 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
344 * gst/gstpluginfeature.c:
347 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
348 change an assert into an error until it gets fixed properly
350 2005-09-23 Stefan Kost <ensonic@users.sf.net>
352 * docs/gst/gstreamer-sections.txt:
353 * docs/gst/tmpl/.cvsignore:
354 * docs/gst/tmpl/gstelement.sgml:
355 * docs/gst/tmpl/gstinfo.sgml:
356 * docs/gst/tmpl/gstobject.sgml:
361 * gst/gstobject.c: (gst_object_class_init):
363 inlined 3 more biiiig doc files and added some missing docs on the fly
365 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
367 * check/gst/.cvsignore:
368 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
369 * gst/gstregistryxml.c: (load_plugin),
370 (gst_registry_xml_save_plugin):
371 put back source in registry. add checks for find_plugin.
372 * testsuite/states/bin.c: (assert_state), (empty_bin),
373 (test_adding_one_element), (main):
374 * testsuite/states/locked.c: (main):
375 some compile/run fixes
377 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
379 * check/gst/gstvalue.c: (GST_START_TEST):
380 fix leaks in the test itself
382 2005-09-22 Wim Taymans <wim@fluendo.com>
384 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
385 (gst_base_sink_send_event), (gst_base_sink_peer_query),
386 (gst_base_sink_query):
387 Prepare for more accurate position reporting and query
390 * gst/gstelement.c: (gst_element_send_event),
391 (gst_element_set_state):
394 2005-09-22 Wim Taymans <wim@fluendo.com>
396 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
397 (gst_query_parse_segment):
400 Add segment query for future use.
402 2005-09-22 Wim Taymans <wim@fluendo.com>
404 * gst/gstbin.c: (gst_bin_add_func):
405 Some more debug info.
407 * gst/gstelement.c: (gst_element_send_event):
411 Don't know how flags got broken.
416 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
418 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
419 Add simplistic test suite for GST_TYPE_DATE serialisation and
422 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
424 * docs/gst/gstreamer-sections.txt:
425 * gst/gststructure.c: (gst_structure_set_valist),
426 (gst_structure_get_date):
427 * gst/gststructure.h:
428 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
429 (gst_date_copy), (gst_value_compare_date),
430 (gst_value_serialize_date), (gst_value_deserialize_date),
431 (gst_value_transform_date_string),
432 (gst_value_transform_string_date), (_gst_value_initialize):
434 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
435 bunch of utility functions along with a hack that checks that
436 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
437 is required. Part of the grand scheme in #170777.
439 2005-09-22 Andy Wingo <wingo@pobox.com>
441 * gst/gstconfig.h.in: Psych out gtk-doc.
443 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
445 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
447 * tools/gst-inspect.c (print_element_list): Plug some
448 inconsequential leaks.
450 * gst/gstregistry.c (gst_registry_get_default): Doc.
452 * check/gst/gstplugin.c:
453 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
454 * gst/gstelementfactory.c (gst_element_factory_create):
455 * gst/gstindexfactory.c (gst_index_factory_create): Update for
458 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
459 (gst_plugin_feature_load): Doc, don't eat refs.
461 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
462 (gst_plugin_list_free): Doc.
463 (gst_plugin_load_file): Doc updates.
465 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
466 accessors returning refcounted objects, return a ref.
468 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
469 accessor for caps. IDEMPOTENCE. Oh yes.
471 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
473 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
475 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
476 (_gst_debug_register_funcptr):
477 Add mutex to serialise access to the hash table with
478 the function pointer => function name string mapping;
479 make that hash table static scope (#316809).
481 * gst/registries/.cvsignore:
482 Remove left-over file.
484 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
486 * docs/pwg/appendix-porting.xml:
487 And something about newsegment events and caps-on-buffers to
488 the porting guide (feel free to improve).
490 2005-09-21 Andy Wingo <wingo@pobox.com>
492 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
493 data and event probes on the same pad.
494 (test_buffer_probe_once): Test that removing probes from within
495 the probe functions works.
497 2005-09-21 Andy Wingo <wingo@pobox.com>
499 * check/gst/gstutils.c: New file.
500 (test_buffer_probe_n_times): A simple buffer probe test. More to
503 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
504 have-data::buffer, not have-data.
505 (gst_pad_add_event_probe): Likewise for have-data::event.
506 (gst_pad_add_data_probe): More docs. The part about 'resolving the
507 peer' isn't quite right yet though.
508 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
509 (gst_pad_remove_data_probe): Change to take the guint handler_id
510 as their arg, not the function+data, which is more glib-like.
512 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
513 the signal emission to indicate if the data is a buffer or an
515 (gst_pad_get_type): Initialize buffer and event quarks.
516 (gst_pad_class_init): have-data is now a detailed signal, yes it
519 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
521 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
522 * gst/gstutils.c: (gst_util_set_value_from_string),
523 (gst_util_set_object_arg):
524 Don't put functional code in g_return_if_fail() or
525 g_return_val_if_fail() statements, otherwise things will
526 break when G_DISABLE_CHECKS is defined during compilation.
528 2005-09-21 Stefan Kost <ensonic@users.sf.net>
530 * docs/gst/tmpl/.cvsignore:
531 * docs/gst/tmpl/gstvalue.sgml:
534 inlied another one and added some obvious docs
536 2005-09-21 Wim Taymans <wim@fluendo.com>
538 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
539 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
540 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
541 (gst_fdsrc_get_property), (gst_fdsrc_create):
542 * gst/elements/gstfdsrc.h:
543 Properly implement fdsrc. Removed signal and timeout,
544 better implemented somewhere else.
546 2005-09-21 Stefan Kost <ensonic@users.sf.net>
548 * docs/gst/tmpl/.cvsignore:
549 * docs/gst/tmpl/gstimplementsinterface.sgml:
550 * gst/gstinterface.c:
553 2005-09-21 Stefan Kost <ensonic@users.sf.net>
555 * docs/gst/gstreamer-sections.txt:
556 * docs/gst/tmpl/.cvsignore:
557 * docs/gst/tmpl/gstenumtypes.sgml:
558 remove obsolete doc file
560 2005-09-21 David Schleef <ds@schleef.org>
562 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
563 little beer, fix a little leak.
565 2005-09-21 Stefan Kost <ensonic@users.sf.net>
567 * docs/gst/gstreamer-docs.sgml:
568 * docs/gst/gstreamer-sections.txt:
569 * docs/gst/tmpl/.cvsignore:
574 * gst/gstindex.c: (gst_index_class_init):
576 * gst/gstindexfactory.c: (gst_index_factory_get_type),
577 (gst_index_factory_class_init), (gst_index_factory_init),
578 (gst_index_factory_finalize), (gst_index_factory_new),
579 (gst_index_factory_destroy), (gst_index_factory_find),
580 (gst_index_factory_create), (gst_index_factory_make):
581 * gst/gstindexfactory.h:
582 * gst/gstpluginfeature.c:
583 * gst/gstpluginfeature.h:
584 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
585 more docs inlined, splitted gstindex.{c,h}
587 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
589 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
592 2005-09-20 Tim-Philipp M??ller <tim at centricular dot net>
594 * gst/elements/gstfilesink.c: (gst_file_sink_init):
595 Set sync to FALSE by default.
597 2005-09-20 Wim Taymans <wim@fluendo.com>
599 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
600 (gst_base_sink_init):
601 Make sync property settable from subclass.
603 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
604 (gst_fake_sink_change_state):
605 Set sync to FALSE by default.
607 2005-09-20 Wim Taymans <wim@fluendo.com>
609 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
610 * tools/gst-launch.c: (main):
611 The timeout handler should have lower priority than the source
612 so we don't timeout before popping a message with 0 timeout.
613 Dump error messages after failed state change.
615 2005-09-20 Tim-Philipp M??ller <tim at centricular dot net>
617 * tools/gst-inspect.c: (print_element_properties_info):
620 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
622 * check/gst/gstevent.c:
623 * gst/elements/gstfakesink.c:
624 * gst/elements/gstfakesink.h:
625 remove the sync property from fakesink.
626 has the side effect of setting sync TRUE
627 for fakesink, which is a change. Anyone who knows how
628 to fix this nicely in a GObject-y way, feel free.
630 2005-09-20 Stefan Kost <ensonic@users.sf.net>
632 * docs/gst/gstreamer-docs.sgml:
633 remove probe refsection
635 2005-09-20 Stefan Kost <ensonic@users.sf.net>
638 disable valgrinding the controller test again
639 * docs/gst/gstreamer-sections.txt:
640 update for api-changes
642 2005-09-20 Wim Taymans <wim@fluendo.com>
644 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
645 (gst_base_sink_set_property), (gst_base_sink_get_property),
646 (gst_base_sink_do_sync):
647 * gst/base/gstbasesink.h:
648 Added sync property to basesink to disable clock sync.
650 2005-09-20 Andy Wingo <wingo@pobox.com>
652 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
653 eating the caller's refcount.
655 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
656 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
659 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
660 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
661 of GLib 2.8 public, so we can know which refcount to check in
664 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
665 (gst_object_init): Only set the gst refcount if we're going ahead
666 with the refcount hack.
668 2005-09-20 Stefan Kost <ensonic@users.sf.net>
670 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
671 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
672 more leaks plumbed, added more debug-logging
676 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
679 remove include of gstmemchunk.h
681 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
683 * gst/gstclock.c: (_gst_clock_id_free):
684 Commit from the Political Party For More Atomic CVS Commits,
685 so that people don't waste too much of their day fishing
686 out obvious leaks out of massive commits.
687 Oh, and fix a pretty damn obvious leak in the memchunk
690 2005-09-20 Stefan Kost <ensonic@users.sf.net>
693 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
694 plug mem-leak, re-add to valgrindable tests
696 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
699 unbreak the build for those who have chronic arthritis
700 and typing "make check" is just too taxing on the hands
702 2005-09-20 Andy Wingo <wingo@pobox.com>
704 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
705 really want it out, you should fix plugins at the same time.
707 2005-09-19 Stefan Kost <ensonic@users.sf.net>
710 * docs/gst/gstreamer-sections.txt:
712 added missing symbols to api docs
713 disable ref-count hack if we have glib >= 2.8
715 2005-09-19 David Schleef <ds@schleef.org>
717 * docs/gst/Makefile.am: Ignore a few more internal headers
718 * docs/gst/gstreamer-docs.sgml: Remove old sections
719 * docs/gst/gstreamer-sections.txt: Remove old sections
720 * docs/gst/tmpl/gstobject.sgml: update
721 * docs/gst/tmpl/gstplugin.sgml: update
722 * docs/gst/tmpl/gstpluginfeature.sgml: update
723 * docs/random/ds/0.9-suggested-changes: update.
724 * gst/Makefile.am: remove memchunk and trashstack, since they're
726 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
727 * gst/gst.h: don't include some headers
728 * gst/gstchildproxy.c: add gstmarshal.h
729 * gst/gstclock.c: Don't use memchunks
730 * gst/gstminiobject.c: Add some docs
731 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
732 * gst/gstobject.h: same
733 * gst/gstplugin.c: include gstmacros.h
734 * gst/gstplugin.h: don't include gstmacros.h, since it's private
735 * gst/gstquery.c: don't use memchunks
736 * gst/gstregistry.c: rename gst_registry_deinit()
737 * gst/gstregistry.h: same
739 2005-09-19 David Schleef <ds@schleef.org>
741 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
742 * docs/libs/gstreamer-libs-sections.txt:
743 * docs/libs/tmpl/gstgetbits.sgml:
744 * docs/libs/tmpl/gstputbits.sgml:
746 2005-09-19 Tim-Philipp M??ller <tim at centricular dot net>
748 * win32/gstenumtypes.c:
749 * win32/gstenumtypes.h:
752 2005-09-19 Wim Taymans <wim@fluendo.com>
754 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
755 Automatically PAUSE and RESUME a pipeline when a flushing seek
758 2005-09-19 Andy Wingo <wingo@pobox.com>
760 * gst/gstregistry.h: Spacing fixen.
762 2005-09-19 Wim Taymans <wim@fluendo.com>
764 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
765 Handle state change failure more correctly.
767 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
770 * check/pipelines/cleanup.c: (run_pipeline):
771 * check/pipelines/simple_launch_lines.c: (run_pipeline),
773 enable cleanup again after fixing the leak
775 some more info on docs
777 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
780 re-enable tests now that leaks are plugged
782 * check/gst/gstbin.c:
783 * check/gst/gstpipeline.c:
784 add some more tests while fixing leaks
786 make sure binaries are uptodate when valgrinding/gdbing
788 * gst/gstelementfactory.c:
789 remove a ref too many, and add a FIXME for when we get
790 round to disposing of classes
792 fix the refcounting when loading a plugin from a file and
793 the code pretends that the pointer is the same even though
794 of course it can change
795 * gst/gstpluginfeature.c:
796 unref plugins marked cached (a bit confusing as a name)
797 as the docs state should be done
798 various doc additions to explain refcounting
800 * gst/gstregistryxml.c:
803 2005-09-19 Wim Taymans <wim@fluendo.com>
805 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
806 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
807 (send_messages), (GST_START_TEST), (gstbus_suite):
808 * check/gst/gstpipeline.c: (GST_START_TEST):
809 * check/pipelines/cleanup.c: (run_pipeline):
810 * check/pipelines/simple_launch_lines.c: (run_pipeline),
812 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
813 (gst_bus_source_check), (gst_bus_source_dispatch),
814 (gst_bus_create_watch), (gst_bus_add_watch_full),
815 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
817 * tools/gst-launch.c: (event_loop):
818 * tools/gst-md5sum.c: (event_loop):
819 GstBusHandler -> GstBusFunc, return value has the same meaning as
820 any other GSource (FALSE == remove source).
821 _add_watch() and _add_watch_full() now take a MessageType mask to
822 only handle specific types of messages.
823 _poll() returns the GstMessage instead of the message type to avoid
825 _have_pending() takes a MessageType mask now too.
826 Added testsuite for multiple bus watches.
827 Fix testsuites and applications for new bus API.
829 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
832 mark a bunch of the tests as to fix until we fix them
834 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
837 use GST_PLUGIN settings for valgrind tests as well, so we're
838 valgrinding the correct thing
839 * gst/gst.c: (init_post):
842 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
844 * gst/gst.c: (init_post), (gst_deinit):
845 * gst/gstelementfactory.c: (gst_element_factory_class_init),
846 (gst_element_factory_finalize), (gst_element_factory_cleanup):
847 * gst/gstindex.c: (gst_index_factory_class_init),
848 (gst_index_factory_finalize):
849 * gst/gstobject.c: (gst_object_dispose):
850 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
851 (gst_plugin_load_file), (gst_plugin_desc_free):
852 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
853 (gst_plugin_feature_finalize):
854 * gst/gstregistry.c: (gst_registry_class_init),
855 (gst_registry_init), (gst_registry_finalize),
856 (gst_registry_get_default), (gst_registry_deinit):
858 * gst/gstregistryxml.c: (load_feature), (load_plugin):
859 various cleanups and memleak plugging. make valgrind is happy now.
861 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
864 add a check-valgrind target
866 2005-09-18 David Schleef <ds@schleef.org>
868 * tools/gst-inspect.c: Revert the GOption code.
870 2005-09-17 David Schleef <ds@schleef.org>
872 * check/Makefile.am: Fix environment variables.
873 * check/gst/gstplugin.c: Fix for API changes.
874 * tools/gst-inspect.c: Fix for API changes.
875 * tools/gst-xmlinspect.c: Fix for API changes.
876 * gst/gstelementfactory.c:
879 * gst/gstpluginfeature.c:
880 * gst/gstpluginfeature.h:
883 * gst/gstregistryxml.c:
885 * gst/gsttypefindfactory.c:
886 * gst/indexers/gstfileindex.c:
887 * gst/indexers/gstmemindex.c:
888 * gst/schedulers/Makefile.am:
889 Change registry to keep track of both plugins and features,
890 removing the feature tracking from plugins themselves.
892 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
895 * tools/gst-register.1.in:
898 2005-09-15 David Schleef <ds@schleef.org>
900 * check/gst/gstplugin.c:
901 * gst/gstelementfactory.c:
903 * gst/gstpluginfeature.c:
905 Getting tired of debugging. Disabled all the unreffing of
906 plugins and features, which fixes the segfaults, but of
907 course leaks like crazy. At least playbin works.
909 2005-09-15 David Schleef <ds@schleef.org>
911 * check/gst/gstplugin.c: (register_check_elements),
912 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
914 * gst/elements/gsttypefindelement.c: Fix refcounting.
916 * gst/gsttypefindfactory.c:
917 * gst/gsttypefindfactory.h:
919 2005-09-15 David Schleef <ds@schleef.org>
921 * gst/gstindex.c: get refcounting correct.
922 * gst/gstregistry.c: Handle the case where a feature/plugin is
925 2005-09-15 David Schleef <ds@schleef.org>
928 * check/gst/gstplugin.c: Add test
929 * gst/gstplugin.c: Fix problems noticed by testsuite
934 2005-09-15 David Schleef <ds@schleef.org>
936 * gst/gstplugin.c: Implement semi-decent recounting and locking
937 in plugins and plugin features.
939 * gst/gstpluginfeature.c:
940 * gst/gstpluginfeature.h:
943 2005-09-15 Michael Smith <msmith@fluendo.com>
945 * gst/gstregistry.c: (gst_registry_get_feature_list):
946 Implement this. Makes oggdemux work; decodebin still broken.
948 2005-09-14 David Schleef <ds@schleef.org>
950 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
952 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
953 * gst/check/Makefile.am:
954 * libs/gst/controller/Makefile.am:
955 * libs/gst/dataprotocol/Makefile.am:
957 2005-09-14 David Schleef <ds@schleef.org>
959 * configure.ac: Remove getbits library. Nothing uses it, and
960 it should be in something like liboil if someone did want
962 * libs/gst/Makefile.am:
963 * libs/gst/getbits/Makefile.am:
964 * libs/gst/getbits/gbtest.c:
965 * libs/gst/getbits/getbits.c:
966 * libs/gst/getbits/getbits.h:
967 * libs/gst/getbits/gstgetbits_generic.c:
968 * libs/gst/getbits/gstgetbits_i386.s:
969 * libs/gst/getbits/gstgetbits_inl.h:
971 2005-09-14 David Schleef <ds@schleef.org>
973 * gst/Makefile.am: Dist glib-compat.h
975 2005-09-14 David Schleef <ds@schleef.org>
977 * configure.ac: Remove gst/registries, since it's no longer used.
978 * gst/registries/Makefile.am:
979 * gst/registries/gstlibxmlregistry.c:
980 * gst/registries/gstlibxmlregistry.h:
981 * gst/registries/gstxmlregistry.c:
982 * gst/registries/gstxmlregistry.h:
983 * gst/registries/registrytest.c:
985 2005-09-14 David Schleef <ds@schleef.org>
988 * gst/gstregistryxml.c:
989 Convergence is near. Seriously.
991 2005-09-14 David Schleef <ds@schleef.org>
993 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
995 Attempt #4 to appease the buildbots.
997 2005-09-14 David Schleef <ds@schleef.org>
999 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1002 2005-09-14 David Schleef <ds@schleef.org>
1004 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1007 2005-09-14 David Schleef <ds@schleef.org>
1009 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1012 2005-09-14 David Schleef <ds@schleef.org>
1014 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1015 * gst/glib-compat.h: Add some functions that are in newer versions
1016 of glib than we care to require.
1017 * gst/gstregistryxml.c: Use them.
1019 2005-09-14 David Schleef <ds@schleef.org>
1021 * po/POTFILES.in: remove gst-register.c
1023 2005-09-14 David Schleef <ds@schleef.org>
1025 * docs/gst/gstreamer-docs.sgml:
1026 * docs/gst/gstreamer-sections.txt:
1027 * docs/gst/gstreamer.types:
1028 * docs/gst/tmpl/gstelement.sgml:
1029 * docs/gst/tmpl/gstplugin.sgml:
1030 * docs/gst/tmpl/gstpluginfeature.sgml:
1031 Documentation updates for registry changes.
1033 2005-09-14 David Schleef <ds@schleef.org>
1035 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1036 because we don't require glib-2.8.
1038 2005-09-14 David Schleef <ds@schleef.org>
1040 * gst/gstregistryxml.c: Added. Essentially moved out of the
1041 registries directory.
1043 2005-09-14 David Schleef <ds@schleef.org>
1045 * check/Makefile.am:
1046 * check/generic/states.c:
1050 * gst/gst_private.h:
1051 * gst/gstelementfactory.c:
1056 * gst/gstpluginfeature.c:
1057 * gst/gstpluginfeature.h:
1058 * gst/gstregistry.c:
1059 * gst/gstregistry.h:
1060 * gst/gstregistrypool.c: remove
1061 * gst/gstregistrypool.h: remove
1062 * gst/gsttypefind.c:
1063 * gst/gsttypefindfactory.c:
1065 * tools/Makefile.am:
1066 * tools/gst-compprep.c:
1067 * tools/gst-inspect.c:
1068 * tools/gst-register.c: remove
1069 * tools/gst-xmlinspect.c:
1070 Registry rewrite. Changes registry from being a file created
1071 by a tool into a simple cache file created automatically by
1072 libgstreamer. Removed gst-register (because it's no longer
1073 needed). Remove registry pools, because we only have one
1074 registry implementation (XML). Fix up other subsystems as
1077 2005-09-13 Michael Smith <msmith@fluendo.com>
1079 * gst/gstconfig.h.in:
1080 Don't Use windows linking attributes for MinGW. Fixes #316157
1082 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1084 * gst/gstutils.c: (set_state_async_thread_func),
1085 (gst_element_set_state_async):
1086 Apparently people think it's better if this function doesn't
1087 try to set the state to whatever state was asked for on the first
1088 call to this function for any object. Seriously.
1090 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1092 * check/gst/gstpipeline.c: (GST_START_TEST):
1093 * docs/gst/gstreamer-sections.txt:
1094 * gst/gstutils.c: (set_state_async_thread_func),
1095 (gst_element_set_state_async):
1097 add a "gst_element_set_state_async" method that
1098 sets the state and starts a thread to make sure the state
1099 change completes as best as it can
1101 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1103 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1104 codify design+behaviour in testsuite after discussion
1106 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1108 * docs/gst/tmpl/gstelement.sgml:
1109 * docs/manual/appendix-quotes.xml:
1111 * gst/gstelement.c: (gst_element_set_state):
1114 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1116 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1117 (gst_base_transform_prepare_output_buf),
1118 (gst_base_transform_handle_buffer):
1119 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1120 (gst_capsfilter_prepare_buf):
1121 Remove the requirement for sub-classes to call the parent
1122 implementation of prepare_output_buffer with a wrapper function.
1125 * gst/gsttagsetter.h:
1128 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1130 * docs/gst/gstreamer-sections.txt:
1133 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1135 * docs/gst/gstreamer-sections.txt:
1136 * docs/gst/tmpl/gstelement.sgml:
1137 * docs/gst/tmpl/gstplugin.sgml:
1138 * gst/gstminiobject.c:
1140 docs now stop throwing warnings
1142 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1144 * docs/gst/gstreamer-sections.txt:
1145 * docs/gst/gstreamer.types:
1146 * docs/gst/tmpl/gstpad.sgml:
1147 * docs/gst/tmpl/gsttypes.sgml:
1148 * gst/base/gstadapter.h:
1149 * gst/base/gstbasesink.h:
1150 * gst/base/gstbasesrc.h:
1160 * gst/gststructure.c:
1161 * gst/registries/gstlibxmlregistry.h:
1162 various documentation fixes
1164 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1166 * docs/gst/gstreamer-sections.txt:
1167 * docs/gst/tmpl/gstvalue.sgml:
1168 rearrange gstvalue section
1169 * gst/gstutils.c: (gst_element_state_get_name):
1171 * gst/gstvalue.c: (_gst_value_initialize):
1175 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1177 * check/gst-libs/controller.c:
1179 * gst/base/gstbasetransform.c:
1180 (gst_base_transform_default_prepare_buf),
1181 (gst_base_transform_handle_buffer):
1182 * gst/base/gstbasetransform.h:
1183 Some more basetransform changes and fixes to enable sub-classes
1184 that modify buffer metadata only.
1185 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1186 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1187 (gst_capsfilter_prepare_buf):
1188 If the output pad has fixed allowed caps and input buffers
1189 don't have any, set the fixed caps on outgoing buffers.
1191 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1192 * check/elements/identity.c: (GST_START_TEST):
1193 Make the error a little clearer when the test fails because
1194 identity made a copy of the buffer.
1195 * docs/gst/gstreamer-sections.txt:
1196 New symbols in gstbasetransform.h
1197 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1198 (gst_base_transform_init), (gst_base_transform_transform_size),
1199 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1200 (gst_base_transform_default_prepare_buf),
1201 (gst_base_transform_get_unit_size),
1202 (gst_base_transform_buffer_alloc),
1203 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1204 (gst_base_transform_change_state),
1205 (gst_base_transform_set_passthrough),
1206 (gst_base_transform_set_in_place),
1207 (gst_base_transform_is_in_place):
1208 * gst/base/gstbasetransform.h:
1209 Change BaseTransform to separate in_place operate from same_caps
1210 output. in_place implies that the element can perform the transform
1211 on incoming buffers in-place, even if the caps on the output are
1213 Sub-class elements can now implement special buffer allocation
1214 methods for outgoing buffers if they wish to.
1215 Big documentation addition.
1216 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1217 * gst/elements/gstelements.c:
1218 Changes for basetransform modifications.
1219 * gst/elements/Makefile.am:
1220 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1221 Compile fix. Extra debug output.
1223 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1225 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1227 add tests for valid pad naming
1228 * gst/check/gstcheck.c: (gst_check_log_message_func),
1229 (gst_check_log_critical_func):
1231 remove printing of code, it is fragile when the code contains
1232 % and the line number is enough info
1233 * gst/check/gstcheck.h:
1234 * gst/gstpad.c: (gst_pad_template_new):
1237 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1240 say what CHECK flags we use
1241 * docs/libs/gstreamer-libs.types:
1242 * libs/gst/controller/Makefile.am:
1243 * libs/gst/controller/gst-controller.c:
1244 * libs/gst/controller/gst-controller.h:
1245 * libs/gst/controller/gst-helper.c:
1246 * libs/gst/controller/gst-interpolation.c:
1247 * libs/gst/controller/gstcontroller.c:
1248 * libs/gst/controller/gsthelper.c:
1249 * libs/gst/controller/gstinterpolation.c:
1250 * tools/gst-inspect.c: (print_plugin_info):
1251 we don't use dashes in header names
1253 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1255 * check/Makefile.am:
1256 * check/gst/.cvsignore:
1257 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1258 (gst_pipeline_suite), (main):
1259 adding a test for pipelines and state changes
1260 * gst/gstutils.c: (get_state_func):
1262 * gstreamer.spec.in:
1265 2005-09-08 Michael Smith <msmith@fluendo.com>
1267 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1268 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1269 (gst_file_src_is_seekable), (gst_file_src_get_size),
1270 (gst_file_src_start):
1271 * gst/elements/gstfilesrc.h:
1272 Various fixes for unseekable, unmmapable, and non-normal files, so
1273 that fallback to read() rather than mmap() works.
1274 * gst/gstevent.c: (gst_event_new_newsegment):
1275 Allow newsegment events with segment_start == segment_end, as will
1276 correctly happen if you use filesrc on a zero-size file, for
1279 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1281 * gst/gstplugin.c: (gst_plugin_load_file):
1282 Call g_module_close when we don't load the module
1284 * gst/registries/gstlibxmlregistry.c:
1285 (gst_xml_registry_get_property):
1286 Port leak fix from 0.8
1288 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1290 * docs/gst/gstreamer-docs.sgml:
1291 * docs/gst/tmpl/.cvsignore:
1292 * docs/gst/tmpl/gsttrace.sgml:
1293 * docs/gst/tmpl/gsttrashstack.sgml:
1302 * gst/gsttaginterface.c:
1303 * gst/gsttaginterface.h:
1306 * gst/gsttagsetter.c:
1307 * gst/gsttagsetter.h:
1310 * gst/gsttrashstack.c:
1311 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1312 inlined docs for gsttrace, gsttrashstack
1314 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1317 * gst/elements/gstbufferstore.h:
1318 * gst/elements/gsttypefindelement.c:
1319 * gst/elements/gsttypefindelement.h:
1321 * gst/gsttypefind.c:
1322 * gst/gsttypefind.h:
1323 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1324 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1325 (gst_type_find_factory_dispose),
1326 (gst_type_find_factory_unload_thyself),
1327 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1328 (gst_type_find_factory_get_caps),
1329 (gst_type_find_factory_get_extensions),
1330 (gst_type_find_factory_call_function):
1331 * gst/gsttypefindfactory.h:
1332 * gst/registries/gstlibxmlregistry.c:
1333 * gst/registries/gstxmlregistry.c:
1334 splitted gsttypefind into gsttypefind, gsttypefindfactory
1336 2005-09-07 Andy Wingo <wingo@pobox.com>
1338 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1339 condition whereby the pad's task function is entered before the
1340 pad_mode variable was set.
1342 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1344 * gst/gstpad.c: (gst_pad_alloc_buffer):
1345 Catch misbehaving pad_alloc functions that don't
1346 set up caps and do it for them.
1348 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1350 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1352 * docs/gst/tmpl/.cvsignore:
1353 * docs/gst/tmpl/gstmemchunk.sgml:
1354 * docs/gst/tmpl/gstparse.sgml:
1355 * docs/gst/tmpl/gsttaglist.sgml:
1356 * docs/gst/tmpl/gsttagsetter.sgml:
1357 * docs/gst/tmpl/gsttypefind.sgml:
1358 * docs/gst/tmpl/gsttypefindfactory.sgml:
1359 * gst/gstmemchunk.c:
1362 * gst/gsttaginterface.c:
1363 * gst/gsttypefind.c:
1364 * gst/gsttypefind.h:
1367 === release 0.9.2 ===
1369 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1374 releasing 0.9.2, "South"
1376 2005-09-05 Andy Wingo <wingo@pobox.com>
1378 * gst/registries/gstxmlregistry.h:
1379 * gst/registries/gstxmlregistry.c: Um... resurrect...
1381 * gst/registries/gstxmlregistry.h:
1382 * gst/registries/gstxmlregistry.c: and update to newer API.
1383 Incidentally they should be a bit faster now that they don't have
1386 2005-09-05 Andy Wingo <wingo@pobox.com>
1388 * gst/registries/gstxmlregistry.h:
1389 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1390 replaced by the libxml registry a while back
1392 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1394 * docs/gst/tmpl/gstplugin.sgml:
1395 * gst/elements/gstelements.c:
1397 * gst/gstplugin.c: (gst_plugin_register_func),
1398 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1399 (gst_plugin_get_source):
1401 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1402 (gst_xml_registry_save_plugin):
1403 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1404 (gst_xml_registry_save_plugin):
1405 * tools/gst-inspect.c: (print_plugin_info):
1406 add a "source" plugin description field, to represent the source
1407 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1408 will set it to PACKAGE, which is automake's idea of the name of
1411 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1417 * docs/faq/Makefile.am:
1418 * docs/gst/tmpl/gstelement.sgml:
1419 * docs/gst/tmpl/gsttypes.sgml:
1420 * docs/htmlinstall.mak:
1421 * docs/manual/Makefile.am:
1422 * docs/pwg/Makefile.am:
1423 reorganize doc build a little
1424 split out docbook and gtk-doc stuff
1425 have two separate --enable's and enable them through autogen
1426 but disable by default in configure (to be similar to other
1428 * gstreamer.spec.in:
1429 clean up docs install
1449 2005-09-03 Tim-Philipp M??ller <tim at centricular dot net>
1451 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1454 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1455 (gst_fake_sink_change_state):
1456 Make state change function thread-safe.
1458 * gst/gstpad.c: (gst_pad_alloc_buffer):
1459 Set offset on generic buffer allocated by fallback.
1461 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1463 * docs/gst/gstreamer-sections.txt:
1464 * docs/gst/tmpl/gstelement.sgml:
1466 * libs/gst/controller/gst-controller.c:
1467 (gst_controlled_property_set_interpolation_mode),
1468 (gst_controlled_property_new),
1469 (gst_controller_find_controlled_property):
1470 run the wingo-magic script against the docs
1472 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1474 * docs/gst/gstreamer-docs.sgml:
1475 * docs/gst/gstreamer-sections.txt:
1476 * docs/gst/tmpl/.cvsignore:
1477 * docs/gst/tmpl/gstelementdetails.sgml:
1478 * docs/gst/tmpl/gstelementfactory.sgml:
1481 * gst/gstelementfactory.c:
1482 * gst/gstelementfactory.h:
1483 merged elementdetails docs into elementfactory docs
1486 2005-09-02 Andy Wingo <wingo@pobox.com>
1488 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1489 consider this enum an enum and not a flags.
1491 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1493 * docs/gst/gstreamer-docs.sgml:
1494 * docs/gst/tmpl/.cvsignore:
1495 * docs/gst/tmpl/gstghostpad.sgml:
1496 * docs/gst/tmpl/gstiterator.sgml:
1497 * docs/gst/tmpl/gstmacros.sgml:
1498 * docs/gst/tmpl/gstrealpad.sgml:
1499 * docs/gst/tmpl/gstregistry.sgml:
1500 * docs/gst/tmpl/gstregistrypool.sgml:
1501 * docs/gst/tmpl/gststructure.sgml:
1502 * docs/gst/tmpl/gstsystemclock.sgml:
1503 * docs/gst/tmpl/gsttrace.sgml:
1504 * gst/gstghostpad.c:
1506 * gst/gstmemchunk.c:
1507 * gst/gstmemchunk.h:
1509 * gst/gstregistry.c:
1510 * gst/gstregistrypool.c:
1511 * gst/gststructure.c:
1512 * gst/gstsystemclock.c:
1515 2005-09-02 Andy Wingo <wingo@pobox.com>
1517 * gst/gstelement.h (GstState): Renamed from GstElementState,
1518 changed to be a normal enum instead of flags.
1519 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1520 munged to be GST_STATE_CHANGE_*.
1521 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1522 work with the new state representation.
1523 (GstStateChange): New enumeration of possible state transitions.
1524 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1525 (GstElementClass::change_state): Pass the GstStateChange along as
1526 an argument. Helps language bindings, so they don't have to use
1527 tricky lock-needing macros like GST_STATE_CHANGE ().
1529 * scripts/update-states (file): New script. Run it on a file to
1530 update it for state naming and API changes. Updates files in
1533 * All files updated for the new API.
1535 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1537 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1538 * gst/gstutils.c: (gst_util_set_value_from_string),
1539 (gst_util_set_object_arg):
1540 fix a bunch of unchecked return values
1541 * tools/gst-complete.c: (main):
1542 * gstreamer.spec.in:
1545 2005-09-01 Wim Taymans <wim@fluendo.com>
1547 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1548 (gst_base_sink_event), (gst_base_sink_do_sync),
1549 (gst_base_sink_handle_event):
1550 * gst/base/gstbasesink.h:
1551 Handle newsegments more correctly.
1556 * gst/gstevent.c: (gst_event_new_newsegment):
1557 A newsegment cannot have a start_time of -1
1559 2005-09-01 Tim-Philipp M??ller <tim at centricular dot net>
1561 * win32/gstenumtypes.c:
1562 * win32/gstenumtypes.h:
1565 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1567 * libs/gst/controller/gst-controller.c:
1568 (gst_controlled_property_set_interpolation_mode),
1569 (gst_controlled_property_new):
1572 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
1574 * docs/faq/gst-uninstalled:
1579 * gst/gstutils.c: (gst_element_link_filtered):
1581 add gst_element_link_filtered
1583 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1585 * docs/gst/gstreamer-docs.sgml:
1586 * docs/gst/gstreamer-sections.txt:
1587 * docs/gst/tmpl/.cvsignore:
1588 * docs/gst/tmpl/gsterror.sgml:
1589 * docs/gst/tmpl/gstfilter.sgml:
1590 * docs/gst/tmpl/gsturihandler.sgml:
1591 * docs/gst/tmpl/gsturitype.sgml:
1592 * docs/gst/tmpl/gstutils.sgml:
1593 * docs/gst/tmpl/gstxml.sgml:
1601 inlined more docs, fixed double id-ref
1603 2005-08-31 Wim Taymans <wim@fluendo.com>
1605 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1606 (gst_base_transform_handle_buffer):
1607 Passthrough elements don't need the caps as they don't care.
1609 2005-08-31 Wim Taymans <wim@fluendo.com>
1611 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1612 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
1613 Don't leak refcounts on buffers.
1615 2005-08-31 Wim Taymans <wim@fluendo.com>
1617 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
1618 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
1619 (gst_base_transform_chain), (gst_base_transform_change_state):
1620 * gst/base/gstbasetransform.h:
1621 Handle the case where we are not negotiated more gracefully.
1623 2005-08-31 Tim-Philipp M??ller <tim at centricular dot net>
1625 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
1626 (gst_file_src_map_region):
1627 Set READONLY flag on mmap'ed buffers, otherwise
1628 gst_buffer_make_writable() won't work properly (#314708).
1630 2005-08-31 Wim Taymans <wim@fluendo.com>
1632 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
1633 passthrough elements can even do inplace on non writable
1634 buffers (as they don't touch them).
1636 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1638 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1639 (gst_test_mono_source_set_property),
1640 (gst_test_mono_source_class_init), (GST_START_TEST),
1641 (gst_controller_suite):
1642 more tests (hehe I have the most)
1644 describe popping messages whenusing mulltiple sources
1645 * libs/gst/controller/gst-controller.c:
1646 (gst_controlled_property_set_interpolation_mode),
1647 (gst_controlled_property_new):
1648 * libs/gst/controller/gst-controller.h:
1649 * libs/gst/controller/gst-interpolation.c:
1650 implement boolean properties
1652 2005-08-31 Wim Taymans <wim@fluendo.com>
1654 * gst/gstminiobject.c: (gst_mini_object_ref):
1655 Cannot assert that the refcount has to be positive
1656 since a disposed object can be resurrected.
1658 2005-08-31 Wim Taymans <wim@fluendo.com>
1660 * gst/gstpad.c: (gst_pad_init):
1661 Revert change, need to first fix badly behaving
1664 2005-08-30 Wim Taymans <wim@fluendo.com>
1666 * check/elements/fakesrc.c: (setup_fakesrc):
1667 * check/elements/identity.c: (setup_identity):
1668 Activate pads before using them.
1670 2005-08-30 Wim Taymans <wim@fluendo.com>
1672 * gst/base/gstadapter.c: (gst_adapter_flush):
1673 Flushing out 0 bytes is ok for this function.
1675 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1676 no newsegment gives a warning and sets the start/stop to
1679 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
1680 (gst_base_transform_set_passthrough):
1683 * gst/gstminiobject.c: (gst_mini_object_ref):
1684 Check refcount here too.
1686 * gst/gstpad.c: (gst_pad_init):
1687 Pads are initially flushing and refusing data.
1689 * gst/gstutils.c: (gst_element_link_pads_filtered):
1690 When adding a capsfilter element make sure it has the
1691 same state as the parent bin.
1693 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1695 * docs/gst/tmpl/.cvsignore:
1696 * docs/gst/tmpl/gstformat.sgml:
1697 * docs/gst/tmpl/gstversion.sgml:
1701 * gst/gstversion.h.in:
1702 more docs and two more inlined
1704 2005-08-30 Wim Taymans <wim@fluendo.com>
1706 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
1707 Don't sync to clock.
1709 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1711 * docs/gst/gstreamer-sections.txt:
1712 ultral33t func10ns deserve to appear in the docs actually
1713 * docs/gst/tmpl/.cvsignore:
1714 * docs/gst/tmpl/gstcompat.sgml:
1715 * docs/gst/tmpl/gstconfig.sgml:
1716 * gst/check/gstcheck.c:
1718 * gst/gstconfig.h.in:
1721 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1723 * docs/gst/tmpl/.cvsignore:
1724 * docs/gst/tmpl/gstquery.sgml:
1725 * docs/gst/tmpl/gstutils.sgml:
1728 inlined and extended docs
1730 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1732 * check/gst-libs/controller.c: (GST_START_TEST),
1733 (gst_controller_suite):
1735 * docs/gst/tmpl/gstutils.sgml:
1736 * docs/libs/gstreamer-libs-sections.txt:
1737 * docs/libs/tmpl/gstdataprotocol.sgml:
1739 * examples/controller/audio-example.c: (main):
1740 controller example works now
1743 * tools/gst-inspect.c: (print_element_properties_info):
1744 show param spec flags
1746 2005-08-29 Andy Wingo <wingo@pobox.com>
1748 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
1750 2005-08-28 Andy Wingo <wingo@pobox.com>
1752 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
1753 as having two arguments instead of just one. Allows superclasses
1754 to access information on subclasses -- see the terrible for() loop
1755 in gtype.c:g_type_create_instance for the reason why. All callers
1758 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1760 * docs/design/part-messages.txt:
1762 * docs/gst/tmpl/.cvsignore:
1763 * docs/gst/tmpl/gstcaps.sgml:
1764 * docs/gst/tmpl/gstclock.sgml:
1771 added descriptions for bus and message
1772 inline caps and clock docs
1774 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1780 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1782 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1785 2005-08-26 Andy Wingo <wingo@pobox.com>
1787 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
1788 element_set_state's return val.
1789 (test_2_elements): Add test that's been disabled for months.
1791 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
1792 can-activate-pull properties.
1794 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
1795 can-activate-pull properties. Implement is_seekable so fakesrc can
1796 operate in pull mode.
1798 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
1800 (gst_base_sink_activate, gst_base_sink_activate_pull)
1801 (gst_base_sink_activate_push): Make activation mode choosing work.
1803 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
1804 is right. Make pull mode work. Post an eos before pausing in pull
1806 (gst_base_sink_change_state): Pay attention to the core's
1807 change_state() return val.
1809 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
1810 has-getrange properties. Cleanups.
1812 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
1813 has_getrange and replace with can_activate_pull and
1816 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
1817 locking comments. Remove has_loop, has_chain and replace with
1818 can_activate_pull and can_activate_push.
1820 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
1823 * examples/Makefile.am:
1824 * examples/metadata/Makefile.am:
1825 * examples/metadata/read-metadata.c: (message_loop),
1826 (have_pad_handler), (make_pipeline), (print_tag), (main):
1827 Add metadata reading example that loops over a list of filenames,
1828 dumping any tags found.
1830 * gst/gstbus.c: (gst_bus_dispose):
1831 * gst/gstelement.c: (gst_element_dispose):
1832 Release a few potentially-held references in dispose.
1834 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1836 * docs/gst/tmpl/gstminiobject.sgml:
1837 do *not* add tmpl/*.sgml files to CVS!
1839 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1841 * libs/gst/bytestream/.cvsignore:
1842 * libs/gst/bytestream/Makefile.am:
1843 * libs/gst/bytestream/adapter.c:
1844 * libs/gst/bytestream/adapter.h:
1845 * libs/gst/bytestream/bytestream.c:
1846 * libs/gst/bytestream/bytestream.h:
1847 * libs/gst/bytestream/filepad.c:
1848 * libs/gst/bytestream/filepad.h:
1849 removing obsolete files
1851 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1853 * docs/gst/gstreamer-docs.sgml:
1854 * docs/libs/gstreamer-libs-docs.sgml:
1855 disabed additional index entries again, as this makes docs-gen just
1856 slow and they aren't useful yet
1857 * docs/libs/gstreamer-libs-sections.txt:
1858 little -section.txt cleanup for libs
1860 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
1862 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1863 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
1864 fix up some debugging
1865 (gst_base_transform_get_unit_size),
1866 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
1867 (gst_base_transform_handle_buffer):
1868 * gst/base/gstbasetransform.h:
1869 handle and store timed NEWSEGMENT events so that subclasses that
1870 calculate time by counting samples have a segment_start time they
1871 need to add to their timestamps - see audioresample
1873 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1876 removed ';' from the end of macro defs
1877 * docs/gst/gstreamer-docs.sgml:
1878 * docs/gst/gstreamer-sections.txt:
1879 * docs/gst/tmpl/.cvsignore:
1881 * gst/gstelement.c: (gst_element_class_init),
1882 (gst_element_set_state), (activate_pads),
1883 (gst_element_save_thyself):
1884 * gst/gstevent.c: (gst_event_new_newsegment):
1886 * gst/gstiterator.c:
1887 * gst/gstiterator.h:
1890 * gst/gstutils.c: (gst_pad_query_convert):
1892 fixed parameter name mismatches between source, header and docs
1893 added some more docs, resolved the last batch of unused elements in
1894 docs (now someone needs to doc them)
1896 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
1898 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
1899 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
1900 don't walk through the plugins backwards. Where is all this
1901 reversed logic coming from ?
1903 2005-08-25 Wim Taymans <wim@fluendo.com>
1905 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1906 (gst_base_transform_transform_size),
1907 (gst_base_transform_configure_caps),
1908 (gst_base_transform_get_unit_size),
1909 (gst_base_transform_buffer_alloc),
1910 (gst_base_transform_change_state):
1911 * gst/base/gstbasetransform.h:
1912 Cache caps unit_size.
1913 Make sure we cannot negotiate up and downstream at the
1916 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
1918 * gst/gst.c: (init_pre), (init_post):
1919 register the installed plugin path after the env var
1920 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
1921 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
1922 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
1923 directories, so the tests can prefer uninstalled over installed
1925 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
1927 * gst/base/gstbasetransform.h:
1932 2005-08-25 Wim Taymans <wim@fluendo.com>
1934 * gst/gstbin.c: (bin_bus_handler):
1935 Be a bit more conservative about the posted message.
1937 * gst/gstbus.c: (gst_bus_post):
1938 Some cleanups, warn wrong return values.
1940 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
1942 * check/gst/gstbin.c: (GST_START_TEST):
1943 * gst/gstbin.c: (bin_bus_handler):
1944 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
1945 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
1946 (gst_message_new_warning), (gst_message_new_tag),
1947 (gst_message_new_state_changed), (gst_message_new_segment_start),
1948 (gst_message_new_segment_done), (gst_message_new_custom):
1950 * tools/gst-launch.c: (event_loop):
1951 * tools/gst-md5sum.c: (event_loop):
1952 Revert unpopular change for GST_MESSAGE_SRC to GObject.
1954 2005-08-25 Wim Taymans <wim@fluendo.com>
1956 * check/generic/states.c: (GST_START_TEST):
1957 Cleanup can be done at the end.
1959 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
1960 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
1961 (gst_task_get_state), (gst_task_start), (gst_task_pause):
1962 Oh boy.. Thanks for finding this, Thomas.
1964 2005-08-25 Stefan Kost <ensonic@users.sf.net>
1966 * docs/gst/gstreamer.types:
1969 2005-08-25 Stefan Kost <ensonic@users.sf.net>
1971 * docs/gst/gstreamer-docs.sgml:
1972 * docs/gst/gstreamer-sections.txt:
1973 * docs/gst/tmpl/.cvsignore:
1975 * gst/gstiterator.c:
1977 * gst/registries/gstxmlregistry.h:
1978 added missing classes and symbols (123 more to go)
1979 removed removed symbols from section file
1980 fixed many doc-comments
1982 2005-08-24 Wim Taymans <wim@fluendo.com>
1984 * check/generic/states.c: (GST_START_TEST):
1985 Make sure all tasks are stopped.
1987 * check/gst/gstbin.c: (GST_START_TEST):
1988 Unref after usage for proper valgrinding.
1990 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
1991 Really wait for the task to stop before destroying the
1994 * gst/gstqueue.c: (gst_queue_sink_activate_push),
1995 (gst_queue_src_activate_push):
1996 Small cleanups. Don't stop the task when we did not start
1999 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2000 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2001 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2004 Protect the stream lock with the object lock.
2005 Disallow setting the stream lock when running.
2006 Add cleanup_all to wait for the threadpool to finish.
2007 Remove code to autoallocate a mutex if none was provided.
2008 Add _join() to wait for a task to stop.
2009 Protect the thread pool with a global lock.
2011 2005-08-24 Wim Taymans <wim@fluendo.com>
2013 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2014 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2015 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2016 * gst/base/gstbasesink.h:
2017 Handle newsegment events correctly.
2018 Drop buffers out of the segment range.
2020 2005-08-22 Andy Wingo <wingo@pobox.com>
2022 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2023 macro, implements an interface and gstimplementsinterface for a
2026 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2028 * check/Makefile.am:
2029 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2030 add a test that does a bunch of state changes on elements
2031 needs some fixing for valgrind
2032 * check/states/sinks.c: (gst_object_suite):
2035 add prototype for gst_caps_is_equal_fixed
2037 * gst/gstregistrypool.c:
2040 2005-08-24 Andy Wingo <wingo@pobox.com>
2042 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2043 convert a negative value. Doesn't make much sense. Mostly this is
2044 here to force callers to ensure -1 maps to -1.
2046 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2048 * docs/pwg/advanced-types.xml:
2049 Well done to Michael for catching my deliberate introduction
2050 of this spelling mistake.
2051 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2053 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2054 unlink pads before removing the element from the bin.
2056 2005-08-24 Andy Wingo <wingo@pobox.com>
2058 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2059 the same thing as GST_DEBUG=*:4.
2060 (parse_debug_level, parse_debug_category): New helper parsers.
2062 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2064 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2065 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2066 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2067 (gst_base_transform_buffer_alloc),
2068 (gst_base_transform_handle_buffer):
2069 use gboolean return values and pointers to size so we can use the
2070 full GST_BUFFER_SIZE range (guint) for buffer sizes
2071 use GstPadDirection for transform_caps
2072 * gst/base/gstbasetransform.h:
2073 rename get_size to get_unit_size since that's what it is
2074 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2075 use GstPadDirection for transform_caps
2076 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2078 cleanup and debugging
2080 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2082 * gst/gstelement.c: (gst_element_class_init),
2083 (gst_element_set_state), (activate_pads),
2084 (gst_element_save_thyself):
2085 * tools/gst-compprep.c: (main):
2086 * tools/gst-inspect.c: (print_element_properties_info):
2087 * tools/gst-xmlinspect.c: (print_element_properties):
2088 Fixed long standing mem-leak
2090 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2092 * check/gst/gstbin.c: (GST_START_TEST):
2093 * gst/gstbin.c: (bin_bus_handler):
2094 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2095 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2096 (gst_message_new_warning), (gst_message_new_tag),
2097 (gst_message_new_state_changed), (gst_message_new_segment_start),
2098 (gst_message_new_segment_done), (gst_message_new_custom):
2100 * tools/gst-launch.c: (event_loop):
2101 * tools/gst-md5sum.c: (event_loop):
2102 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2103 that applications can sensibly post custom messages with references
2104 to their own objects.
2106 2005-08-24 Andy Wingo <wingo@pobox.com>
2108 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2111 2005-08-24 Wim Taymans <wim@fluendo.com>
2113 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2114 (gst_base_transform_transform_caps),
2115 (gst_base_transform_transform_size),
2116 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2117 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2118 (gst_base_transform_handle_buffer):
2119 * gst/base/gstbasetransform.h:
2120 Many fixes and new features added by Thomas. Can now also do
2121 transforms with variable sizes and a custom fixate_caps function.
2123 2005-08-24 Wim Taymans <wim@fluendo.com>
2125 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2129 Cast to ClockTime before formatting to time.
2134 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2136 * check/gst-libs/controller.c: (GST_START_TEST),
2137 (gst_controller_suite):
2138 * docs/gst/tmpl/gstcaps.sgml:
2139 * docs/gst/tmpl/gstghostpad.sgml:
2140 * docs/gst/tmpl/gstquery.sgml:
2141 * docs/gst/tmpl/gstutils.sgml:
2142 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2143 (gst_object_sink_values), (gst_object_get_value_arrays),
2144 (gst_object_get_value_array):
2145 gracefully handle helper method calls to objects that are not beeing
2146 controlled, added test case for that
2148 2005-08-23 Wim Taymans <wim@fluendo.com>
2150 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2151 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2152 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2153 (gst_event_parse_qos), (gst_event_new_seek),
2154 (gst_event_parse_seek):
2156 Some more debugging output and doc cleanups.
2158 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2159 Fix possible deadlock.
2161 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2163 * docs/gst/gstreamer-docs.sgml:
2164 * docs/gst/gstreamer-sections.txt:
2165 * docs/gst/gstreamer.types:
2166 * docs/gst/tmpl/.cvsignore:
2171 added 100 symbols from gstreamer-unused.txt to the right sections
2172 fixed more broken comments
2173 added GstBus to docs
2175 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2177 * docs/gst/gstreamer-sections.txt:
2178 * docs/gst/tmpl/.cvsignore:
2179 * docs/gst/tmpl/gstbin.sgml:
2180 * docs/gst/tmpl/gstbuffer.sgml:
2181 * gst/base/gstbasesrc.c:
2182 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2185 * tools/gst-launch.1.in:
2186 inlined more doc comments, added missing comments and fixed comments
2189 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2191 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2195 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2197 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2198 * gst/gststructure.h:
2199 add a fixate function for booleans; add a FIXME that these func
2200 names should probably be gst_structure_fixate_*
2202 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2204 * docs/gst/gstreamer-docs.sgml:
2205 * docs/gst/gstreamer-sections.txt:
2207 * gst/gstbin.c: (gst_bin_get_type),
2208 (gst_bin_child_proxy_get_child_by_index),
2209 (gst_bin_child_proxy_get_children_count),
2210 (gst_bin_child_proxy_init):
2211 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2212 (gst_child_proxy_get_child_by_index),
2213 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2214 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2215 (gst_child_proxy_get), (gst_child_proxy_set_property),
2216 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2217 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2218 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2219 * gst/gstchildproxy.h:
2220 * gst/parse/grammar.y:
2221 * tools/gst-inspect.c: (print_interfaces),
2222 (print_element_properties_info), (print_element_info):
2223 ported gstchildproxy over from 0.8
2224 ported gst-inspect fixes and enhancements over from 0.8
2226 2005-08-22 Wim Taymans <wim@fluendo.com>
2228 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2229 (gst_base_transform_handle_buffer):
2230 Also call the transform function if we have ANY caps.
2232 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2235 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2237 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2238 Don't pretend to handle seek events if the source is not seekable
2240 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2242 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2243 Remove extra parameter to debug output
2245 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2246 (gst_base_src_do_seek), (gst_base_src_activate_push):
2247 Fix seek event handling.
2249 * gst/gstpipeline.c: (gst_pipeline_change_state):
2250 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2251 (gst_queue_src_activate_push):
2252 Don't start the src pad task on FLUSH_STOP if the pad
2256 2005-08-22 Wim Taymans <wim@fluendo.com>
2258 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2259 Added check for gst_static_caps_get() refcounting.
2261 2005-08-22 Wim Taymans <wim@fluendo.com>
2263 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2264 Make _static_caps_get() refcounting sane.
2266 * gst/gstelement.c: (gst_element_set_state):
2267 Add g_return_val_if_fail() to protect against segfaults.
2269 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2271 * docs/gst/tmpl/gstevent.sgml:
2274 inlined remaining docs, added missing doc comments
2276 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2278 * check/gst/gstbin.c: (GST_START_TEST):
2279 since we don't know when preroll is done, use refcount range
2281 * gst/check/gstcheck.h:
2282 add macro for checking refcount range
2284 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2286 * check/Makefile.am:
2287 clean up environment for when registry gets built versus
2288 when actual tests are run; valgrind seems to not report
2289 leaks if GST_PLUGIN_PATH is set to some specific values
2290 * check/gst/gstbin.c: (GST_START_TEST):
2291 add more refcounting checks; maybe this exposes a
2294 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2295 * gst/check/gstcheck.h:
2296 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2297 (gst_bin_change_state):
2298 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2299 add/fix debugging/whitespace
2301 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2303 * check/gst/gstevent.c: (event_probe), (test_event),
2305 Er, don't call gst_bin_watch_for_state_change you idiot.
2307 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2309 * check/Makefile.am:
2310 Use CHECK_CFLAGS and CHECK_LIBS
2311 * check/gst/gstevent.c: (event_probe), (test_event),
2314 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2315 (gst_base_src_start), (gst_base_src_stop),
2316 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2317 (gst_base_src_change_state):
2318 Sprinkle gst_base_src_stop liberally around error paths to fix
2319 problems reusing a source after failed state changes.
2320 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2321 (helper_find_suggest), (gst_type_find_helper):
2322 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2324 * docs/gst/tmpl/gstevent.sgml:
2325 Migrate part of the docs from the SGML file. Wait for ensonic to
2326 tell me how I did it wrong ;)
2327 * tools/gst-typefind.c: (main):
2328 Extra robustness to state changes between files.
2330 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2332 * check/Makefile.am:
2333 don't valgrind the controller test - it's leaking - Stefan, HELP
2334 * gst/check/gstcheck.c: (gst_check_message_error),
2335 (gst_check_chain_func), (gst_check_setup_element),
2336 (gst_check_teardown_element), (gst_check_setup_src_pad),
2337 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2338 (gst_check_teardown_sink_pad):
2339 * gst/check/gstcheck.h:
2340 add a bunch of methods to set up elements, and src and sink pads
2341 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2342 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2347 whitespace/doc fixes
2349 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2352 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2353 be handled by the application and not always printed as well
2355 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2357 * check/Makefile.am:
2359 * gst/check/gstcheck.c: (gst_check_message_error):
2360 * gst/check/gstcheck.h:
2361 add a fail_unless_equals_int
2362 add fail_unless for error messages
2364 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2366 * check/Makefile.am:
2368 * common/Makefile.am:
2371 factor out some of the common stuff so we can use it
2373 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2375 * check/Makefile.am:
2376 * check/gst/gstiterator.c: (GST_START_TEST):
2377 * check/gst/gstsystemclock.c: (GST_START_TEST),
2378 (gst_systemclock_suite):
2379 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2383 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2385 * check/elements/.cvsignore:
2386 * check/elements/gstfakesrc.c:
2387 rename to name of element
2388 * check/elements/identity.c: (chain_func), (event_func),
2389 (setup_identity), (cleanup_identity), (GST_START_TEST),
2390 (identity_suite), (main):
2391 add a test for identity
2392 * check/Makefile.am:
2393 * pkgconfig/Makefile.am:
2394 * pkgconfig/gstreamer-check.pc.in:
2395 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2399 move the check stuff to a library that gets installed
2400 * check/gst-libs/controller.c: (GST_START_TEST):
2401 * check/gst-libs/gdp.c:
2402 * check/gst/gst.c: (GST_START_TEST):
2403 * check/gst/gstbin.c:
2404 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2405 * check/gst/gstbus.c:
2406 * check/gst/gstcaps.c: (GST_START_TEST):
2407 * check/gst/gstelement.c:
2408 * check/gst/gstghostpad.c:
2409 * check/gst/gstiterator.c:
2410 * check/gst/gstmessage.c:
2411 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2412 * check/gst/gstobject.c:
2413 * check/gst/gstpad.c: (GST_START_TEST):
2414 * check/gst/gststructure.c: (GST_START_TEST):
2415 * check/gst/gstsystemclock.c: (GST_START_TEST),
2416 (gst_systemclock_suite):
2417 * check/gst/gsttag.c: (gst_tag_suite):
2418 * check/gst/gstvalue.c:
2419 * check/pipelines/cleanup.c:
2420 * check/pipelines/simple_launch_lines.c:
2421 * check/states/sinks.c:
2422 change include statement
2424 * docs/gst/gstreamer-sections.txt:
2425 * docs/gst/tmpl/gstpad.sgml:
2426 document more pad stuff
2427 * gst/gstminiobject.c: (gst_mini_object_ref),
2428 (gst_mini_object_unref):
2431 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2433 * docs/gst/tmpl/gst.sgml:
2435 eliminate another tmpl file, fix spelling in the long-description
2437 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2439 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2440 (test_event), (timediff), (gstevents_suite):
2441 Should fix build on 64-bit arch's
2443 2005-08-18 Andy Wingo <wingo@pobox.com>
2445 Make sure that when a pipeline goes to PLAYING, that data has
2446 actually hit the sink.
2448 * check/states/sinks.c (test_sink): A sink that doesn't get any
2449 data shouldn't return SUCCESS for going to either PLAYING or
2450 PAUSED. Test also the return values on the way back down.
2452 * gst/gstelement.c (gst_element_set_state): When changing the
2453 state of an element currently changing state asynchronously, go to
2454 lost-state after commiting the pending state. Makes future calls
2455 to get_state continue to return ASYNC.
2457 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2458 ASYNC when going to PLAYING if we still don't have preroll, as can
2459 happen with live sources.
2461 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2463 * docs/pwg/advanced-types.xml:
2464 Hack long paragraph into 2 chunks as a workaround for buggy
2465 jadetex version in sid and breezy that loops infinitely and
2468 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2470 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2471 (test_event), (timediff), (gstevents_suite):
2472 Provide more error margin in clock measurements to allow for
2473 g_get_current_time inaccuracies.
2475 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2477 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2478 (test_event), (timediff), (gstevents_suite):
2479 Fix error message output so I might be able to tell why the
2480 test works here but fails on the build farm.
2482 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2484 * check/Makefile.am:
2485 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2486 (test_event), (timediff), (gstevents_suite), (main):
2489 * docs/design/part-seeking.txt:
2492 * docs/gst/tmpl/gstevent.sgml:
2493 * docs/gst/tmpl/gstfakesrc.sgml:
2496 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2497 Treat a buffer-without-newsegment the same as a receiving
2498 a newsegment not in time format, and disable syncing to the clock
2501 * gst/gstbus.c: (gst_bus_set_sync_handler):
2502 Assert if anyone tries to replace the existing sync_handler for bus,
2503 as only the owner should be setting it.
2506 Have a fixed set of custom event enums with events identified by
2507 their structure name (as in 0.8), rather than a free-for-all
2508 allowing collisions between enum values from different plugins.
2510 * gst/gstpad.c: (gst_pad_class_init):
2513 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2514 Handle out-of-band downstream events from the sending thread.
2516 2005-08-17 Andy Wingo <wingo@pobox.com>
2518 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2519 play-timeout==0 to mean no timeout at all. In that case, don't
2520 bother with a get_state or a warning, just return directly, even
2523 * gst/base/gstbasetransform.c: Debug changes.
2526 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2527 ensure bins post state change messages. A bit of a hack but I can't
2528 think of a way to avoid it.
2530 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2532 2005-08-16 Andy Wingo <wingo@pobox.com>
2534 * gst/base/gstadapter.h:
2535 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2536 peek() but you own the data. Not terribly efficient atm.
2538 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2540 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2541 (gst_element_found_tags):
2543 Add two utility functions for tag handling.
2545 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2547 * docs/manual/advanced-dataaccess.xml:
2548 * docs/manual/basics-helloworld.xml:
2549 Fix docs to use _bin_add() before _link(), which fixes the examples
2550 with recent core versions (reported by Madhan Raj M
2551 <raj_madan@rediffmail.com>, #313199).
2553 2005-08-16 Wim Taymans <wim@fluendo.com>
2555 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2556 Added subtract checks.
2558 * docs/design/part-events.txt:
2559 Some more docs about newsegment
2561 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2564 * gst/gstcaps.c: (gst_caps_to_string):
2565 Add comments, cleanups.
2567 * gst/gstelement.c: (gst_element_save_thyself):
2570 * gst/gstvalue.c: (gst_value_collect_int_range),
2571 (gst_string_unwrap), (gst_value_union_int_int_range),
2572 (gst_value_union_int_range_int_range),
2573 (gst_value_intersect_int_int_range),
2574 (gst_value_intersect_int_range_int_range),
2575 (gst_value_intersect_double_double_range),
2576 (gst_value_intersect_double_range_double_range),
2577 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
2578 (gst_value_subtract_int_range_int),
2579 (gst_value_subtract_double_range_double),
2580 (gst_value_subtract_double_range_double_range),
2581 (gst_value_subtract_from_list), (gst_value_subtract_list),
2582 (gst_value_can_compare), (gst_value_compare_fraction):
2583 Cleanups, add comments, remove unneeded asserts.
2585 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2587 * tools/gst-launch.c: (event_loop):
2588 don't convert NULL structures to strings
2590 2005-08-15 Stefan Kost <ensonic@users.sf.net>
2592 * docs/gst/gstreamer-sections.txt:
2593 made some defines private
2594 * docs/gst/tmpl/gstconfig.sgml:
2595 * docs/gst/tmpl/gstqueue.sgml:
2596 * docs/gst/tmpl/gsttaglist.sgml:
2597 * docs/gst/tmpl/gsttypes.sgml:
2598 * docs/gst/tmpl/gstutils.sgml:
2599 * docs/pwg/appendix-porting.xml:
2600 * gst/base/gstbasesink.h:
2601 * gst/base/gstbasesrc.c:
2602 * gst/base/gstbasesrc.h:
2603 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
2604 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
2605 * gst/gstelement.c: (gst_element_class_init):
2606 * gst/gstpad.c: (gst_pad_class_init):
2607 * gst/gstqueue.c: (gst_queue_class_init):
2608 * gst/gstxml.c: (gst_xml_class_init):
2609 documented all undocumented signal inline
2610 * libs/gst/controller/gst-controller.h:
2613 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2615 * docs/pwg/appendix-porting.xml:
2616 Document _set_link_function -> _set_setcaps_function.
2618 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2620 * check/Makefile.am:
2621 add a .check target for running the check
2622 * check/gst-libs/controller.c: (GST_START_TEST):
2624 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2625 complete checks for gstbuffer; would be nice if I could get the
2626 gcov stuff to work so I can see if I actually completed gstbuffer.c
2628 add ASSERT_BUFFER_REFCOUNT
2630 2005-08-13 Tim-Philipp M??ller <tim at centricular dot net>
2632 * docs/gst/gstreamer-sections.txt:
2633 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
2635 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
2636 spew out a warning if a tag that is already registered
2637 is re-registered, unless it is re-registered with a
2638 different type (#308438).
2640 2005-08-12 Tim-Philipp M??ller <tim at centricular dot net>
2642 * docs/pwg/appendix-porting.xml:
2643 * docs/pwg/building-state.xml:
2644 Add some paragraphs about state changes in 0.9 to the PWG
2645 and the porting guide, in particular about the new meaning
2646 of GST_STATE_PAUSED and how to write state change functions
2647 with concurrent access by multiple threads in mind.
2649 2005-08-11 Stefan Kost <ensonic@users.sf.net>
2651 * docs/gst/gstreamer-docs.sgml:
2652 * docs/libs/gstreamer-libs-docs.sgml:
2653 added deprecation and since indexes
2654 * libs/gst/controller/gst-controller.c:
2655 * libs/gst/controller/gst-helper.c:
2659 2005-08-11 Wim Taymans <wim@fluendo.com>
2661 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
2662 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
2663 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
2664 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
2665 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
2666 (gst_ghost_pad_set_target):
2667 Actually implement (re)setting the target on a ghostpad
2668 as described in the docs.
2670 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
2672 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
2673 Check whether GST_DEBUG_NO_COLOR environment variable is
2674 set and disable coloured debug output if that is the case.
2676 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
2678 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2679 (gst_type_find_helper):
2680 The memory returned by gst_type_find_peek() needs to
2681 stay valid until the end of a typefind function, and
2682 typefind functions may keep results from different
2683 offsets around, so we can't just unref the buffer from
2684 the previous _peek(), but have to save all buffers
2685 returned by _peek() until typefinding is done and only
2688 2005-08-09 Tim-Philipp M??ller <tim at centricular dot net>
2690 * docs/gst/gstreamer-sections.txt:
2692 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
2694 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2696 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
2697 Fix a pretty good memleak.
2699 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
2701 * gst/gstiterator.h:
2702 Fix wrong include and 'make distcheck'.
2704 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2706 * gst/gstbin.c: (bin_bus_handler):
2707 Use gst_element_post_message() instead.
2709 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
2711 * gst/base/gstadapter.h:
2712 * gst/base/gstbasesink.h:
2713 * gst/base/gstbasesrc.h:
2714 * gst/base/gstbasetransform.h:
2715 * gst/base/gstcollectpads.h:
2716 * gst/base/gstpushsrc.h:
2717 * gst/gstiterator.h:
2718 Add padding to our base elements' class and instance structs and
2719 to GstIterator (you will need to rebuild all plugins and apps!)
2721 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2723 * gst/gstbin.c: (bin_bus_handler):
2724 Make default message forwarding from child->bus to bin->bus
2725 threadsafe and make it not emit warnings if the parent has no bus.
2727 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2729 * gst/gstelement.c: (activate_pads):
2730 On paused->ready, set pad->caps to NULL, as is the documented
2731 behaviour in this state change. Fixes playback of series of
2732 media files when visualization is enabled in Totem.
2734 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2736 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
2737 Allow NULL as filter-caps (which means "any").
2739 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2741 * docs/libs/gstreamer-libs-sections.txt:
2742 * libs/gst/controller/gst-controller.c:
2743 * libs/gst/controller/gst-controller.h:
2744 * libs/gst/controller/gst-helper.c:
2745 adding more entries to the docs and fix small doc-bugs
2747 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2749 * docs/gst/gstreamer-docs.sgml:
2750 * docs/gst/gstreamer-sections.txt:
2751 * docs/gst/gstreamer.types:
2752 * docs/gst/tmpl/gstbasesink.sgml:
2753 * docs/gst/tmpl/gstbasesrc.sgml:
2754 * docs/gst/tmpl/gstbasetransform.sgml:
2755 * docs/gst/tmpl/gstfakesrc.sgml:
2756 * gst/base/gstcollectpads.c:
2757 * gst/base/gstcollectpads.h:
2758 * libs/gst/controller/gst-controller.c:
2759 * libs/gst/controller/gst-controller.h:
2760 * libs/gst/controller/gst-helper.c:
2761 * libs/gst/controller/gst-interpolation.c:
2762 * libs/gst/controller/lib.c:
2763 added long/short desc for controller docs
2764 added collectpads base class docs
2765 added correct includes to base-class docs
2767 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2769 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2770 (gst_test_mono_source_set_property),
2771 (gst_test_mono_source_class_init), (GST_START_TEST),
2772 (gst_controller_suite):
2773 * docs/gst/gstreamer-docs.sgml:
2774 * docs/gst/gstreamer-sections.txt:
2775 * docs/gst/gstreamer.types:
2776 * docs/libs/gstreamer-libs-docs.sgml:
2777 * docs/libs/gstreamer-libs-sections.txt:
2778 * gst/base/gstadapter.c:
2779 * libs/gst/controller/gst-controller.c:
2780 (gst_controlled_property_new), (gst_controlled_property_free),
2781 (gst_controller_new_valist),
2782 (gst_controller_remove_properties_valist),
2783 (gst_controller_sink_values), (_gst_controller_finalize):
2784 * libs/gst/controller/gst-controller.h:
2785 * libs/gst/controller/gst-helper.c:
2786 (gst_object_control_properties), (gst_object_uncontrol_properties),
2787 (gst_object_get_controller), (gst_object_set_controller),
2788 (gst_object_sink_values), (gst_object_get_value_arrays),
2789 (gst_object_get_value_array):
2790 more tests (and fixes) for the controller
2791 more docs for the controller
2792 integrated companies docs for the adapter
2794 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
2796 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
2797 (GST_START_TEST), (fakesrc_suite):
2798 add tests for sizetype
2800 2005-08-04 Andy Wingo <wingo@pobox.com>
2802 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
2803 fixes buffer_alloc proxying among other things.
2805 * gst/base/gstbasetransform.c:
2806 * gst/base/gstbasetransform.h:
2807 Revert patch to gstbasetransform from 7-28 removing
2810 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
2811 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
2812 Semantics changed, should return not the size of the output buffer
2813 but the byte size of a buffer with a given caps.
2815 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
2817 (gst_base_transform_configure_caps): Don't set out_size here: (in,
2818 out) are not the pad caps until setcaps finishes.
2819 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
2820 not-in-place case as well. Deal with changing from in-place to
2821 not-in-place within calling pad_alloc_buffer. Still a bit
2822 concerned about the overhead here...
2824 2005-08-03 Andy Wingo <wingo@pobox.com>
2826 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
2827 fixating is an error.
2829 2005-08-04 Edward Hervey <edward@fluendo.com>
2831 * gst/base/gstadapter.h:
2832 Added gst_adapter_get_type() to the header
2834 2005-08-03 Stefan Kost <ensonic@users.sf.net>
2836 * check/Makefile.am:
2837 * check/gst-libs/controller.c:
2838 * libs/gst/controller/gst-controller.c:
2839 (gst_controller_new_valist):
2840 added check test suite for the controller
2841 * gst/base/gstpushsrc.c:
2844 2005-08-03 Stefan Kost <ensonic@users.sf.net>
2846 * docs/gst/Makefile.am:
2847 * docs/gst/gstreamer-docs.sgml:
2848 * docs/gst/gstreamer-sections.txt:
2849 * docs/gst/gstreamer.types:
2850 * docs/gst/tmpl/gstfakesrc.sgml:
2852 * gst/base/gstbasesink.c:
2853 * gst/base/gstbasesink.h:
2854 * gst/base/gstbasesrc.c:
2855 * gst/base/gstbasesrc.h:
2856 * gst/base/gstbasetransform.c:
2857 * gst/base/gstpushsrc.c:
2858 * gst/base/gstpushsrc.h:
2859 add short/long description docs to base classes
2860 add pushsrc to the docs
2861 remove consolidated doc fragments
2863 2005-08-03 Stefan Kost <ensonic@users.sf.net>
2866 * docs/libs/Makefile.am:
2867 * docs/libs/gstreamer-libs-docs.sgml:
2868 * docs/libs/gstreamer-libs-sections.txt:
2869 * docs/libs/gstreamer-libs.types:
2870 * examples/Makefile.am:
2871 * examples/controller/.cvsignore:
2872 * examples/controller/Makefile.am:
2873 * examples/controller/audio-example.c: (main):
2874 * libs/gst/Makefile.am:
2875 * libs/gst/controller/.cvsignore:
2876 * libs/gst/controller/Makefile.am:
2877 * libs/gst/controller/gst-controller.c:
2878 (on_object_controlled_property_changed), (gst_timed_value_compare),
2879 (gst_timed_value_find),
2880 (gst_controlled_property_set_interpolation_mode),
2881 (gst_controlled_property_new), (gst_controlled_property_free),
2882 (gst_controller_find_controlled_property),
2883 (gst_controller_new_valist), (gst_controller_new),
2884 (gst_controller_remove_properties_valist),
2885 (gst_controller_remove_properties), (gst_controller_set),
2886 (gst_controller_set_from_list), (gst_controller_unset),
2887 (gst_controller_get), (gst_controller_get_all),
2888 (gst_controller_sink_values), (gst_controller_get_value_arrays),
2889 (gst_controller_get_value_array),
2890 (gst_controller_set_interpolation_mode),
2891 (_gst_controller_finalize), (_gst_controller_init),
2892 (_gst_controller_class_init), (gst_controller_get_type):
2893 * libs/gst/controller/gst-controller.h:
2894 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
2895 (g_object_uncontrol_properties), (g_object_get_controller),
2896 (g_object_set_controller), (g_object_sink_values),
2897 (g_object_get_value_arrays), (g_object_get_value_array):
2898 * libs/gst/controller/gst-interpolation.c:
2899 (gst_controlled_property_find_timed_value_node),
2900 (interpolate_none_get), (interpolate_trigger_get),
2901 (interpolate_trigger_get_value_array):
2902 * libs/gst/controller/lib.c: (gst_controller_init):
2903 * pkgconfig/Makefile.am:
2904 * pkgconfig/gstreamer-control-uninstalled.pc.in:
2905 * pkgconfig/gstreamer-control.pc.in:
2906 * testsuite/Makefile.am:
2907 * testsuite/controller/.cvsignore:
2908 * testsuite/controller/Makefile.am:
2909 * testsuite/controller/interpolator.c: (main):
2910 added controller code
2911 removed dparam pc files
2913 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
2914 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
2915 (gst_collectpads_stop):
2916 Broadcast the condition when shutting down, to make sure we wake all
2917 threads up. Shut down pads on finalize, for safety.
2919 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
2920 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2921 (gst_base_transform_handle_buffer),
2922 (gst_base_transform_change_state):
2923 Handle PAUSED->READY->PAUSED transition after negotiation
2925 * gst/gstmessage.c: (gst_message_init):
2926 Extra piece of debug for new messages.
2928 2005-08-01 Stefan Kost <ensonic@users.sf.net>
2931 * docs/gst/tmpl/gstbasesrc.sgml:
2932 * docs/gst/tmpl/gstelement.sgml:
2933 * docs/gst/tmpl/gstevent.sgml:
2934 * docs/gst/tmpl/gstfakesrc.sgml:
2935 * docs/gst/tmpl/gstformat.sgml:
2936 * docs/gst/tmpl/gstghostpad.sgml:
2937 * docs/gst/tmpl/gstpad.sgml:
2938 * docs/gst/tmpl/gstquery.sgml:
2939 * docs/gst/tmpl/gststructure.sgml:
2940 * docs/gst/tmpl/gsttaglist.sgml:
2941 * docs/gst/tmpl/gstvalue.sgml:
2942 * docs/libs/gstreamer-libs-docs.sgml:
2943 * docs/libs/gstreamer-libs-sections.txt:
2944 * docs/libs/gstreamer-libs.types:
2945 * libs/gst/Makefile.am:
2946 * libs/gst/control/.cvsignore:
2947 * libs/gst/control/Makefile.am:
2948 * libs/gst/control/control.c:
2949 * libs/gst/control/control.h:
2950 * libs/gst/control/dparam.c:
2951 * libs/gst/control/dparam.h:
2952 * libs/gst/control/dparam_smooth.c:
2953 * libs/gst/control/dparam_smooth.h:
2954 * libs/gst/control/dparamcommon.h:
2955 * libs/gst/control/dparammanager.c:
2956 * libs/gst/control/dparammanager.h:
2957 * libs/gst/control/dplinearinterp.c:
2958 * libs/gst/control/dplinearinterp.h:
2959 * libs/gst/control/unitconvert.c:
2960 * libs/gst/control/unitconvert.h:
2961 * testsuite/Makefile.am:
2962 * testsuite/dynparams/.cvsignore:
2963 * testsuite/dynparams/Makefile.am:
2964 * testsuite/dynparams/dparamstest.c:
2965 * tools/Makefile.am:
2966 * tools/gst-inspect.c: (print_element_info), (main):
2967 * tools/gst-xmlinspect.c: (print_element_info), (main):
2968 deactivate and remove dparams (libgstcontrol)
2970 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
2972 * gst/elements/gsttypefindelement.c:
2973 (gst_type_find_element_have_type), (gst_type_find_element_init),
2974 (stop_typefinding), (gst_type_find_element_handle_event),
2975 (gst_type_find_element_chain), (gst_type_find_element_getrange):
2976 * gst/elements/gsttypefindelement.h:
2977 Set caps on all outgoing buffers, not just the first one.
2979 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
2981 * gst/elements/gsttypefindelement.c:
2982 (gst_type_find_element_have_type),
2983 (gst_type_find_element_check_set_buffer_caps),
2984 (gst_type_find_element_init), (stop_typefinding),
2985 (gst_type_find_element_handle_event),
2986 (gst_type_find_element_chain), (gst_type_find_element_getrange):
2987 * gst/elements/gsttypefindelement.h:
2988 Set caps on first outgoing buffer when we've found the type.
2990 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
2992 * docs/gst/gstreamer-docs.sgml:
2993 * docs/gst/gstreamer-sections.txt:
2994 * docs/gst/tmpl/gstscheduler.sgml:
2995 * docs/gst/tmpl/gstschedulerfactory.sgml:
2996 Remove some old cruft from docs.
2998 2005-07-31 Tim-Philipp M??ller <tim at centricular dot net>
3001 Fix inline docs for GstPadLinkReturn.
3003 * gst/gststructure.c: (gst_structure_has_name):
3004 * gst/gststructure.h:
3005 * docs/gst/gstreamer-sections.txt:
3006 New API: gst_structure_has_name().
3008 2005-07-30 Tim-Philipp M??ller <tim at centricular dot net>
3011 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3012 and _LARGEFILE_SOURCE in config.h as required. Do not
3013 export those flags in our .pc files any longer (#142209).
3015 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3017 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3018 (gst_file_sink_do_seek), (gst_file_sink_event),
3019 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3020 Redo seek/tell calls with large file support in mind; add some
3021 debugging messages; add log message that tells us when large
3022 file support is unavailable or not enabled for some reason.
3024 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3025 Add log message that tells us when large file support
3026 is unavailable or not enabled for some reason.
3028 2005-07-29 Wim Taymans <wim@fluendo.com>
3030 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3031 Added test for removing an element with ghostpad from a bin.
3032 Fixed test as current implementation does the right thing.
3034 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3035 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3036 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3037 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3038 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3039 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3040 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3041 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3042 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3043 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3044 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3045 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3046 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3047 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3048 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3049 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3050 * gst/gstghostpad.h:
3051 Clean up ghostpads, remove properties for internal stuff.
3054 Prepare for switching targets, not all use cases work yet.
3056 2005-07-29 Wim Taymans <wim@fluendo.com>
3058 * docs/design/part-gstghostpad.txt:
3061 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3062 (gst_bin_remove_func):
3063 Unlinking pads while holding the bin LOCK is not a good
3066 * gst/gstpad.c: (gst_pad_class_init),
3067 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3068 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3069 No prob setting template after creating the pad.
3071 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3073 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3074 (gst_bus_peek), (gst_bus_source_dispatch),
3075 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3076 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3077 gst_bus_poll may be called from other threads. Handle
3078 this nicely by not making poll_data disappear off the
3079 stack once gst_bus_poll returns.
3080 gst_bus_peek now increments the refcount on the returned
3083 2005-07-29 Wim Taymans <wim@fluendo.com>
3085 * docs/design/part-gstghostpad.txt:
3086 Overview of current GhostPad datastructures and use
3087 cases for changing the target.
3089 2005-07-28 Wim Taymans <wim@fluendo.com>
3091 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3092 Added checks for hierarchy consistency whan adding linked
3095 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3096 Added check to test element scheduling without bin/pipeline.
3098 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3099 First add elements to bin, then link.
3101 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3102 (gst_bin_remove_func):
3103 Unlink pads from elements added/removed from bin to maintain
3104 hierarchy consistency.
3106 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3108 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3109 (gst_base_transform_handle_buffer):
3110 * gst/base/gstbasetransform.h:
3111 Remove broken delay_configure (fixes renegotiation of software
3112 scaling pipelines); remove some leftover printf()s.
3114 2005-07-28 Wim Taymans <wim@fluendo.com>
3116 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3117 Added some more tests for wrong hierarchy
3119 * docs/design/part-overview.txt:
3122 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3125 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3126 (gst_element_dispose):
3129 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3130 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3131 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3132 (gst_pad_set_caps), (gst_pad_send_event):
3133 Check for correct hierarchy when linking pads. Moving to
3134 strict requirement for ghostpads when linking elements in
3138 Clean ups. Added WRONG_HIERARCHY return value.
3140 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3142 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3143 Better debug if no transform is possible.
3145 2005-07-27 Wim Taymans <wim@fluendo.com>
3147 * docs/random/wtay/network-transp:
3150 2005-07-27 Wim Taymans <wim@fluendo.com>
3152 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3153 (gst_dp_event_from_packet):
3154 Fix serialization of seek events.
3156 2005-07-27 Wim Taymans <wim@fluendo.com>
3158 * check/gst-libs/gdp.c: (GST_START_TEST):
3159 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3160 Fix compilation and fix event serialization.
3162 2005-07-27 Wim Taymans <wim@fluendo.com>
3165 * docs/design/part-TODO.txt:
3166 * docs/design/part-events.txt:
3169 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3170 (gst_base_sink_event), (gst_base_sink_do_sync),
3171 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3172 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3173 (gst_base_src_do_seek), (gst_base_src_event_handler),
3174 (gst_base_src_loop):
3175 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3176 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3177 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3178 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3179 (gst_base_transform_set_passthrough),
3180 (gst_base_transform_is_passthrough):
3181 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3182 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3188 * gst/gstelement.c: (gst_element_seek):
3190 Update gst_element_seek.
3192 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3193 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3194 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3195 (gst_event_new_eos), (gst_event_new_newsegment),
3196 (gst_event_parse_newsegment), (gst_event_new_tag),
3197 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3198 (gst_event_parse_qos), (gst_event_new_seek),
3199 (gst_event_parse_seek), (gst_event_new_navigation):
3201 Make GstEvent use GstStructure. Add parsing code, make sure the
3202 API is sufficiently generic.
3203 Mark possible directions of events and serialization.
3205 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3206 (_gst_message_copy), (gst_message_new_segment_start),
3207 (gst_message_new_segment_done), (gst_message_new_custom),
3208 (gst_message_parse_segment_start),
3209 (gst_message_parse_segment_done):
3212 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3213 (gst_pad_set_caps), (gst_pad_send_event):
3214 Update for new events.
3215 Catch events sent in wrong directions.
3217 * gst/gstqueue.c: (gst_queue_link_src),
3218 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3219 (gst_queue_handle_src_query):
3224 Remove event code from this file.
3226 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3227 (gst_dp_event_from_packet):
3230 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3232 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3233 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3234 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3235 Make debugging actually useful.
3237 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3239 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3240 (gst_pad_fixate_caps):
3241 Implement default fixation once again, so that gst_pad_fixate()
3242 actually does anything at all. This probably needs to be some
3243 sort of a last resort, and use profile-based fixation first, but
3244 since that doesn't exist yet, this is the best we have. Fixes
3245 visualization in Totem.
3247 2005-07-22 Wim Taymans <wim@fluendo.com>
3249 * docs/design/part-events.txt:
3252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3253 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3254 (gst_base_sink_activate_pull):
3257 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3258 (gst_fake_src_create):
3259 Fix handoff marshall.
3261 * gst/elements/gstidentity.c: (gst_identity_class_init),
3262 (gst_identity_transform_ip):
3263 We're a real inplace element.
3265 * gst/gstbus.c: (gst_bus_post):
3266 Added some comments.
3268 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3269 * tests/muxing/case1.c: (main):
3270 * tests/sched/dynamic-pipeline.c: (main):
3271 * tests/sched/interrupt1.c: (main):
3272 * tests/sched/interrupt2.c: (main):
3273 * tests/sched/interrupt3.c: (main):
3274 * tests/sched/runxml.c: (main):
3275 * tests/sched/sched-stress.c: (main):
3276 * tests/seeking/seeking1.c: (event_received), (main):
3277 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3279 * tests/threadstate/threadstate3.c: (main):
3280 * tests/threadstate/threadstate4.c: (main):
3281 * tests/threadstate/threadstate5.c: (main):
3284 2005-07-21 Wim Taymans <wim@fluendo.com>
3286 * docs/design/part-seeking.txt:
3287 Some small additions.
3289 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3290 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3291 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3292 * gst/base/gstbasesink.h:
3293 discont values are gint64, handle the math correctly.
3295 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3296 Make the basesrc report error if the source pad is not linked.
3298 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3299 (gst_queue_loop), (gst_queue_handle_src_query),
3300 (gst_queue_src_activate_push):
3301 Make queue collect data even if the srcpad is not linked.
3302 Start pushing out data as soon as it is linked.
3304 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3306 Added gst_flow_get_name() to ease error reporting.
3308 2005-07-20 Wim Taymans <wim@fluendo.com>
3310 * gst/gstmessage.c: (gst_message_new_segment_start),
3311 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3312 (gst_message_parse_segment_done):
3314 Added a bunch of messages for advanced seeking.
3316 * gst/parse/grammar.y:
3317 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3318 (gst_dpman_state_changed):
3319 Fix some new-pad -> pad-added signals
3321 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3323 * docs/manual/appendix-porting.xml:
3324 * docs/pwg/appendix-porting.xml:
3325 Document new-pad/state-change signal renames and the FixedList
3328 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3330 * docs/manual/advanced-autoplugging.xml:
3331 * docs/manual/basics-helloworld.xml:
3332 * docs/manual/basics-pads.xml:
3333 * docs/random/ds/0.9-suggested-changes:
3334 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3339 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3340 (gst_structure_parse_array), (gst_structure_parse_value):
3341 * gst/gstvalue.c: (gst_type_is_fixed),
3342 (gst_value_list_prepend_value), (gst_value_list_append_value),
3343 (gst_value_list_get_size), (gst_value_list_get_value),
3344 (gst_value_transform_array_string), (gst_value_serialize_array),
3345 (gst_value_deserialize_array), (gst_value_intersect_array),
3346 (gst_value_is_fixed), (_gst_value_initialize):
3348 GstElement::new-pad -> pad-added, GstElement::state-change ->
3349 state-changed, GstValueFixedList -> GstValueArray, add format and
3350 flags as their own arguments in gst_element_seek() (should improve
3351 "bindeability"), remove function generators since they don't work
3352 under a whole bunch of compilers (they were deprecated already
3355 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3357 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3358 (_gst_debug_register_funcptr):
3360 Fix illegal cast on some platforms (#309253).
3362 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3364 * gst/gstmessage.c: (gst_message_new_custom):
3366 Add _new_custom, make _new_application a macro to _new_custom.
3368 2005-07-20 Wim Taymans <wim@fluendo.com>
3370 * gst/base/gstbasesrc.c: (gst_base_src_init),
3371 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3372 * gst/base/gstbasesrc.h:
3373 Add a gboolean to decide when to push out a discont.
3375 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3376 (gst_queue_loop), (gst_queue_handle_src_query),
3377 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3378 (gst_queue_set_property), (gst_queue_get_property):
3381 * tests/threadstate/threadstate1.c: (main):
3382 Make a thread test compile and run... very silly..
3385 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3387 * docs/manual/appendix-porting.xml:
3388 Mention removal of libgstgconf-0.9.la and existence of gconf
3391 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3393 * docs/pwg/advanced-clock.xml:
3394 * docs/pwg/appendix-porting.xml:
3395 * docs/pwg/intro-preface.xml:
3396 * docs/pwg/other-base.xml:
3397 * docs/pwg/other-manager.xml:
3398 * docs/pwg/other-nton.xml:
3399 * docs/pwg/other-ntoone.xml:
3400 * docs/pwg/other-oneton.xml:
3402 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3403 demuxer), remove n-to-n (was never written), fix some code examples
3404 and links and update the porting section to include all this.
3406 2005-07-19 Wim Taymans <wim@fluendo.com>
3408 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3409 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3410 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3411 (gst_queue_src_activate_push), (gst_queue_change_state),
3412 (gst_queue_get_property):
3414 Propagate GstFlowReturn more intelligently upstream and output
3415 an ERROR/EOS when streaming stopped due to fatal error.
3417 2005-07-19 Wim Taymans <wim@fluendo.com>
3419 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3420 Don't block forever for the state change to complete, the
3421 pipeline already did with a sensible timeout.
3423 2005-07-19 Wim Taymans <wim@fluendo.com>
3425 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3426 Make sure we never call the create function is we
3429 2005-07-19 Andy Wingo <wingo@pobox.com>
3431 * gst/parse/parse.l: Attempt to solve bug #172815.
3433 2005-07-19 Wim Taymans <wim@fluendo.com>
3435 * docs/design/part-clocks.txt:
3436 * docs/design/part-events.txt:
3437 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3439 Only update the seeking values when we are not
3442 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3444 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3445 Oops, ignore the result of gst_pad_push_event here.
3447 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3449 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3450 (gst_base_src_activate_push):
3451 Send discont event from the loop function, as pads
3452 aren't activated yet in the activate_push handler.
3454 * gst/gstbin.c: (bin_bus_handler):
3455 Don't leak element name.
3457 2005-07-18 Andy Wingo <wingo@pobox.com>
3459 * configure.ac: Use AS_LIBTOOL_TAGS.
3461 2005-07-18 Wim Taymans <wim@fluendo.com>
3463 * docs/gst/gstreamer.types:
3464 Remove deleted types.
3466 2005-07-18 Wim Taymans <wim@fluendo.com>
3468 * check/elements/gstfakesrc.c: (GST_START_TEST):
3471 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3472 (init_popt_callback):
3474 * gst/gst_private.h:
3475 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3476 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3479 * gst/gstconfig.h.in:
3480 * gst/gstelement.c: (gst_element_class_init),
3481 (gst_element_set_base_time), (gst_element_get_base_time),
3482 (iterator_fold_with_resync), (gst_element_change_state),
3483 (gst_element_dispose), (gst_element_get_bus):
3485 * gst/gstelementfactory.h:
3486 * gst/gsterror.c: (_gst_core_errors_init):
3489 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3491 * gst/gstinfo.c: (_gst_debug_init):
3492 * gst/gstmessage.c: (_gst_message_copy):
3494 * gst/gstminiobject.h:
3497 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3498 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3501 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3502 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3503 (gst_pipeline_get_last_stream_time):
3504 * gst/gstpipeline.h:
3505 * gst/gstpluginfeature.h:
3507 * gst/gstscheduler.c:
3508 * gst/gstscheduler.h:
3509 * gst/gststructure.h:
3510 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3511 (gst_task_finalize), (gst_task_func), (gst_task_create),
3512 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3513 (gst_task_stop), (gst_task_pause):
3515 * gst/gsttypefind.h:
3517 * gst/registries/gstlibxmlregistry.c: (load_feature),
3518 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3519 * gst/registries/gstxmlregistry.c:
3520 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3521 * gst/schedulers/threadscheduler.c:
3522 * libs/gst/control/dparammanager.h:
3523 * tools/gst-inspect.c: (print_element_list),
3524 (print_plugin_features), (print_element_features):
3525 * tools/gst-xmlinspect.c: (print_element_list),
3526 (print_plugin_info), (main):
3527 Removed plugable schedulers.
3528 Removed Scheduler/Manager from elements.
3529 Removed gsttypes.h, rearranged includes.
3530 Removed dependency pad<->element, element<>pipeline, and
3531 various others, fix includes.
3532 implement gst_pad_get_parent() with gst_object_get_parent()
3533 Make GstTask sefcontained.
3534 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3536 Fix endless loop in iterator_fold_with_resync.
3539 2005-07-18 Wim Taymans <wim@fluendo.com>
3545 2005-07-18 Wim Taymans <wim@fluendo.com>
3550 2005-07-18 Wim Taymans <wim@fluendo.com>
3556 2005-07-18 Wim Taymans <wim@fluendo.com>
3558 * docs/design/part-dynamic.txt:
3559 * docs/design/part-events.txt:
3560 * docs/design/part-seeking.txt:
3561 Some more docs in the works.
3563 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3564 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3565 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3566 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3567 (gst_base_transform_handle_buffer),
3568 (gst_base_transform_sink_activate_push),
3569 (gst_base_transform_src_activate_pull),
3570 (gst_base_transform_set_passthrough),
3571 (gst_base_transform_is_passthrough):
3574 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3577 * gst/gstevent.c: (gst_event_finalize):
3580 * gst/gstutils.c: (gst_element_unlink),
3581 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
3582 (gst_pad_proxy_setcaps):
3584 Add _get_parent_element() to get a pads parent as an element.
3586 2005-07-18 Wim Taymans <wim@fluendo.com>
3588 * check/gst/gstbin.c: (GST_START_TEST):
3591 2005-07-18 Wim Taymans <wim@fluendo.com>
3593 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3594 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3595 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3596 (gst_base_sink_event), (gst_base_sink_do_sync),
3597 (gst_base_sink_chain), (gst_base_sink_loop),
3598 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
3599 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
3601 Fix logic for returning ASYNC when not prerolled.
3603 2005-07-18 Wim Taymans <wim@fluendo.com>
3605 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3606 Fix nasty refcount bug.
3608 2005-07-16 Philippe Khalaf <burger@speedy.org>
3610 * gst/elements/gstfdsrc.c:
3611 * gst/elements/gstfdsrc.h:
3612 * gst/elements/gstelements.c:
3613 * gst/elements/Makefile.am:
3614 Ported fdsrc to 0.9.
3616 2005-07-16 Wim Taymans <wim@fluendo.com>
3618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3619 (gst_base_sink_do_sync):
3622 2005-07-16 Wim Taymans <wim@fluendo.com>
3624 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3625 (gst_base_sink_event), (gst_base_sink_get_times),
3626 (gst_base_sink_do_sync), (gst_base_sink_change_state):
3627 * gst/base/gstbasesink.h:
3628 Store and use discont values when syncing buffers as described
3631 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3632 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
3633 (gst_base_src_activate_push):
3634 Push discont event when starting.
3636 * gst/elements/gstidentity.c: (gst_identity_transform):
3639 * gst/gstbin.c: (gst_bin_change_state):
3640 Small cleanups in base_time distribution.
3642 * gst/gstelement.c: (gst_element_set_base_time),
3643 (gst_element_get_base_time), (gst_element_change_state):
3645 Added methods for the base_time of the element.
3648 * gst/gstpipeline.c: (gst_pipeline_send_event),
3649 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3650 (gst_pipeline_get_last_stream_time):
3651 * gst/gstpipeline.h:
3653 Handle seeking as described in design doc, remove stream_time
3655 Cleanups clock and stream_time selection code. Added accessors
3656 for the stream_time.
3659 2005-07-16 Andy Wingo <wingo@pobox.com>
3661 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
3664 2005-07-16 Wim Taymans <wim@fluendo.com>
3666 * check/gst/gstbin.c: (GST_START_TEST):
3667 Make elements silent as the deep_notify refs the
3668 parent, which might make the test fail.
3670 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3671 Don't hold the lock for too long.
3673 2005-07-16 Tim-Philipp M??ller <tim at centricular dot net>
3675 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3676 Don't unref the caps we passed to gst_caps_make_writable() after
3677 passing them. gst_caps_make_writable() will do that for us.
3679 2005-07-15 Andy Wingo <wingo@pobox.com>
3681 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
3684 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
3685 own marshalling function for the handoff signal. Properly type the
3686 buffer as a buffer. Fixes some warnings. Should do a more general
3688 (gst_identity_class_init): Plug into the right marshaller.
3690 2005-07-15 Wim Taymans <wim@fluendo.com>
3692 * docs/design/part-TODO.txt:
3693 * docs/design/part-clocks.txt:
3694 * docs/design/part-element-sink.txt:
3695 * docs/design/part-events.txt:
3696 * docs/design/part-gstpipeline.txt:
3697 Updated docs, mostly DISCONT related.
3699 2005-07-15 Tim-Philipp M??ller <tim at centricular dot net>
3701 * docs/pwg/building-pads.xml:
3702 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
3704 2005-07-15 Andy Wingo <wingo@pobox.com>
3706 * tools/gst-typefind.c: Update, add copyright block.
3708 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
3709 Normalize and truncate caps before fixation.
3712 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
3713 discards all but the first structure from its argument.
3715 2005-07-15 Wim Taymans <wim@fluendo.com>
3717 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3718 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
3719 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3720 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3721 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
3722 (gst_base_transform_chain), (gst_base_transform_change_state),
3723 (gst_base_transform_set_passthrough),
3724 (gst_base_transform_is_passthrough):
3725 * gst/base/gstbasetransform.h:
3726 Make passthrough work using the bufferpools.
3727 Changed API a bit, subclasses have to write into a buffer
3728 provided by the base class.
3729 More debug info in nego functions.
3731 * gst/elements/gstidentity.c: (gst_identity_init),
3732 (gst_identity_transform):
3733 Port to new base class.
3735 2005-07-15 Wim Taymans <wim@fluendo.com>
3737 * gst/gstmessage.c: (gst_message_new_state_changed):
3738 * tools/gst-launch.c: (event_loop), (main):
3739 Totally dump messages in -launch with the -m option.
3740 Fix message name for State messages,
3742 2005-07-14 Wim Taymans <wim@fluendo.com>
3744 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3745 Post error messages on errors.
3747 2005-07-14 Wim Taymans <wim@fluendo.com>
3749 * gst/gstcaps.c: (gst_caps_do_simplify):
3753 Define error for stream stopped.
3755 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3756 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
3757 Do proper return values.
3759 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3760 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
3761 (gst_pad_get_range):
3762 Better return values.
3765 Reorganise return values, add macro to check for fatal errors.
3767 * gst/gstqueue.c: (gst_queue_chain):
3768 Return proper GstFlowReturn values,
3770 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
3772 * docs/gst/gstreamer-sections.txt:
3773 * docs/gst/gstreamer.types:
3774 * docs/gst/tmpl/gst.sgml:
3775 * docs/gst/tmpl/gstbasesink.sgml:
3776 * docs/gst/tmpl/gstbasesrc.sgml:
3777 * docs/gst/tmpl/gstbasetransform.sgml:
3778 * docs/gst/tmpl/gstbin.sgml:
3779 * docs/gst/tmpl/gstbuffer.sgml:
3780 * docs/gst/tmpl/gstcaps.sgml:
3781 * docs/gst/tmpl/gstclock.sgml:
3782 * docs/gst/tmpl/gstcompat.sgml:
3783 * docs/gst/tmpl/gstconfig.sgml:
3784 * docs/gst/tmpl/gstelement.sgml:
3785 * docs/gst/tmpl/gstelementdetails.sgml:
3786 * docs/gst/tmpl/gstelementfactory.sgml:
3787 * docs/gst/tmpl/gstenumtypes.sgml:
3788 * docs/gst/tmpl/gsterror.sgml:
3789 * docs/gst/tmpl/gstevent.sgml:
3790 * docs/gst/tmpl/gstfakesink.sgml:
3791 * docs/gst/tmpl/gstfakesrc.sgml:
3792 * docs/gst/tmpl/gstfilesink.sgml:
3793 * docs/gst/tmpl/gstfilesrc.sgml:
3794 * docs/gst/tmpl/gstfilter.sgml:
3795 * docs/gst/tmpl/gstformat.sgml:
3796 * docs/gst/tmpl/gstghostpad.sgml:
3797 * docs/gst/tmpl/gstimplementsinterface.sgml:
3798 * docs/gst/tmpl/gstindex.sgml:
3799 * docs/gst/tmpl/gstindexfactory.sgml:
3800 * docs/gst/tmpl/gstinfo.sgml:
3801 * docs/gst/tmpl/gstiterator.sgml:
3802 * docs/gst/tmpl/gstmacros.sgml:
3803 * docs/gst/tmpl/gstmemchunk.sgml:
3804 * docs/gst/tmpl/gstminiobject.sgml:
3805 * docs/gst/tmpl/gstobject.sgml:
3806 * docs/gst/tmpl/gstpad.sgml:
3807 * docs/gst/tmpl/gstpadtemplate.sgml:
3808 * docs/gst/tmpl/gstparse.sgml:
3809 * docs/gst/tmpl/gstpipeline.sgml:
3810 * docs/gst/tmpl/gstplugin.sgml:
3811 * docs/gst/tmpl/gstpluginfeature.sgml:
3812 * docs/gst/tmpl/gstquery.sgml:
3813 * docs/gst/tmpl/gstqueue.sgml:
3814 * docs/gst/tmpl/gstregistry.sgml:
3815 * docs/gst/tmpl/gstregistrypool.sgml:
3816 * docs/gst/tmpl/gstscheduler.sgml:
3817 * docs/gst/tmpl/gstschedulerfactory.sgml:
3818 * docs/gst/tmpl/gststructure.sgml:
3819 * docs/gst/tmpl/gstsystemclock.sgml:
3820 * docs/gst/tmpl/gsttaglist.sgml:
3821 * docs/gst/tmpl/gsttagsetter.sgml:
3822 * docs/gst/tmpl/gsttrace.sgml:
3823 * docs/gst/tmpl/gsttrashstack.sgml:
3824 * docs/gst/tmpl/gsttypefind.sgml:
3825 * docs/gst/tmpl/gsttypefindfactory.sgml:
3826 * docs/gst/tmpl/gsttypes.sgml:
3827 * docs/gst/tmpl/gsturihandler.sgml:
3828 * docs/gst/tmpl/gsturitype.sgml:
3829 * docs/gst/tmpl/gstutils.sgml:
3830 * docs/gst/tmpl/gstvalue.sgml:
3831 * docs/gst/tmpl/gstversion.sgml:
3832 * docs/gst/tmpl/gstxml.sgml:
3833 * docs/libs/tmpl/gstcontrol.sgml:
3834 * docs/libs/tmpl/gstdataprotocol.sgml:
3835 * docs/libs/tmpl/gstdparam.sgml:
3836 * docs/libs/tmpl/gstdplinint.sgml:
3837 * docs/libs/tmpl/gstdpman.sgml:
3838 * docs/libs/tmpl/gstdpsmooth.sgml:
3839 * docs/libs/tmpl/gstgetbits.sgml:
3840 * docs/libs/tmpl/gstunitconvert.sgml:
3841 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
3842 (gst_push_src_base_init), (gst_push_src_class_init),
3843 (gst_push_src_init), (gst_push_src_create):
3844 * gst/base/gstpushsrc.h:
3845 * gst/elements/gstelements.c:
3846 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
3847 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
3848 (gst_fake_sink_init), (gst_fake_sink_set_property),
3849 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
3850 (gst_fake_sink_event), (gst_fake_sink_preroll),
3851 (gst_fake_sink_render), (gst_fake_sink_change_state):
3852 * gst/elements/gstfakesink.h:
3853 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3854 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
3855 (gst_fake_src_base_init), (gst_fake_src_class_init),
3856 (gst_fake_src_init), (gst_fake_src_event_handler),
3857 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
3858 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
3859 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
3860 (gst_fake_src_create_buffer), (gst_fake_src_create),
3861 (gst_fake_src_start), (gst_fake_src_stop):
3862 * gst/elements/gstfakesrc.h:
3863 * gst/elements/gstfilesink.c: (_do_init),
3864 (gst_file_sink_base_init), (gst_file_sink_class_init),
3865 (gst_file_sink_init), (gst_file_sink_dispose),
3866 (gst_file_sink_set_location), (gst_file_sink_set_property),
3867 (gst_file_sink_get_property), (gst_file_sink_open_file),
3868 (gst_file_sink_close_file), (gst_file_sink_query),
3869 (gst_file_sink_event), (gst_file_sink_render),
3870 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
3871 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
3872 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
3873 * gst/elements/gstfilesink.h:
3874 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
3875 (gst_file_src_class_init), (gst_file_src_init),
3876 (gst_file_src_finalize), (gst_file_src_set_location),
3877 (gst_file_src_set_property), (gst_file_src_get_property),
3878 (gst_file_src_map_region), (gst_file_src_map_small_region),
3879 (gst_file_src_create_mmap), (gst_file_src_create_read),
3880 (gst_file_src_create), (gst_file_src_is_seekable),
3881 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
3882 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
3883 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
3884 (gst_file_src_uri_handler_init):
3885 * gst/elements/gstfilesrc.h:
3886 more autistic cleanliness in functions/names/defines
3888 2005-07-13 Andy Wingo <wingo@pobox.com>
3890 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
3891 source couldn't negotiate.
3893 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
3897 * gst/gstutils.c (gst_element_link_pads_filtered): New old
3898 function. I am channeling Hades. Put your boots on suckers!!!
3900 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
3902 * testsuite/caps/Makefile.am:
3903 * testsuite/caps/value_compare.c:
3904 * testsuite/caps/value_intersect.c:
3905 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3906 move two testsuite apps over to the check dir
3908 2005-07-12 Wim Taymans <wim@fluendo.com>
3910 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3911 Added more debug info in the negotiate process.
3914 Prepare for segment playback.
3916 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
3922 * tools/gst-launch.c: (main):
3923 NULL pipeline on errors.
3925 2005-07-12 Andy Wingo <wingo@pobox.com>
3927 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
3928 not it comes from a malloc region. Make sure our copy gets freed.
3930 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
3932 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3933 * check/gst/gstmessage.c: (GST_START_TEST):
3934 * check/gst/gststructure.c: (GST_START_TEST),
3935 (gst_structure_suite), (main):
3937 * gst/gstelement.c: (gst_element_message_full):
3938 clean up GError and debug string now that they get copied
3939 * gst/gstmessage.c: (gst_message_new_error),
3940 (gst_message_new_warning), (gst_message_parse_error),
3941 (gst_message_parse_warning):
3942 use GST_TYPE_G_ERROR for structure_new, and take copies of
3943 arguments, so that we don't mess up refcounting
3945 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
3947 * check/Makefile.am:
3948 add per-test valgrind targets
3949 * check/gst-libs/gdp.c: (GST_START_TEST),
3950 (gst_data_protocol_suite), (main):
3953 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
3955 * check/Makefile.am:
3956 instate more valgrindable tests
3957 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3958 (GST_START_TEST), (fakesrc_suite):
3959 * check/gst/gstpad.c: (GST_START_TEST):
3960 * check/gst/gststructure.c: (GST_START_TEST):
3962 * docs/gst/tmpl/gstminiobject.sgml:
3963 * gst/gstpad.c: (gst_pad_finalize):
3964 fix the static mutex leak
3966 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
3968 * check/Makefile.am:
3969 add two more tests for valgrinding
3970 * check/gst/gstvalue.c: (GST_START_TEST):
3971 test refcount of deserialized buffer, found a leak
3972 * docs/gst/gstreamer-docs.sgml:
3973 * docs/gst/gstreamer-sections.txt:
3974 * docs/gst/gstreamer.types:
3975 * docs/gst/tmpl/gstminiobject.sgml:
3976 add miniobject to docs
3977 * gst/gstminiobject.c:
3979 * gst/gstvalue.c: (gst_value_deserialize_buffer),
3980 (gst_string_unwrap):
3981 fix a hard-to-find invalid write for one of the tests
3982 fix a leak for deserialized buffers
3984 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3986 * docs/pwg/advanced-events.xml:
3987 * docs/pwg/advanced-request.xml:
3988 * docs/pwg/advanced-scheduling.xml:
3989 * docs/pwg/appendix-porting.xml:
3990 * docs/pwg/building-boiler.xml:
3991 * docs/pwg/intro-preface.xml:
3992 * docs/pwg/other-ntoone.xml:
3993 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
3994 of example code and explanation for pad activation, loop() and
3995 getrange() functions and a bit more. Remove old comments pointing
3997 * examples/pwg/Makefile.am:
3998 Add loop/getrange examples.
4000 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4003 check for valgrind binary + some fixes
4005 valgrind suppressions for the tests
4006 * check/Makefile.am:
4007 add a valgrind: target that valgrinds the unit tests
4008 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4009 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4010 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4011 * check/gst/gstghostpad.c:
4013 * check/gst/gstdata.c:
4015 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4016 (thread_unref), (gst_mini_object_suite), (main):
4018 * gst/gst.c: (gst_deinit):
4020 add a method to clean up.
4021 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4022 (gst_system_clock_obtain):
4023 allow for disposing the system clock.
4024 * tools/gst-launch.c: (main):
4027 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4029 * docs/gst/tmpl/gstbasesrc.sgml:
4030 * docs/gst/tmpl/gstfakesrc.sgml:
4031 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4032 (gst_base_src_init), (gst_base_src_set_property),
4033 (gst_base_src_get_property), (gst_base_src_get_range),
4034 (gst_base_src_start):
4035 * gst/base/gstbasesrc.h:
4036 add num-buffers property
4037 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4038 (gst_fakesrc_init), (gst_fakesrc_set_property),
4039 (gst_fakesrc_get_property), (gst_fakesrc_create),
4040 (gst_fakesrc_start):
4041 remove num-buffers property
4043 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4045 * docs/gst/gstreamer-sections.txt:
4046 * docs/gst/tmpl/gstbasesink.sgml:
4047 * docs/gst/tmpl/gstbasesrc.sgml:
4048 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4049 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4050 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4051 (gst_base_sink_set_property), (gst_base_sink_get_property),
4052 (gst_base_sink_handle_object), (gst_base_sink_event),
4053 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4054 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4055 (gst_base_sink_loop), (gst_base_sink_deactivate),
4056 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4057 (gst_base_sink_change_state):
4058 * gst/base/gstbasesink.h:
4059 * gst/base/gstbasesrc.h:
4060 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4061 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4062 (gst_filesink_init):
4063 more macro splitting
4065 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4067 * gst/gstelement.c: (gst_element_get_bus):
4069 * tools/gst-launch.c: (check_intr), (event_loop):
4072 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4074 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4077 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4079 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4080 (gst_base_src_finalize):
4081 add finalize method and clean up properly
4082 * gst/gstpipeline.c: (gst_pipeline_dispose):
4085 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4087 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4089 add more things to check
4090 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4094 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4096 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4097 (GST_START_TEST), (fakesrc_suite):
4098 * check/gst-libs/gdp.c: (GST_START_TEST):
4099 * check/gst/gst.c: (GST_START_TEST):
4100 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4101 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4102 * check/gst/gstbus.c: (GST_START_TEST):
4103 * check/gst/gstcaps.c: (GST_START_TEST):
4104 * check/gst/gstdata.c: (GST_START_TEST):
4105 * check/gst/gstelement.c: (GST_START_TEST):
4106 * check/gst/gstghostpad.c: (GST_START_TEST):
4107 * check/gst/gstiterator.c: (GST_START_TEST):
4108 * check/gst/gstmessage.c: (GST_START_TEST):
4109 * check/gst/gstobject.c: (GST_START_TEST):
4110 * check/gst/gstpad.c: (GST_START_TEST):
4111 * check/gst/gststructure.c: (GST_START_TEST):
4112 * check/gst/gstsystemclock.c: (GST_START_TEST),
4113 (gst_systemclock_suite):
4114 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4115 * check/gst/gstvalue.c: (GST_START_TEST):
4116 * check/pipelines/cleanup.c: (GST_START_TEST):
4117 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4118 * check/states/sinks.c: (GST_START_TEST):
4119 * check/gstcheck.c: (gst_check_init):
4121 add debugging category
4122 use GST_START_TEST now, so we add a debug line
4124 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4126 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4127 add test for state change message on a bin
4128 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4130 * gst/gstbin.c: (gst_bin_init):
4131 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4132 * gst/gstelement.c: (gst_element_post_message),
4133 (gst_element_set_state):
4134 * gst/gstelementfactory.c: (gst_element_factory_create):
4135 * gst/gstmessage.c: (gst_message_new):
4136 * gst/gstscheduler.c:
4137 various debugging additions and cleanups
4139 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4141 * check/Makefile.am:
4142 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4144 adding tests for elements
4145 * gst/gstelement.c: (gst_element_dispose):
4147 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4149 * gst/registries/gstlibxmlregistry.c: (load_feature):
4150 plug more leaks. A simple gst_init() now is leakfree, yay.
4152 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4154 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4155 (gst_xml_registry_load):
4156 plug another memleak
4158 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4161 use GST_SET_ERROR_CFLAGS
4163 change to ERROR_CFLAGS
4165 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4168 make GST_ERROR_CFLAGS overridable and re-enable Werror
4170 add a note about error CFLAGS
4171 * docs/gst/tmpl/gstfakesrc.sgml:
4172 * gst/elements/gstfakesrc.c:
4173 comment out some unused code
4174 * gst/gst.c: (split_and_iterate):
4175 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4179 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4181 * common/Makefile.am:
4182 * common/gtk-doc.mak:
4183 * docs/gst/Makefile.am:
4184 factor out gtk-doc.mak
4186 2005-07-07 Wim Taymans <wim@fluendo.com>
4188 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4189 (gst_thread_scheduler_dispose):
4190 Unlock the STREAM_LOCK completely.
4192 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4194 * check/Makefile.am:
4195 * check/elements/.cvsignore:
4196 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4197 (START_TEST), (fakesrc_suite), (main):
4198 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4199 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4200 (gst_fakesrc_create), (gst_fakesrc_start):
4201 * gst/elements/gstfakesrc.h:
4202 adding a first element test
4204 2005-07-07 Andy Wingo <wingo@pobox.com>
4206 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4209 2005-07-07 Wim Taymans <wim@fluendo.com>
4215 2005-07-07 Wim Taymans <wim@fluendo.com>
4217 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4218 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4219 Allow subclasses to implement their own negotiation.
4221 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4223 * docs/design/part-gstbin.txt:
4224 * docs/design/part-gstpipeline.txt:
4225 Update design notes to reflect the movement of
4226 responsibility for bus handling from GstPipeline to
4229 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4232 Remove unnecessary queue2/3/4 examples.
4234 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4236 * examples/Makefile.am:
4237 * examples/helloworld/helloworld.c: (event_loop), (main):
4238 * examples/queue/queue.c: (event_loop), (main):
4239 * examples/queue2/queue2.c: (main):
4240 Update a couple of the examples to work again.
4242 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4243 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4244 Spelling corrections and extra debug.
4246 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4247 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4248 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4250 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4251 (gst_pipeline_change_state):
4252 * gst/gstpipeline.h:
4253 Move the bus handler for children to the GstBin, and create a
4254 separate bus for receiving messages from children to the one the
4255 bus sends 'upwards' on.
4257 2005-07-06 Wim Taymans <wim@fluendo.com>
4260 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4261 (gst_base_sink_handle_object), (gst_base_sink_loop),
4262 (gst_base_sink_change_state):
4263 * gst/base/gstbasesink.h:
4264 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4265 (gst_base_src_init), (gst_base_src_setcaps),
4266 (gst_base_src_getcaps), (gst_base_src_loop),
4267 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4268 (gst_base_src_start), (gst_base_src_change_state):
4269 * gst/base/gstbasesrc.h:
4270 Make basesrc negotiate.
4271 Handle the case where preroll fails in basesink.
4274 2005-07-06 Wim Taymans <wim@fluendo.com>
4276 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4277 Implement the fixate function.
4278 Clean up acceptcaps.
4280 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4282 * docs/pwg/building-filterfactory.xml:
4284 Remove never-written filter-factory chapter; I'll add the various
4285 base classes to part 4 ("other element types") later on.
4287 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4289 * docs/pwg/advanced-negotiation.xml:
4290 * docs/pwg/building-boiler.xml:
4291 * docs/pwg/building-pads.xml:
4293 * examples/pwg/Makefile.am:
4294 Add a chapter on caps negotiation, simplify the original code
4295 samples a bit w.r.t. caps negotiation, add link to the advanced
4296 section. Add a bunch of examples showing different use cases of
4297 different types of caps negotiation. Upstream renegotiation isn't
4298 fully documented yet since nobody knows how that works.
4300 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4302 * check/gst/gstpad.c:
4304 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4305 if pad has no parent, return NULL as list of internal links
4307 2005-07-05 Andy Wingo <wingo@pobox.com>
4309 * gst/elements/gstfilesrc.c:
4310 * gst/elements/gstfakesrc.c:
4311 * gst/base/gstpushsrc.c:
4312 * gst/base/gstbasesrc.h:
4313 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4315 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4318 better report generation target (lcov needs a patch)
4320 2005-07-05 Andy Wingo <wingo@pobox.com>
4322 * gst/elements, testsuite: Null if we got it...
4324 2005-07-05 Wim Taymans <wim@fluendo.com>
4327 * libs/gst/dataprotocol/Makefile.am:
4328 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4329 * libs/gst/dataprotocol/dataprotocol.h:
4330 * pkgconfig/Makefile.am:
4331 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4332 * pkgconfig/gstreamer-dataprotocol.pc.in:
4333 Ported dataprotol to 0.9.
4334 Added pkgconfig files.
4336 2005-07-05 Andy Wingo <wingo@pobox.com>
4338 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4339 Default to returning TRUE for the case when tranform_caps returns
4340 a fixed caps, like for identity or volume.
4342 * check/gst/gstbus.c (pound_bus_with_messages):
4343 * check/gst/gstmessage.c (START_TEST):
4344 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4347 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4348 logic weaks here: always run transform_caps, trying passthrough
4349 operation only if the original caps intersects with the transform.
4351 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4352 source and sink caps.
4354 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4355 Intersect the peer caps with the pad template before going into
4357 (gst_base_transform_transform_caps): More debugging.
4359 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4362 2005-07-04 Edward Hervey <edward@fluendo.com>
4366 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4369 2005-07-04 Andy Wingo <wingo@pobox.com>
4371 * check/gst/gstpad.c: Only set explicit caps on pads.
4373 2005-07-01 Andy Wingo <wingo@pobox.com>
4375 * tests/network-clock.scm: Commentary update.
4377 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4378 Didn't really make sense, not implementable with basetransform,
4380 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4381 attempt at implementing the sync property, needs an unlock method.
4383 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4384 New func, by default returns the same caps (the identity
4386 (gst_base_transform_getcaps): Uses transform_caps to return
4388 (gst_base_transform_setcaps): Complicated logic to get caps on
4389 both pads, even if they are different, and to call set_caps once
4390 for every time both pads get their caps set.
4391 (gst_base_transform_handle_buffer): Give the ref to the transform
4392 function. Allows in-place modification of the buffer.
4394 * gst/base/gstbasetransform.h (transform_caps): New class method.
4395 Given caps on one side, what can I do on the other.
4396 (set_caps): Take two caps, one for each side of the element.
4399 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4400 caps in place. This is safe because we can check the mutability of
4401 the caps, and a good idea because fixate functions are just called
4402 as a matter of last resort. (Not actually implemented.)
4403 (gst_pad_set_caps): If the caps we're setting is actually the same
4404 as the existing pad caps, just update the pointer without calling
4405 setcaps. Assert that caps is either NULL or fixed, as per the
4408 * gst/gstghostpad.c: Update for fixate changes.
4410 2005-07-02 Andy Wingo <wingo@pobox.com>
4413 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4414 two refcounts makes it immutable, which is enough. Doc more.
4416 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4418 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4419 Put the mini_object into GValue as a mini_object,
4420 not a gpointer, since that's how we declared
4423 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4425 * examples/pwg/Makefile.am:
4428 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4430 * docs/pwg/building-testapp.xml:
4432 * examples/pwg/Makefile.am:
4435 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4438 * examples/Makefile.am:
4439 * examples/pwg/Makefile.am:
4440 * examples/pwg/extract.pl:
4441 Enable building the PWG examples.
4442 * docs/pwg/advanced-interfaces.xml:
4443 Add URI interface stub.
4444 * docs/pwg/advanced-types.xml:
4445 * docs/pwg/other-autoplugger.xml:
4446 * docs/pwg/appendix-porting.xml:
4448 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4449 * docs/pwg/building-boiler.xml:
4450 * docs/pwg/building-chainfn.xml:
4451 * docs/pwg/building-pads.xml:
4452 * docs/pwg/building-props.xml:
4453 * docs/pwg/building-state.xml:
4454 * docs/pwg/building-testapp.xml:
4455 Update the building-*.xml parts for 0.9 changes. All examples
4456 code blocks compile in examples/pwg/*.
4458 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4460 * docs/manual/advanced-autoplugging.xml:
4461 * docs/manual/appendix-checklist.xml:
4462 * docs/manual/appendix-integration.xml:
4463 * docs/manual/highlevel-components.xml:
4464 Fix playbin/decodebin examples, update docs a bit, mention bus
4465 instead of signals in various places, mention kmplayer and
4466 kaffeine since they have a working GStreamer backend in the KDE
4469 2005-06-30 Wim Taymans <wim@fluendo.com>
4472 * docs/design/draft-ghostpads.txt:
4473 * docs/design/draft-push-pull.txt:
4474 * docs/design/draft-query.txt:
4475 * docs/design/part-TODO.txt:
4476 * docs/design/part-query.txt:
4477 Added CHANGES-0.9 doc, updated status of other docs.
4482 2005-06-30 Wim Taymans <wim@fluendo.com>
4484 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4485 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4486 (gst_base_sink_change_state):
4487 * gst/base/gstbasesink.h:
4488 Some tweaks, only EOS and a buffer complete a preroll.
4490 2005-06-30 Andy Wingo <wingo@pobox.com>
4492 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4493 activate_push down to the internal pad as well.
4495 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4497 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4499 * gst/gsttaginterface.c:
4500 Some documentation fixes (#307394 and #307397).
4502 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4504 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4506 * gst/gstvalue.c: (gst_value_intersect_list):
4507 Fix memleak (#309125).
4509 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4511 * docs/manual/advanced-dataaccess.xml:
4512 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4513 * docs/manual/basics-pads.xml:
4514 Add reference for filtered caps to above chapter.
4516 2005-06-30 Wim Taymans <wim@fluendo.com>
4518 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4519 (gst_bin_change_state):
4521 Lame attempt at making the state change function a bit
4524 2005-06-30 Wim Taymans <wim@fluendo.com>
4526 * docs/design/part-clocks.txt:
4527 * docs/design/part-element-sink.txt:
4528 * docs/design/part-events.txt:
4529 * docs/design/part-preroll.txt:
4530 * docs/design/part-states.txt:
4531 Some more tweeks and additions to the docs.
4533 2005-06-30 Wim Taymans <wim@fluendo.com>
4535 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4536 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4537 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4538 (gst_pad_check_pull_range), (gst_pad_get_range),
4539 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4541 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4542 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4543 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4544 (gst_pad_remove_buffer_probe):
4545 Removed atomic operations, use existing LOCK.
4546 Move exception handling out of main code path.
4548 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4550 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4551 (silly_return_true_function), (gst_pad_class_init),
4552 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4553 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4554 (gst_pad_send_event):
4555 Fix accumulator, add default value by using _emitv() instead
4556 of _emit() for signal emission.
4558 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4560 * docs/manual/advanced-dataaccess.xml:
4561 * examples/manual/Makefile.am:
4563 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4566 2005-06-29 Tim-Philipp M??ller <tim at centricular dot net>
4568 * gst/elements/gstfilesink.c: (gst_filesink_render):
4569 Simplify code so that we don't have to handle short
4570 writes and return GST_FLOW_ERROR if an error occured.
4572 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4574 * docs/gst/gstreamer-docs.sgml:
4577 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4579 * docs/gst/gstreamer-sections.txt:
4580 * docs/gst/tmpl/gstpad.sgml:
4581 * docs/gst/tmpl/gstprobe.sgml:
4583 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4584 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
4585 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4586 (gst_pad_push_event), (gst_pad_send_event):
4588 * gst/gstutils.c: (gst_pad_add_data_probe),
4589 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4590 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4591 (gst_pad_remove_buffer_probe):
4593 Remove old probes, add new g-signal-based probes and some utility
4596 2005-06-29 Edward Hervey <edward@fluendo.com>
4598 * gst/gstelementfactory.c:
4601 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
4602 the definition to the header file.
4604 2005-06-29 Andy Wingo <wingo@pobox.com>
4606 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
4607 plugins from the source directory.
4609 2005-06-29 Wim Taymans <wim@fluendo.com>
4611 * docs/gst/tmpl/gstbuffer.sgml:
4612 * docs/gst/tmpl/gstclock.sgml:
4613 Some fixings for blantently wrong text.
4615 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4617 * check/Makefile.am:
4618 * gst/gst.c: (add_path_func), (init_pre):
4619 * gst/gstregistry.c: (gst_registry_add_path):
4620 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
4621 only scan the GST_PLUGIN_PATH locations, and not add
4624 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4626 * docs/gst/gstreamer-sections.txt:
4627 * docs/gst/tmpl/gstbasesrc.sgml:
4634 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4636 * docs/manual/advanced-autoplugging.xml:
4637 Fix autoplugging example.
4639 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4641 * docs/manual/advanced-autoplugging.xml:
4642 * docs/manual/mime-world.fig:
4643 Try to get autoplugging working, fix type detection. Fix text
4644 in hello-world image.
4646 2005-06-29 Wim Taymans <wim@fluendo.com>
4648 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4649 (gst_base_sink_change_state):
4653 map SIGNAL and BROADCAST to the right function.
4656 Remove redundant braces.
4658 * gst/gstpad.c: (gst_pad_set_caps):
4659 Don't call setcaps function when reseting caps to NULL.
4661 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4662 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
4663 (gst_system_clock_id_unschedule):
4664 Use BROADCAST as this is what we do.
4666 2005-06-29 Wim Taymans <wim@fluendo.com>
4668 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4669 We are actually prerolling before commiting the state
4672 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4674 * docs/manual/advanced-clocks.xml:
4675 * docs/manual/advanced-interfaces.xml:
4676 * docs/manual/advanced-metadata.xml:
4677 * docs/manual/advanced-position.xml:
4678 * docs/manual/advanced-schedulers.xml:
4679 * docs/manual/advanced-threads.xml:
4680 * docs/manual/appendix-porting.xml:
4681 * docs/manual/basics-bins.xml:
4682 * docs/manual/basics-bus.xml:
4683 * docs/manual/basics-elements.xml:
4684 * docs/manual/basics-helloworld.xml:
4685 * docs/manual/basics-pads.xml:
4686 * docs/manual/highlevel-components.xml:
4687 * docs/manual/manual.xml:
4688 * docs/manual/thread.fig:
4689 Update (until threads/scheduling) Application Development Manual;
4690 remove GstThread, add GstBus, add simple porting checklist, add
4691 documentation for tag writing, clocks, make all examples until this
4692 part compile and run.
4693 * examples/manual/Makefile.am:
4694 Update from changes to Application Development Manual; add bus
4695 example, remove thread example.
4697 2005-06-28 Wim Taymans <wim@fluendo.com>
4699 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
4700 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
4701 (gst_bus_source_dispatch):
4702 Add debugging messages.
4703 Make internal methods static.
4704 Handle the case where the bus is flushed in the handler.
4706 * gst/gstelement.c: (gst_element_get_bus):
4707 Fix refcount in _get_bus();
4709 * gst/gstpipeline.c: (gst_pipeline_change_state),
4710 (gst_pipeline_get_clock_func):
4711 Clock refcounting fixes.
4712 Handle the case where preroll timed out more gracefully.
4714 * gst/gstsystemclock.c: (gst_system_clock_dispose):
4715 Clean up the internal thread in dispose. This is needed
4716 for subclasses that actually get disposed.
4718 * gst/schedulers/threadscheduler.c:
4719 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
4720 (gst_thread_scheduler_dispose):
4721 Free thread pool in dispose.
4723 2005-06-28 Andy Wingo <wingo@pobox.com>
4725 * tests/network-clock-utils.scm (debug, print-event): New utils.
4727 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
4728 (*packet-loss*): Unified loss probability.
4729 (network-time): Report out-of-band events.
4731 * tests/plot-data: Add support for out-of-band events. Hack it
4732 into this script instead of passing it down the pipe; should fix
4735 2005-06-28 Wim Taymans <wim@fluendo.com>
4737 * docs/gst/gstreamer.types:
4738 * docs/gst/tmpl/gstbasesrc.sgml:
4739 * docs/gst/tmpl/gstpad.sgml:
4742 2005-06-28 Wim Taymans <wim@fluendo.com>
4744 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4745 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
4746 (gst_proxy_pad_do_fixatecaps):
4747 Correctly proxy the check_pull_range function.
4749 2005-06-28 Andy Wingo <wingo@pobox.com>
4751 * tests/network-clock.scm: Removed need for slib.
4753 2005-06-28 Wim Taymans <wim@fluendo.com>
4755 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
4756 (gst_basesink_preroll_queue_flush):
4757 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
4758 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
4759 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4760 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4761 (gst_proxy_pad_set_property):
4764 * gst/gstqueue.c: (gst_queue_init):
4765 The deprecated pad loop function is removed now.
4767 2005-06-28 Andy Wingo <wingo@pobox.com>
4769 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
4770 New parameters, simulate network packet loss.
4772 * tests/network-clock-utils.scm: Initialize the RNG.
4774 2005-06-28 Wim Taymans <wim@fluendo.com>
4776 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
4777 (gst_basesink_event), (gst_basesink_deactivate):
4778 Flushing the preroll queue always needs to unlock the waiters.
4780 2005-06-28 Edward Hervey <edward@fluendo.com>
4782 * gst/gstpipeline.c: (gst_pipeline_send_event):
4783 Wheen a seek was successful on a pipeline, set the stream_time to the
4784 seek offset in order to have a synchronized stream_time.
4786 2005-06-28 Wim Taymans <wim@fluendo.com>
4788 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4789 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4790 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
4791 (gst_proxy_pad_do_fixatecaps):
4792 Call wrapper function instead of just calling the function
4793 pointers. This takes care of any locking and whatmore.
4795 2005-06-28 Wim Taymans <wim@fluendo.com>
4797 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
4798 (gst_pad_pull_range):
4800 CONNECTED -> LINKED.
4802 2005-06-28 Andy Wingo <wingo@pobox.com>
4804 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
4805 source-munging commit!!!
4807 * gst/gstobject.c (gst_object_unref, gst_object_ref)
4808 (gst_object_sink): Take gpointer arguments, not GstObject --
4809 avoids casts. Like GLib.
4811 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
4814 2005-06-27 Andy Wingo <wingo@pobox.com>
4816 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
4819 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
4820 returns a sorted copy of the trace list.
4821 (gst_alloc_trace_print_live): New API, only prints traces with
4822 live objects. Sort the list.
4823 (gst_alloc_trace_print_all): Sort the list.
4824 (gst_alloc_trace_print): Align columns.
4826 * gst/elements/gstttypefindelement.c:
4827 * gst/elements/gsttee.c:
4828 * gst/base/gstbasesrc.c:
4829 * gst/base/gstbasesink.c:
4830 * gst/base/gstbasetransform.c:
4831 * gst/gstqueue.c: Adapt for pad activation changes.
4833 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
4835 (gst_pipeline_dispose): Drop ref on sched.
4837 * gst/gstpad.c (gst_pad_init): Set the default activate func.
4838 (gst_pad_activate_default): Push mode by default.
4839 (pre_activate_switch, post_activate_switch): New stubs, things to
4840 do before and after switching activation modes on pads.
4841 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
4842 the pad's activate function to choose which mode to activate.
4843 Shortcut on deactivation and call the right function directly.
4844 (gst_pad_activate_pull): New API, (de)activates a pad in pull
4846 (gst_pad_activate_push): New API, same for push mode.
4847 (gst_pad_set_activate_function)
4848 (gst_pad_set_activatepull_function)
4849 (gst_pad_set_activatepush_function): Setters for new API.
4851 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
4852 Trace all miniobjects.
4853 (gst_mini_object_make_writable): Unref the arg if we copy, like
4854 gst_caps_make_writable.
4856 * gst/gstmessage.c (_gst_message_initialize): No trace init.
4858 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
4859 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
4860 Adapt for new pad API.
4862 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
4865 * gst/gstelement.c (gst_element_iterate_src_pads)
4866 (gst_element_iterate_sink_pads): New API functions.
4868 * gst/gstelement.c (iterator_fold_with_resync): New utility,
4869 should fold into gstiterator.c in some form.
4870 (gst_element_pads_activate): Simplified via use of fold and
4871 delegation of decisions to gstpad->activate.
4873 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
4876 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
4877 class once in init, like gstmessage. Didn't run into this issue
4878 but it seems correct. Don't initialize a trace, gstminiobject does
4881 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
4882 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
4884 (assert_live_count): New util function, uses alloc traces to check
4887 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
4888 To be modified when unlink drops the internal pad.
4890 2005-06-27 Wim Taymans <wim@fluendo.com>
4892 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
4893 (gst_bin_change_state):
4894 Cleanup the get_state() function a little, make sure it
4895 iterates the same set of elements.
4896 Added stub iterate_state_order().
4898 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
4900 * docs/gst/gstreamer-docs.sgml:
4901 * docs/gst/gstreamer-sections.txt:
4902 * docs/gst/gstreamer.types:
4903 * docs/gst/tmpl/gstbasesink.sgml:
4904 * docs/gst/tmpl/gstbasesrc.sgml:
4905 * docs/gst/tmpl/gstbasetransform.sgml:
4906 * docs/gst/tmpl/gstelement.sgml:
4907 * docs/gst/tmpl/gstiterator.sgml:
4908 * gst/base/gstbasesrc.c:
4909 * gst/base/gstbasesrc.h:
4910 * gst/base/gstbasetransform.h:
4912 * gst/gstiterator.h:
4913 adding basetransform and iterator docs
4915 2005-06-27 Andy Wingo <wingo@pobox.com>
4917 * docs/design/part-activation.txt: Notes on how activation should
4918 work -- not quite implemented yet.
4920 2005-06-25 Wim Taymans <wim@fluendo.com>
4922 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
4923 At least get the chain function correct, needs more
4926 2005-06-25 Wim Taymans <wim@fluendo.com>
4928 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
4929 (gst_basesink_handle_object), (gst_basesink_event),
4930 (gst_basesink_do_sync), (gst_basesink_handle_event),
4931 (gst_basesink_change_state):
4933 Right, two problems here: ghostpads don't take locks and
4934 glib _rec_mutex_lock_full() with depth==0 still locks.
4935 Catch illegal locking and g_warn them.
4937 2005-06-25 Wim Taymans <wim@fluendo.com>
4939 * check/states/sinks.c: (START_TEST), (gst_object_suite):
4940 Have to check for completion now...
4942 2005-06-25 Wim Taymans <wim@fluendo.com>
4944 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
4945 (gst_basesink_handle_object), (gst_basesink_event),
4946 (gst_basesink_do_sync), (gst_basesink_handle_event),
4947 (gst_basesink_change_state):
4949 Unlock STREAM_LOCK whatever the recursion was.
4951 2005-06-25 Wim Taymans <wim@fluendo.com>
4953 * gst/base/gstbasesink.c: (gst_basesink_set_property),
4954 (gst_basesink_preroll_queue_empty),
4955 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
4956 (gst_basesink_event), (gst_basesink_do_sync),
4957 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
4958 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
4959 (gst_basesink_change_state):
4960 Reworked the base sink, handle event and buffer serialisation
4961 correctly and removed possible deadlock.
4962 Handle EOS correctly.
4964 2005-06-25 Wim Taymans <wim@fluendo.com>
4966 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
4967 (gst_pipeline_change_state):
4968 * tools/gst-launch.c: (check_intr), (event_loop), (main):
4969 Allow elements to post EOS in the state change function.
4970 Fix up -launch, make it exit the poll loop when the
4971 pipeline actually changed state.
4972 Fix up warning parsing in -launch.
4974 2005-06-25 Wim Taymans <wim@fluendo.com>
4976 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
4977 (gst_tee_sink_activate):
4978 Core takes STREAM_LOCK for us now.
4980 2005-06-25 Wim Taymans <wim@fluendo.com>
4982 * gst/gstelement.c: (gst_element_get_state_func),
4983 (gst_element_set_state):
4985 * gst/gstmessage.c: (gst_message_parse_error),
4986 (gst_message_parse_warning):
4987 Keep track of current target state while performing a state
4988 change so that subclasses can do something interesting.
4989 Fix parsing of warning/error messages when GError is NULL.
4991 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
4993 * docs/gst/Makefile.am:
4994 * docs/gst/gstreamer-docs.sgml:
4995 * docs/gst/gstreamer-sections.txt:
4996 * docs/gst/gstreamer.types:
4997 * docs/gst/tmpl/gstbasesink.sgml:
4998 * docs/gst/tmpl/gstbasesrc.sgml:
4999 * docs/gst/tmpl/gstbin.sgml:
5000 * docs/gst/tmpl/gstcompat.sgml:
5001 * docs/gst/tmpl/gstfakesink.sgml:
5002 * docs/gst/tmpl/gstfakesrc.sgml:
5003 * docs/gst/tmpl/gstfilesink.sgml:
5004 * docs/gst/tmpl/gstfilesrc.sgml:
5005 * docs/gst/tmpl/gstindex.sgml:
5006 * docs/manual/appendix-quotes.xml:
5007 * gst/base/gstbasesrc.h:
5008 * gst/elements/gstfakesrc.h:
5010 start pulling in base classes and elements in our docs
5012 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5014 * docs/gst/Makefile.am:
5015 * docs/libs/Makefile.am:
5016 fixed make distcheck with gtk-doc 1.3
5018 2005-06-23 Wim Taymans <wim@fluendo.com>
5020 * gst/gstelement.c: (gst_element_get_state_func),
5021 (gst_element_set_state), (gst_element_change_state):
5022 When the state did not change, also report NO_PREROLL
5025 2005-06-23 Wim Taymans <wim@fluendo.com>
5027 * gst/gstpad.c: (gst_pad_event_default):
5028 * gst/gstqueue.c: (gst_queue_loop):
5029 No unsafe task pausing please.
5031 2005-06-23 Wim Taymans <wim@fluendo.com>
5033 * gst/schedulers/threadscheduler.c:
5034 (gst_thread_scheduler_task_start),
5035 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5036 Ref the task before pushing it on the threadpool. This
5037 makes sure that we have a ref when the threadfunction is
5040 2005-06-23 Andy Wingo <wingo@pobox.com>
5042 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5043 offset is greater than the file's size.
5045 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5046 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5047 * gst/gstobject.c (gst_object_class_init): Make the class lock
5048 recursive. Wim won't let me drop deep_notify. Decodebin works
5051 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5052 internal pad, and hacks accordingly. Doesn't do it on the target
5053 pad because we change its caps. Probably catches all cases of
5055 (gst_ghost_pad_set_property): Connect to notify::caps as
5058 * tests/network-clock.scm (plot-simulation): Pipe data to the
5059 elite python skript.
5061 * tests/network-clock-utils.scm (define-parameter): New macro,
5062 defines a parameter that can be set via the command line.
5063 (set-parameter!, parse-parameter-arguments): Command line args
5066 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5069 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5071 * gst/elements/gsttypefindelement.c:
5072 (gst_type_find_element_handle_event):
5073 Don't restart typefinding on a discont.
5074 * gst/gstelement.c: (gst_element_set_state):
5076 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5077 Allow changing mode of an active pad.
5079 * gst/registries/gstlibxmlregistry.c: (load_feature):
5080 Don't cast a static pad template to a normal pad template.
5082 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5084 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5085 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5086 remove gst_strtoll completely, since it didn't actually do
5087 anything more than what g_ascii_strtoull already does.
5088 check for range errors when deserializing
5089 do a cast for the unsigned cases; but further fixing needs
5090 a decision on what the interpretation of "(int)" and
5091 deserialization should be for values that fall outside the
5092 type's boundaries (ie, refuse, or interpret as casting)
5094 2005-06-23 Wim Taymans <wim@fluendo.com>
5096 * check/Makefile.am:
5097 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5098 * docs/design/part-live-source.txt:
5099 * docs/design/part-states.txt:
5100 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5101 (gst_basesrc_set_live), (gst_basesrc_is_live),
5102 (gst_basesrc_get_range), (gst_basesrc_activate),
5103 (gst_basesrc_change_state):
5104 * gst/base/gstbasesrc.h:
5105 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5106 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5107 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5108 * gst/gstelement.c: (gst_element_get_state_func),
5109 (gst_element_set_state):
5112 * tools/gst-launch.c: (event_loop), (main):
5113 Added support for live sources and other elements that
5115 Updated design docs, added live-source design doc.
5116 Implemented live source functionality in basesrc
5117 Fix error condition in _bin_get_state()
5118 Implement live source handling in -launch.
5119 Added check for live sources.
5120 Fixed case in GstBin where elements were changed state
5124 2005-06-23 Andy Wingo <wingo@pobox.com>
5126 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5129 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5130 gst_caps_replace takes care of this for us.
5132 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5133 gst_pad_set_caps on the target, not just its setcaps() function.
5135 * tests/network-clock.scm:
5136 * tests/network-clock-utils.scm: A network clock simulator.
5137 Something of an algorithmic testbed before doing something in C.
5139 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5141 * check/Makefile.am:
5142 * check/gst/capslist.h:
5143 copy over from 0.8, and add two with bitmasks specified with
5145 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5146 add test to parse everything from capslist.h
5147 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5149 add test for structure deserialization
5150 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5151 add tests for deserialization of strings to int types
5152 * gst/gststructure.c: (gst_structure_nth_field_name):
5153 * gst/gststructure.h:
5154 add a way to get the name of a field referenced by index
5155 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5156 instead of checking if the resulting long long lies between
5157 min and max, we check if the long long would fit into
5158 a number of bytes for the final type.
5159 This fixes cases where a string represents 2^32 - 1, which
5160 when cast to int would be the (valid) -1, but is bigger than
5163 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5165 * gst/parse/grammar.y:
5166 add a log line for type deserialization
5168 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5170 * check/gst/gstvalue.c: (START_TEST):
5171 * gst/gstvalue.c: (gst_value_deserialize):
5172 return long long, not int, so gint64 deserialization actually
5173 works. Is there any flag that makes the compiler check this ?
5176 2005-06-22 Wim Taymans <wim@fluendo.com>
5179 Added convenience macros for setting buffers in GValue.
5181 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5183 * check/gst/.cvsignore:
5184 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5185 add a test deserializing int64, and comment part out because
5188 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5190 * check/Makefile.am:
5191 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5192 * testsuite/Makefile.am:
5193 * testsuite/caps/Makefile.am:
5194 * testsuite/caps/value_serialize.c:
5195 * testsuite/test_gst_init.c:
5196 move a value_serialize test over
5198 2005-06-20 Wim Taymans <wim@fluendo.com>
5203 * gst/gstvalue.c: (gst_value_compare_buffer),
5204 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5205 (gst_value_compare_flags), (gst_value_serialize_flags),
5206 (gst_value_deserialize_flags), (_gst_value_initialize):
5207 Fix serialisation of buffers, they are not boxed types anymore
5209 2005-06-20 Wim Taymans <wim@fluendo.com>
5211 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5212 Testcase to show error in buffer-on-caps serialisation.
5214 2005-06-20 Andy Wingo <wingo@pobox.com>
5216 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5217 will be adding to later.
5219 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5220 if its socks fill with rocks.
5221 (gst_system_clock_obtain): Set the name on object construction.
5222 Avoid double-checked locking.
5224 2005-06-20 Tim-Philipp M??ller <tim at centricular dot net>
5226 * gst/gsturi.c: (gst_element_make_from_uri):
5227 Fix potential endless loop.
5229 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5231 * check/Makefile.am:
5233 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5235 move over from testsuite dir and clean up
5238 * testsuite/Makefile.am:
5239 * testsuite/tags/.cvsignore:
5240 * testsuite/tags/Makefile.am:
5241 * testsuite/tags/merge.c:
5242 remove testsuite/tags
5244 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5246 * docs/gst/gstreamer-sections.txt:
5247 * docs/gst/tmpl/gstenumtypes.sgml:
5248 * win32/gstenumtypes.c:
5249 clean up documentation build a little
5251 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5254 add macros for checking refcounts on objects and caps
5255 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5256 add some more unit tests
5257 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5258 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5259 fix leaked refcounts (I hope :)) so unittest works
5263 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5265 * configure.ac: back to HEAD
5267 === release 0.9.1 ===
5269 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5275 2005-06-17 Andy Wingo <wingo@pobox.com>
5277 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5278 assert; it's always possible that the pad gets deactivated in
5279 between the checks in gstpad.c and the implementation. Rely on
5280 finish_preroll() to return a FLUSHING or similar instead of on the
5283 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5284 clock and post an EOS message if we come out of finish_preroll in
5287 2005-06-16 David Schleef <ds@schleef.org>
5289 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5290 (gst_capsfilter_set_property): Allow NULL as possible value
5291 for filter_caps property, indicating GST_CAPS_ANY.
5293 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5295 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5297 * gst/schedulers/Makefile.am:
5299 * gstreamer.spec.in:
5302 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5304 * gstreamer.spec.in:
5307 2005-06-08 Andy Wingo <wingo@pobox.com>
5309 * gst/gstutils.c: RPAD fixes all around.
5310 (gst_element_link_pads): Refcounting fixes.
5312 * tools/gst-inspect.c:
5313 * tools/gst-xmlinspect.c:
5315 * gst/base/gsttypefindhelper.c:
5316 * gst/base/gstbasesink.c:
5317 * gst/gstqueue.c: RPAD fixes.
5319 * gst/gstghostpad.h:
5320 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5321 pads. The tricky thing is they provide both source and sink
5322 interfaces, since they proxy the internal pad for the external
5323 pad, and vice versa. Implement with lower-level ProxyPad objects,
5324 with the interior proxy pad as a child of the exterior ghost pad.
5325 Should write a doc on this.
5327 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5328 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5331 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5332 pads are real pads. No ghost pads in this file. Not documenting
5333 the myriad s/RPAD/PAD/ and REALIZE fixes.
5334 (gst_pad_class_init): Add properties for "direction" and
5335 "template". Both are construct-only, so they can't change during
5336 the life of the pad. Fixes properly deriving from GstPad.
5337 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5338 derived objects, just set properties when creating the objects via
5340 (gst_pad_get_parent): Implement as a function, return NULL if the
5341 parent is not an element.
5342 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5343 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5345 * gst/gstobject.c (gst_object_class_init): Make name a construct
5346 property. Don't set it in the object init.
5348 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5349 with UNKNOWN direction.
5350 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5351 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5352 (gst_element_remove_pad): Remove ghost-pad special cases.
5353 (gst_element_pads_activate): Remove rpad cruft.
5355 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5356 catch the pad's-parent-not-an-element case.
5358 * gst/gst.h: Include gstghostpad.h.
5360 * gst/gst.c (init_post): No more real, ghost pads.
5362 * gst/Makefile.am: Add gstghostpad.[ch].
5364 * check/Makefile.am:
5365 * check/gst/gstbin.c:
5366 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5367 into a bin creates ghost pads, and that the refcounts are right.
5368 Partly moved from gstbin.c.
5370 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5372 * check/gst-libs/.cvsignore:
5373 * check/gst/.cvsignore:
5374 * check/pipelines/.cvsignore:
5376 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5377 (START_TEST), (cleanup_suite), (main):
5378 add some tests related to cleanup after running pipelines
5380 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5382 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5383 add a testsuite for GstBuffer
5385 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5387 * gst/gstminiobject.h:
5388 add defines for accessing the refcount
5390 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5392 * Makefile.am: added support for html unit test coverage reports
5394 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5396 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5397 Free existing caps if the capsfilter changes. Add a FIXME about
5398 setting those caps on the pads.
5400 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5401 Before adding a ghost pad to a parent bin, check that there isn't
5402 already one for the element on the bin. Prevents infinite recursion
5403 when using decodebin in parse pipelines. Andy says he'll rewrite the
5404 way this works anyway, so ignore the hack.
5406 2005-06-02 Andy Wingo <wingo@pobox.com>
5408 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5409 file size, pass it on to the type find helper.
5411 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5412 segment_start and segment_end properly according to the seek
5413 method. Segment_end is still a bit flaky because offset can be
5414 negative for CUR and END cases, but it takes -1 as an "unset"
5417 2005-06-02 Wim Taymans <wim@fluendo.com>
5419 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5420 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5421 (gst_basesink_activate):
5422 * gst/base/gstbasesink.h:
5423 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5424 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5425 (gst_pad_query), (gst_pad_start_task):
5427 * gst/gstqueue.c: (gst_queue_bufferalloc),
5428 (gst_queue_handle_sink_event), (gst_queue_chain):
5429 Bufferalloc: return GstFlowReturn to more accuratly report
5430 why allocation failed.
5432 2005-06-02 Wim Taymans <wim@fluendo.com>
5434 * gst/gstpipeline.c: (gst_pipeline_send_event):
5435 Take snapshot of state without blocking.
5437 2005-06-02 Wim Taymans <wim@fluendo.com>
5439 * docs/design/part-TODO.txt:
5440 * docs/design/part-caps.txt:
5441 * docs/design/part-clocks.txt:
5442 * docs/design/part-negotiation.txt:
5443 * docs/design/part-preroll.txt:
5446 2005-05-30 Wim Taymans <wim@fluendo.com>
5448 * gst/elements/gstidentity.c: (gst_identity_event),
5449 (gst_identity_transform), (gst_identity_get_property):
5450 Protect last_message property as it is accessed from
5453 2005-05-30 Wim Taymans <wim@fluendo.com>
5455 * gst/gstelement.c: (gst_element_init),
5456 (gst_element_pads_activate), (gst_element_change_state):
5457 Slicker pad activation code.
5459 2005-05-30 Wim Taymans <wim@fluendo.com>
5463 * gst/gstelementfactory.h:
5465 Move elementfactory methods to separate .h file.
5467 2005-05-30 Wim Taymans <wim@fluendo.com>
5469 * docs/design/part-overview.txt:
5470 * gst/gstsystemclock.h:
5471 Small typo fixes, doc updates.
5473 2005-05-30 Wim Taymans <wim@fluendo.com>
5475 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5476 (init_popt_callback):
5477 Remove cpu-opt flag.
5479 2005-05-30 Wim Taymans <wim@fluendo.com>
5481 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5482 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5484 Avoid typechecking in places where not needed.
5485 Added accessor for malloc_data.
5487 2005-05-30 Wim Taymans <wim@fluendo.com>
5489 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5490 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5491 (gst_pad_configure_sink), (gst_pad_configure_src),
5492 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5493 (gst_pad_start_task):
5494 Propagate errors from _set_caps() in configure_src/sink
5495 functions instead of returning TRUE.
5496 FLUSH events can travel up and downstream
5499 2005-05-30 Wim Taymans <wim@fluendo.com>
5501 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5502 (gst_basesink_activate):
5503 Handle EOS in preroll.
5505 2005-05-30 Wim Taymans <wim@fluendo.com>
5507 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5508 (gst_queue_loop), (gst_queue_handle_src_event):
5509 Remove old pieces of code
5510 Flushing the queue in an upstream event is a very bad idea.
5512 2005-05-26 Andy Wingo <wingo@pobox.com>
5514 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5515 gst_value_set_mini_object so as to add a ref on the object (which
5516 will be removed when the value is unset).
5518 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5519 arg type in ::handoff.
5521 * gst/gstelement.c (gst_element_change_state): Also deactivate
5522 pads in READY->NULL, just in case the element didn't make it to
5523 PAUSED. Wingo tested, Wim approved.
5525 2005-05-26 Wim Taymans <wim@fluendo.com>
5527 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5528 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5529 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5530 A flushing pad cannot be used to alloc_buffer from.
5532 2005-05-26 Wim Taymans <wim@fluendo.com>
5534 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5535 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5536 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5537 (gst_bus_create_watch), (gst_bus_add_watch_full):
5539 Implement a real GSource and use g_main_context_wakeup() to
5540 signal new messages instead of the socketpair.
5542 2005-05-25 Wim Taymans <wim@fluendo.com>
5544 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5545 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5546 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5547 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5548 (gst_pad_send_event), (gst_pad_start_task):
5549 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5550 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5551 (gst_queue_sink_activate), (gst_queue_src_activate),
5552 (gst_queue_change_state):
5554 Fix state changes for non sinks. We now change sinks, then elements
5555 with unconnected srcpads, then the rest.
5556 More efficient queue unlocking in flush and state changes.
5557 Set the pad activate mode even if it does not have an activate
5560 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5562 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5563 Don't go in pull mode for non-seekable sources.
5564 * gst/elements/gsttypefindelement.h:
5565 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5566 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5567 (free_entry), (stop_typefinding),
5568 (gst_type_find_element_handle_event), (find_peek),
5569 (gst_type_find_element_chain), (do_pull_typefind),
5570 (gst_type_find_element_change_state):
5571 Allow typefinding (w/o seeking) in push-mode, simplified version
5573 * gst/gstutils.c: (gst_buffer_join):
5575 gst_buffer_join() from 0.8.
5577 2005-05-25 Wim Taymans <wim@fluendo.com>
5579 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5580 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5581 (gst_pad_send_event), (gst_pad_start_task):
5582 Disable attempt at mode switching until it is figured out.
5584 2005-05-25 Wim Taymans <wim@fluendo.com>
5586 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
5587 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5588 (gst_basesink_finish_preroll), (gst_basesink_chain),
5589 (gst_basesink_loop), (gst_basesink_activate),
5590 (gst_basesink_change_state):
5591 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
5592 (gst_basesrc_get_range), (gst_basesrc_loop),
5593 (gst_basesrc_activate):
5594 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5595 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5596 (gst_real_pad_init), (gst_real_pad_set_property),
5597 (gst_real_pad_get_property), (gst_pad_set_active),
5598 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
5599 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
5600 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
5601 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
5602 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5603 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
5604 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
5605 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5606 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
5607 (gst_pad_stop_task):
5609 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5610 (gst_queue_loop), (gst_queue_src_activate):
5611 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
5612 (gst_task_get_state):
5614 * gst/schedulers/threadscheduler.c:
5615 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
5616 Implement gst_pad_pause/start/stop_task(), take STREAM lock
5618 Remove ACTIVE pad flag, use FLUSHING everywhere
5619 Added _pad_chain(), _pad_get_range() to call chain/getrange
5621 Add locks around IS_FLUSHING when reading.
5622 Take STREAM lock in chain(), get_range() functions so plugins
5623 don't need to take it anymore.
5627 2005-05-25 Wim Taymans <wim@fluendo.com>
5629 * tools/gst-launch.c: (event_loop):
5630 Unref message after using its contents instead of
5633 2005-05-24 Wim Taymans <wim@fluendo.com>
5635 * docs/design/draft-ghostpads.txt:
5636 * docs/design/draft-push-pull.txt:
5637 * docs/design/draft-query.txt:
5638 * docs/design/part-overview.txt:
5639 Docs updates, added general overview doc.
5641 2005-05-21 David Schleef <ds@schleef.org>
5643 * docs/gst/tmpl/old/GstBin.sgml:
5644 * docs/gst/tmpl/old/GstBuffer.sgml:
5645 * docs/gst/tmpl/old/GstCaps.sgml:
5646 * docs/gst/tmpl/old/GstClock.sgml:
5647 * docs/gst/tmpl/old/GstCompat.sgml:
5648 * docs/gst/tmpl/old/GstData.sgml:
5649 * docs/gst/tmpl/old/GstElement.sgml:
5650 * docs/gst/tmpl/old/GstEvent.sgml:
5651 * docs/gst/tmpl/old/GstIndex.sgml:
5652 * docs/gst/tmpl/old/GstStructure.sgml:
5653 * docs/gst/tmpl/old/GstTag.sgml:
5654 * docs/gst/tmpl/old/cothreads.sgml:
5655 * docs/gst/tmpl/old/cothreads_compat.sgml:
5656 * docs/gst/tmpl/old/gettext.sgml:
5657 * docs/gst/tmpl/old/gobject2gtk.sgml:
5658 * docs/gst/tmpl/old/grammar.tab.sgml:
5659 * docs/gst/tmpl/old/gst-i18n-app.sgml:
5660 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
5661 * docs/gst/tmpl/old/gst_private.sgml:
5662 * docs/gst/tmpl/old/gstaggregator.sgml:
5663 * docs/gst/tmpl/old/gstarch.sgml:
5664 * docs/gst/tmpl/old/gstatomic_impl.sgml:
5665 * docs/gst/tmpl/old/gstbufferstore.sgml:
5666 * docs/gst/tmpl/old/gstdata_private.sgml:
5667 * docs/gst/tmpl/old/gstdisksink.sgml:
5668 * docs/gst/tmpl/old/gstdisksrc.sgml:
5669 * docs/gst/tmpl/old/gstelementfactory.sgml:
5670 * docs/gst/tmpl/old/gstextratypes.sgml:
5671 * docs/gst/tmpl/old/gstfakesink.sgml:
5672 * docs/gst/tmpl/old/gstfakesrc.sgml:
5673 * docs/gst/tmpl/old/gstfdsink.sgml:
5674 * docs/gst/tmpl/old/gstfdsrc.sgml:
5675 * docs/gst/tmpl/old/gstfilesink.sgml:
5676 * docs/gst/tmpl/old/gstfilesrc.sgml:
5677 * docs/gst/tmpl/old/gsthttpsrc.sgml:
5678 * docs/gst/tmpl/old/gstidentity.sgml:
5679 * docs/gst/tmpl/old/gstindexfactory.sgml:
5680 * docs/gst/tmpl/old/gstmarshal.sgml:
5681 * docs/gst/tmpl/old/gstmd5sink.sgml:
5682 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
5683 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
5684 * docs/gst/tmpl/old/gstpadtemplate.sgml:
5685 * docs/gst/tmpl/old/gstpipefilter.sgml:
5686 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
5687 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
5688 * docs/gst/tmpl/old/gstshaper.sgml:
5689 * docs/gst/tmpl/old/gstspider.sgml:
5690 * docs/gst/tmpl/old/gstspideridentity.sgml:
5691 * docs/gst/tmpl/old/gststatistics.sgml:
5692 * docs/gst/tmpl/old/gsttee.sgml:
5693 * docs/gst/tmpl/old/gsttimecache.sgml:
5694 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
5695 * docs/gst/tmpl/old/gstxmlregistry.sgml:
5696 * docs/gst/tmpl/old/gthread-cothreads.sgml:
5697 * docs/gst/tmpl/old/types.sgml:
5698 I didn't intend to add these or check them in.
5700 2005-05-19 David Schleef <ds@schleef.org>
5702 * configure.ac: Use -no-common everywhere. In a sane world, it
5703 would be the default in libtool, because without it, you can't
5704 build DLLs on Windows.
5705 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
5706 * docs/gst/gstreamer-sections.txt:
5707 * docs/gst/tmpl/gstcpu.sgml:
5708 * docs/gst/tmpl/gstdata.sgml:
5709 * docs/gst/tmpl/gstthread.sgml:
5711 2005-05-19 David Schleef <ds@schleef.org>
5713 * gst/gstminiobject.c: (gst_value_set_mini_object),
5714 (gst_value_take_mini_object), (gst_value_get_mini_object):
5715 * gst/gstminiobject.h: Add GValue set/get functions.
5717 2005-05-19 Wim Taymans <wim@fluendo.com>
5719 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
5720 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
5721 (gst_subbuffer_init), (gst_buffer_is_span_fast):
5723 * gst/gstbus.c: (gst_bus_post):
5724 * gst/gstelement.c: (gst_element_get_random_pad):
5725 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
5726 Make subbufer unref the parent in finalize.
5727 some more debugging info.
5730 2005-05-19 Wim Taymans <wim@fluendo.com>
5732 * gst/base/gstbasesink.c: (gst_basesink_class_init),
5733 (gst_basesink_init), (gst_basesink_finalize),
5734 (gst_basesink_activate), (gst_basesink_change_state):
5735 Don't free preroll queue too early.
5737 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5741 Hi, I'm outdated. Please shoot me.
5743 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5745 * gst/gstpipeline.c: (gst_pipeline_send_event):
5746 Do not access variables after they have been deleted.
5748 2005-05-19 Wim Taymans <wim@fluendo.com>
5750 * tools/gst-inspect.c: (print_plugin_features):
5751 A plugin feature does unfortunatly not use the
5754 2005-05-18 Wim Taymans <wim@fluendo.com>
5756 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
5757 Port _span() functions to new subbuffers.
5759 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5761 * gst/gstbin.c: (gst_bin_add_func):
5762 Fix clock settery in bins when adding kids after the clock has
5765 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5767 * gst/elements/gstidentity.c: (gst_identity_class_init):
5768 Workaround until signals support GstMiniObject.
5770 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5773 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
5775 2005-05-18 Wim Taymans <wim@fluendo.com>
5777 * gst/base/Makefile.am:
5778 * gst/base/gstadapter.c: (gst_adapter_base_init),
5779 (gst_adapter_class_init), (gst_adapter_init),
5780 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
5781 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
5782 (gst_adapter_flush), (gst_adapter_available),
5783 (gst_adapter_available_fast):
5784 * gst/base/gstadapter.h:
5785 Ported and added adapter to the base classes.
5787 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5791 Make sure the class is reffed/unreffed once before threads can be
5792 used. Fixes #304551.
5794 2005-05-17 Wim Taymans <wim@fluendo.com>
5796 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
5797 (gst_basesink_chain_unlocked), (gst_basesink_activate):
5798 * gst/gstminiobject.c: (gst_mini_object_get_type),
5799 (gst_mini_object_free):
5800 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
5801 (gst_pad_push), (gst_pad_push_event):
5802 * gst/gstqueue.c: (gst_queue_change_state):
5803 Don't queue buffers in basesink when we are flushing.
5804 Unref buffer when flushing in basesink.
5805 Flush queue when going to READY
5806 Unref buffer when _push() returns an error.
5807 Don't free MiniObject instance when refcount is incremented
5808 in _finalize() so that we can recover objects.
5810 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
5812 * docs/manual/advanced-schedulers.xml:
5813 * docs/manual/appendix-checklist.xml:
5814 * docs/pwg/advanced-clock.xml:
5815 * docs/pwg/advanced-interfaces.xml:
5816 * docs/pwg/advanced-request.xml:
5817 * docs/pwg/advanced-types.xml:
5818 * docs/pwg/intro-preface.xml:
5819 * examples/plugins/example.c: (gst_example_get_type),
5820 (gst_example_class_init), (gst_example_chain),
5821 (gst_example_set_property), (gst_example_get_property),
5822 (gst_example_change_state), (plugin_init):
5823 * examples/plugins/example.h:
5826 2005-05-17 Wim Taymans <wim@fluendo.com>
5828 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
5829 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
5830 * gst/gstqueue.c: (gst_queue_change_state):
5831 Clear queue when going to READY.
5832 Remove IN_SETCAPS flag too.
5834 2005-05-17 Tim-Philipp M??ller <tim at centricular dot net>
5836 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
5837 Remove implicit cast from gboolean to GstElementStateReturn;
5838 make sure we still return failure in paused => ready case if
5839 the parent class fails to change state and our own stop
5842 2005-05-17 Wim Taymans <wim@fluendo.com>
5844 * tools/gst-launch.c: (event_loop):
5845 Message was unreffed too soon.
5847 2005-05-16 Andy Wingo <wingo@pobox.com>
5849 * gst/gstbin.c (sink_iterator_filter): Err... um...
5851 * check/gst/gstbin.c (test_ghost_pads): New test for the
5852 ghosting-if-elements-not-in-same-bin behavior.
5854 2005-05-16 David Schleef <ds@schleef.org>
5856 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
5857 accessing refcount directly.
5859 2005-05-15 David Schleef <ds@schleef.org>
5861 * check/Makefile.am: remove GstData checks
5862 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
5863 * gst/Makefile.am: add miniobject, remove data
5864 * gst/gst.h: add miniobject, remove data
5865 * gst/gstdata.c: remove
5866 * gst/gstdata.h: remove
5867 * gst/gstdata_private.h: remove
5868 * gst/gsttypes.h: remove GstEvent and GstMessage
5869 * gst/gstelement.c: (gst_element_post_message): fix for API changes
5870 * gst/gstmarshal.list: change BOXED -> OBJECT
5872 Implement GstMiniObject.
5873 * gst/gstminiobject.c:
5874 * gst/gstminiobject.h:
5876 Modify to be subclasses of GstMiniObject.
5877 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
5878 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
5879 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
5880 (gst_subbuffer_get_type), (gst_subbuffer_init),
5881 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
5884 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
5885 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
5886 (_gst_event_copy), (gst_event_new):
5888 * gst/gstmessage.c: (_gst_message_initialize),
5889 (gst_message_get_type), (gst_message_class_init),
5890 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
5891 (gst_message_new), (gst_message_new_error),
5892 (gst_message_new_warning), (gst_message_new_tag),
5893 (gst_message_new_state_changed), (gst_message_new_application):
5895 * gst/gstprobe.c: (gst_probe_perform),
5896 (gst_probe_dispatcher_dispatch):
5898 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
5899 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
5900 (_gst_query_copy), (gst_query_new):
5902 Update elements for GstData -> GstMiniObject changes
5904 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
5905 (gst_queue_chain), (gst_queue_loop):
5906 * gst/elements/gstbufferstore.c:
5907 (gst_buffer_store_add_buffer_func),
5908 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
5909 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5910 (gst_fakesink_render):
5911 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
5912 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
5913 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
5914 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
5915 (gst_filesrc_create_read):
5916 * gst/elements/gstidentity.c: (gst_identity_class_init):
5917 * gst/elements/gsttypefindelement.c:
5918 (gst_type_find_element_src_event), (free_entry_buffers),
5919 (gst_type_find_element_handle_event):
5920 * libs/gst/dataprotocol/dataprotocol.c:
5921 (gst_dp_header_from_buffer):
5922 * libs/gst/dataprotocol/dataprotocol.h:
5923 * libs/gst/dataprotocol/dp-private.h:
5925 2005-05-15 David Schleef <ds@schleef.org>
5927 * gst/elements/gstelements.c: Don't include headers that were
5930 2005-05-15 David Schleef <ds@schleef.org>
5932 * gst/elements/Makefile.am: Remove some elements that don't
5933 need to be in the core (or even exist at all).
5934 * gst/elements/gstaggregator.c:
5935 * gst/elements/gstaggregator.h:
5936 * gst/elements/gstmd5sink.c:
5937 * gst/elements/gstmd5sink.h:
5938 * gst/elements/gstmultifilesrc.c:
5939 * gst/elements/gstmultifilesrc.h:
5940 * gst/elements/gstpipefilter.c:
5941 * gst/elements/gstpipefilter.h:
5942 * gst/elements/gstshaper.c:
5943 * gst/elements/gstshaper.h:
5944 * gst/elements/gststatistics.c:
5945 * gst/elements/gststatistics.h:
5946 * po/POTFILES.in: Remove above files.
5948 2005-05-14 Andy Wingo <wingo@pobox.com>
5950 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
5951 so as to get the refs right.
5952 (sink_iterator_filter): New function, wraps bin_element_is_sink,
5953 unreffing objects that don't pass the filter.
5955 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
5956 gst_element_set_bus.
5957 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
5958 normal cases, this will destroy the bus.
5960 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
5963 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
5966 2005-05-13 Andy Wingo <wingo@pobox.com>
5968 * gst/gstutils.c (gst_element_link_pads): Instead of calling
5969 gst_pad_link, call pad_link_maybe_ghosting,
5970 (pad_link_maybe_ghosting): Links pads, making sure that the
5971 elements being linked are in the same bin.
5972 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
5973 Helpers for pad_link_maybe_ghosting.
5975 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
5978 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
5980 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
5982 * docs/design/part-element-source.txt:
5985 2005-05-12 Wim Taymans <wim@fluendo.com>
5987 * gst/base/gstbasesink.c: (gst_basesink_init),
5988 (gst_basesink_activate):
5989 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
5990 (gst_basesrc_is_seekable):
5991 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5992 (bin_element_is_sink), (gst_bin_change_state):
5993 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
5995 Identify sinks by their flag to avoid overly complicated
5997 Do state changes even for elements not reachable from the
5999 BaseSink is a sink now :)
6000 Some more debugging info in the basesrc.
6003 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6005 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6006 Implement _query on a bin, similar to _send_event.
6008 2005-05-12 Tim-Philipp M??ller <tim at centricular dot net>
6010 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6011 Discont event offset format should be GST_FORMAT_BYTES,
6012 not GST_FORMAT_TIME.
6014 2005-05-12 Wim Taymans <wim@fluendo.com>
6016 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6017 Same fix as Ronald's but without the signal.
6019 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6021 * gst/gstutils.c: (gst_element_query_position):
6022 No, an element is not a pad.
6024 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6026 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6027 (gst_bin_get_state):
6028 If a child is removed from a bin while we remove the child from
6029 the bin and while we're retrieving its state, signal this to the
6030 get_state function so we abort the wait (instead of waiting for
6031 a timeout) and can immediately re-iterate over all other elements.
6033 2005-05-12 Wim Taymans <wim@fluendo.com>
6035 * gst/base/Makefile.am:
6036 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6037 (gst_basesrc_start):
6038 * gst/base/gstbasesrc.h:
6039 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6040 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6041 (gst_pushsrc_init), (gst_pushsrc_create):
6042 * gst/base/gstpushsrc.h:
6043 Added is_seekable to BaseSrc
6044 Added simple PushSrc.
6046 2005-05-11 Wim Taymans <wim@fluendo.com>
6048 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6049 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6050 (gst_element_link_pads), (gst_element_query_position),
6051 (gst_element_query_convert), (intersect_caps_func),
6052 (gst_pad_query_position), (gst_pad_query_convert):
6053 Fix refcounting in utils function.
6054 No point in trying to activate a pad when it's added, it could
6055 be added from the state change function and then we deadlock, the
6056 element has to decide what to do.
6058 2005-05-10 Andy Wingo <wingo@pobox.com>
6060 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6061 *all* the arguments.
6063 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6064 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6065 lock (according to the docs -- if this is wrong change the docs).
6067 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6068 flush messages in the NULL state.
6070 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6071 message immediately and return.
6072 (gst_bus_set_flushing): New function. If a bus is flushing, it
6073 flushes out any queued messages and immediately unrefs new
6074 messages. This is so when an element goes to NULL, all of the
6075 unhandled messages coming from it can be freed, and their
6076 references to the element dropped. In other words: message source
6077 ref considered harmful :P
6079 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6080 we're finished with it.
6082 * gst/gstmessage.c (gst_message_new_state_changed):
6084 2005-05-10 Wim Taymans <wim@fluendo.com>
6086 * gst/gstvalue.c: (gst_value_compare_flags),
6087 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6088 (_gst_value_initialize):
6089 Added flags serialize/deserialize/compare code.
6091 2005-05-09 Andy Wingo <wingo@pobox.com>
6093 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6094 Intersect the peer's caps with our caps.
6096 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6098 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6099 * gst/elements/gsttypefindelement.c: (find_peek):
6100 Handle negative offsets better. Fixes decodebin.
6102 2005-05-09 Wim Taymans <wim@fluendo.com>
6104 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6105 (gst_base_transform_event):
6106 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6107 Implement accept_caps.
6108 Fix silly lock/unlock mismatch in base class.
6110 2005-05-09 Wim Taymans <wim@fluendo.com>
6112 * docs/design/draft-push-pull.txt:
6113 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6114 * gst/elements/gstfilesink.c: (gst_filesink_init),
6115 (gst_filesink_query):
6116 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6117 (gst_type_find_handle_src_query), (find_element_get_length):
6118 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6122 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6123 (gst_real_pad_get_caps_unlocked),
6124 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6125 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6126 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6127 (gst_real_pad_dispose), (gst_real_pad_finalize),
6128 (gst_pad_load_and_link), (gst_pad_save_thyself),
6129 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6130 (gst_pad_check_pull_range), (gst_pad_pull_range),
6131 (gst_pad_template_get_type), (gst_pad_template_class_init),
6132 (gst_pad_template_init), (gst_pad_template_dispose),
6133 (name_is_valid), (gst_static_pad_template_get),
6134 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6135 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6136 (gst_pad_get_element_private), (gst_pad_start_task),
6137 (gst_pad_pause_task), (gst_pad_stop_task),
6138 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6139 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6140 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6141 (gst_ghost_pad_new):
6143 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6144 (gst_query_new_position), (gst_query_set_position),
6145 (gst_query_parse_position), (gst_query_new_convert),
6146 (gst_query_set_convert), (gst_query_parse_convert):
6148 * gst/gstqueryutils.c:
6149 * gst/gstqueryutils.h:
6150 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6151 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6152 (gst_queue_handle_src_query):
6153 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6154 (gst_element_query_position), (gst_element_query_convert),
6155 (intersect_caps_func), (gst_pad_query_position),
6156 (gst_pad_query_convert):
6158 * tools/gst-inspect.c: (print_pad_info):
6159 * tools/gst-xmlinspect.c: (print_element_info):
6160 Remove old query functions. Ported old code.
6161 Added position/convert helper functions to gstutils.
6162 Reordered gstpad.c code, grouping relevant things.
6163 Remove gst_message_new(), always need to speficy a specific
6167 2005-05-09 Andy Wingo <wingo@pobox.com>
6169 * gst/gstiterator.h: Add some includes.
6171 * gst/gstqueryutils.h: Include more headers.
6174 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6175 some uses of gst_pad_query.
6177 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6178 NULL out parameters.
6179 (gst_query_new_position): New proc, allocates a new position
6182 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6183 gstqueryutils.c to the build.
6185 * gst/gststructure.c (gst_structure_set_valist): Implement with
6186 the generic G_VALUE_COLLECT.
6188 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6190 * gst/Makefile.am: (gst_headers):
6191 Added gstqueryutils.h to the list of headers to install, that was
6192 a 'nachty' move wingo :)
6194 2005-05-06 Andy Wingo <wingo@pobox.com>
6197 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6198 GstData, init a memchunk.
6199 (standard_definitions): Add a few query types, deprecate a few.
6200 (gst_query_get_type): New proc.
6201 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6203 (gst_query_new_application, gst_query_get_structure): New public
6206 * docs/design/draft-query.txt: Removed LINKS from the query types,
6207 because all the rest can be dispatched to other pads -- seemed
6208 ugly to have a query that couldn't be dispatched. internal_links
6209 is fine as a pad method.
6211 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6212 in gstpad.c, but maintain binary compatibility for the moment.
6213 Will fix before 0.9 is out.
6215 * gst/gstqueryutils.c:
6216 * gst/gstqueryutils.h: New files, implement 3 methods for each
6217 query type: parse_query, parse_response, and set. Probably need an
6220 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6222 * gst/elements/gstfilesink.c (gst_filesink_query2):
6223 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6224 query_types, and formats methods.
6226 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6227 (gst_pad_set_query2_function): New functions.
6228 (gst_real_pad_init): Set query2_default as the default query2
6229 function. Basically just dispatches to internally linked pads.
6233 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6234 without using the atomic operations. Only one thread can possibly
6235 be accessing the data at this point. Changed so as to avoid
6236 gst_atomic operations.
6238 2005-05-06 Wim Taymans <wim@fluendo.com>
6240 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6241 Also set caps if we use the fallback buffer alloc.
6243 2005-05-06 Tim-Philipp M??ller <tim at centricular dot net>
6245 * docs/gst/Makefile.am:
6246 * docs/gst/gstreamer-docs.sgml:
6247 * docs/gst/gstreamer-sections.txt:
6248 * docs/gst/tmpl/gstatomic.sgml:
6249 * docs/gst/tmpl/gstmemchunk.sgml:
6250 * testsuite/elements/struct_i386.h:
6251 * win32/GStreamer.vcproj:
6253 Purge GstAtomic stuff from docs and win32 makefiles as well
6255 2005-05-06 Wim Taymans <wim@fluendo.com>
6257 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6258 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6259 * gst/gstpad.c: (gst_pad_peer_get_caps):
6260 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6261 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6262 (gst_queue_src_activate), (gst_queue_change_state):
6264 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6265 (intersect_caps_func):
6266 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6267 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6268 Some fixes for the peer_get_caps() change.
6270 2005-05-06 Wim Taymans <wim@fluendo.com>
6272 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6273 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6274 (gst_basesink_activate):
6275 Actually do something with error codes returned from the push
6278 2005-05-06 Wim Taymans <wim@fluendo.com>
6280 * docs/design/part-element-sink.txt:
6281 * docs/design/part-element-source.txt:
6282 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6283 (gst_basesink_event), (gst_basesink_activate):
6284 * gst/base/gstbasesink.h:
6285 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6286 (gst_basesrc_activate):
6287 * gst/base/gstbasesrc.h:
6288 * gst/gstelement.c: (gst_element_pads_activate):
6289 Some more documentation.
6290 Fixed scheduling decision in _pads_activate().
6292 2005-05-05 Andy Wingo <wingo@pobox.com>
6294 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6297 2005-05-05 Wim Taymans <wim@fluendo.com>
6299 * gst/base/Makefile.am:
6300 * gst/base/gstbasesink.h:
6301 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6302 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6303 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6304 (gst_collectpads_class_init), (gst_collectpads_init),
6305 (gst_collectpads_finalize), (gst_collectpads_new),
6306 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6307 (find_pad), (gst_collectpads_remove_pad),
6308 (gst_collectpads_is_active), (gst_collectpads_collect),
6309 (gst_collectpads_collect_range), (gst_collectpads_start),
6310 (gst_collectpads_stop), (gst_collectpads_peek),
6311 (gst_collectpads_pop), (gst_collectpads_available),
6312 (gst_collectpads_read), (gst_collectpads_flush),
6313 (gst_collectpads_chain):
6314 * gst/base/gstcollectpads.h:
6315 * gst/elements/Makefile.am:
6316 * gst/elements/gstelements.c:
6317 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6318 (gst_fakesink_get_times), (gst_fakesink_event),
6319 (gst_fakesink_preroll), (gst_fakesink_render):
6320 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6321 (gst_filesink_init), (gst_filesink_set_location),
6322 (gst_filesink_open_file), (gst_filesink_close_file),
6323 (gst_filesink_pad_query), (gst_filesink_event),
6324 (gst_filesink_render), (gst_filesink_change_state):
6325 * gst/elements/gstfilesink.h:
6326 Added object to help in making collect pad based elements.
6328 Make event function in sink baseclass return gboolean.
6330 2005-05-05 Wim Taymans <wim@fluendo.com>
6332 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6333 (gst_bin_get_by_name):
6335 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6336 (gst_clock_finalize):
6337 * gst/gstdata.c: (gst_data_replace):
6339 * gst/gstelement.c: (gst_element_request_pad),
6340 (gst_element_pads_activate):
6341 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6343 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6344 (gst_pad_set_checkgetrange_function),
6345 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6346 (gst_pad_check_pull_range), (gst_pad_pull_range),
6347 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6348 (gst_pad_pause_task), (gst_pad_stop_task):
6349 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6350 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6351 Fix name lookup in GstBin.
6352 Added _data_replace() function and _buffer_replace()
6353 Use finalize method to clean up clock.
6354 Fix refcounting on request pads.
6355 Fix pad schedule mode error.
6356 Some more object refcounting debug info,
6359 2005-05-04 Andy Wingo <wingo@pobox.com>
6361 * check/Makefile.am:
6362 * docs/gst/tmpl/gstatomic.sgml:
6363 * docs/gst/tmpl/gstplugin.sgml:
6364 * gst/base/gstbasesink.c: (gst_basesink_activate):
6365 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6366 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6367 (gst_basesrc_query), (gst_basesrc_set_property),
6368 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6369 (gst_basesrc_activate):
6370 * gst/base/gstbasesrc.h:
6371 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6372 (gst_base_transform_src_activate):
6373 * gst/elements/gstelements.c:
6374 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6375 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6376 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6377 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6378 (gst_type_find_element_checkgetrange),
6379 (gst_type_find_element_activate):
6380 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6381 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6382 (gst_caps_load_thyself):
6383 * gst/gstelement.c: (gst_element_pads_activate),
6384 (gst_element_save_thyself), (gst_element_restore_thyself):
6385 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6386 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6388 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6389 (gst_xml_parse_file), (gst_xml_parse_memory),
6390 (gst_xml_get_element), (gst_xml_make_element):
6391 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6392 (_file_index_id_save_xml), (gst_file_index_commit):
6393 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6394 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6396 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6397 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6398 * tools/gst-complete.c: (main):
6399 * tools/gst-compprep.c: (main):
6400 * tools/gst-inspect.c: (print_element_properties_info):
6401 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6402 * tools/gst-xmlinspect.c: (print_element_properties):
6405 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6407 * gst/gstplugin.c: (gst_plugin_check_module),
6408 (gst_plugin_check_file), (gst_plugin_load_file):
6409 apply patch from #172526 to make register work on MacOSX
6411 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6413 * docs/gst/tmpl/gstconfig.sgml:
6414 * gst/gstconfig.h.in:
6415 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6416 * testsuite/debug/printf_extension.c: (main):
6417 Do not use GST_PTR_FORMAT on pointers to types with
6418 sizeof < sizeof(gpointer). Fixes test on 64-bit
6419 * testsuite/elements/property.h:
6420 use correct printf format
6422 2005-05-02 Wim Taymans <wim@fluendo.com>
6424 * docs/design/draft-push-pull.txt:
6425 * docs/design/draft-query.txt:
6426 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6427 (gst_basesrc_start):
6428 Added draft for new query API.
6429 Added draft for better selecting scheduling methods.
6430 Make basesrc ignore length if the subclass does not support
6433 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6436 possible fixes for automake-1.5 - _LIBADD is reserved
6438 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6440 * docs/faq/Makefile.am:
6441 * docs/manual/Makefile.am:
6443 * docs/pwg/Makefile.am:
6445 possible fixes for automake-1.5
6447 2005-04-28 Wim Taymans <wim@fluendo.com>
6449 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6450 (gst_basesink_pad_getcaps), (gst_basesink_init),
6451 (gst_basesink_do_sync):
6452 * gst/gstclock.c: (gst_clock_entry_new):
6453 * gst/gstevent.c: (gst_event_discont_get_value):
6454 * gst/gstpipeline.c: (pipeline_bus_handler),
6455 (gst_pipeline_change_state):
6456 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6457 Better debugging of clocking info.
6458 Allow NULL values when getting discont values.
6460 2005-04-27 Wim Taymans <wim@fluendo.com>
6462 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6463 * check/gst/gstpad.c: (gst_pad_suite):
6464 Increase timeout for checks.
6466 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6468 * check/Makefile.am:
6469 fix the broken rule for cleanup. Apparently this rule is
6470 only needed on FC2, so maybe this warrants further autotool
6473 2005-04-26 Wim Taymans <wim@fluendo.com>
6475 * gst/gsttrashstack.h:
6476 Ooohh. a nasty one! After having a failed pop() from the stack,
6477 it's possible that the stack is empty. In that case, don't
6478 follow the NULL pointer.
6480 2005-04-25 Wim Taymans <wim@fluendo.com>
6482 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6483 (gst_pad_set_checkgetrange_function),
6484 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6485 (gst_pad_check_pull_range), (gst_pad_pull_range),
6486 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6487 (gst_pad_pause_task), (gst_pad_stop_task):
6488 * gst/gstplugin.c: (gst_plugin_load):
6490 Remove gst_library_load as it does more harm than good with
6491 the new g_module flags.
6492 Revert bogus caps template check in pad linking, pad caps
6493 are important when linking not the template, which is more
6494 general than the current caps.
6496 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6498 * gst/autoplug/.cvsignore:
6499 * gst/autoplug/Makefile.am:
6500 * gst/autoplug/gstsearchfuncs.c:
6501 * gst/autoplug/gstsearchfuncs.h:
6502 * gst/autoplug/gstspider.c:
6503 * gst/autoplug/gstspider.h:
6504 * gst/autoplug/gstspideridentity.c:
6505 * gst/autoplug/gstspideridentity.h:
6506 * gst/autoplug/spidertest.c:
6509 2005-04-25 Wim Taymans <wim@fluendo.com>
6511 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6512 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6513 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6514 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6516 Added stubs for unimplemented functions.
6518 2005-04-24 David Schleef <ds@schleef.org>
6520 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6523 2005-04-24 David Schleef <ds@schleef.org>
6525 Convert everything from GstAtomicInt to g_atomic_int_*, and
6530 * gst/gstatomic_impl.h:
6538 * gst/gstdata_private.h:
6545 * gst/gststructure.c:
6546 * gst/gststructure.h:
6547 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6550 2005-04-24 David Schleef <ds@schleef.org>
6552 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6553 make the regressions tests work. Remove some code that is no
6555 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6556 Disable warning for pads without templates.
6558 2005-04-24 David Schleef <ds@schleef.org>
6560 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6561 functions that handle filtered links.
6562 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6564 * gst/gstutils.c: Fix/remove utility functions that handle
6567 * gst/gstvalue.c: Add serialization/deserialization of caps
6568 * gst/parse/grammar.y: Ignore filtered caps when linking. This
6569 requires fixing so that the filter caps notation creates
6570 a capsfilter element and sets the filter_caps property. I
6571 think everyone probably wants to keep the shorthand notation.
6572 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6573 * docs/gst/tmpl/gstpad.sgml:
6575 * gst/elements/gstelements.c: Register capsfilter element.
6576 * gst/Makefile.am: fix spacing
6577 * docs/random/ds/0.9-suggested-changes: random
6579 2005-04-23 David Schleef <ds@schleef.org>
6581 * gst/elements/Makefile.am:
6582 * gst/elements/gstcapsfilter.c: New element that acts like an
6583 identity, but filters caps. Will eventually replace filtered
6584 caps in pad linking.
6585 * gst/gstutils.c: (gst_element_create_all_pads): New function
6586 to create all the ALWAYS pads that are registered with an
6587 element class. This functionality should eventually be
6588 merged in with GstElement initialization.
6590 * testsuite/trigger/README: part of trigger test code that should
6591 have been checked in a long time ago.
6593 2005-04-23 David Schleef <ds@schleef.org>
6595 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
6596 needed with new versions of libtool (nobody will confirm this),
6597 and hard to carry around.
6598 * gst/autoplug/Makefile.am:
6599 * gst/base/Makefile.am:
6600 * gst/elements/Makefile.am:
6601 * gst/indexers/Makefile.am:
6602 * gst/schedulers/Makefile.am:
6603 * libs/gst/bytestream/Makefile.am:
6604 * libs/gst/control/Makefile.am:
6605 * libs/gst/dataprotocol/Makefile.am:
6606 * libs/gst/getbits/Makefile.am:
6608 2005-04-21 Wim Taymans <wim@fluendo.com>
6610 * docs/design/draft-push-pull.txt:
6611 * docs/design/part-MT-refcounting.txt:
6612 * docs/design/part-TODO.txt:
6613 * docs/design/part-caps.txt:
6614 * docs/design/part-events.txt:
6615 * docs/design/part-gstbus.txt:
6616 * docs/design/part-gstpipeline.txt:
6617 * docs/design/part-messages.txt:
6618 * docs/design/part-push-pull.txt:
6619 * docs/design/part-query.txt:
6622 2005-04-21 Wim Taymans <wim@fluendo.com>
6624 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
6625 (gst_message_new), (gst_message_new_error),
6626 (gst_message_new_warning), (gst_message_new_tag),
6627 (gst_message_new_state_changed), (gst_message_new_application),
6628 (gst_message_get_structure):
6630 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6631 (gst_structure_copy_conditional):
6632 Use parent refcount in GstMessage to ensure GstStructure
6634 Cleaned up headers a bit.
6637 2005-04-20 Wim Taymans <wim@fluendo.com>
6639 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6640 (gst_basesink_pad_getcaps), (gst_basesink_init),
6641 (gst_basesink_chain_unlocked):
6642 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
6643 (gst_type_find_helper):
6644 * gst/elements/gsttypefindelement.c:
6645 (gst_type_find_element_have_type), (gst_type_find_element_init),
6646 (stop_typefinding), (gst_type_find_element_handle_event),
6647 (find_suggest), (gst_type_find_element_chain),
6648 (gst_type_find_element_checkgetrange),
6649 (gst_type_find_element_getrange), (do_typefind),
6650 (gst_type_find_element_activate):
6651 * gst/gstbuffer.c: (_gst_buffer_sub_free),
6652 (gst_buffer_default_free), (gst_buffer_default_copy),
6653 (gst_buffer_set_caps):
6654 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
6656 * gst/gstmessage.c: (gst_message_new),
6657 (gst_message_new_state_changed):
6658 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6659 (gst_pad_set_checkgetrange_function),
6660 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
6661 (gst_pad_set_caps), (gst_pad_check_pull_range),
6662 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
6664 * gst/gsttypefind.c: (gst_type_find_register):
6665 Make gst_caps_replace() work like other _replace() functions.
6666 Use _caps_replace() where possible.
6667 Make sure _message_new() initialises its field.
6668 Add gst_static_pad_template_get_caps()
6671 2005-04-18 Andy Wingo <wingo@pobox.com>
6673 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
6674 on the peer, not the pad. I think that was a typo. Pass an extra
6675 arg to see if random access is possible. Activate the pads as
6676 PULL_RANGE if possible.
6678 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
6680 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
6681 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
6684 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6686 * docs/faq/using.xml:
6687 Add note on gstreamer-properties (#154996).
6689 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6691 * docs/random/bbb/optional-properties:
6692 Some analysis on optional properties.
6694 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6696 * docs/gst/tmpl/gstelementfactory.sgml:
6698 * gst/gstelementfactory.c: (gst_element_factory_init),
6699 (gst_element_factory_cleanup), (gst_element_register),
6700 (__gst_element_factory_add_static_pad_template),
6701 (gst_element_factory_get_static_pad_templates),
6702 (gst_element_factory_can_src_caps),
6703 (gst_element_factory_can_sink_caps):
6704 * gst/registries/Makefile.am:
6705 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
6706 (gst_xml_registry_class_init), (gst_xml_registry_init),
6707 (gst_xml_registry_new), (gst_xml_registry_set_property),
6708 (gst_xml_registry_get_property), (get_time), (make_dir),
6709 (gst_xml_registry_get_perms_func),
6710 (plugin_times_older_than_recurse), (plugin_times_older_than),
6711 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
6712 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
6713 (add_to_char_array), (read_string), (read_uint), (read_enum),
6714 (load_pad_template), (load_feature), (load_plugin), (load_paths),
6715 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
6716 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
6717 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
6718 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
6719 (gst_xml_registry_rebuild):
6720 * gst/registries/gstlibxmlregistry.h:
6721 * tools/gst-compprep.c: (main):
6722 * tools/gst-inspect.c: (print_pad_templates_info):
6723 * tools/gst-xmlinspect.c: (print_element_info):
6724 Use libxml2 for registry parsing, use staticpadtemplates in
6725 elementfactories. Makes gst_init() +/- 10x faster.
6727 2005-04-12 Wim Taymans <wim@fluendo.com>
6729 * gst/base/Makefile.am:
6730 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6731 (gst_basesink_pad_getcaps), (gst_basesink_init),
6732 (gst_basesink_event), (gst_basesink_change_state):
6733 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6734 (gst_basesrc_init), (gst_basesrc_query),
6735 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6736 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6737 (gst_basesrc_check_get_range), (gst_basesrc_loop),
6738 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6739 (gst_basesrc_stop), (gst_basesrc_activate),
6740 (gst_basesrc_change_state):
6741 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6742 (helper_find_suggest), (gst_type_find_helper):
6743 * gst/base/gsttypefindhelper.h:
6744 * gst/elements/Makefile.am:
6745 * gst/elements/gstelements.c:
6746 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6747 (gst_fakesink_get_times), (gst_fakesink_event),
6748 (gst_fakesink_preroll), (gst_fakesink_render):
6749 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6750 (gst_fakesrc_init), (gst_fakesrc_event_handler),
6751 (gst_fakesrc_get_property), (gst_fakesrc_create),
6752 (gst_fakesrc_start), (gst_fakesrc_stop):
6753 * gst/elements/gstfakesrc.h:
6754 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
6755 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
6756 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
6757 (gst_filesrc_create_read), (gst_filesrc_create),
6758 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
6759 (gst_filesrc_start):
6760 * gst/elements/gsttypefindelement.c:
6761 (gst_type_find_element_have_type), (gst_type_find_element_init),
6762 (start_typefinding), (stop_typefinding), (push_buffer_store),
6763 (gst_type_find_element_handle_event),
6764 (gst_type_find_element_chain),
6765 (gst_type_find_element_checkgetrange),
6766 (gst_type_find_element_getrange), (do_typefind),
6767 (gst_type_find_element_activate),
6768 (gst_type_find_element_change_state):
6769 * gst/elements/gsttypefindelement.h:
6770 * gst/gstpipeline.c: (pipeline_bus_handler):
6771 Added typefind helper.
6772 Small preroll fix in the base sink.
6773 Disable typefind code in basesrc.
6774 Crude port of typefindelement.
6778 2005-04-11 Wim Taymans <wim@fluendo.com>
6780 * check/gst/gstbus.c: (gstbus_suite):
6781 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
6783 Fix up the timeout so that the test does not fail.
6785 2005-04-06 Wim Taymans <wim@fluendo.com>
6788 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6789 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
6790 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6791 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6792 (gst_basesrc_check_get_range), (gst_basesrc_loop),
6793 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6794 (gst_basesrc_stop), (gst_basesrc_activate),
6795 (gst_basesrc_change_state), (basesrc_find_peek),
6796 (basesrc_find_suggest), (gst_basesrc_type_find):
6797 * gst/base/gstbasesrc.h:
6798 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
6799 (gst_filesrc_class_init), (gst_filesrc_init),
6800 (gst_filesrc_finalize), (gst_filesrc_set_location),
6801 (gst_filesrc_set_property), (gst_filesrc_get_property),
6802 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
6803 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
6804 (gst_filesrc_create_read), (gst_filesrc_create),
6805 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
6806 * gst/elements/gstfilesrc.h:
6807 * gst/gstelement.c: (gst_element_get_state_func),
6808 (gst_element_lost_state), (gst_element_pads_activate):
6809 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6810 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6811 (gst_pad_pull_range):
6813 More work on the generic source base class, implement seeking,
6815 Make filesrc extend the base source class.
6816 Added gst_pad_set_checkgetrange_function to GstPad.
6818 2005-04-06 Andy Wingo <wingo@pobox.com>
6820 * pkgconfig/gstreamer-base.pc.in:
6821 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
6823 * pkgconfig/Makefile.am:
6824 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
6826 2005-04-04 Wim Taymans <wim@fluendo.com>
6828 * gst/base/Makefile.am:
6830 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6831 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
6832 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
6833 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
6834 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6835 (gst_basesrc_base_init), (gst_basesrc_class_init),
6836 (gst_basesrc_init), (gst_basesrc_get_formats),
6837 (gst_basesrc_get_query_types), (gst_basesrc_query),
6838 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
6839 (gst_basesrc_set_property), (gst_basesrc_get_property),
6840 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
6841 (gst_basesrc_loop), (gst_basesrc_activate),
6842 (gst_basesrc_change_state):
6843 * gst/base/gstbasesrc.h:
6844 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
6845 (gst_fakesrc_class_init), (gst_fakesrc_init),
6846 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
6847 (gst_fakesrc_get_property), (gst_fakesrc_create):
6848 * gst/elements/gstfakesrc.h:
6849 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
6850 (gst_filesrc_open_file), (gst_filesrc_loop),
6851 (gst_filesrc_activate), (filesrc_find_peek),
6852 (gst_filesrc_type_find):
6853 Made base source class, make fakesrc extend it.
6854 Add comments to basesink class.
6855 Some filesrc cleanup.
6857 2005-03-31 David Schleef <ds@schleef.org>
6859 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
6860 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
6861 expected to link against libgstreamer.
6862 * gst/base/Makefile.am: link against libgstreamer
6863 * gst/elements/Makefile.am: same
6865 2005-03-31 Andy Wingo <wingo@pobox.com>
6867 * tests/instantiate/Makefile.am:
6868 * tests/instantiate/caps.c: Add test to test speed of caps copy
6871 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
6872 GMemChunk to be fair.
6874 * gst/gsttrashstack.h: Remove warning about using the fallback
6875 trash stack implementation, it's still faster than malloc.
6877 2005-03-30 Andy Wingo <wingo@pobox.com>
6879 * tests/complexity.c: Add a copyright.
6881 2005-03-31 Wim Taymans <wim@fluendo.com>
6883 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
6884 (gst_base_transform_class_init), (gst_base_transform_init),
6885 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6886 (gst_base_transform_get_property),
6887 (gst_base_transform_sink_activate),
6888 (gst_base_transform_src_activate),
6889 (gst_base_transform_change_state):
6890 * gst/base/gstbasetransform.h:
6891 * gst/elements/gstidentity.c: (gst_identity_class_init),
6892 (gst_identity_event), (gst_identity_check_perfect),
6893 (gst_identity_transform), (gst_identity_start),
6894 (gst_identity_stop):
6895 Added start/stop methods to transform base class so subclasses
6896 don't need to deal with state changes even.
6898 2005-03-31 Wim Taymans <wim@fluendo.com>
6900 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
6901 (gst_event_new_discontinuous), (gst_event_discont_get_value):
6903 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6904 (gst_pad_pull_range):
6905 Added rate to the discont event to prepare for variable speed
6906 and reverse playback.
6908 2005-03-29 David Schleef <ds@schleef.org>
6911 * testsuite/trigger/Makefile.am:
6912 * testsuite/trigger/trigger.c: A little example program to show
6913 how trigger-based elements can work.
6915 2005-03-29 Wim Taymans <wim@fluendo.com>
6917 * gst/base/Makefile.am:
6919 * gst/base/gstbasesink.c: (gst_basesink_get_type),
6920 (gst_basesink_base_init), (gst_basesink_class_init),
6921 (gst_basesink_pad_getcaps), (gst_basesink_init),
6922 (gst_basesink_activate), (gst_basesink_change_state):
6923 * gst/base/gstbasesink.h:
6924 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
6925 (gst_base_transform_base_init), (gst_base_transform_finalize),
6926 (gst_base_transform_class_init), (gst_base_transform_init),
6927 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
6928 (gst_base_transform_event), (gst_base_transform_getrange),
6929 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
6930 (gst_base_transform_set_property),
6931 (gst_base_transform_get_property),
6932 (gst_base_transform_sink_activate),
6933 (gst_base_transform_src_activate),
6934 (gst_base_transform_change_state):
6935 * gst/base/gstbasetransform.h:
6936 * gst/elements/gstidentity.c: (gst_identity_finalize),
6937 (gst_identity_class_init), (gst_identity_init),
6938 (gst_identity_event), (gst_identity_check_perfect),
6939 (gst_identity_transform), (gst_identity_set_property),
6940 (gst_identity_get_property), (gst_identity_change_state):
6941 * gst/elements/gstidentity.h:
6942 * gst/gstelement.c: (gst_element_get_state_func),
6943 (gst_element_lost_state), (gst_element_pads_activate):
6944 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6945 (gst_pad_check_pull_range), (gst_pad_pull_range):
6947 Simplify pad activation.
6948 Added function to check if pull_range can be performed.
6949 Error out when pulling inactive or flushing pads.
6950 Removed const from refcounted types as it does not make sense.
6951 Simplify pad templates in basesink
6952 Added base class for simple 1-to-1 transforms.
6953 Make identity subclass the base transform.
6955 2005-03-29 Andy Wingo <wingo@pobox.com>
6957 * docs/libs/gstreamer-libs-overrides.txt:
6958 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
6959 really don't understand what's going on, but like whatever. I want
6962 * docs/gst/Makefile.am:
6963 * docs/libs/Makefile.am: Dist the overrides files.
6965 * check/Makefile.am (clean-local): Remove .libs directories.
6967 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
6968 elements to EXTRA_DIST, so po/ files are happy.
6970 * po/POTFILES.in: Er, remove it here.
6972 * po/POTFILES: Remove gstspider.c.
6974 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
6976 * docs/libs/gstreamer-libs-docs.sgml:
6977 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
6980 * tests/complexity.c (main): Set the length of the preroll queue
6981 on the sinks to prevent a lockup.
6983 * libs/gst/dataprotocol/Makefile.am:
6984 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
6985 the same as the one in check/gst-libs/gdp.c.
6987 * po/, docs/gst/: Commit automatic changes to docs and po files.
6989 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
6990 the versioned libgstbase.
6992 * check/Makefile.am: Depend on an unversioned gst-register, seems
6993 to make autoconf happier.
6995 * gst/base/Makefile.am: Make libgstbase a versioned lib.
6997 2005-03-28 Wim Taymans <wim@fluendo.com>
7000 * docs/design/part-gstelement.txt:
7001 * docs/design/part-negotiation.txt:
7002 * docs/design/part-preroll.txt:
7003 * docs/design/part-scheduling.txt:
7004 * docs/design/part-states.txt:
7006 * gst/base/Makefile.am:
7008 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7009 (gst_basesink_base_init), (gst_basesink_class_init),
7010 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7011 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7012 (gst_basesink_set_pad_functions),
7013 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7014 (gst_basesink_set_property), (gst_basesink_get_property),
7015 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7016 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7017 (gst_basesink_preroll_queue_push),
7018 (gst_basesink_preroll_queue_empty),
7019 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7020 (gst_basesink_event), (gst_basesink_get_times),
7021 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7022 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7023 (gst_basesink_loop), (gst_basesink_activate),
7024 (gst_basesink_change_state):
7025 * gst/base/gstbasesink.h:
7026 * gst/elements/Makefile.am:
7027 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7028 (gst_fakesink_class_init), (gst_fakesink_init),
7029 (gst_fakesink_set_property), (gst_fakesink_get_property),
7030 (gst_fakesink_get_times), (gst_fakesink_event),
7031 (gst_fakesink_preroll), (gst_fakesink_render),
7032 (gst_fakesink_change_state):
7033 * gst/elements/gstfakesink.h:
7034 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7035 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7036 * gst/gstelement.c: (gst_element_add_pad),
7037 (gst_element_get_state_func), (gst_element_abort_state),
7038 (gst_element_commit_state), (gst_element_lost_state),
7039 (gst_element_set_state), (gst_element_pads_activate):
7040 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7041 * gst/gstpipeline.c: (gst_pipeline_send_event),
7042 (gst_pipeline_change_state):
7043 Added state change code.
7045 Added sink base class, make fakesink extend the base class.
7046 Small cleanups in GstPipeline.
7048 2005-03-26 David Schleef <ds@schleef.org>
7050 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7051 is broken and should be implemented in a different library.
7052 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7053 * gst/gst.h: remove gstcpu.h
7054 * gst/gstcpu.c: remove
7055 * gst/gstcpu.h: remove
7056 * gst/Makefile.am.future: Remove this file. It's ancient.
7058 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7060 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7061 (gst_bin_send_event):
7062 Add default event/set_manager handlers. The set_manager handler
7063 takes care that the manager is distributed over kids that were
7064 already in the bin before the manager was set. The event handler
7065 is a utility virtual function that sends the event over all sinks,
7066 so that gst_element_send_event (bin, event); has the expected
7068 * gst/gstpad.c: (gst_pad_event_default):
7069 Re-install default event handling for discontinuities, so that
7070 seeking works without requiring hacks in applications or extra
7072 * gst/gstpipeline.c: (gst_pipeline_class_init),
7073 (gst_pipeline_send_event):
7074 Half hack, half utility: set a pipeline to PAUSED for seek events,
7075 since that is the only way we can guarantee a/v sync. Means that
7076 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7077 and it "just works".
7079 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7081 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7082 Lock/unlock mismatch.
7084 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7086 * docs/faq/gst-uninstalled:
7087 add gst-plugins-base
7088 * docs/gst/Makefile.am:
7089 don't error out until docs are fixed
7090 * docs/gst/gstreamer.types:
7093 2005-03-22 Wim Taymans <wim@fluendo.com>
7095 * check/Makefile.am:
7096 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7097 * gst/gststructure.c: (gst_structure_set_valist),
7098 (gst_structure_copy_conditional):
7099 Activated more tests.
7101 Added G_TYPE_POINTER to GstStructure.
7104 2005-03-22 Wim Taymans <wim@fluendo.com>
7106 * docs/design/part-TODO.txt:
7107 * docs/design/part-events.txt:
7108 * docs/design/part-gstbin.txt:
7109 * docs/design/part-gstbus.txt:
7110 * docs/design/part-gstpipeline.txt:
7111 * docs/design/part-messages.txt:
7116 2005-03-21 Wim Taymans <wim@fluendo.com>
7118 * gst/gstbus.c: (gst_bus_post):
7119 Fix copy-and-paste error.
7121 2005-03-21 Wim Taymans <wim@fluendo.com>
7123 * check/Makefile.am:
7125 * gst/elements/Makefile.am:
7126 * gst/elements/gstelements.c:
7127 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7128 (gst_fakesink_event), (gst_fakesink_chain):
7129 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7130 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7131 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7132 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7133 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7134 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7135 (gst_fakesrc_loop), (gst_fakesrc_activate),
7136 (gst_fakesrc_change_state):
7137 * gst/elements/gstfakesrc.h:
7138 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7139 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7140 (gst_filesrc_open_file), (gst_filesrc_loop),
7141 (gst_filesrc_activate), (gst_filesrc_change_state),
7142 (filesrc_find_peek), (filesrc_find_suggest),
7143 (gst_filesrc_type_find):
7144 * gst/elements/gstidentity.c: (gst_identity_finalize),
7145 (gst_identity_class_init), (gst_identity_init),
7146 (gst_identity_proxy_getcaps), (identity_queue_push),
7147 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7148 (gst_identity_getrange), (gst_identity_chain),
7149 (gst_identity_sink_loop), (gst_identity_src_loop),
7150 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7151 (gst_identity_set_property), (gst_identity_get_property),
7152 (gst_identity_change_state):
7153 * gst/elements/gstidentity.h:
7154 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7155 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7156 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7157 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7158 (gst_tee_sink_activate):
7159 * gst/elements/gsttee.h:
7160 * gst/gst.c: (gst_register_core_elements), (init_post):
7162 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7163 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7164 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7165 (gst_bin_change_state):
7167 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7168 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7169 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7170 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7171 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7172 (bus_watch_callback), (bus_watch_destroy),
7173 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7174 (poll_timeout), (gst_bus_poll):
7178 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7179 (gst_element_post_message), (gst_element_message_full),
7180 (gst_element_get_state_func), (gst_element_get_state),
7181 (gst_element_abort_state), (gst_element_commit_state),
7182 (gst_element_lost_state), (gst_element_set_state),
7183 (gst_element_pads_activate), (gst_element_change_state),
7184 (gst_element_dispose), (gst_element_set_manager_func),
7185 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7186 (gst_element_set_manager), (gst_element_get_manager),
7187 (gst_element_set_bus), (gst_element_get_bus),
7188 (gst_element_set_scheduler), (gst_element_get_scheduler):
7190 * gst/gstevent.c: (gst_event_new_segment_seek),
7191 (gst_event_new_flush):
7193 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7194 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7195 (gst_message_new_eos), (gst_message_new_error),
7196 (gst_message_new_warning), (gst_message_new_tag),
7197 (gst_message_new_state_changed), (gst_message_new_application),
7198 (gst_message_get_structure), (gst_message_parse_tag),
7199 (gst_message_parse_state_changed), (gst_message_parse_error),
7200 (gst_message_parse_warning):
7202 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7203 (gst_real_pad_set_property), (gst_pad_set_active),
7204 (gst_pad_is_active), (gst_pad_set_blocked_async),
7205 (gst_pad_set_blocked), (gst_pad_is_blocked),
7206 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7207 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7208 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7209 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7210 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7211 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7212 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7213 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7214 (gst_pad_set_caps), (gst_pad_configure_sink),
7215 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7216 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7217 (gst_real_pad_dispose), (gst_real_pad_finalize),
7218 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7219 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7220 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7222 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7223 (pipeline_bus_handler), (gst_pipeline_change_state),
7224 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7225 * gst/gstpipeline.h:
7227 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7228 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7229 (gst_queue_link_src), (gst_queue_bufferalloc),
7230 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7231 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7232 (gst_queue_loop), (gst_queue_handle_src_event),
7233 (gst_queue_handle_src_query), (gst_queue_src_activate),
7234 (gst_queue_change_state):
7236 * gst/gstscheduler.c: (gst_scheduler_init),
7237 (gst_scheduler_dispose), (gst_scheduler_create_task),
7238 (gst_scheduler_factory_create):
7239 * gst/gstscheduler.h:
7240 * gst/gststructure.c: (gst_structure_get_type),
7241 (gst_structure_copy_conditional):
7242 * gst/gststructure.h:
7243 * gst/gsttaginterface.h:
7244 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7245 (gst_task_init), (gst_task_dispose), (gst_task_create),
7246 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7252 * gst/schedulers/Makefile.am:
7253 * gst/schedulers/cothreads_compat.h:
7254 * gst/schedulers/entryscheduler.c:
7255 * gst/schedulers/faircothreads.c:
7256 * gst/schedulers/faircothreads.h:
7257 * gst/schedulers/fairscheduler.c:
7258 * gst/schedulers/gstbasicscheduler.c:
7259 * gst/schedulers/gstoptimalscheduler.c:
7260 * gst/schedulers/gthread-cothreads.h:
7261 * gst/schedulers/threadscheduler.c:
7262 (gst_thread_scheduler_task_get_type),
7263 (gst_thread_scheduler_task_class_init),
7264 (gst_thread_scheduler_task_init),
7265 (gst_thread_scheduler_task_start),
7266 (gst_thread_scheduler_task_stop),
7267 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7268 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7269 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7270 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7272 * libs/gst/Makefile.am:
7273 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7274 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7275 (gst_file_pad_parent_set):
7276 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7277 (gst_dp_event_from_packet):
7278 * tests/complexity.c: (main):
7279 * tests/mass_elements.c: (main):
7280 * testsuite/states/locked.c: (message_received), (main):
7281 * testsuite/states/parent.c: (main):
7282 * tools/gst-inspect.c: (print_element_flag_info),
7283 (print_implementation_info), (print_pad_info):
7284 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7286 * tools/gst-md5sum.c: (event_loop), (main):
7287 * tools/gst-typefind.c: (main):
7288 * tools/gst-xmlinspect.c: (print_element_info):
7290 Added GstBus for mainloop integration.
7291 Added GstMessage for sending notifications on the bus.
7292 Added GstTask as an abstraction for pipeline entry points.
7295 Simplified GstQueue for multithreaded core.
7296 Made _link threadsafe, removed old capsnego.
7297 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7298 Added pad blocking functions.
7299 Reworked scheduling functions in GstPad to prepare for
7300 scheduling updates soon.
7301 Moved events out of data stream.
7302 Simplified GstEvent types.
7303 Added return values to push/pull.
7304 Removed clocking from GstElement.
7305 Added prototypes for state change function for next merge.
7306 Removed iterate from bins and state change management.
7307 Fixed some elements, disabled others for now.
7308 Fixed -inspect and -launch.
7309 Added check for GstBus.
7311 2005-03-10 Wim Taymans <wim@fluendo.com>
7313 * docs/design/part-MT-refcounting.txt:
7314 * docs/design/part-clocks.txt:
7315 * docs/design/part-gstelement.txt:
7316 * docs/design/part-gstobject.txt:
7317 * docs/design/part-standards.txt:
7318 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7319 (gst_bin_remove_func), (gst_bin_remove):
7323 * testsuite/clock/clock1.c: (main):
7324 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7326 * testsuite/dlopen/loadgst.c: (do_test):
7327 * testsuite/refcounting/bin.c: (add_remove_test1),
7328 (add_remove_test2), (main):
7329 * testsuite/refcounting/element.c: (main):
7330 * testsuite/refcounting/element_pad.c: (main):
7331 * testsuite/refcounting/pad.c: (main):
7332 * tools/gst-launch.c: (sigint_handler_sighandler):
7333 * tools/gst-typefind.c: (main):
7335 Added doc about clock.
7336 removed gst_bin_iterate_recurse_up(), marked methods
7338 Fix more testsuites.
7340 2005-03-09 Wim Taymans <wim@fluendo.com>
7342 * gst/gstpad.c: (gst_pad_get_direction),
7343 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7344 (gst_pad_collect_valist):
7345 * testsuite/bins/interface.c: (main):
7346 * testsuite/caps/audioscale.c: (test_caps):
7347 * testsuite/caps/caps.c: (test1), (test2), (test3):
7348 * testsuite/caps/deserialize.c: (main):
7349 * testsuite/caps/enumcaps.c: (main):
7350 * testsuite/caps/filtercaps.c: (main):
7351 * testsuite/caps/intersect2.c: (main):
7352 * testsuite/caps/random.c: (main):
7353 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7354 * testsuite/caps/sets.c: (check_caps):
7355 * testsuite/caps/simplify.c: (check_caps), (main):
7356 * testsuite/caps/subtract.c: (check_caps):
7357 Fix _pad_get_direction wrt ghostpads.
7360 2005-03-09 Wim Taymans <wim@fluendo.com>
7362 * check/Makefile.am:
7363 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7364 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7365 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7366 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7367 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7368 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7369 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7370 (bin_element_is_sink), (gst_bin_iterate_sinks),
7371 (gst_bin_iterate_all_by_interface):
7373 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7374 (gst_element_change_state), (gst_element_dispose),
7375 (gst_element_finalize), (gst_element_set_loop_function):
7377 * gst/gstiterator.c: (find_custom_fold_func):
7378 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7379 (gst_pad_collectv), (gst_pad_collect_valist),
7380 (gst_pad_template_new):
7381 * gst/gstpipeline.c: (gst_pipeline_class_init),
7382 (gst_pipeline_dispose), (gst_pipeline_set_property),
7383 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7384 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7385 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7387 * gst/schedulers/entryscheduler.c:
7388 * gst/schedulers/gstbasicscheduler.c:
7389 (gst_basic_scheduler_cothreaded_chain),
7390 (gst_basic_scheduler_chain_add_element):
7391 * testsuite/bins/interface.c: (main):
7393 Added GstSystemClock test.
7394 Implemented clock distribution code in GstBin.
7395 Implemented iterate sinks method for future use.
7396 Rearranged gstelement.h
7397 Fix GstIterator comparison bug.
7398 Moved some code to GstPipeline, mostly clocking related.
7400 2005-03-09 Wim Taymans <wim@fluendo.com>
7403 * gst/gst_private.h:
7404 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7405 (gst_bin_remove_func), (gst_bin_remove),
7406 (gst_bin_get_by_name_recurse_up):
7407 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7408 (gst_clock_id_compare_func), (gst_clock_id_wait),
7409 (gst_clock_id_wait_async), (gst_clock_init),
7410 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7412 * gst/gstinfo.c: (_gst_debug_init):
7414 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7415 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7417 Bump version number, we're now 0.9.0
7418 Add future debugging category.
7419 Fix NULL _unref() in _get_by_name_recurse_up
7423 2005-03-08 Wim Taymans <wim@fluendo.com>
7425 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7426 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7427 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7428 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7429 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7430 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7431 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7432 * gst/elements/gstidentity.c: (gst_identity_class_init):
7433 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7434 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7435 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7436 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7437 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7439 * gst/gstelement.c: (gst_element_class_init),
7440 (gst_element_base_class_init), (gst_element_init),
7441 (gst_element_get_random_pad), (gst_element_wait_state_change),
7442 (gst_element_change_state), (gst_element_dispose),
7443 (gst_element_finalize), (gst_element_set_loop_function):
7445 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7446 * gst/gstthread.c: (gst_thread_class_init),
7447 (gst_thread_release_children_locks), (gst_thread_change_state):
7448 * gst/schedulers/gstbasicscheduler.c:
7449 (gst_basic_scheduler_loopfunc_wrapper),
7450 (gst_basic_scheduler_chain_wrapper),
7451 (gst_basic_scheduler_src_wrapper),
7452 (gst_basic_scheduler_remove_element):
7453 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7454 Remove threadsafe properties. Fix elements because GObject
7455 complains when installing a property before declaring a
7456 set/get_property handler.
7457 Rearrange gstelement.h file, use STATE macros for state locks.
7458 Free mutexes in the finalize method instead of dispose.
7460 2005-03-08 Wim Taymans <wim@fluendo.com>
7462 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7463 * gst/gstthread.c: (gst_thread_release_children_locks):
7464 Added parentage check.
7465 Fix build og GstThread again.
7467 2005-03-08 Wim Taymans <wim@fluendo.com>
7469 * docs/design/part-MT-refcounting.txt:
7470 * docs/design/part-conventions.txt:
7471 * docs/design/part-gstobject.txt:
7472 * docs/design/part-relations.txt:
7473 * docs/design/part-standards.txt:
7474 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7475 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7476 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7477 (gst_bin_iterate_all_by_interface):
7480 * gst/gstelement.c: (gst_element_class_init),
7481 (gst_element_change_state), (gst_element_set_loop_function):
7483 * gst/gstiterator.c:
7484 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7485 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7486 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7487 (gst_object_set_parent), (gst_object_unparent),
7488 (gst_object_check_uniqueness):
7490 Docs updates, clean up some headers.
7492 2005-03-07 Wim Taymans <wim@fluendo.com>
7495 * check/Makefile.am:
7496 * check/gst-libs/.cvsignore:
7497 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7498 * check/gst/.cvsignore:
7499 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7500 (START_TEST), (gstbus_suite), (main):
7501 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7502 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7503 (gst_data_suite), (main):
7504 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7505 (add_fold_func), (gstiterator_suite), (main):
7506 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7507 (thread_name_object), (thread_name_object_default),
7508 (gst_object_name_compare), (gst_object_suite), (main):
7509 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7510 (gst_pad_suite), (main):
7511 * check/gstcheck.c: (gst_check_log_message_func),
7512 (gst_check_log_critical_func), (gst_check_init):
7514 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7515 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7518 2005-03-07 Wim Taymans <wim@fluendo.com>
7520 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7521 (gst_list_iterator_next), (gst_list_iterator_resync),
7522 (gst_list_iterator_free), (gst_iterator_new_list),
7523 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7524 (gst_iterator_free), (gst_iterator_push), (filter_next),
7525 (filter_resync), (filter_uninit), (filter_free),
7526 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7527 (gst_iterator_foreach), (find_custom_fold_func),
7528 (gst_iterator_find_custom):
7529 * gst/gstiterator.h:
7530 Added missing files.
7532 2005-03-07 Wim Taymans <wim@fluendo.com>
7536 * docs/design/part-MT-refcounting.txt:
7537 * docs/design/part-conventions.txt:
7538 * docs/design/part-gstobject.txt:
7539 * docs/design/part-relations.txt:
7540 * examples/mixer/mixer.c: (main):
7541 * examples/thread/thread.c: (eos), (main):
7543 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7544 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7545 (gst_spider_plug_from_srcpad):
7546 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7547 (gst_spider_identity_change_state),
7548 (gst_spider_identity_sink_loop_type_finding):
7549 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7550 * gst/elements/gstidentity.c: (gst_identity_init):
7551 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7552 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7553 * gst/elements/gsttypefindelement.c: (free_entry):
7556 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7557 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7558 (gst_bin_set_index), (gst_bin_set_element_sched),
7559 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7560 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7561 (gst_bin_iterate_elements), (iterate_child_recurse),
7562 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7563 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7564 (compare_interface), (gst_bin_get_by_interface),
7565 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7567 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7568 (gst_buffer_default_free), (gst_buffer_default_copy),
7569 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7570 (gst_buffer_create_sub):
7572 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7573 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7574 (gst_caps_unref), (gst_static_caps_get),
7575 (gst_caps_remove_and_get_structure), (gst_caps_append),
7576 (gst_caps_append_structure), (gst_caps_remove_structure),
7577 (gst_caps_copy_nth), (gst_caps_set_simple),
7578 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
7579 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
7580 (gst_caps_structure_intersect_field), (gst_caps_intersect),
7581 (gst_caps_structure_subtract_field), (gst_caps_subtract),
7582 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
7583 (gst_caps_structure_figure_out_union),
7584 (gst_caps_switch_structures), (gst_caps_do_simplify),
7585 (gst_caps_replace), (gst_caps_from_string),
7586 (gst_caps_copy_conditional):
7588 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
7589 (_gst_clock_id_free), (gst_clock_id_unref),
7590 (gst_clock_id_compare_func), (gst_clock_id_wait),
7591 (gst_clock_id_wait_async), (gst_clock_class_init),
7592 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
7593 (gst_clock_get_time), (gst_clock_set_time_adjust),
7594 (gst_clock_set_property), (gst_clock_get_property):
7597 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
7598 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
7600 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7601 (gst_element_requires_clock), (gst_element_provides_clock),
7602 (gst_element_set_clock), (gst_element_clock_wait),
7603 (gst_element_wait), (gst_element_set_time_delay),
7604 (gst_element_is_indexable), (gst_element_add_pad),
7605 (gst_element_add_ghost_pad), (gst_element_remove_pad),
7606 (pad_compare_name), (gst_element_get_static_pad),
7607 (gst_element_request_pad), (gst_element_get_request_pad),
7608 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
7609 (gst_element_class_get_pad_template_list),
7610 (gst_element_class_get_pad_template), (gst_element_error_func),
7611 (gst_element_get_random_pad), (gst_element_get_event_masks),
7612 (gst_element_send_event), (gst_element_seek),
7613 (gst_element_get_query_types), (gst_element_query),
7614 (gst_element_get_formats), (gst_element_convert),
7615 (gst_element_is_locked_state), (gst_element_set_locked_state),
7616 (gst_element_sync_state_with_parent), (gst_element_change_state),
7617 (gst_element_finalize), (gst_element_yield),
7618 (gst_element_interrupt), (gst_element_set_scheduler),
7619 (gst_element_get_scheduler), (gst_element_set_loop_function):
7622 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
7623 (gst_format_get_by_nick), (gst_format_get_details),
7624 (gst_format_iterate_definitions):
7626 * gst/gstindex.c: (gst_index_gtype_resolver):
7629 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
7630 (gst_mem_chunk_free):
7631 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7632 (gst_object_ref), (gst_object_unref), (gst_object_sink),
7633 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
7634 (gst_object_dispatch_properties_changed),
7635 (gst_object_set_name_default), (gst_object_set_name),
7636 (gst_object_get_name), (gst_object_set_name_prefix),
7637 (gst_object_get_name_prefix), (gst_object_set_parent),
7638 (gst_object_get_parent), (gst_object_unparent),
7639 (gst_object_check_uniqueness), (gst_object_save_thyself),
7640 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
7641 (gst_object_set_property), (gst_object_get_property),
7642 (gst_object_get_path_string):
7644 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7645 (gst_real_pad_init), (gst_real_pad_get_property),
7646 (gst_pad_custom_new), (gst_pad_get_direction),
7647 (gst_pad_set_active), (gst_pad_is_active),
7648 (gst_pad_set_event_function), (gst_pad_is_linked),
7649 (gst_pad_link_free), (gst_pad_link_intersect),
7650 (gst_pad_link_fixate), (gst_pad_set_caps),
7651 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
7652 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
7653 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
7654 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
7655 (gst_pad_get_caps), (gst_pad_peer_get_caps),
7656 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
7657 (gst_pad_realize), (gst_pad_get_allowed_caps),
7658 (gst_real_pad_dispose), (gst_real_pad_finalize),
7659 (gst_pad_collectv), (gst_pad_collect_valist),
7660 (gst_pad_template_dispose), (gst_pad_template_new),
7661 (gst_pad_get_internal_links):
7663 * gst/gstpipeline.c: (gst_pipeline_dispose),
7664 (gst_pipeline_change_state):
7665 * gst/gstpipeline.h:
7667 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
7668 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
7669 * gst/gstpluginfeature.h:
7670 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
7671 * gst/gstquery.c: (_gst_query_type_initialize),
7672 (gst_query_type_register), (gst_query_type_get_by_nick),
7673 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
7675 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
7676 * gst/gstscheduler.c: (gst_scheduler_add_element),
7677 (gst_scheduler_factory_create):
7678 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7679 (gst_structure_free), (gst_structure_set_name),
7680 (gst_structure_id_set_value), (gst_structure_set_value),
7681 (gst_structure_set_valist), (gst_structure_remove_field),
7682 (gst_structure_remove_fields),
7683 (gst_structure_remove_fields_valist),
7684 (gst_structure_remove_all_fields), (gst_structure_foreach),
7685 (gst_structure_map_in_place),
7686 (gst_caps_structure_fixate_field_nearest_int),
7687 (gst_caps_structure_fixate_field_nearest_double):
7688 * gst/gststructure.h:
7689 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7690 (gst_system_clock_init), (gst_system_clock_dispose),
7691 (gst_system_clock_async_thread),
7692 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
7693 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7694 * gst/gstsystemclock.h:
7695 * gst/gsttag.c: (gst_tag_list_add_value_internal),
7696 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
7697 * gst/gsttaginterface.c:
7698 * gst/gstthread.c: (gst_thread_dispose),
7699 (gst_thread_release_children_locks), (gst_thread_change_state),
7700 (gst_thread_main_loop):
7701 * gst/gsttrashstack.h:
7702 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
7704 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7705 (gst_element_request_pad), (gst_element_get_pad_from_template),
7706 (gst_element_request_compatible_pad),
7707 (gst_element_get_compatible_pad_filtered),
7708 (gst_element_get_compatible_pad), (gst_element_state_get_name),
7709 (gst_element_link_pads_filtered), (gst_element_link_filtered),
7710 (gst_element_link_many), (gst_element_link),
7711 (gst_element_link_pads), (gst_element_unlink_pads),
7712 (gst_element_unlink_many), (gst_element_unlink),
7713 (gst_pad_can_link_filtered), (gst_pad_can_link),
7714 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
7715 (gst_object_default_error), (gst_bin_add_many),
7716 (gst_bin_remove_many), (gst_element_populate_std_props),
7717 (gst_element_class_install_std_props), (gst_buffer_merge),
7718 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
7719 (link_fold_func), (gst_pad_proxy_setcaps):
7721 * gst/gstvalue.c: (gst_value_deserialize_string):
7722 * gst/parse/grammar.y:
7723 * gst/schedulers/gstbasicscheduler.c:
7724 (gst_basic_scheduler_cothreaded_chain),
7725 (gst_basic_scheduler_chain_recursive_add),
7726 (gst_basic_scheduler_pad_link):
7727 * gst/schedulers/gstoptimalscheduler.c:
7728 (get_group_schedule_function),
7729 (gst_opt_scheduler_state_transition),
7730 (gst_opt_scheduler_add_element), (element_get_reachables_func):
7731 * libs/gst/bytestream/bytestream.c:
7732 * libs/gst/dataprotocol/dataprotocol.c:
7733 (gst_dp_header_from_buffer):
7736 * tests/threadstate/threadstate2.c: (eos):
7737 * tools/gst-compprep.c: (main):
7738 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
7739 (print_pad_info), (print_children_info):
7740 * tools/gst-launch.c: (idle_func), (main):
7741 * tools/gst-md5sum.c: (idle_func), (main):
7742 * tools/gst-xmlinspect.c: (print_element_info):
7743 First THREADED backport attempt, focusing on adding locks and
7744 making sure the API is threadsafe. Needs more work. More docs
7747 2005-02-24 Andy Wingo <wingo@pobox.com>
7749 * tests/bench-complexity.scm:
7750 * tests/complexity.gnuplot: New files, good for running complexity
7753 * tests/Makefile.am:
7754 * tests/complexity.c: New test, sets up N elements, at each level
7755 teeing into M streams per element. Eeeenteresting.
7757 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
7758 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
7759 running bench-mass_elements.scm.
7761 * tests/bench-mass_elements.scm: New script, runs mass_elements
7762 for various numbers of identities, outputting the results to a
7763 file. Requires guile 1.6. Just for testing.
7765 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
7767 * gst/schedulers/fairscheduler.c:
7768 compile with debug disabled
7770 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
7773 hunting season on 0.9 is now OPEN