ab043c31ad928dfe141ced1d77e063ed3fe7b293
1 2005-10-07 Andy Wingo <wingo@pobox.com>
3 * gst/gstelement.c (gst_element_post_message): Doc update.
5 * docs/gst/gstreamer-sections.txt: Update.
7 * gst/gstmessage.c (gst_message_new_application): Made into a
8 function like honest API calls.
9 (gst_message_new_element): New message type.
11 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
13 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14 that setting a live fakesrc to PAUSED returns NO_PREROLL both
15 times.
17 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18 NO_PREROLL from gst_element_change_state to fall through.
20 2005-10-07 Wim Taymans <wim@fluendo.com>
22 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23 (gst_ghost_pad_do_activate_push):
24 Activating a ghostpad with no internal pad in push mode
25 is ok.
27 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
29 * gst/gstobject.h:
30 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
31 Fixes compilation on Windows.
33 2005-10-07 Michael Smith <msmith@fluendo.com>
35 * tools/gst-inspect.c:
36 Print out feature and plugin count at the end when printing out
37 all features.
39 2005-10-04 Michael Smith <msmith@fluendo.com>
41 * gst/gsterror.c: (_gst_stream_errors_init):
42 Add another error string used in a few existing plugins.
44 * gst/gstplugin.c:
45 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
46 * tools/gst-inspect.c: (print_element_info):
47 When a feature disappears from a plugin (and the feature exists in
48 the cached registry file), things went horribly wrong. This isn't a
49 complete fix, we should actually be removing the 'missing' features
50 from the features list when we load the actual plugin. That's not
51 yet implemented.
53 2005-10-04 Johan Dahlin <johan@gnome.org>
55 * check/gst/gstiterator.c: (GST_START_TEST):
56 * gst/gstbin.c: (gst_bin_iterate_elements),
57 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
58 * gst/gstelement.c: (gst_element_iterate_pads):
59 * gst/gstformat.c: (gst_format_iterate_definitions):
60 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
61 (gst_iterator_new_list), (gst_iterator_filter):
62 * gst/gstiterator.h:
63 * gst/gstquery.c: (gst_query_type_iterate_definitions):
64 Add a GType to GstIterator, update callsites and tests.
66 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
68 * gst/gstpad.c: (gst_pad_event_default_dispatch):
69 give events a chance to be handled by event probes when the pad
70 is not linked
72 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
74 * gst/gstevent.c: (gst_event_type_get_name),
75 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
76 * gst/gstevent.h:
77 add string representations for event types
79 2005-10-06 Wim Taymans <wim@fluendo.com>
81 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
82 Don't use NULL pointers.
84 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
86 * gst/gst_private.h:
87 * gst/gstbus.c:
88 * gst/gstelement.c:
89 * gst/gstinfo.c:
90 * gst/gstpluginfeature.c:
91 widen the debug category in output to fit the biggest one we have
92 add a bus category and use it
93 play with the colors
94 fix up some categories
96 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
98 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
99 add push activation of sink ghost pads.
100 Andye, please verify
102 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
104 * gst/gstutils.c: (gst_element_link_pads):
105 fix a bug in the case where neither element has a pad
106 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
107 add a test for that case
109 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
111 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
112 emit have-data before checking for peers. This allows
113 for probe handlers to connect elements. This helps autopluggers.
114 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
115 (gst_pad_suite):
116 add six checks, linked/unlinked with no/true/false probe
118 2005-10-04 Wim Taymans <wim@fluendo.com>
120 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
121 (gst_fake_sink_event), (gst_fake_sink_preroll),
122 (gst_fake_sink_render), (gst_fake_sink_change_state):
123 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
124 (gst_fake_src_get_property), (gst_fake_src_create),
125 (gst_fake_src_stop):
126 * gst/elements/gstidentity.c: (gst_identity_stop):
127 Protect last_message with lock.
129 2005-10-04 Edward Hervey <edward@fluendo.com>
131 * gst/gstformat.h:
132 Added precision in the comments for GST_FORMAT_DEFAULT
134 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
136 * tools/gst-launch.c: (main):
137 Don't try to run erroneous pipelines.
139 2005-10-04 Julien MOUTTE <julien@moutte.net>
141 * gst/gstbus.c: We don't need this header.
143 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
145 * configure.ac:
146 back to development
148 === release 0.9.3 ===
150 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
152 * README:
153 * configure.ac:
154 Releasing 0.9.3, "Unregistered"
156 2005-10-03 Andy Wingo <wingo@pobox.com>
158 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
159 whereby calling a pad's activatepush() function can start a thread
160 that starts to push or pull before the pad gets the FLUSHING flag
161 unset. Hack around it by holding the stream lock until the flag is
162 set. Need to replace this with a proper solution. Together with
163 the ghost pad fixes, this fixes mp3 playing/tagreading.
165 * docs/design/part-gstghostpad.txt: Add a note about activation of
166 proxy pads outside of ghost pads.
168 * gst/gstghostpad.c: Implement the ghost pad activation design.
170 2005-10-02 Andy Wingo <wingo@pobox.com>
172 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
173 It is volatile, after all.
175 * docs/design/part-gstghostpad.txt: Flesh out activation with
176 ghost pads.
178 * gst/base/gstbasesrc.c (gst_base_src_init): Use
179 GST_DEBUG_FUNCPTR.
181 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
183 * configure.ac:
184 Fix (unused) AM_CONDITIONAL tests.
186 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
188 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
190 * gst/gstutils.c: (gst_pad_query_convert):
191 Add assertion that makes sure src_val is >=0, just like
192 gst_query_new_convert() has. (#315895)
194 2005-09-30 Edward Hervey <edward@fluendo.com>
196 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
197 Let's not iterate pads we're not interested in, it avoids getting
198 sky-high refcounts on sinkpad.
200 2005-09-30 Wim Taymans <wim@fluendo.com>
202 * gst/gstelement.c: (gst_element_set_state),
203 (gst_element_change_state):
204 Small tweak, element in ASYNC remains ASYNC.
206 2005-09-30 Wim Taymans <wim@fluendo.com>
208 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
209 Only error is an error.
211 * gst/gstbin.c: (gst_bin_change_state):
212 Better debugging.
214 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
215 Also call pad_block in pad alloc.
217 * gst/gstutils.c: (gst_flow_get_name):
218 Better debugging.
220 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
222 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
223 (gst_base_src_get_range):
224 Fix documentation typos. Add some more debug info.
226 2005-09-29 David Schleef <ds@schleef.org>
228 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
229 more end-user friendly.
230 * tools/gst-inspect.c: (main): Check if command-line argument is
231 a file and attempt to load that file as a plugin.
233 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
235 * check/gst/gstbin.c:
236 * check/states/sinks.c:
237 fix tests for the new warning
238 * check/gst/gstpipeline.c:
239 add a test for pipeline and bus interaction
240 * gst/gstelement.c:
241 elements should be NULL if they get disposed; add a warning if not
243 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
245 * gst/gstobject.c:
246 for 2.6 refcounting, make debug log more correct by printing
247 the actual refcounts at the time of swap (Wim)
249 2005-09-29 Andy Wingo <wingo@pobox.com>
251 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
252 removes signal watches previously added via
253 gst_bus_add_signal_watch.
254 (gst_bus_add_signal_watch): Don't return the source id, just store
255 it on the bus if there wasn't an id already.
257 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
258 add_signal_watch and remove_signal_watch.
260 2005-09-29 Edward Hervey <edward@fluendo.com>
262 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
263 Better if we actually iterate the list :)
265 2005-09-29 Wim Taymans <wim@fluendo.com>
267 * check/gst/gstbin.c: (GST_START_TEST):
268 Change for new bus API.
270 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
271 (send_messages), (GST_START_TEST), (gstbus_suite):
272 Change for new bus signal API.
274 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
275 (gst_bus_source_prepare), (gst_bus_source_check),
276 (gst_bus_create_watch), (gst_bus_add_watch_full),
277 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
278 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
279 * gst/gstbus.h:
280 Remove support for multiple GSources operating on different
281 message types as it is too complex and unneeded when using
282 signals.
283 Added support for receiving signals from the bus.
285 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
287 * docs/libs/tmpl/gstdataprotocol.sgml:
288 * docs/manual/advanced-dataaccess.xml:
289 * gst/elements/gstcapsfilter.c:
290 * gst/gstutils.c:
291 rename filter-caps to caps property
293 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
295 * gst/gstvalue.c: (gst_value_deserialize_fraction):
296 More robust fraction string parsing.
298 * docs/pwg/appendix-porting.xml:
299 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
301 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
303 * gst/gstcaps.c: (gst_caps_do_simplify):
304 Thou shalt not free a structure and then continue using it
305 in the next loop iteration.
307 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
308 (gst_caps_suite):
309 Add test case for caps simplification.
311 2005-09-29 Wim Taymans <wim@fluendo.com>
313 * check/gst/gstbin.c: (GST_START_TEST):
314 Oops.
316 2005-09-29 Wim Taymans <wim@fluendo.com>
318 * check/gst/gstbin.c: (GST_START_TEST):
319 Add bus to bin.
321 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
322 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
323 (find_element), (gst_bin_sort_iterator_next),
324 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
325 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
326 (gst_bin_change_state), (gst_bin_dispose):
327 A bin does not have a bus, it gets the bus from the parent.
329 * gst/gstelement.c: (gst_element_requires_clock),
330 (gst_element_provides_clock), (gst_element_is_indexable),
331 (gst_element_is_locked_state), (gst_element_change_state),
332 (gst_element_set_bus_func):
333 Small cleanups.
335 * gst/gstpipeline.c: (gst_pipeline_class_init),
336 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
337 The pipeline provides a bus.
339 2005-09-28 Johan Dahlin <johan@gnome.org>
341 * gst/gstmessage.c (gst_message_parse_state_changed): Use
342 gst_structure_get_enum instead of gst_structure_get_int
344 * gst/gststructure.c (gst_structure_get_enum): Impl.
346 * gst/gststructure.h (gst_structure_get_enum): Add
348 * docs/gst/gstreamer-sections.txt: Ditto
350 * gst/gstmessage.c (gst_message_new_state_changed): Use
351 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
352 which does introspection.
353 Reviewed by Christian Schaller
355 2005-09-28 Stefan Kost <ensonic@users.sf.net>
357 * gst/gstinfo.c: (gst_debug_log_default):
358 don't do dummy g_strdup()s
359 * libs/gst/controller/gstcontroller.c:
360 (on_object_controlled_property_changed),
361 (gst_controlled_property_new), (gst_controller_new_valist),
362 (gst_controller_new_list),
363 (gst_controller_remove_properties_valist), (gst_controller_set),
364 (gst_controller_get), (gst_controller_sync_values),
365 (gst_controller_get_value_array), (_gst_controller_class_init),
366 (gst_controller_get_type):
367 * libs/gst/controller/gstcontroller.h:
368 * libs/gst/controller/gstinterpolation.c:
369 (gst_controlled_property_find_timed_value_node):
370 convert // to /**/ comments
372 2005-09-28 Wim Taymans <wim@fluendo.com>
374 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
375 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
376 (gst_bus_sync_signal_handler):
377 * gst/gstbus.h:
378 Added async-message and sync-message signals to the bus.
379 Added helper BusFunc to emit signals for all posted messages.
381 * gst/gstmessage.c: (gst_message_type_get_name),
382 (gst_message_type_to_quark), (gst_message_get_type):
383 * gst/gstmessage.h:
384 Register quarks for message names.
386 2005-09-28 Stefan Kost <ensonic@users.sf.net>
388 * docs/libs/gstreamer-libs-sections.txt:
389 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
390 (gst_controller_new_list):
391 * libs/gst/controller/gstcontroller.h:
392 added another constructor for language bindings
394 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
396 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
397 add another check
398 * gst/gstbus.c:
399 add some doc
400 * gst/gstinfo.c: (_gst_debug_init):
401 slightly more readable color for refcount debugging
403 2005-09-28 Wim Taymans <wim@fluendo.com>
405 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
406 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
407 (find_element), (gst_bin_sort_iterator_next),
408 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
409 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
410 (gst_bin_change_state), (gst_bin_dispose):
411 Small doc fixes. get_clock -> provide_clock.
413 * gst/gstelement.c: (gst_element_class_init),
414 (gst_element_provides_clock), (gst_element_provide_clock),
415 (gst_element_get_clock), (gst_element_commit_state),
416 (gst_element_lost_state):
417 * gst/gstelement.h:
418 Make get/set_clock() symetric. Add provide_clock vmethod since
419 that is actually what this function does.
421 * gst/gstpipeline.c: (gst_pipeline_class_init),
422 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
423 (gst_pipeline_get_clock):
424 get_clock -> provide_clock.
426 2005-09-28 Andy Wingo <wingo@pobox.com>
428 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
429 lieu of real docs...
431 * gst/elements/gstfdsrc.c: Cleaned up a bit.
433 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
435 * gst/elements/gstcapsfilter.c:
436 * gst/elements/gstfakesink.c:
437 * gst/elements/gstfakesrc.c:
438 * gst/elements/gstfdsink.c:
439 * gst/elements/gstfdsrc.c:
440 * gst/elements/gstfilesink.c:
441 * gst/elements/gstfilesrc.c:
442 * gst/elements/gstidentity.c:
443 * gst/elements/gsttee.c:
444 * gst/elements/gsttypefindelement.c:
445 Make element details static.
447 2005-09-28 Wim Taymans <wim@fluendo.com>
449 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
450 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
451 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
452 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
453 (gst_bin_change_state), (gst_bin_dispose):
454 Some documentation updates.
455 Clean up dispose handlers.
457 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
458 * gst/gstpad.c: (gst_pad_dispose):
459 Clean up dispose handler.
461 * gst/gstpipeline.c: (gst_pipeline_change_state):
462 Removed spurious UNLOCK.
464 2005-09-27 Stefan Kost <ensonic@users.sf.net>
466 * docs/gst/gstreamer-sections.txt:
467 * gst/base/gstbasesrc.h:
468 * gst/gstelement.h:
469 * gst/gstevent.h:
470 * gst/gstobject.h:
471 * gst/gstpad.h:
472 * gst/gstpipeline.c:
473 * gst/gstpipeline.h:
474 * gst/gstutils.h:
475 * gst/gstxml.h:
476 added two new functions to the docs
477 documents all undocumented GstXXXFlags
478 completed some incomplete docs
480 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
482 * gst/gstbin.c: (gst_bin_dispose):
483 * gst/gstelement.c: (gst_element_dispose):
484 remove now useless and leaky resurrection code in dispose
485 * gst/base/gstbasesrc.c: (gst_base_src_init):
486 * gst/gstelementfactory.c: (gst_element_factory_create):
487 * gst/gstobject.c: (gst_object_set_parent):
488 add some debugging
490 2005-09-27 Wim Taymans <wim@fluendo.com>
492 * docs/design/part-TODO.txt:
493 Update TODO.
495 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
496 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
497 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
498 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
499 (gst_bin_change_state):
500 * gst/gstelement.h:
501 Remove element variable, we keep element info in the iterator now.
503 2005-09-27 Andy Wingo <wingo@pobox.com>
505 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
506 values.
508 2005-09-27 Wim Taymans <wim@fluendo.com>
510 * check/gst/gstbin.c: (GST_START_TEST):
511 Enable check that works now.
513 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
514 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
515 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
516 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
517 (gst_bin_change_state):
518 * gst/gstbin.h:
519 Redid the state change algorithm using a topological sort algo.
520 Handles all cases correctly.
521 Exposed iterator for state change order.
523 * gst/gstelement.h:
524 Temp storage for state changes. Need to get rid of this soon.
526 2005-09-27 Wim Taymans <wim@fluendo.com>
528 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
529 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
530 (link_fold_func), (gst_pad_proxy_setcaps):
531 Leak fixes, the fold functions need to unref the passed object and
532 _get_parent_*() returns ref to parent.
534 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
536 * check/gst/gstbuffer.c: (test_make_writable):
537 Plug leak in test case and fix 'make check-valgrind'
539 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
541 * gst/gstbuffer.c: (gst_subbuffer_init):
542 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
543 works correctly in all circumstances (we could have just copied
544 the parent buffer's readonly flag, but conceptually it seems
545 cleaner to mark all subbuffers as read-only). (based on patch
546 by Alessandro Decina, #314710).
548 * check/gst/gstbuffer.c: (create_read_only_buffer),
549 (test_make_writable), (test_subbuffer_make_writable),
550 (gst_test_suite):
551 Add some tests for gst_buffer_make_writable().
553 2005-09-27 Wim Taymans <wim@fluendo.com>
555 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
556 use gst_object_has_ancestor().
558 * gst/gstobject.c: (gst_object_has_ancestor):
559 * gst/gstobject.h:
560 gst_object_has_ancestor() copied from gstbin.c as it is a
561 usefull function.
563 * tests/instantiate/create.c: (create_all_elements):
564 * tests/lat.c: (handoff_src), (handoff_sink):
565 * tests/sched/runxml.c: (main):
566 * tests/seeking/seeking1.c: (main):
567 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
568 (main):
569 Fix compilation of some tests.
571 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
573 * gst/gsterror.h:
574 Remove comment. GST_TYPE_G_ERROR is here to stay,
575 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
576 (#316961, #300610).
578 2005-09-26 Wim Taymans <wim@fluendo.com>
580 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
581 Added check that shows error in state change order.
583 2005-09-26 Wim Taymans <wim@fluendo.com>
585 * gst/gstbin.c: (gst_bin_change_state):
586 Make state change function use 3 queues again, we were
587 adding elements in the wrong order.
589 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
590 Some debug info,
592 * gst/gstpad.c: (gst_pad_dispose):
593 Added some debug info first.
595 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
597 * docs/design/draft-push-pull.txt:
598 * docs/design/part-events.txt:
599 * docs/design/part-overview.txt:
600 * docs/design/part-scheduling.txt:
601 Replace all _pull_region() with _pull_range()
603 2005-09-26 Andy Wingo <wingo@pobox.com>
605 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
607 * check/gst-libs/controller.c: Update for controller api change.
609 * configure.ac:
610 * tests/Makefile.am:
611 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
612 over by GLib bug 118439.
614 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
615 routines to a function.
617 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
619 * libs/gst/controller/gsthelper.c:
620 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
621 (gst_object_sync_values): Renamed from sink_values. Ugh.
623 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
625 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
626 Renamed from controller_key, as it is exported.
628 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
630 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
632 * gst/Makefile.am:
633 * gst/gst.h:
634 * gst/gstpad.h:
635 * gst/gstpadtemplate.h:
636 * gst/gstquery.c:
637 * gst/gstquery.h:
638 * gst/gstqueryutils.c:
639 * gst/gstqueryutils.h:
640 remove queryutils headers after moving the two used functions
641 to gstquery. also fixes build problem for gstsiddec
643 2005-09-26 Michael Smith <msmith@fluendo.com>
645 * tools/gst-launch.1.in:
646 Correct documentation in manpage of debug syntax
648 2005-09-26 Wim Taymans <wim@fluendo.com>
650 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
651 (gst_base_src_is_seekable), (gst_base_src_change_state):
652 Some more debugging info.
654 2005-09-25 Stefan Kost <ensonic@users.sf.net>
656 * docs/gst/gstreamer-sections.txt:
657 * gst/base/gstbasetransform.h:
658 * gst/gstindex.h:
659 added more docs
661 2005-09-25 Stefan Kost <ensonic@users.sf.net>
663 * docs/gst/.cvsignore:
664 * docs/gst/tmpl/.cvsignore:
665 * docs/gst/tmpl/gstpipeline.sgml:
666 * docs/gst/tmpl/gstplugin.sgml:
667 * gst/gstpipeline.c:
668 * gst/gstplugin.c:
669 * gst/gstplugin.h:
670 inlined the last two docs files
671 removed the tmpl directory from cvs (no more conflicts here!)
673 2005-09-25 Stefan Kost <ensonic@users.sf.net>
675 * docs/gst/gstreamer-sections.txt:
676 * docs/gst/tmpl/.cvsignore:
677 * docs/gst/tmpl/gstpad.sgml:
678 * docs/gst/tmpl/gstpadtemplate.sgml:
679 * gst/Makefile.am:
680 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
681 (gst_pad_finalize), (gst_pad_set_pad_template):
682 * gst/gstpad.h:
683 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
684 (gst_pad_template_class_init), (gst_pad_template_init),
685 (gst_pad_template_dispose), (name_is_valid),
686 (gst_static_pad_template_get), (gst_pad_template_new),
687 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
688 (gst_pad_template_pad_created):
689 * gst/gstpadtemplate.h:
690 inlined two more docs
691 factored gstpadtemplate out of gstpad
693 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
695 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
696 (test_children_state_change_order_semi_sink):
697 Fix test case: we can't rely on a fixed state change order when
698 going from READY => PAUSED because the sink might commit its
699 new state first when the first buffer created by the source
700 reaches the sink before the source has finished its change state.
701 (Test case still fails at times, see #316856, comment 5 onwards)
703 2005-09-24 Wim Taymans <wim@fluendo.com>
705 * docs/design/part-events.txt:
706 * docs/design/part-gstbus.txt:
707 * docs/design/part-gstpipeline.txt:
708 * docs/design/part-messages.txt:
709 * docs/design/part-overview.txt:
710 * docs/design/part-segments.txt:
711 * gst/gstbin.c:
712 * gst/gstbuffer.c:
713 * gst/gstclock.c:
714 * gst/gstelement.c:
715 * gst/gstevent.c:
716 * gst/gstfilter.c:
717 * gst/gstiterator.c:
718 Various documentation updates.
720 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
722 * gst/gstclock.h:
723 Well, that's embarassing. Luckily we weren't using
724 GST_CLOCK_DIFF anywhere.
726 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
728 * common/gtk-doc.mak:
729 don't fail on building XML, FC4 slave shows a bunch of doc
730 missing bits that I don't get
731 * gst/gstpad.c:
732 * gst/gstpipeline.c:
733 * gst/gststructure.c:
734 some doc updates
736 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
738 * docs/design/part-gstbin.txt:
739 * docs/design/part-gstbus.txt:
740 * gst/gstbus.c:
741 Add blurb about how the bus goes into flushing mode and
742 drops all messages when its bin goes from READY into NULL
743 state.
745 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
747 * docs/gst/gstreamer-sections.txt:
748 * gst/gststructure.c: (gst_structure_get_clock_time):
749 * gst/gststructure.h:
750 add a method to get a GstClockTime out of a structure
752 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
754 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
755 (test_children_state_change_order_semi_sink), (gst_bin_suite):
756 Added test to check state change order in bins (can still be made
757 to fail here under heavy disk load; bails out with 'Push on pad
758 fakesink:sink0, but it was not activated in push mode').
760 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
761 Fix state change order when there is only a semi sink (#316856)
763 * gst/gstbus.c: (gst_bus_class_init):
764 Use _class_peek_parent(), not _class_ref(); fix docs to say
765 'default main context' instead of 'mainloop' where that is
766 what's meant.
768 * gst/gstelement.c: (gst_element_commit_state),
769 (gst_element_set_state):
770 Fix typos in debug messages
772 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
774 * docs/README:
775 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
776 * gst/gstpluginfeature.c:
777 * gst/gstutils.c:
778 various doc updates
779 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
780 change an assert into an error until it gets fixed properly
782 2005-09-23 Stefan Kost <ensonic@users.sf.net>
784 * docs/gst/gstreamer-sections.txt:
785 * docs/gst/tmpl/.cvsignore:
786 * docs/gst/tmpl/gstelement.sgml:
787 * docs/gst/tmpl/gstinfo.sgml:
788 * docs/gst/tmpl/gstobject.sgml:
789 * gst/gstelement.c:
790 * gst/gstelement.h:
791 * gst/gstinfo.c:
792 * gst/gstinfo.h:
793 * gst/gstobject.c: (gst_object_class_init):
794 * gst/gstobject.h:
795 inlined 3 more biiiig doc files and added some missing docs on the fly
797 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
799 * check/gst/.cvsignore:
800 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
801 * gst/gstregistryxml.c: (load_plugin),
802 (gst_registry_xml_save_plugin):
803 put back source in registry. add checks for find_plugin.
804 * testsuite/states/bin.c: (assert_state), (empty_bin),
805 (test_adding_one_element), (main):
806 * testsuite/states/locked.c: (main):
807 some compile/run fixes
809 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
811 * check/gst/gstvalue.c: (GST_START_TEST):
812 fix leaks in the test itself
814 2005-09-22 Wim Taymans <wim@fluendo.com>
816 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
817 (gst_base_sink_send_event), (gst_base_sink_peer_query),
818 (gst_base_sink_query):
819 Prepare for more accurate position reporting and query
820 handling.
822 * gst/gstelement.c: (gst_element_send_event),
823 (gst_element_set_state):
824 Add some comment.
826 2005-09-22 Wim Taymans <wim@fluendo.com>
828 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
829 (gst_query_parse_segment):
830 * gst/gstquery.h:
831 More documentation.
832 Add segment query for future use.
834 2005-09-22 Wim Taymans <wim@fluendo.com>
836 * gst/gstbin.c: (gst_bin_add_func):
837 Some more debug info.
839 * gst/gstelement.c: (gst_element_send_event):
840 Simplify send_event
842 * gst/gstelement.h:
843 Don't know how flags got broken.
845 * gst/gstquery.h:
846 Added new query.
848 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
850 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
851 Add simplistic test suite for GST_TYPE_DATE serialisation and
852 deserialisation.
854 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
856 * docs/gst/gstreamer-sections.txt:
857 * gst/gststructure.c: (gst_structure_set_valist),
858 (gst_structure_get_date):
859 * gst/gststructure.h:
860 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
861 (gst_date_copy), (gst_value_compare_date),
862 (gst_value_serialize_date), (gst_value_deserialize_date),
863 (gst_value_transform_date_string),
864 (gst_value_transform_string_date), (_gst_value_initialize):
865 * gst/gstvalue.h:
866 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
867 bunch of utility functions along with a hack that checks that
868 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
869 is required. Part of the grand scheme in #170777.
871 2005-09-22 Andy Wingo <wingo@pobox.com>
873 * gst/gstconfig.h.in: Psych out gtk-doc.
875 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
877 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
879 * tools/gst-inspect.c (print_element_list): Plug some
880 inconsequential leaks.
882 * gst/gstregistry.c (gst_registry_get_default): Doc.
884 * check/gst/gstplugin.c:
885 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
886 * gst/gstelementfactory.c (gst_element_factory_create):
887 * gst/gstindexfactory.c (gst_index_factory_create): Update for
888 refcount changes.
890 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
891 (gst_plugin_feature_load): Doc, don't eat refs.
893 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
894 (gst_plugin_list_free): Doc.
895 (gst_plugin_load_file): Doc updates.
897 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
898 accessors returning refcounted objects, return a ref.
900 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
901 accessor for caps. IDEMPOTENCE. Oh yes.
903 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
905 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
907 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
908 (_gst_debug_register_funcptr):
909 Add mutex to serialise access to the hash table with
910 the function pointer => function name string mapping;
911 make that hash table static scope (#316809).
913 * gst/registries/.cvsignore:
914 Remove left-over file.
916 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
918 * docs/pwg/appendix-porting.xml:
919 And something about newsegment events and caps-on-buffers to
920 the porting guide (feel free to improve).
922 2005-09-21 Andy Wingo <wingo@pobox.com>
924 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
925 data and event probes on the same pad.
926 (test_buffer_probe_once): Test that removing probes from within
927 the probe functions works.
929 2005-09-21 Andy Wingo <wingo@pobox.com>
931 * check/gst/gstutils.c: New file.
932 (test_buffer_probe_n_times): A simple buffer probe test. More to
933 come, foolios.
935 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
936 have-data::buffer, not have-data.
937 (gst_pad_add_event_probe): Likewise for have-data::event.
938 (gst_pad_add_data_probe): More docs. The part about 'resolving the
939 peer' isn't quite right yet though.
940 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
941 (gst_pad_remove_data_probe): Change to take the guint handler_id
942 as their arg, not the function+data, which is more glib-like.
944 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
945 the signal emission to indicate if the data is a buffer or an
946 event.
947 (gst_pad_get_type): Initialize buffer and event quarks.
948 (gst_pad_class_init): have-data is now a detailed signal, yes it
949 is.
951 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
953 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
954 * gst/gstutils.c: (gst_util_set_value_from_string),
955 (gst_util_set_object_arg):
956 Don't put functional code in g_return_if_fail() or
957 g_return_val_if_fail() statements, otherwise things will
958 break when G_DISABLE_CHECKS is defined during compilation.
960 2005-09-21 Stefan Kost <ensonic@users.sf.net>
962 * docs/gst/tmpl/.cvsignore:
963 * docs/gst/tmpl/gstvalue.sgml:
964 * gst/gstvalue.c:
965 * gst/gstvalue.h:
966 inlied another one and added some obvious docs
968 2005-09-21 Wim Taymans <wim@fluendo.com>
970 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
971 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
972 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
973 (gst_fdsrc_get_property), (gst_fdsrc_create):
974 * gst/elements/gstfdsrc.h:
975 Properly implement fdsrc. Removed signal and timeout,
976 better implemented somewhere else.
978 2005-09-21 Stefan Kost <ensonic@users.sf.net>
980 * docs/gst/tmpl/.cvsignore:
981 * docs/gst/tmpl/gstimplementsinterface.sgml:
982 * gst/gstinterface.c:
983 inlined more docs
985 2005-09-21 Stefan Kost <ensonic@users.sf.net>
987 * docs/gst/gstreamer-sections.txt:
988 * docs/gst/tmpl/.cvsignore:
989 * docs/gst/tmpl/gstenumtypes.sgml:
990 remove obsolete doc file
992 2005-09-21 David Schleef <ds@schleef.org>
994 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
995 little beer, fix a little leak.
997 2005-09-21 Stefan Kost <ensonic@users.sf.net>
999 * docs/gst/gstreamer-docs.sgml:
1000 * docs/gst/gstreamer-sections.txt:
1001 * docs/gst/tmpl/.cvsignore:
1002 * gst/Makefile.am:
1003 * gst/gst.h:
1004 * gst/gstbin.c:
1005 * gst/gstelement.h:
1006 * gst/gstindex.c: (gst_index_class_init):
1007 * gst/gstindex.h:
1008 * gst/gstindexfactory.c: (gst_index_factory_get_type),
1009 (gst_index_factory_class_init), (gst_index_factory_init),
1010 (gst_index_factory_finalize), (gst_index_factory_new),
1011 (gst_index_factory_destroy), (gst_index_factory_find),
1012 (gst_index_factory_create), (gst_index_factory_make):
1013 * gst/gstindexfactory.h:
1014 * gst/gstpluginfeature.c:
1015 * gst/gstpluginfeature.h:
1016 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1017 more docs inlined, splitted gstindex.{c,h}
1019 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1021 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1022 fix a leak
1024 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1026 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1027 Set sync to FALSE by default.
1029 2005-09-20 Wim Taymans <wim@fluendo.com>
1031 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1032 (gst_base_sink_init):
1033 Make sync property settable from subclass.
1035 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1036 (gst_fake_sink_change_state):
1037 Set sync to FALSE by default.
1039 2005-09-20 Wim Taymans <wim@fluendo.com>
1041 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1042 * tools/gst-launch.c: (main):
1043 The timeout handler should have lower priority than the source
1044 so we don't timeout before popping a message with 0 timeout.
1045 Dump error messages after failed state change.
1047 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1049 * tools/gst-inspect.c: (print_element_properties_info):
1050 Fix two typos.
1052 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1054 * check/gst/gstevent.c:
1055 * gst/elements/gstfakesink.c:
1056 * gst/elements/gstfakesink.h:
1057 remove the sync property from fakesink.
1058 has the side effect of setting sync TRUE
1059 for fakesink, which is a change. Anyone who knows how
1060 to fix this nicely in a GObject-y way, feel free.
1062 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1064 * docs/gst/gstreamer-docs.sgml:
1065 remove probe refsection
1067 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1069 * check/Makefile.am:
1070 disable valgrinding the controller test again
1071 * docs/gst/gstreamer-sections.txt:
1072 update for api-changes
1074 2005-09-20 Wim Taymans <wim@fluendo.com>
1076 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1077 (gst_base_sink_set_property), (gst_base_sink_get_property),
1078 (gst_base_sink_do_sync):
1079 * gst/base/gstbasesink.h:
1080 Added sync property to basesink to disable clock sync.
1082 2005-09-20 Andy Wingo <wingo@pobox.com>
1084 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1085 eating the caller's refcount.
1087 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
1088 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1089 refcount.
1091 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1092 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1093 of GLib 2.8 public, so we can know which refcount to check in
1094 tests.
1096 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1097 (gst_object_init): Only set the gst refcount if we're going ahead
1098 with the refcount hack.
1100 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1102 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1103 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1104 more leaks plumbed, added more debug-logging
1105 * gst/gstmacros.h:
1106 whitespace fix
1108 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1110 * gst/gstmessage.c:
1111 remove include of gstmemchunk.h
1113 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1115 * gst/gstclock.c: (_gst_clock_id_free):
1116 Commit from the Political Party For More Atomic CVS Commits,
1117 so that people don't waste too much of their day fishing
1118 out obvious leaks out of massive commits.
1119 Oh, and fix a pretty damn obvious leak in the memchunk
1120 removal code.
1122 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1124 * check/Makefile.am:
1125 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1126 plug mem-leak, re-add to valgrindable tests
1128 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1130 * gst/gstplugin.h:
1131 unbreak the build for those who have chronic arthritis
1132 and typing "make check" is just too taxing on the hands
1134 2005-09-20 Andy Wingo <wingo@pobox.com>
1136 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1137 really want it out, you should fix plugins at the same time.
1139 2005-09-19 Stefan Kost <ensonic@users.sf.net>
1141 * configure.ac:
1142 * docs/gst/gstreamer-sections.txt:
1143 * gst/gstobject.c:
1144 added missing symbols to api docs
1145 disable ref-count hack if we have glib >= 2.8
1147 2005-09-19 David Schleef <ds@schleef.org>
1149 * docs/gst/Makefile.am: Ignore a few more internal headers
1150 * docs/gst/gstreamer-docs.sgml: Remove old sections
1151 * docs/gst/gstreamer-sections.txt: Remove old sections
1152 * docs/gst/tmpl/gstobject.sgml: update
1153 * docs/gst/tmpl/gstplugin.sgml: update
1154 * docs/gst/tmpl/gstpluginfeature.sgml: update
1155 * docs/random/ds/0.9-suggested-changes: update.
1156 * gst/Makefile.am: remove memchunk and trashstack, since they're
1157 not used.
1158 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1159 * gst/gst.h: don't include some headers
1160 * gst/gstchildproxy.c: add gstmarshal.h
1161 * gst/gstclock.c: Don't use memchunks
1162 * gst/gstminiobject.c: Add some docs
1163 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1164 * gst/gstobject.h: same
1165 * gst/gstplugin.c: include gstmacros.h
1166 * gst/gstplugin.h: don't include gstmacros.h, since it's private
1167 * gst/gstquery.c: don't use memchunks
1168 * gst/gstregistry.c: rename gst_registry_deinit()
1169 * gst/gstregistry.h: same
1171 2005-09-19 David Schleef <ds@schleef.org>
1173 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1174 * docs/libs/gstreamer-libs-sections.txt:
1175 * docs/libs/tmpl/gstgetbits.sgml:
1176 * docs/libs/tmpl/gstputbits.sgml:
1178 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
1180 * win32/gstenumtypes.c:
1181 * win32/gstenumtypes.h:
1182 Update.
1184 2005-09-19 Wim Taymans <wim@fluendo.com>
1186 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1187 Automatically PAUSE and RESUME a pipeline when a flushing seek
1188 is performed.
1190 2005-09-19 Andy Wingo <wingo@pobox.com>
1192 * gst/gstregistry.h: Spacing fixen.
1194 2005-09-19 Wim Taymans <wim@fluendo.com>
1196 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1197 Handle state change failure more correctly.
1199 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1201 * check/Makefile.am:
1202 * check/pipelines/cleanup.c: (run_pipeline):
1203 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1204 (GST_START_TEST):
1205 enable cleanup again after fixing the leak
1206 * docs/README:
1207 some more info on docs
1209 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1211 * check/Makefile.am:
1212 re-enable tests now that leaks are plugged
1213 * check/gst/gst.c:
1214 * check/gst/gstbin.c:
1215 * check/gst/gstpipeline.c:
1216 add some more tests while fixing leaks
1217 * common/check.mak:
1218 make sure binaries are uptodate when valgrinding/gdbing
1219 * gst/gst.c:
1220 * gst/gstelementfactory.c:
1221 remove a ref too many, and add a FIXME for when we get
1222 round to disposing of classes
1223 * gst/gstplugin.c:
1224 fix the refcounting when loading a plugin from a file and
1225 the code pretends that the pointer is the same even though
1226 of course it can change
1227 * gst/gstpluginfeature.c:
1228 unref plugins marked cached (a bit confusing as a name)
1229 as the docs state should be done
1230 various doc additions to explain refcounting
1231 * gst/gstregistry.c:
1232 * gst/gstregistryxml.c:
1233 debugging
1235 2005-09-19 Wim Taymans <wim@fluendo.com>
1237 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1238 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1239 (send_messages), (GST_START_TEST), (gstbus_suite):
1240 * check/gst/gstpipeline.c: (GST_START_TEST):
1241 * check/pipelines/cleanup.c: (run_pipeline):
1242 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1243 (GST_START_TEST):
1244 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1245 (gst_bus_source_check), (gst_bus_source_dispatch),
1246 (gst_bus_create_watch), (gst_bus_add_watch_full),
1247 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1248 * gst/gstbus.h:
1249 * tools/gst-launch.c: (event_loop):
1250 * tools/gst-md5sum.c: (event_loop):
1251 GstBusHandler -> GstBusFunc, return value has the same meaning as
1252 any other GSource (FALSE == remove source).
1253 _add_watch() and _add_watch_full() now take a MessageType mask to
1254 only handle specific types of messages.
1255 _poll() returns the GstMessage instead of the message type to avoid
1256 race conditions.
1257 _have_pending() takes a MessageType mask now too.
1258 Added testsuite for multiple bus watches.
1259 Fix testsuites and applications for new bus API.
1261 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1263 * check/Makefile.am:
1264 mark a bunch of the tests as to fix until we fix them
1266 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1268 * common/check.mak:
1269 use GST_PLUGIN settings for valgrind tests as well, so we're
1270 valgrinding the correct thing
1271 * gst/gst.c: (init_post):
1272 plug another leak
1274 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1276 * gst/gst.c: (init_post), (gst_deinit):
1277 * gst/gstelementfactory.c: (gst_element_factory_class_init),
1278 (gst_element_factory_finalize), (gst_element_factory_cleanup):
1279 * gst/gstindex.c: (gst_index_factory_class_init),
1280 (gst_index_factory_finalize):
1281 * gst/gstobject.c: (gst_object_dispose):
1282 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1283 (gst_plugin_load_file), (gst_plugin_desc_free):
1284 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1285 (gst_plugin_feature_finalize):
1286 * gst/gstregistry.c: (gst_registry_class_init),
1287 (gst_registry_init), (gst_registry_finalize),
1288 (gst_registry_get_default), (gst_registry_deinit):
1289 * gst/gstregistry.h:
1290 * gst/gstregistryxml.c: (load_feature), (load_plugin):
1291 various cleanups and memleak plugging. make valgrind is happy now.
1293 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1295 * common/check.mak:
1296 add a check-valgrind target
1298 2005-09-18 David Schleef <ds@schleef.org>
1300 * tools/gst-inspect.c: Revert the GOption code.
1302 2005-09-17 David Schleef <ds@schleef.org>
1304 * check/Makefile.am: Fix environment variables.
1305 * check/gst/gstplugin.c: Fix for API changes.
1306 * tools/gst-inspect.c: Fix for API changes.
1307 * tools/gst-xmlinspect.c: Fix for API changes.
1308 * gst/gstelementfactory.c:
1309 * gst/gstplugin.c:
1310 * gst/gstplugin.h:
1311 * gst/gstpluginfeature.c:
1312 * gst/gstpluginfeature.h:
1313 * gst/gstregistry.c:
1314 * gst/gstregistry.h:
1315 * gst/gstregistryxml.c:
1316 * gst/gsttypefind.c:
1317 * gst/gsttypefindfactory.c:
1318 * gst/indexers/gstfileindex.c:
1319 * gst/indexers/gstmemindex.c:
1320 * gst/schedulers/Makefile.am:
1321 Change registry to keep track of both plugins and features,
1322 removing the feature tracking from plugins themselves.
1324 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1326 * check/Makefile.am:
1327 * tools/gst-register.1.in:
1328 remove gst-register
1330 2005-09-15 David Schleef <ds@schleef.org>
1332 * check/gst/gstplugin.c:
1333 * gst/gstelementfactory.c:
1334 * gst/gstplugin.c:
1335 * gst/gstpluginfeature.c:
1336 * gst/gstregistry.c:
1337 Getting tired of debugging. Disabled all the unreffing of
1338 plugins and features, which fixes the segfaults, but of
1339 course leaks like crazy. At least playbin works.
1341 2005-09-15 David Schleef <ds@schleef.org>
1343 * check/gst/gstplugin.c: (register_check_elements),
1344 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1345 More testing
1346 * gst/elements/gsttypefindelement.c: Fix refcounting.
1347 * gst/gsttypefind.c:
1348 * gst/gsttypefindfactory.c:
1349 * gst/gsttypefindfactory.h:
1351 2005-09-15 David Schleef <ds@schleef.org>
1353 * gst/gstindex.c: get refcounting correct.
1354 * gst/gstregistry.c: Handle the case where a feature/plugin is
1355 not found.
1357 2005-09-15 David Schleef <ds@schleef.org>
1359 * check/Makefile.am:
1360 * check/gst/gstplugin.c: Add test
1361 * gst/gstplugin.c: Fix problems noticed by testsuite
1362 * gst/gstplugin.h:
1363 * gst/gstregistry.c:
1364 * gst/gstregistry.h:
1366 2005-09-15 David Schleef <ds@schleef.org>
1368 * gst/gstplugin.c: Implement semi-decent recounting and locking
1369 in plugins and plugin features.
1370 * gst/gstplugin.h:
1371 * gst/gstpluginfeature.c:
1372 * gst/gstpluginfeature.h:
1373 * gst/gstregistry.c:
1375 2005-09-15 Michael Smith <msmith@fluendo.com>
1377 * gst/gstregistry.c: (gst_registry_get_feature_list):
1378 Implement this. Makes oggdemux work; decodebin still broken.
1380 2005-09-14 David Schleef <ds@schleef.org>
1382 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1383 #316076)
1384 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1385 * gst/check/Makefile.am:
1386 * libs/gst/controller/Makefile.am:
1387 * libs/gst/dataprotocol/Makefile.am:
1389 2005-09-14 David Schleef <ds@schleef.org>
1391 * configure.ac: Remove getbits library. Nothing uses it, and
1392 it should be in something like liboil if someone did want
1393 to use it.
1394 * libs/gst/Makefile.am:
1395 * libs/gst/getbits/Makefile.am:
1396 * libs/gst/getbits/gbtest.c:
1397 * libs/gst/getbits/getbits.c:
1398 * libs/gst/getbits/getbits.h:
1399 * libs/gst/getbits/gstgetbits_generic.c:
1400 * libs/gst/getbits/gstgetbits_i386.s:
1401 * libs/gst/getbits/gstgetbits_inl.h:
1403 2005-09-14 David Schleef <ds@schleef.org>
1405 * gst/Makefile.am: Dist glib-compat.h
1407 2005-09-14 David Schleef <ds@schleef.org>
1409 * configure.ac: Remove gst/registries, since it's no longer used.
1410 * gst/registries/Makefile.am:
1411 * gst/registries/gstlibxmlregistry.c:
1412 * gst/registries/gstlibxmlregistry.h:
1413 * gst/registries/gstxmlregistry.c:
1414 * gst/registries/gstxmlregistry.h:
1415 * gst/registries/registrytest.c:
1417 2005-09-14 David Schleef <ds@schleef.org>
1419 * gst/glib-compat.h:
1420 * gst/gstregistryxml.c:
1421 Convergence is near. Seriously.
1423 2005-09-14 David Schleef <ds@schleef.org>
1425 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1426 * gst/glib-compat.h:
1427 Attempt #4 to appease the buildbots.
1429 2005-09-14 David Schleef <ds@schleef.org>
1431 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1432 Attempt #3.
1434 2005-09-14 David Schleef <ds@schleef.org>
1436 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1437 Attempt #2.
1439 2005-09-14 David Schleef <ds@schleef.org>
1441 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1442 the new functions.
1444 2005-09-14 David Schleef <ds@schleef.org>
1446 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1447 * gst/glib-compat.h: Add some functions that are in newer versions
1448 of glib than we care to require.
1449 * gst/gstregistryxml.c: Use them.
1451 2005-09-14 David Schleef <ds@schleef.org>
1453 * po/POTFILES.in: remove gst-register.c
1455 2005-09-14 David Schleef <ds@schleef.org>
1457 * docs/gst/gstreamer-docs.sgml:
1458 * docs/gst/gstreamer-sections.txt:
1459 * docs/gst/gstreamer.types:
1460 * docs/gst/tmpl/gstelement.sgml:
1461 * docs/gst/tmpl/gstplugin.sgml:
1462 * docs/gst/tmpl/gstpluginfeature.sgml:
1463 Documentation updates for registry changes.
1465 2005-09-14 David Schleef <ds@schleef.org>
1467 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1468 because we don't require glib-2.8.
1470 2005-09-14 David Schleef <ds@schleef.org>
1472 * gst/gstregistryxml.c: Added. Essentially moved out of the
1473 registries directory.
1475 2005-09-14 David Schleef <ds@schleef.org>
1477 * check/Makefile.am:
1478 * check/generic/states.c:
1479 * gst/Makefile.am:
1480 * gst/gst.c:
1481 * gst/gst.h:
1482 * gst/gst_private.h:
1483 * gst/gstelementfactory.c:
1484 * gst/gstindex.c:
1485 * gst/gstinfo.c:
1486 * gst/gstplugin.c:
1487 * gst/gstplugin.h:
1488 * gst/gstpluginfeature.c:
1489 * gst/gstpluginfeature.h:
1490 * gst/gstregistry.c:
1491 * gst/gstregistry.h:
1492 * gst/gstregistrypool.c: remove
1493 * gst/gstregistrypool.h: remove
1494 * gst/gsttypefind.c:
1495 * gst/gsttypefindfactory.c:
1496 * gst/gsturi.c:
1497 * tools/Makefile.am:
1498 * tools/gst-compprep.c:
1499 * tools/gst-inspect.c:
1500 * tools/gst-register.c: remove
1501 * tools/gst-xmlinspect.c:
1502 Registry rewrite. Changes registry from being a file created
1503 by a tool into a simple cache file created automatically by
1504 libgstreamer. Removed gst-register (because it's no longer
1505 needed). Remove registry pools, because we only have one
1506 registry implementation (XML). Fix up other subsystems as
1507 necessary.
1509 2005-09-13 Michael Smith <msmith@fluendo.com>
1511 * gst/gstconfig.h.in:
1512 Don't Use windows linking attributes for MinGW. Fixes #316157
1514 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1516 * gst/gstutils.c: (set_state_async_thread_func),
1517 (gst_element_set_state_async):
1518 Apparently people think it's better if this function doesn't
1519 try to set the state to whatever state was asked for on the first
1520 call to this function for any object. Seriously.
1522 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1524 * check/gst/gstpipeline.c: (GST_START_TEST):
1525 * docs/gst/gstreamer-sections.txt:
1526 * gst/gstutils.c: (set_state_async_thread_func),
1527 (gst_element_set_state_async):
1528 * gst/gstutils.h:
1529 add a "gst_element_set_state_async" method that
1530 sets the state and starts a thread to make sure the state
1531 change completes as best as it can
1533 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1535 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1536 codify design+behaviour in testsuite after discussion
1538 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1540 * docs/gst/tmpl/gstelement.sgml:
1541 * docs/manual/appendix-quotes.xml:
1542 add a quote
1543 * gst/gstelement.c: (gst_element_set_state):
1544 add some debug
1546 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1548 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1549 (gst_base_transform_prepare_output_buf),
1550 (gst_base_transform_handle_buffer):
1551 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1552 (gst_capsfilter_prepare_buf):
1553 Remove the requirement for sub-classes to call the parent
1554 implementation of prepare_output_buffer with a wrapper function.
1556 * gst/gsttaglist.h:
1557 * gst/gsttagsetter.h:
1558 Fix #define wrapper
1560 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1562 * docs/gst/gstreamer-sections.txt:
1563 more doc cleanups
1565 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1567 * docs/gst/gstreamer-sections.txt:
1568 * docs/gst/tmpl/gstelement.sgml:
1569 * docs/gst/tmpl/gstplugin.sgml:
1570 * gst/gstminiobject.c:
1571 * gst/gstvalue.h:
1572 docs now stop throwing warnings
1574 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1576 * docs/gst/gstreamer-sections.txt:
1577 * docs/gst/gstreamer.types:
1578 * docs/gst/tmpl/gstpad.sgml:
1579 * docs/gst/tmpl/gsttypes.sgml:
1580 * gst/base/gstadapter.h:
1581 * gst/base/gstbasesink.h:
1582 * gst/base/gstbasesrc.h:
1583 * gst/gstbin.h:
1584 * gst/gstbuffer.h:
1585 * gst/gstbus.h:
1586 * gst/gstcaps.h:
1587 * gst/gstclock.h:
1588 * gst/gstelement.h:
1589 * gst/gstevent.h:
1590 * gst/gstmessage.h:
1591 * gst/gstpad.h:
1592 * gst/gststructure.c:
1593 * gst/registries/gstlibxmlregistry.h:
1594 various documentation fixes
1596 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1598 * docs/gst/gstreamer-sections.txt:
1599 * docs/gst/tmpl/gstvalue.sgml:
1600 rearrange gstvalue section
1601 * gst/gstutils.c: (gst_element_state_get_name):
1602 NONE -> VOID
1603 * gst/gstvalue.c: (_gst_value_initialize):
1604 * gst/gstvalue.h:
1605 doc updates
1607 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1609 * check/gst-libs/controller.c:
1610 Header include fix.
1611 * gst/base/gstbasetransform.c:
1612 (gst_base_transform_default_prepare_buf),
1613 (gst_base_transform_handle_buffer):
1614 * gst/base/gstbasetransform.h:
1615 Some more basetransform changes and fixes to enable sub-classes
1616 that modify buffer metadata only.
1617 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1618 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1619 (gst_capsfilter_prepare_buf):
1620 If the output pad has fixed allowed caps and input buffers
1621 don't have any, set the fixed caps on outgoing buffers.
1623 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1624 * check/elements/identity.c: (GST_START_TEST):
1625 Make the error a little clearer when the test fails because
1626 identity made a copy of the buffer.
1627 * docs/gst/gstreamer-sections.txt:
1628 New symbols in gstbasetransform.h
1629 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1630 (gst_base_transform_init), (gst_base_transform_transform_size),
1631 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1632 (gst_base_transform_default_prepare_buf),
1633 (gst_base_transform_get_unit_size),
1634 (gst_base_transform_buffer_alloc),
1635 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1636 (gst_base_transform_change_state),
1637 (gst_base_transform_set_passthrough),
1638 (gst_base_transform_set_in_place),
1639 (gst_base_transform_is_in_place):
1640 * gst/base/gstbasetransform.h:
1641 Change BaseTransform to separate in_place operate from same_caps
1642 output. in_place implies that the element can perform the transform
1643 on incoming buffers in-place, even if the caps on the output are
1644 different.
1645 Sub-class elements can now implement special buffer allocation
1646 methods for outgoing buffers if they wish to.
1647 Big documentation addition.
1648 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1649 * gst/elements/gstelements.c:
1650 Changes for basetransform modifications.
1651 * gst/elements/Makefile.am:
1652 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1653 Compile fix. Extra debug output.
1655 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1657 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1658 (gst_pad_suite):
1659 add tests for valid pad naming
1660 * gst/check/gstcheck.c: (gst_check_log_message_func),
1661 (gst_check_log_critical_func):
1662 add ASSERT_WARNING
1663 remove printing of code, it is fragile when the code contains
1664 % and the line number is enough info
1665 * gst/check/gstcheck.h:
1666 * gst/gstpad.c: (gst_pad_template_new):
1667 fix memleaks
1669 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1671 * configure.ac:
1672 say what CHECK flags we use
1673 * docs/libs/gstreamer-libs.types:
1674 * libs/gst/controller/Makefile.am:
1675 * libs/gst/controller/gst-controller.c:
1676 * libs/gst/controller/gst-controller.h:
1677 * libs/gst/controller/gst-helper.c:
1678 * libs/gst/controller/gst-interpolation.c:
1679 * libs/gst/controller/gstcontroller.c:
1680 * libs/gst/controller/gsthelper.c:
1681 * libs/gst/controller/gstinterpolation.c:
1682 * tools/gst-inspect.c: (print_plugin_info):
1683 we don't use dashes in header names
1685 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1687 * check/Makefile.am:
1688 * check/gst/.cvsignore:
1689 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1690 (gst_pipeline_suite), (main):
1691 adding a test for pipelines and state changes
1692 * gst/gstutils.c: (get_state_func):
1693 add some debugging
1694 * gstreamer.spec.in:
1695 fix up spec file
1697 2005-09-08 Michael Smith <msmith@fluendo.com>
1699 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1700 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1701 (gst_file_src_is_seekable), (gst_file_src_get_size),
1702 (gst_file_src_start):
1703 * gst/elements/gstfilesrc.h:
1704 Various fixes for unseekable, unmmapable, and non-normal files, so
1705 that fallback to read() rather than mmap() works.
1706 * gst/gstevent.c: (gst_event_new_newsegment):
1707 Allow newsegment events with segment_start == segment_end, as will
1708 correctly happen if you use filesrc on a zero-size file, for
1709 example.
1711 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1713 * gst/gstplugin.c: (gst_plugin_load_file):
1714 Call g_module_close when we don't load the module
1716 * gst/registries/gstlibxmlregistry.c:
1717 (gst_xml_registry_get_property):
1718 Port leak fix from 0.8
1720 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1722 * docs/gst/gstreamer-docs.sgml:
1723 * docs/gst/tmpl/.cvsignore:
1724 * docs/gst/tmpl/gsttrace.sgml:
1725 * docs/gst/tmpl/gsttrashstack.sgml:
1726 * gst/Makefile.am:
1727 * gst/gst.h:
1728 * gst/gstelement.h:
1729 * gst/gstevent.h:
1730 * gst/gstmessage.c:
1731 * gst/gstmessage.h:
1732 * gst/gsttag.c:
1733 * gst/gsttag.h:
1734 * gst/gsttaginterface.c:
1735 * gst/gsttaginterface.h:
1736 * gst/gsttaglist.c:
1737 * gst/gsttaglist.h:
1738 * gst/gsttagsetter.c:
1739 * gst/gsttagsetter.h:
1740 * gst/gsttrace.c:
1741 * gst/gsttrace.h:
1742 * gst/gsttrashstack.c:
1743 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1744 inlined docs for gsttrace, gsttrashstack
1746 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1748 * gst/Makefile.am:
1749 * gst/elements/gstbufferstore.h:
1750 * gst/elements/gsttypefindelement.c:
1751 * gst/elements/gsttypefindelement.h:
1752 * gst/gst.h:
1753 * gst/gsttypefind.c:
1754 * gst/gsttypefind.h:
1755 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1756 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1757 (gst_type_find_factory_dispose),
1758 (gst_type_find_factory_unload_thyself),
1759 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1760 (gst_type_find_factory_get_caps),
1761 (gst_type_find_factory_get_extensions),
1762 (gst_type_find_factory_call_function):
1763 * gst/gsttypefindfactory.h:
1764 * gst/registries/gstlibxmlregistry.c:
1765 * gst/registries/gstxmlregistry.c:
1766 splitted gsttypefind into gsttypefind, gsttypefindfactory
1768 2005-09-07 Andy Wingo <wingo@pobox.com>
1770 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1771 condition whereby the pad's task function is entered before the
1772 pad_mode variable was set.
1774 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1776 * gst/gstpad.c: (gst_pad_alloc_buffer):
1777 Catch misbehaving pad_alloc functions that don't
1778 set up caps and do it for them.
1780 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1782 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1783 test for pipe!=NULL
1784 * docs/gst/tmpl/.cvsignore:
1785 * docs/gst/tmpl/gstmemchunk.sgml:
1786 * docs/gst/tmpl/gstparse.sgml:
1787 * docs/gst/tmpl/gsttaglist.sgml:
1788 * docs/gst/tmpl/gsttagsetter.sgml:
1789 * docs/gst/tmpl/gsttypefind.sgml:
1790 * docs/gst/tmpl/gsttypefindfactory.sgml:
1791 * gst/gstmemchunk.c:
1792 * gst/gstparse.c:
1793 * gst/gsttag.c:
1794 * gst/gsttaginterface.c:
1795 * gst/gsttypefind.c:
1796 * gst/gsttypefind.h:
1797 inlined more docs
1799 === release 0.9.2 ===
1801 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1803 * NEWS:
1804 * RELEASE:
1805 * configure.ac:
1806 releasing 0.9.2, "South"
1808 2005-09-05 Andy Wingo <wingo@pobox.com>
1810 * gst/registries/gstxmlregistry.h:
1811 * gst/registries/gstxmlregistry.c: Um... resurrect...
1813 * gst/registries/gstxmlregistry.h:
1814 * gst/registries/gstxmlregistry.c: and update to newer API.
1815 Incidentally they should be a bit faster now that they don't have
1816 to parse the caps.
1818 2005-09-05 Andy Wingo <wingo@pobox.com>
1820 * gst/registries/gstxmlregistry.h:
1821 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1822 replaced by the libxml registry a while back
1824 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1826 * docs/gst/tmpl/gstplugin.sgml:
1827 * gst/elements/gstelements.c:
1828 * gst/gst.c:
1829 * gst/gstplugin.c: (gst_plugin_register_func),
1830 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1831 (gst_plugin_get_source):
1832 * gst/gstplugin.h:
1833 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1834 (gst_xml_registry_save_plugin):
1835 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1836 (gst_xml_registry_save_plugin):
1837 * tools/gst-inspect.c: (print_plugin_info):
1838 add a "source" plugin description field, to represent the source
1839 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1840 will set it to PACKAGE, which is automake's idea of the name of
1841 the source project.
1843 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1845 * Makefile.am:
1846 * autogen.sh:
1847 * configure.ac:
1848 * docs/Makefile.am:
1849 * docs/faq/Makefile.am:
1850 * docs/gst/tmpl/gstelement.sgml:
1851 * docs/gst/tmpl/gsttypes.sgml:
1852 * docs/htmlinstall.mak:
1853 * docs/manual/Makefile.am:
1854 * docs/pwg/Makefile.am:
1855 reorganize doc build a little
1856 split out docbook and gtk-doc stuff
1857 have two separate --enable's and enable them through autogen
1858 but disable by default in configure (to be similar to other
1859 projects)
1860 * gstreamer.spec.in:
1861 clean up docs install
1862 * po/af.po:
1863 * po/az.po:
1864 * po/ca.po:
1865 * po/cs.po:
1866 * po/de.po:
1867 * po/en_GB.po:
1868 * po/fr.po:
1869 * po/it.po:
1870 * po/nb.po:
1871 * po/nl.po:
1872 * po/ru.po:
1873 * po/sq.po:
1874 * po/sr.po:
1875 * po/sv.po:
1876 * po/tr.po:
1877 * po/uk.po:
1878 * po/vi.po:
1879 translation updates
1881 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
1883 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1884 Add comment.
1886 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1887 (gst_fake_sink_change_state):
1888 Make state change function thread-safe.
1890 * gst/gstpad.c: (gst_pad_alloc_buffer):
1891 Set offset on generic buffer allocated by fallback.
1893 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1895 * docs/gst/gstreamer-sections.txt:
1896 * docs/gst/tmpl/gstelement.sgml:
1897 * gst/gstpad.c:
1898 * libs/gst/controller/gst-controller.c:
1899 (gst_controlled_property_set_interpolation_mode),
1900 (gst_controlled_property_new),
1901 (gst_controller_find_controlled_property):
1902 run the wingo-magic script against the docs
1904 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1906 * docs/gst/gstreamer-docs.sgml:
1907 * docs/gst/gstreamer-sections.txt:
1908 * docs/gst/tmpl/.cvsignore:
1909 * docs/gst/tmpl/gstelementdetails.sgml:
1910 * docs/gst/tmpl/gstelementfactory.sgml:
1911 * gst/gst.c:
1912 * gst/gstbus.c:
1913 * gst/gstelementfactory.c:
1914 * gst/gstelementfactory.h:
1915 merged elementdetails docs into elementfactory docs
1916 inlined both
1918 2005-09-02 Andy Wingo <wingo@pobox.com>
1920 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1921 consider this enum an enum and not a flags.
1923 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1925 * docs/gst/gstreamer-docs.sgml:
1926 * docs/gst/tmpl/.cvsignore:
1927 * docs/gst/tmpl/gstghostpad.sgml:
1928 * docs/gst/tmpl/gstiterator.sgml:
1929 * docs/gst/tmpl/gstmacros.sgml:
1930 * docs/gst/tmpl/gstrealpad.sgml:
1931 * docs/gst/tmpl/gstregistry.sgml:
1932 * docs/gst/tmpl/gstregistrypool.sgml:
1933 * docs/gst/tmpl/gststructure.sgml:
1934 * docs/gst/tmpl/gstsystemclock.sgml:
1935 * docs/gst/tmpl/gsttrace.sgml:
1936 * gst/gstghostpad.c:
1937 * gst/gstmacros.h:
1938 * gst/gstmemchunk.c:
1939 * gst/gstmemchunk.h:
1940 * gst/gstqueue.c:
1941 * gst/gstregistry.c:
1942 * gst/gstregistrypool.c:
1943 * gst/gststructure.c:
1944 * gst/gstsystemclock.c:
1945 more docs inlined
1947 2005-09-02 Andy Wingo <wingo@pobox.com>
1949 * gst/gstelement.h (GstState): Renamed from GstElementState,
1950 changed to be a normal enum instead of flags.
1951 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1952 munged to be GST_STATE_CHANGE_*.
1953 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1954 work with the new state representation.
1955 (GstStateChange): New enumeration of possible state transitions.
1956 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1957 (GstElementClass::change_state): Pass the GstStateChange along as
1958 an argument. Helps language bindings, so they don't have to use
1959 tricky lock-needing macros like GST_STATE_CHANGE ().
1961 * scripts/update-states (file): New script. Run it on a file to
1962 update it for state naming and API changes. Updates files in
1963 place.
1965 * All files updated for the new API.
1967 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1969 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1970 * gst/gstutils.c: (gst_util_set_value_from_string),
1971 (gst_util_set_object_arg):
1972 fix a bunch of unchecked return values
1973 * tools/gst-complete.c: (main):
1974 * gstreamer.spec.in:
1975 clean up a little
1977 2005-09-01 Wim Taymans <wim@fluendo.com>
1979 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1980 (gst_base_sink_event), (gst_base_sink_do_sync),
1981 (gst_base_sink_handle_event):
1982 * gst/base/gstbasesink.h:
1983 Handle newsegments more correctly.
1985 * gst/gstbus.c:
1986 Fix docs.
1988 * gst/gstevent.c: (gst_event_new_newsegment):
1989 A newsegment cannot have a start_time of -1
1991 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
1993 * win32/gstenumtypes.c:
1994 * win32/gstenumtypes.h:
1995 Update
1997 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1999 * libs/gst/controller/gst-controller.c:
2000 (gst_controlled_property_set_interpolation_mode),
2001 (gst_controlled_property_new):
2002 fixed boolean again
2004 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
2006 * docs/faq/gst-uninstalled:
2007 add -good
2008 * gst/gstevent.c:
2009 * gst/gstevent.h:
2010 remove wrong docs
2011 * gst/gstutils.c: (gst_element_link_filtered):
2012 * gst/gstutils.h:
2013 add gst_element_link_filtered
2015 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2017 * docs/gst/gstreamer-docs.sgml:
2018 * docs/gst/gstreamer-sections.txt:
2019 * docs/gst/tmpl/.cvsignore:
2020 * docs/gst/tmpl/gsterror.sgml:
2021 * docs/gst/tmpl/gstfilter.sgml:
2022 * docs/gst/tmpl/gsturihandler.sgml:
2023 * docs/gst/tmpl/gsturitype.sgml:
2024 * docs/gst/tmpl/gstutils.sgml:
2025 * docs/gst/tmpl/gstxml.sgml:
2026 * gst/gsterror.c:
2027 * gst/gsterror.h:
2028 * gst/gstfilter.c:
2029 * gst/gsturi.c:
2030 * gst/gsturitype.c:
2031 * gst/gstutils.c:
2032 * gst/gstxml.c:
2033 inlined more docs, fixed double id-ref
2035 2005-08-31 Wim Taymans <wim@fluendo.com>
2037 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2038 (gst_base_transform_handle_buffer):
2039 Passthrough elements don't need the caps as they don't care.
2041 2005-08-31 Wim Taymans <wim@fluendo.com>
2043 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2044 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2045 Don't leak refcounts on buffers.
2047 2005-08-31 Wim Taymans <wim@fluendo.com>
2049 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2050 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2051 (gst_base_transform_chain), (gst_base_transform_change_state):
2052 * gst/base/gstbasetransform.h:
2053 Handle the case where we are not negotiated more gracefully.
2055 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
2057 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2058 (gst_file_src_map_region):
2059 Set READONLY flag on mmap'ed buffers, otherwise
2060 gst_buffer_make_writable() won't work properly (#314708).
2062 2005-08-31 Wim Taymans <wim@fluendo.com>
2064 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2065 passthrough elements can even do inplace on non writable
2066 buffers (as they don't touch them).
2068 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2070 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2071 (gst_test_mono_source_set_property),
2072 (gst_test_mono_source_class_init), (GST_START_TEST),
2073 (gst_controller_suite):
2074 more tests (hehe I have the most)
2075 * gst/gstbus.c:
2076 describe popping messages whenusing mulltiple sources
2077 * libs/gst/controller/gst-controller.c:
2078 (gst_controlled_property_set_interpolation_mode),
2079 (gst_controlled_property_new):
2080 * libs/gst/controller/gst-controller.h:
2081 * libs/gst/controller/gst-interpolation.c:
2082 implement boolean properties
2084 2005-08-31 Wim Taymans <wim@fluendo.com>
2086 * gst/gstminiobject.c: (gst_mini_object_ref):
2087 Cannot assert that the refcount has to be positive
2088 since a disposed object can be resurrected.
2090 2005-08-31 Wim Taymans <wim@fluendo.com>
2092 * gst/gstpad.c: (gst_pad_init):
2093 Revert change, need to first fix badly behaving
2094 apps.
2096 2005-08-30 Wim Taymans <wim@fluendo.com>
2098 * check/elements/fakesrc.c: (setup_fakesrc):
2099 * check/elements/identity.c: (setup_identity):
2100 Activate pads before using them.
2102 2005-08-30 Wim Taymans <wim@fluendo.com>
2104 * gst/base/gstadapter.c: (gst_adapter_flush):
2105 Flushing out 0 bytes is ok for this function.
2107 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2108 no newsegment gives a warning and sets the start/stop to
2109 invalid.
2111 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2112 (gst_base_transform_set_passthrough):
2113 Some debug info.
2115 * gst/gstminiobject.c: (gst_mini_object_ref):
2116 Check refcount here too.
2118 * gst/gstpad.c: (gst_pad_init):
2119 Pads are initially flushing and refusing data.
2121 * gst/gstutils.c: (gst_element_link_pads_filtered):
2122 When adding a capsfilter element make sure it has the
2123 same state as the parent bin.
2125 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2127 * docs/gst/tmpl/.cvsignore:
2128 * docs/gst/tmpl/gstformat.sgml:
2129 * docs/gst/tmpl/gstversion.sgml:
2130 * gst/gstbus.h:
2131 * gst/gstformat.c:
2132 * gst/gstformat.h:
2133 * gst/gstversion.h.in:
2134 more docs and two more inlined
2136 2005-08-30 Wim Taymans <wim@fluendo.com>
2138 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2139 Don't sync to clock.
2141 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2143 * docs/gst/gstreamer-sections.txt:
2144 ultral33t func10ns deserve to appear in the docs actually
2145 * docs/gst/tmpl/.cvsignore:
2146 * docs/gst/tmpl/gstcompat.sgml:
2147 * docs/gst/tmpl/gstconfig.sgml:
2148 * gst/check/gstcheck.c:
2149 * gst/gstcompat.h:
2150 * gst/gstconfig.h.in:
2151 inlined more docs
2153 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2155 * docs/gst/tmpl/.cvsignore:
2156 * docs/gst/tmpl/gstquery.sgml:
2157 * docs/gst/tmpl/gstutils.sgml:
2158 * gst/gstquery.c:
2159 * gst/gstquery.h:
2160 inlined and extended docs
2162 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2164 * check/gst-libs/controller.c: (GST_START_TEST),
2165 (gst_controller_suite):
2166 more tests
2167 * docs/gst/tmpl/gstutils.sgml:
2168 * docs/libs/gstreamer-libs-sections.txt:
2169 * docs/libs/tmpl/gstdataprotocol.sgml:
2170 include path fixes
2171 * examples/controller/audio-example.c: (main):
2172 controller example works now
2173 * gst/gstclock.h:
2174 doc fixes
2175 * tools/gst-inspect.c: (print_element_properties_info):
2176 show param spec flags
2178 2005-08-29 Andy Wingo <wingo@pobox.com>
2180 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2182 2005-08-28 Andy Wingo <wingo@pobox.com>
2184 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2185 as having two arguments instead of just one. Allows superclasses
2186 to access information on subclasses -- see the terrible for() loop
2187 in gtype.c:g_type_create_instance for the reason why. All callers
2188 changed.
2190 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2192 * docs/design/part-messages.txt:
2193 update info
2194 * docs/gst/tmpl/.cvsignore:
2195 * docs/gst/tmpl/gstcaps.sgml:
2196 * docs/gst/tmpl/gstclock.sgml:
2197 * gst/gstbus.c:
2198 * gst/gstcaps.c:
2199 * gst/gstcaps.h:
2200 * gst/gstclock.c:
2201 * gst/gstclock.h:
2202 * gst/gstmessage.c:
2203 added descriptions for bus and message
2204 inline caps and clock docs
2206 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2208 * gst/gstmessage.c:
2209 * gst/gstmessage.h:
2210 doc fixes
2212 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2214 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2215 fix div-by-zero
2217 2005-08-26 Andy Wingo <wingo@pobox.com>
2219 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2220 element_set_state's return val.
2221 (test_2_elements): Add test that's been disabled for months.
2223 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2224 can-activate-pull properties.
2226 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2227 can-activate-pull properties. Implement is_seekable so fakesrc can
2228 operate in pull mode.
2230 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2231 properties.
2232 (gst_base_sink_activate, gst_base_sink_activate_pull)
2233 (gst_base_sink_activate_push): Make activation mode choosing work.
2234 Cleanups.
2235 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2236 is right. Make pull mode work. Post an eos before pausing in pull
2237 mode.
2238 (gst_base_sink_change_state): Pay attention to the core's
2239 change_state() return val.
2241 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2242 has-getrange properties. Cleanups.
2244 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2245 has_getrange and replace with can_activate_pull and
2246 can_activate_push.
2248 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2249 locking comments. Remove has_loop, has_chain and replace with
2250 can_activate_pull and can_activate_push.
2252 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
2254 * configure.ac:
2255 * examples/Makefile.am:
2256 * examples/metadata/Makefile.am:
2257 * examples/metadata/read-metadata.c: (message_loop),
2258 (have_pad_handler), (make_pipeline), (print_tag), (main):
2259 Add metadata reading example that loops over a list of filenames,
2260 dumping any tags found.
2262 * gst/gstbus.c: (gst_bus_dispose):
2263 * gst/gstelement.c: (gst_element_dispose):
2264 Release a few potentially-held references in dispose.
2266 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2268 * docs/gst/tmpl/gstminiobject.sgml:
2269 do *not* add tmpl/*.sgml files to CVS!
2271 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2273 * libs/gst/bytestream/.cvsignore:
2274 * libs/gst/bytestream/Makefile.am:
2275 * libs/gst/bytestream/adapter.c:
2276 * libs/gst/bytestream/adapter.h:
2277 * libs/gst/bytestream/bytestream.c:
2278 * libs/gst/bytestream/bytestream.h:
2279 * libs/gst/bytestream/filepad.c:
2280 * libs/gst/bytestream/filepad.h:
2281 removing obsolete files
2283 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2285 * docs/gst/gstreamer-docs.sgml:
2286 * docs/libs/gstreamer-libs-docs.sgml:
2287 disabed additional index entries again, as this makes docs-gen just
2288 slow and they aren't useful yet
2289 * docs/libs/gstreamer-libs-sections.txt:
2290 little -section.txt cleanup for libs
2292 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
2294 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2295 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2296 fix up some debugging
2297 (gst_base_transform_get_unit_size),
2298 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2299 (gst_base_transform_handle_buffer):
2300 * gst/base/gstbasetransform.h:
2301 handle and store timed NEWSEGMENT events so that subclasses that
2302 calculate time by counting samples have a segment_start time they
2303 need to add to their timestamps - see audioresample
2305 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2307 * gst/gstbin.h:
2308 removed ';' from the end of macro defs
2309 * docs/gst/gstreamer-docs.sgml:
2310 * docs/gst/gstreamer-sections.txt:
2311 * docs/gst/tmpl/.cvsignore:
2312 * gst/gstbus.h:
2313 * gst/gstelement.c: (gst_element_class_init),
2314 (gst_element_set_state), (activate_pads),
2315 (gst_element_save_thyself):
2316 * gst/gstevent.c: (gst_event_new_newsegment):
2317 * gst/gstevent.h:
2318 * gst/gstiterator.c:
2319 * gst/gstiterator.h:
2320 * gst/gstpad.c:
2321 * gst/gstprobe.h:
2322 * gst/gstutils.c: (gst_pad_query_convert):
2323 * gst/gstutils.h:
2324 fixed parameter name mismatches between source, header and docs
2325 added some more docs, resolved the last batch of unused elements in
2326 docs (now someone needs to doc them)
2328 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2330 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2331 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2332 don't walk through the plugins backwards. Where is all this
2333 reversed logic coming from ?
2335 2005-08-25 Wim Taymans <wim@fluendo.com>
2337 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2338 (gst_base_transform_transform_size),
2339 (gst_base_transform_configure_caps),
2340 (gst_base_transform_get_unit_size),
2341 (gst_base_transform_buffer_alloc),
2342 (gst_base_transform_change_state):
2343 * gst/base/gstbasetransform.h:
2344 Cache caps unit_size.
2345 Make sure we cannot negotiate up and downstream at the
2346 same time.
2348 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2350 * gst/gst.c: (init_pre), (init_post):
2351 register the installed plugin path after the env var
2352 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2353 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2354 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2355 directories, so the tests can prefer uninstalled over installed
2357 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2359 * gst/base/gstbasetransform.h:
2360 comment
2361 * gst/gstpad.c:
2362 add to docs
2364 2005-08-25 Wim Taymans <wim@fluendo.com>
2366 * gst/gstbin.c: (bin_bus_handler):
2367 Be a bit more conservative about the posted message.
2369 * gst/gstbus.c: (gst_bus_post):
2370 Some cleanups, warn wrong return values.
2372 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
2374 * check/gst/gstbin.c: (GST_START_TEST):
2375 * gst/gstbin.c: (bin_bus_handler):
2376 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2377 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2378 (gst_message_new_warning), (gst_message_new_tag),
2379 (gst_message_new_state_changed), (gst_message_new_segment_start),
2380 (gst_message_new_segment_done), (gst_message_new_custom):
2381 * gst/gstmessage.h:
2382 * tools/gst-launch.c: (event_loop):
2383 * tools/gst-md5sum.c: (event_loop):
2384 Revert unpopular change for GST_MESSAGE_SRC to GObject.
2386 2005-08-25 Wim Taymans <wim@fluendo.com>
2388 * check/generic/states.c: (GST_START_TEST):
2389 Cleanup can be done at the end.
2391 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2392 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2393 (gst_task_get_state), (gst_task_start), (gst_task_pause):
2394 Oh boy.. Thanks for finding this, Thomas.
2396 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2398 * docs/gst/gstreamer.types:
2399 added missing types
2401 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2403 * docs/gst/gstreamer-docs.sgml:
2404 * docs/gst/gstreamer-sections.txt:
2405 * docs/gst/tmpl/.cvsignore:
2406 * gst/gstbin.c:
2407 * gst/gstiterator.c:
2408 * gst/gstutils.c:
2409 * gst/registries/gstxmlregistry.h:
2410 added missing classes and symbols (123 more to go)
2411 removed removed symbols from section file
2412 fixed many doc-comments
2414 2005-08-24 Wim Taymans <wim@fluendo.com>
2416 * check/generic/states.c: (GST_START_TEST):
2417 Make sure all tasks are stopped.
2419 * check/gst/gstbin.c: (GST_START_TEST):
2420 Unref after usage for proper valgrinding.
2422 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2423 Really wait for the task to stop before destroying the
2424 mutex.
2426 * gst/gstqueue.c: (gst_queue_sink_activate_push),
2427 (gst_queue_src_activate_push):
2428 Small cleanups. Don't stop the task when we did not start
2429 it.
2431 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2432 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2433 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2434 (gst_task_join):
2435 * gst/gsttask.h:
2436 Protect the stream lock with the object lock.
2437 Disallow setting the stream lock when running.
2438 Add cleanup_all to wait for the threadpool to finish.
2439 Remove code to autoallocate a mutex if none was provided.
2440 Add _join() to wait for a task to stop.
2441 Protect the thread pool with a global lock.
2443 2005-08-24 Wim Taymans <wim@fluendo.com>
2445 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2446 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2447 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2448 * gst/base/gstbasesink.h:
2449 Handle newsegment events correctly.
2450 Drop buffers out of the segment range.
2452 2005-08-22 Andy Wingo <wingo@pobox.com>
2454 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2455 macro, implements an interface and gstimplementsinterface for a
2456 new type.
2458 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2460 * check/Makefile.am:
2461 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2462 add a test that does a bunch of state changes on elements
2463 needs some fixing for valgrind
2464 * check/states/sinks.c: (gst_object_suite):
2465 whitespace
2466 * gst/gstcaps.h:
2467 add prototype for gst_caps_is_equal_fixed
2468 * gst/gstplugin.c:
2469 * gst/gstregistrypool.c:
2470 doc fixes
2472 2005-08-24 Andy Wingo <wingo@pobox.com>
2474 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2475 convert a negative value. Doesn't make much sense. Mostly this is
2476 here to force callers to ensure -1 maps to -1.
2478 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2480 * docs/pwg/advanced-types.xml:
2481 Well done to Michael for catching my deliberate introduction
2482 of this spelling mistake.
2483 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2484 * gst/gstelement.h:
2485 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2486 unlink pads before removing the element from the bin.
2488 2005-08-24 Andy Wingo <wingo@pobox.com>
2490 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2491 the same thing as GST_DEBUG=*:4.
2492 (parse_debug_level, parse_debug_category): New helper parsers.
2494 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2496 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2497 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2498 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2499 (gst_base_transform_buffer_alloc),
2500 (gst_base_transform_handle_buffer):
2501 use gboolean return values and pointers to size so we can use the
2502 full GST_BUFFER_SIZE range (guint) for buffer sizes
2503 use GstPadDirection for transform_caps
2504 * gst/base/gstbasetransform.h:
2505 rename get_size to get_unit_size since that's what it is
2506 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2507 use GstPadDirection for transform_caps
2508 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2509 * gst/gstutils.h:
2510 cleanup and debugging
2512 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2514 * gst/gstelement.c: (gst_element_class_init),
2515 (gst_element_set_state), (activate_pads),
2516 (gst_element_save_thyself):
2517 * tools/gst-compprep.c: (main):
2518 * tools/gst-inspect.c: (print_element_properties_info):
2519 * tools/gst-xmlinspect.c: (print_element_properties):
2520 Fixed long standing mem-leak
2522 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2524 * check/gst/gstbin.c: (GST_START_TEST):
2525 * gst/gstbin.c: (bin_bus_handler):
2526 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2527 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2528 (gst_message_new_warning), (gst_message_new_tag),
2529 (gst_message_new_state_changed), (gst_message_new_segment_start),
2530 (gst_message_new_segment_done), (gst_message_new_custom):
2531 * gst/gstmessage.h:
2532 * tools/gst-launch.c: (event_loop):
2533 * tools/gst-md5sum.c: (event_loop):
2534 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2535 that applications can sensibly post custom messages with references
2536 to their own objects.
2538 2005-08-24 Andy Wingo <wingo@pobox.com>
2540 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2541 already.
2543 2005-08-24 Wim Taymans <wim@fluendo.com>
2545 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2546 (gst_base_transform_transform_caps),
2547 (gst_base_transform_transform_size),
2548 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2549 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2550 (gst_base_transform_handle_buffer):
2551 * gst/base/gstbasetransform.h:
2552 Many fixes and new features added by Thomas. Can now also do
2553 transforms with variable sizes and a custom fixate_caps function.
2555 2005-08-24 Wim Taymans <wim@fluendo.com>
2557 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2558 Some debugging.
2560 * gst/gstclock.h:
2561 Cast to ClockTime before formatting to time.
2563 * gst/gstutils.h:
2564 Cleanups.
2566 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2568 * check/gst-libs/controller.c: (GST_START_TEST),
2569 (gst_controller_suite):
2570 * docs/gst/tmpl/gstcaps.sgml:
2571 * docs/gst/tmpl/gstghostpad.sgml:
2572 * docs/gst/tmpl/gstquery.sgml:
2573 * docs/gst/tmpl/gstutils.sgml:
2574 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2575 (gst_object_sink_values), (gst_object_get_value_arrays),
2576 (gst_object_get_value_array):
2577 gracefully handle helper method calls to objects that are not beeing
2578 controlled, added test case for that
2580 2005-08-23 Wim Taymans <wim@fluendo.com>
2582 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2583 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2584 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2585 (gst_event_parse_qos), (gst_event_new_seek),
2586 (gst_event_parse_seek):
2587 * gst/gstevent.h:
2588 Some more debugging output and doc cleanups.
2590 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2591 Fix possible deadlock.
2593 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2595 * docs/gst/gstreamer-docs.sgml:
2596 * docs/gst/gstreamer-sections.txt:
2597 * docs/gst/gstreamer.types:
2598 * docs/gst/tmpl/.cvsignore:
2599 * gst/gstbin.h:
2600 * gst/gstbus.c:
2601 * gst/gstelement.c:
2602 * gst/gstevent.h:
2603 added 100 symbols from gstreamer-unused.txt to the right sections
2604 fixed more broken comments
2605 added GstBus to docs
2607 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2609 * docs/gst/gstreamer-sections.txt:
2610 * docs/gst/tmpl/.cvsignore:
2611 * docs/gst/tmpl/gstbin.sgml:
2612 * docs/gst/tmpl/gstbuffer.sgml:
2613 * gst/base/gstbasesrc.c:
2614 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2615 * gst/gstbuffer.c:
2616 * gst/gstbuffer.h:
2617 * tools/gst-launch.1.in:
2618 inlined more doc comments, added missing comments and fixed comments
2619 fixed typos
2621 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2623 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2624 some debugging
2625 * gst/gstcaps.h:
2626 whitespace fixes
2627 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2628 more debugging
2629 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2630 * gst/gststructure.h:
2631 add a fixate function for booleans; add a FIXME that these func
2632 names should probably be gst_structure_fixate_*
2634 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2636 * docs/gst/gstreamer-docs.sgml:
2637 * docs/gst/gstreamer-sections.txt:
2638 * gst/Makefile.am:
2639 * gst/gstbin.c: (gst_bin_get_type),
2640 (gst_bin_child_proxy_get_child_by_index),
2641 (gst_bin_child_proxy_get_children_count),
2642 (gst_bin_child_proxy_init):
2643 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2644 (gst_child_proxy_get_child_by_index),
2645 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2646 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2647 (gst_child_proxy_get), (gst_child_proxy_set_property),
2648 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2649 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2650 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2651 * gst/gstchildproxy.h:
2652 * gst/parse/grammar.y:
2653 * tools/gst-inspect.c: (print_interfaces),
2654 (print_element_properties_info), (print_element_info):
2655 ported gstchildproxy over from 0.8
2656 ported gst-inspect fixes and enhancements over from 0.8
2658 2005-08-22 Wim Taymans <wim@fluendo.com>
2660 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2661 (gst_base_transform_handle_buffer):
2662 Also call the transform function if we have ANY caps.
2664 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2665 Fix debug info.
2667 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2669 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2670 Don't pretend to handle seek events if the source is not seekable
2672 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2674 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2675 Remove extra parameter to debug output
2677 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2678 (gst_base_src_do_seek), (gst_base_src_activate_push):
2679 Fix seek event handling.
2681 * gst/gstpipeline.c: (gst_pipeline_change_state):
2682 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2683 (gst_queue_src_activate_push):
2684 Don't start the src pad task on FLUSH_STOP if the pad
2685 isn't linked.
2686 Debug changes.
2688 2005-08-22 Wim Taymans <wim@fluendo.com>
2690 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2691 Added check for gst_static_caps_get() refcounting.
2693 2005-08-22 Wim Taymans <wim@fluendo.com>
2695 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2696 Make _static_caps_get() refcounting sane.
2698 * gst/gstelement.c: (gst_element_set_state):
2699 Add g_return_val_if_fail() to protect against segfaults.
2701 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2703 * docs/gst/tmpl/gstevent.sgml:
2704 * gst/gstevent.c:
2705 * gst/gstevent.h:
2706 inlined remaining docs, added missing doc comments
2708 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2710 * check/gst/gstbin.c: (GST_START_TEST):
2711 since we don't know when preroll is done, use refcount range
2712 check for the sink
2713 * gst/check/gstcheck.h:
2714 add macro for checking refcount range
2716 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2718 * check/Makefile.am:
2719 clean up environment for when registry gets built versus
2720 when actual tests are run; valgrind seems to not report
2721 leaks if GST_PLUGIN_PATH is set to some specific values
2722 * check/gst/gstbin.c: (GST_START_TEST):
2723 add more refcounting checks; maybe this exposes a
2724 preroll lock bug ?
2725 * common/check.mak:
2726 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2727 * gst/check/gstcheck.h:
2728 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2729 (gst_bin_change_state):
2730 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2731 add/fix debugging/whitespace
2733 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2735 * check/gst/gstevent.c: (event_probe), (test_event),
2736 (GST_START_TEST):
2737 Er, don't call gst_bin_watch_for_state_change you idiot.
2739 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2741 * check/Makefile.am:
2742 Use CHECK_CFLAGS and CHECK_LIBS
2743 * check/gst/gstevent.c: (event_probe), (test_event),
2744 (GST_START_TEST):
2745 Don't leak events.
2746 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2747 (gst_base_src_start), (gst_base_src_stop),
2748 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2749 (gst_base_src_change_state):
2750 Sprinkle gst_base_src_stop liberally around error paths to fix
2751 problems reusing a source after failed state changes.
2752 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2753 (helper_find_suggest), (gst_type_find_helper):
2754 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2755 * gst/gstevent.h:
2756 * docs/gst/tmpl/gstevent.sgml:
2757 Migrate part of the docs from the SGML file. Wait for ensonic to
2758 tell me how I did it wrong ;)
2759 * tools/gst-typefind.c: (main):
2760 Extra robustness to state changes between files.
2762 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2764 * check/Makefile.am:
2765 don't valgrind the controller test - it's leaking - Stefan, HELP
2766 * gst/check/gstcheck.c: (gst_check_message_error),
2767 (gst_check_chain_func), (gst_check_setup_element),
2768 (gst_check_teardown_element), (gst_check_setup_src_pad),
2769 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2770 (gst_check_teardown_sink_pad):
2771 * gst/check/gstcheck.h:
2772 add a bunch of methods to set up elements, and src and sink pads
2773 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2774 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2775 (GST_START_TEST):
2776 use them
2777 * gst/gstmessage.c:
2778 * gst/gsttag.h:
2779 whitespace/doc fixes
2781 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2783 * gst/gstelement.h:
2784 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2785 be handled by the application and not always printed as well
2787 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2789 * check/Makefile.am:
2790 set GST_TOOLS_DIR
2791 * gst/check/gstcheck.c: (gst_check_message_error):
2792 * gst/check/gstcheck.h:
2793 add a fail_unless_equals_int
2794 add fail_unless for error messages
2796 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2798 * check/Makefile.am:
2799 * check/gst.supp:
2800 * common/Makefile.am:
2801 * common/check.mak:
2802 * common/gst.supp:
2803 factor out some of the common stuff so we can use it
2805 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2807 * check/Makefile.am:
2808 * check/gst/gstiterator.c: (GST_START_TEST):
2809 * check/gst/gstsystemclock.c: (GST_START_TEST),
2810 (gst_systemclock_suite):
2811 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2812 * gst/gstclock.c:
2813 valgrind more tests
2815 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2817 * check/elements/.cvsignore:
2818 * check/elements/gstfakesrc.c:
2819 rename to name of element
2820 * check/elements/identity.c: (chain_func), (event_func),
2821 (setup_identity), (cleanup_identity), (GST_START_TEST),
2822 (identity_suite), (main):
2823 add a test for identity
2824 * check/Makefile.am:
2825 * pkgconfig/Makefile.am:
2826 * pkgconfig/gstreamer-check.pc.in:
2827 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2828 * gst/check:
2829 * gst/Makefile.am:
2830 * configure.ac:
2831 move the check stuff to a library that gets installed
2832 * check/gst-libs/controller.c: (GST_START_TEST):
2833 * check/gst-libs/gdp.c:
2834 * check/gst/gst.c: (GST_START_TEST):
2835 * check/gst/gstbin.c:
2836 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2837 * check/gst/gstbus.c:
2838 * check/gst/gstcaps.c: (GST_START_TEST):
2839 * check/gst/gstelement.c:
2840 * check/gst/gstghostpad.c:
2841 * check/gst/gstiterator.c:
2842 * check/gst/gstmessage.c:
2843 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2844 * check/gst/gstobject.c:
2845 * check/gst/gstpad.c: (GST_START_TEST):
2846 * check/gst/gststructure.c: (GST_START_TEST):
2847 * check/gst/gstsystemclock.c: (GST_START_TEST),
2848 (gst_systemclock_suite):
2849 * check/gst/gsttag.c: (gst_tag_suite):
2850 * check/gst/gstvalue.c:
2851 * check/pipelines/cleanup.c:
2852 * check/pipelines/simple_launch_lines.c:
2853 * check/states/sinks.c:
2854 change include statement
2856 * docs/gst/gstreamer-sections.txt:
2857 * docs/gst/tmpl/gstpad.sgml:
2858 document more pad stuff
2859 * gst/gstminiobject.c: (gst_mini_object_ref),
2860 (gst_mini_object_unref):
2861 debug refcounting
2863 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2865 * docs/gst/tmpl/gst.sgml:
2866 * gst/gst.c:
2867 eliminate another tmpl file, fix spelling in the long-description
2869 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2871 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2872 (test_event), (timediff), (gstevents_suite):
2873 Should fix build on 64-bit arch's
2875 2005-08-18 Andy Wingo <wingo@pobox.com>
2877 Make sure that when a pipeline goes to PLAYING, that data has
2878 actually hit the sink.
2880 * check/states/sinks.c (test_sink): A sink that doesn't get any
2881 data shouldn't return SUCCESS for going to either PLAYING or
2882 PAUSED. Test also the return values on the way back down.
2884 * gst/gstelement.c (gst_element_set_state): When changing the
2885 state of an element currently changing state asynchronously, go to
2886 lost-state after commiting the pending state. Makes future calls
2887 to get_state continue to return ASYNC.
2889 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2890 ASYNC when going to PLAYING if we still don't have preroll, as can
2891 happen with live sources.
2893 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2895 * docs/pwg/advanced-types.xml:
2896 Hack long paragraph into 2 chunks as a workaround for buggy
2897 jadetex version in sid and breezy that loops infinitely and
2898 eats all RAM.
2900 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2902 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2903 (test_event), (timediff), (gstevents_suite):
2904 Provide more error margin in clock measurements to allow for
2905 g_get_current_time inaccuracies.
2907 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2909 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2910 (test_event), (timediff), (gstevents_suite):
2911 Fix error message output so I might be able to tell why the
2912 test works here but fails on the build farm.
2914 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2916 * check/Makefile.am:
2917 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2918 (test_event), (timediff), (gstevents_suite), (main):
2919 I wrote a test!
2921 * docs/design/part-seeking.txt:
2922 Spelling correction
2924 * docs/gst/tmpl/gstevent.sgml:
2925 * docs/gst/tmpl/gstfakesrc.sgml:
2926 Docs updates.
2928 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2929 Treat a buffer-without-newsegment the same as a receiving
2930 a newsegment not in time format, and disable syncing to the clock
2931 with a warning.
2933 * gst/gstbus.c: (gst_bus_set_sync_handler):
2934 Assert if anyone tries to replace the existing sync_handler for bus,
2935 as only the owner should be setting it.
2937 * gst/gstevent.h:
2938 Have a fixed set of custom event enums with events identified by
2939 their structure name (as in 0.8), rather than a free-for-all
2940 allowing collisions between enum values from different plugins.
2942 * gst/gstpad.c: (gst_pad_class_init):
2943 Docs change.
2945 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2946 Handle out-of-band downstream events from the sending thread.
2948 2005-08-17 Andy Wingo <wingo@pobox.com>
2950 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2951 play-timeout==0 to mean no timeout at all. In that case, don't
2952 bother with a get_state or a warning, just return directly, even
2953 if it's ASYNC.
2955 * gst/base/gstbasetransform.c: Debug changes.
2957 * gst/gstutils.h:
2958 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2959 ensure bins post state change messages. A bit of a hack but I can't
2960 think of a way to avoid it.
2962 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2964 2005-08-16 Andy Wingo <wingo@pobox.com>
2966 * gst/base/gstadapter.h:
2967 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2968 peek() but you own the data. Not terribly efficient atm.
2970 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2972 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2973 (gst_element_found_tags):
2974 * gst/gstutils.h:
2975 Add two utility functions for tag handling.
2977 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2979 * docs/manual/advanced-dataaccess.xml:
2980 * docs/manual/basics-helloworld.xml:
2981 Fix docs to use _bin_add() before _link(), which fixes the examples
2982 with recent core versions (reported by Madhan Raj M
2983 <raj_madan@rediffmail.com>, #313199).
2985 2005-08-16 Wim Taymans <wim@fluendo.com>
2987 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2988 Added subtract checks.
2990 * docs/design/part-events.txt:
2991 Some more docs about newsegment
2993 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2994 Fix FIXME
2996 * gst/gstcaps.c: (gst_caps_to_string):
2997 Add comments, cleanups.
2999 * gst/gstelement.c: (gst_element_save_thyself):
3000 cleanups
3002 * gst/gstvalue.c: (gst_value_collect_int_range),
3003 (gst_string_unwrap), (gst_value_union_int_int_range),
3004 (gst_value_union_int_range_int_range),
3005 (gst_value_intersect_int_int_range),
3006 (gst_value_intersect_int_range_int_range),
3007 (gst_value_intersect_double_double_range),
3008 (gst_value_intersect_double_range_double_range),
3009 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3010 (gst_value_subtract_int_range_int),
3011 (gst_value_subtract_double_range_double),
3012 (gst_value_subtract_double_range_double_range),
3013 (gst_value_subtract_from_list), (gst_value_subtract_list),
3014 (gst_value_can_compare), (gst_value_compare_fraction):
3015 Cleanups, add comments, remove unneeded asserts.
3017 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3019 * tools/gst-launch.c: (event_loop):
3020 don't convert NULL structures to strings
3022 2005-08-15 Stefan Kost <ensonic@users.sf.net>
3024 * docs/gst/gstreamer-sections.txt:
3025 made some defines private
3026 * docs/gst/tmpl/gstconfig.sgml:
3027 * docs/gst/tmpl/gstqueue.sgml:
3028 * docs/gst/tmpl/gsttaglist.sgml:
3029 * docs/gst/tmpl/gsttypes.sgml:
3030 * docs/gst/tmpl/gstutils.sgml:
3031 * docs/pwg/appendix-porting.xml:
3032 * gst/base/gstbasesink.h:
3033 * gst/base/gstbasesrc.c:
3034 * gst/base/gstbasesrc.h:
3035 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3036 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3037 * gst/gstelement.c: (gst_element_class_init):
3038 * gst/gstpad.c: (gst_pad_class_init):
3039 * gst/gstqueue.c: (gst_queue_class_init):
3040 * gst/gstxml.c: (gst_xml_class_init):
3041 documented all undocumented signal inline
3042 * libs/gst/controller/gst-controller.h:
3043 added padding
3045 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3047 * docs/pwg/appendix-porting.xml:
3048 Document _set_link_function -> _set_setcaps_function.
3050 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3052 * check/Makefile.am:
3053 add a .check target for running the check
3054 * check/gst-libs/controller.c: (GST_START_TEST):
3055 cosmetic fixups
3056 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3057 complete checks for gstbuffer; would be nice if I could get the
3058 gcov stuff to work so I can see if I actually completed gstbuffer.c
3059 * check/gstcheck.h:
3060 add ASSERT_BUFFER_REFCOUNT
3062 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
3064 * docs/gst/gstreamer-sections.txt:
3065 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3066 * gst/gsttag.h:
3067 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3068 spew out a warning if a tag that is already registered
3069 is re-registered, unless it is re-registered with a
3070 different type (#308438).
3072 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
3074 * docs/pwg/appendix-porting.xml:
3075 * docs/pwg/building-state.xml:
3076 Add some paragraphs about state changes in 0.9 to the PWG
3077 and the porting guide, in particular about the new meaning
3078 of GST_STATE_PAUSED and how to write state change functions
3079 with concurrent access by multiple threads in mind.
3081 2005-08-11 Stefan Kost <ensonic@users.sf.net>
3083 * docs/gst/gstreamer-docs.sgml:
3084 * docs/libs/gstreamer-libs-docs.sgml:
3085 added deprecation and since indexes
3086 * libs/gst/controller/gst-controller.c:
3087 * libs/gst/controller/gst-helper.c:
3088 added since tags
3091 2005-08-11 Wim Taymans <wim@fluendo.com>
3093 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3094 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3095 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3096 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3097 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3098 (gst_ghost_pad_set_target):
3099 Actually implement (re)setting the target on a ghostpad
3100 as described in the docs.
3102 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3104 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3105 Check whether GST_DEBUG_NO_COLOR environment variable is
3106 set and disable coloured debug output if that is the case.
3108 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3110 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3111 (gst_type_find_helper):
3112 The memory returned by gst_type_find_peek() needs to
3113 stay valid until the end of a typefind function, and
3114 typefind functions may keep results from different
3115 offsets around, so we can't just unref the buffer from
3116 the previous _peek(), but have to save all buffers
3117 returned by _peek() until typefinding is done and only
3118 free them then.
3120 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
3122 * docs/gst/gstreamer-sections.txt:
3123 * gst/gstutils.h:
3124 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3126 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3128 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3129 Fix a pretty good memleak.
3131 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3133 * gst/gstiterator.h:
3134 Fix wrong include and 'make distcheck'.
3136 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3138 * gst/gstbin.c: (bin_bus_handler):
3139 Use gst_element_post_message() instead.
3141 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3143 * gst/base/gstadapter.h:
3144 * gst/base/gstbasesink.h:
3145 * gst/base/gstbasesrc.h:
3146 * gst/base/gstbasetransform.h:
3147 * gst/base/gstcollectpads.h:
3148 * gst/base/gstpushsrc.h:
3149 * gst/gstiterator.h:
3150 Add padding to our base elements' class and instance structs and
3151 to GstIterator (you will need to rebuild all plugins and apps!)
3153 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3155 * gst/gstbin.c: (bin_bus_handler):
3156 Make default message forwarding from child->bus to bin->bus
3157 threadsafe and make it not emit warnings if the parent has no bus.
3159 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3161 * gst/gstelement.c: (activate_pads):
3162 On paused->ready, set pad->caps to NULL, as is the documented
3163 behaviour in this state change. Fixes playback of series of
3164 media files when visualization is enabled in Totem.
3166 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3168 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3169 Allow NULL as filter-caps (which means "any").
3171 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3173 * docs/libs/gstreamer-libs-sections.txt:
3174 * libs/gst/controller/gst-controller.c:
3175 * libs/gst/controller/gst-controller.h:
3176 * libs/gst/controller/gst-helper.c:
3177 adding more entries to the docs and fix small doc-bugs
3179 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3181 * docs/gst/gstreamer-docs.sgml:
3182 * docs/gst/gstreamer-sections.txt:
3183 * docs/gst/gstreamer.types:
3184 * docs/gst/tmpl/gstbasesink.sgml:
3185 * docs/gst/tmpl/gstbasesrc.sgml:
3186 * docs/gst/tmpl/gstbasetransform.sgml:
3187 * docs/gst/tmpl/gstfakesrc.sgml:
3188 * gst/base/gstcollectpads.c:
3189 * gst/base/gstcollectpads.h:
3190 * libs/gst/controller/gst-controller.c:
3191 * libs/gst/controller/gst-controller.h:
3192 * libs/gst/controller/gst-helper.c:
3193 * libs/gst/controller/gst-interpolation.c:
3194 * libs/gst/controller/lib.c:
3195 added long/short desc for controller docs
3196 added collectpads base class docs
3197 added correct includes to base-class docs
3199 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3201 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3202 (gst_test_mono_source_set_property),
3203 (gst_test_mono_source_class_init), (GST_START_TEST),
3204 (gst_controller_suite):
3205 * docs/gst/gstreamer-docs.sgml:
3206 * docs/gst/gstreamer-sections.txt:
3207 * docs/gst/gstreamer.types:
3208 * docs/libs/gstreamer-libs-docs.sgml:
3209 * docs/libs/gstreamer-libs-sections.txt:
3210 * gst/base/gstadapter.c:
3211 * libs/gst/controller/gst-controller.c:
3212 (gst_controlled_property_new), (gst_controlled_property_free),
3213 (gst_controller_new_valist),
3214 (gst_controller_remove_properties_valist),
3215 (gst_controller_sink_values), (_gst_controller_finalize):
3216 * libs/gst/controller/gst-controller.h:
3217 * libs/gst/controller/gst-helper.c:
3218 (gst_object_control_properties), (gst_object_uncontrol_properties),
3219 (gst_object_get_controller), (gst_object_set_controller),
3220 (gst_object_sink_values), (gst_object_get_value_arrays),
3221 (gst_object_get_value_array):
3222 more tests (and fixes) for the controller
3223 more docs for the controller
3224 integrated companies docs for the adapter
3226 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
3228 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3229 (GST_START_TEST), (fakesrc_suite):
3230 add tests for sizetype
3232 2005-08-04 Andy Wingo <wingo@pobox.com>
3234 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3235 fixes buffer_alloc proxying among other things.
3237 * gst/base/gstbasetransform.c:
3238 * gst/base/gstbasetransform.h:
3239 Revert patch to gstbasetransform from 7-28 removing
3240 delay_configure.
3242 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3243 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3244 Semantics changed, should return not the size of the output buffer
3245 but the byte size of a buffer with a given caps.
3247 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3248 debug object.
3249 (gst_base_transform_configure_caps): Don't set out_size here: (in,
3250 out) are not the pad caps until setcaps finishes.
3251 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3252 not-in-place case as well. Deal with changing from in-place to
3253 not-in-place within calling pad_alloc_buffer. Still a bit
3254 concerned about the overhead here...
3256 2005-08-03 Andy Wingo <wingo@pobox.com>
3258 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3259 fixating is an error.
3261 2005-08-04 Edward Hervey <edward@fluendo.com>
3263 * gst/base/gstadapter.h:
3264 Added gst_adapter_get_type() to the header
3266 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3268 * check/Makefile.am:
3269 * check/gst-libs/controller.c:
3270 * libs/gst/controller/gst-controller.c:
3271 (gst_controller_new_valist):
3272 added check test suite for the controller
3273 * gst/base/gstpushsrc.c:
3274 fixed a doc typo
3276 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3278 * docs/gst/Makefile.am:
3279 * docs/gst/gstreamer-docs.sgml:
3280 * docs/gst/gstreamer-sections.txt:
3281 * docs/gst/gstreamer.types:
3282 * docs/gst/tmpl/gstfakesrc.sgml:
3283 * gst/base/README:
3284 * gst/base/gstbasesink.c:
3285 * gst/base/gstbasesink.h:
3286 * gst/base/gstbasesrc.c:
3287 * gst/base/gstbasesrc.h:
3288 * gst/base/gstbasetransform.c:
3289 * gst/base/gstpushsrc.c:
3290 * gst/base/gstpushsrc.h:
3291 add short/long description docs to base classes
3292 add pushsrc to the docs
3293 remove consolidated doc fragments
3295 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3297 * configure.ac:
3298 * docs/libs/Makefile.am:
3299 * docs/libs/gstreamer-libs-docs.sgml:
3300 * docs/libs/gstreamer-libs-sections.txt:
3301 * docs/libs/gstreamer-libs.types:
3302 * examples/Makefile.am:
3303 * examples/controller/.cvsignore:
3304 * examples/controller/Makefile.am:
3305 * examples/controller/audio-example.c: (main):
3306 * libs/gst/Makefile.am:
3307 * libs/gst/controller/.cvsignore:
3308 * libs/gst/controller/Makefile.am:
3309 * libs/gst/controller/gst-controller.c:
3310 (on_object_controlled_property_changed), (gst_timed_value_compare),
3311 (gst_timed_value_find),
3312 (gst_controlled_property_set_interpolation_mode),
3313 (gst_controlled_property_new), (gst_controlled_property_free),
3314 (gst_controller_find_controlled_property),
3315 (gst_controller_new_valist), (gst_controller_new),
3316 (gst_controller_remove_properties_valist),
3317 (gst_controller_remove_properties), (gst_controller_set),
3318 (gst_controller_set_from_list), (gst_controller_unset),
3319 (gst_controller_get), (gst_controller_get_all),
3320 (gst_controller_sink_values), (gst_controller_get_value_arrays),
3321 (gst_controller_get_value_array),
3322 (gst_controller_set_interpolation_mode),
3323 (_gst_controller_finalize), (_gst_controller_init),
3324 (_gst_controller_class_init), (gst_controller_get_type):
3325 * libs/gst/controller/gst-controller.h:
3326 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3327 (g_object_uncontrol_properties), (g_object_get_controller),
3328 (g_object_set_controller), (g_object_sink_values),
3329 (g_object_get_value_arrays), (g_object_get_value_array):
3330 * libs/gst/controller/gst-interpolation.c:
3331 (gst_controlled_property_find_timed_value_node),
3332 (interpolate_none_get), (interpolate_trigger_get),
3333 (interpolate_trigger_get_value_array):
3334 * libs/gst/controller/lib.c: (gst_controller_init):
3335 * pkgconfig/Makefile.am:
3336 * pkgconfig/gstreamer-control-uninstalled.pc.in:
3337 * pkgconfig/gstreamer-control.pc.in:
3338 * testsuite/Makefile.am:
3339 * testsuite/controller/.cvsignore:
3340 * testsuite/controller/Makefile.am:
3341 * testsuite/controller/interpolator.c: (main):
3342 added controller code
3343 removed dparam pc files
3345 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3346 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3347 (gst_collectpads_stop):
3348 Broadcast the condition when shutting down, to make sure we wake all
3349 threads up. Shut down pads on finalize, for safety.
3351 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3352 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3353 (gst_base_transform_handle_buffer),
3354 (gst_base_transform_change_state):
3355 Handle PAUSED->READY->PAUSED transition after negotiation
3356 occurred already.
3357 * gst/gstmessage.c: (gst_message_init):
3358 Extra piece of debug for new messages.
3360 2005-08-01 Stefan Kost <ensonic@users.sf.net>
3362 * configure.ac:
3363 * docs/gst/tmpl/gstbasesrc.sgml:
3364 * docs/gst/tmpl/gstelement.sgml:
3365 * docs/gst/tmpl/gstevent.sgml:
3366 * docs/gst/tmpl/gstfakesrc.sgml:
3367 * docs/gst/tmpl/gstformat.sgml:
3368 * docs/gst/tmpl/gstghostpad.sgml:
3369 * docs/gst/tmpl/gstpad.sgml:
3370 * docs/gst/tmpl/gstquery.sgml:
3371 * docs/gst/tmpl/gststructure.sgml:
3372 * docs/gst/tmpl/gsttaglist.sgml:
3373 * docs/gst/tmpl/gstvalue.sgml:
3374 * docs/libs/gstreamer-libs-docs.sgml:
3375 * docs/libs/gstreamer-libs-sections.txt:
3376 * docs/libs/gstreamer-libs.types:
3377 * libs/gst/Makefile.am:
3378 * libs/gst/control/.cvsignore:
3379 * libs/gst/control/Makefile.am:
3380 * libs/gst/control/control.c:
3381 * libs/gst/control/control.h:
3382 * libs/gst/control/dparam.c:
3383 * libs/gst/control/dparam.h:
3384 * libs/gst/control/dparam_smooth.c:
3385 * libs/gst/control/dparam_smooth.h:
3386 * libs/gst/control/dparamcommon.h:
3387 * libs/gst/control/dparammanager.c:
3388 * libs/gst/control/dparammanager.h:
3389 * libs/gst/control/dplinearinterp.c:
3390 * libs/gst/control/dplinearinterp.h:
3391 * libs/gst/control/unitconvert.c:
3392 * libs/gst/control/unitconvert.h:
3393 * testsuite/Makefile.am:
3394 * testsuite/dynparams/.cvsignore:
3395 * testsuite/dynparams/Makefile.am:
3396 * testsuite/dynparams/dparamstest.c:
3397 * tools/Makefile.am:
3398 * tools/gst-inspect.c: (print_element_info), (main):
3399 * tools/gst-xmlinspect.c: (print_element_info), (main):
3400 deactivate and remove dparams (libgstcontrol)
3402 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3404 * gst/elements/gsttypefindelement.c:
3405 (gst_type_find_element_have_type), (gst_type_find_element_init),
3406 (stop_typefinding), (gst_type_find_element_handle_event),
3407 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3408 * gst/elements/gsttypefindelement.h:
3409 Set caps on all outgoing buffers, not just the first one.
3411 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3413 * gst/elements/gsttypefindelement.c:
3414 (gst_type_find_element_have_type),
3415 (gst_type_find_element_check_set_buffer_caps),
3416 (gst_type_find_element_init), (stop_typefinding),
3417 (gst_type_find_element_handle_event),
3418 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3419 * gst/elements/gsttypefindelement.h:
3420 Set caps on first outgoing buffer when we've found the type.
3422 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3424 * docs/gst/gstreamer-docs.sgml:
3425 * docs/gst/gstreamer-sections.txt:
3426 * docs/gst/tmpl/gstscheduler.sgml:
3427 * docs/gst/tmpl/gstschedulerfactory.sgml:
3428 Remove some old cruft from docs.
3430 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
3432 * gst/gstpad.h:
3433 Fix inline docs for GstPadLinkReturn.
3435 * gst/gststructure.c: (gst_structure_has_name):
3436 * gst/gststructure.h:
3437 * docs/gst/gstreamer-sections.txt:
3438 New API: gst_structure_has_name().
3440 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
3442 * configure.ac:
3443 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3444 and _LARGEFILE_SOURCE in config.h as required. Do not
3445 export those flags in our .pc files any longer (#142209).
3447 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3449 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3450 (gst_file_sink_do_seek), (gst_file_sink_event),
3451 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3452 Redo seek/tell calls with large file support in mind; add some
3453 debugging messages; add log message that tells us when large
3454 file support is unavailable or not enabled for some reason.
3456 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3457 Add log message that tells us when large file support
3458 is unavailable or not enabled for some reason.
3460 2005-07-29 Wim Taymans <wim@fluendo.com>
3462 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3463 Added test for removing an element with ghostpad from a bin.
3464 Fixed test as current implementation does the right thing.
3466 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3467 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3468 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3469 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3470 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3471 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3472 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3473 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3474 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3475 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3476 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3477 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3478 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3479 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3480 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3481 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3482 * gst/gstghostpad.h:
3483 Clean up ghostpads, remove properties for internal stuff.
3484 Make threadsafe.
3485 Fix refcounting.
3486 Prepare for switching targets, not all use cases work yet.
3488 2005-07-29 Wim Taymans <wim@fluendo.com>
3490 * docs/design/part-gstghostpad.txt:
3491 Small update.
3493 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3494 (gst_bin_remove_func):
3495 Unlinking pads while holding the bin LOCK is not a good
3496 idea.
3498 * gst/gstpad.c: (gst_pad_class_init),
3499 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3500 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3501 No prob setting template after creating the pad.
3503 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3505 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3506 (gst_bus_peek), (gst_bus_source_dispatch),
3507 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3508 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3509 gst_bus_poll may be called from other threads. Handle
3510 this nicely by not making poll_data disappear off the
3511 stack once gst_bus_poll returns.
3512 gst_bus_peek now increments the refcount on the returned
3513 message.
3515 2005-07-29 Wim Taymans <wim@fluendo.com>
3517 * docs/design/part-gstghostpad.txt:
3518 Overview of current GhostPad datastructures and use
3519 cases for changing the target.
3521 2005-07-28 Wim Taymans <wim@fluendo.com>
3523 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3524 Added checks for hierarchy consistency whan adding linked
3525 elements to bins.
3527 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3528 Added check to test element scheduling without bin/pipeline.
3530 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3531 First add elements to bin, then link.
3533 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3534 (gst_bin_remove_func):
3535 Unlink pads from elements added/removed from bin to maintain
3536 hierarchy consistency.
3538 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3540 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3541 (gst_base_transform_handle_buffer):
3542 * gst/base/gstbasetransform.h:
3543 Remove broken delay_configure (fixes renegotiation of software
3544 scaling pipelines); remove some leftover printf()s.
3546 2005-07-28 Wim Taymans <wim@fluendo.com>
3548 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3549 Added some more tests for wrong hierarchy
3551 * docs/design/part-overview.txt:
3552 Some updates.
3554 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3555 Cleanups.
3557 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3558 (gst_element_dispose):
3559 Some more cleanups.
3561 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3562 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3563 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3564 (gst_pad_set_caps), (gst_pad_send_event):
3565 Check for correct hierarchy when linking pads. Moving to
3566 strict requirement for ghostpads when linking elements in
3567 different bins.
3569 * gst/gstpad.h:
3570 Clean ups. Added WRONG_HIERARCHY return value.
3572 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3574 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3575 Better debug if no transform is possible.
3577 2005-07-27 Wim Taymans <wim@fluendo.com>
3579 * docs/random/wtay/network-transp:
3580 Some old doc I had.
3582 2005-07-27 Wim Taymans <wim@fluendo.com>
3584 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3585 (gst_dp_event_from_packet):
3586 Fix serialization of seek events.
3588 2005-07-27 Wim Taymans <wim@fluendo.com>
3590 * check/gst-libs/gdp.c: (GST_START_TEST):
3591 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3592 Fix compilation and fix event serialization.
3594 2005-07-27 Wim Taymans <wim@fluendo.com>
3596 * CHANGES-0.9:
3597 * docs/design/part-TODO.txt:
3598 * docs/design/part-events.txt:
3599 Some docs updates
3601 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3602 (gst_base_sink_event), (gst_base_sink_do_sync),
3603 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3604 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3605 (gst_base_src_do_seek), (gst_base_src_event_handler),
3606 (gst_base_src_loop):
3607 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3608 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3609 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3610 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3611 (gst_base_transform_set_passthrough),
3612 (gst_base_transform_is_passthrough):
3613 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3614 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3615 Event updates.
3617 * gst/gstbuffer.h:
3618 Use faster casts.
3620 * gst/gstelement.c: (gst_element_seek):
3621 * gst/gstelement.h:
3622 Update gst_element_seek.
3624 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3625 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3626 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3627 (gst_event_new_eos), (gst_event_new_newsegment),
3628 (gst_event_parse_newsegment), (gst_event_new_tag),
3629 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3630 (gst_event_parse_qos), (gst_event_new_seek),
3631 (gst_event_parse_seek), (gst_event_new_navigation):
3632 * gst/gstevent.h:
3633 Make GstEvent use GstStructure. Add parsing code, make sure the
3634 API is sufficiently generic.
3635 Mark possible directions of events and serialization.
3637 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3638 (_gst_message_copy), (gst_message_new_segment_start),
3639 (gst_message_new_segment_done), (gst_message_new_custom),
3640 (gst_message_parse_segment_start),
3641 (gst_message_parse_segment_done):
3642 Small cleanups.
3644 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3645 (gst_pad_set_caps), (gst_pad_send_event):
3646 Update for new events.
3647 Catch events sent in wrong directions.
3649 * gst/gstqueue.c: (gst_queue_link_src),
3650 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3651 (gst_queue_handle_src_query):
3652 Event updates.
3654 * gst/gsttag.c:
3655 * gst/gsttag.h:
3656 Remove event code from this file.
3658 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3659 (gst_dp_event_from_packet):
3660 Event updates.
3662 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3664 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3665 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3666 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3667 Make debugging actually useful.
3669 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3671 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3672 (gst_pad_fixate_caps):
3673 Implement default fixation once again, so that gst_pad_fixate()
3674 actually does anything at all. This probably needs to be some
3675 sort of a last resort, and use profile-based fixation first, but
3676 since that doesn't exist yet, this is the best we have. Fixes
3677 visualization in Totem.
3679 2005-07-22 Wim Taymans <wim@fluendo.com>
3681 * docs/design/part-events.txt:
3682 Small update.
3684 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3685 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3686 (gst_base_sink_activate_pull):
3687 Some more comments.
3689 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3690 (gst_fake_src_create):
3691 Fix handoff marshall.
3693 * gst/elements/gstidentity.c: (gst_identity_class_init),
3694 (gst_identity_transform_ip):
3695 We're a real inplace element.
3697 * gst/gstbus.c: (gst_bus_post):
3698 Added some comments.
3700 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3701 * tests/muxing/case1.c: (main):
3702 * tests/sched/dynamic-pipeline.c: (main):
3703 * tests/sched/interrupt1.c: (main):
3704 * tests/sched/interrupt2.c: (main):
3705 * tests/sched/interrupt3.c: (main):
3706 * tests/sched/runxml.c: (main):
3707 * tests/sched/sched-stress.c: (main):
3708 * tests/seeking/seeking1.c: (event_received), (main):
3709 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3710 (main):
3711 * tests/threadstate/threadstate3.c: (main):
3712 * tests/threadstate/threadstate4.c: (main):
3713 * tests/threadstate/threadstate5.c: (main):
3714 Fix the tests.
3716 2005-07-21 Wim Taymans <wim@fluendo.com>
3718 * docs/design/part-seeking.txt:
3719 Some small additions.
3721 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3722 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3723 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3724 * gst/base/gstbasesink.h:
3725 discont values are gint64, handle the math correctly.
3727 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3728 Make the basesrc report error if the source pad is not linked.
3730 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3731 (gst_queue_loop), (gst_queue_handle_src_query),
3732 (gst_queue_src_activate_push):
3733 Make queue collect data even if the srcpad is not linked.
3734 Start pushing out data as soon as it is linked.
3736 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3737 * gst/gstutils.h:
3738 Added gst_flow_get_name() to ease error reporting.
3740 2005-07-20 Wim Taymans <wim@fluendo.com>
3742 * gst/gstmessage.c: (gst_message_new_segment_start),
3743 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3744 (gst_message_parse_segment_done):
3745 * gst/gstmessage.h:
3746 Added a bunch of messages for advanced seeking.
3748 * gst/parse/grammar.y:
3749 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3750 (gst_dpman_state_changed):
3751 Fix some new-pad -> pad-added signals
3753 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3755 * docs/manual/appendix-porting.xml:
3756 * docs/pwg/appendix-porting.xml:
3757 Document new-pad/state-change signal renames and the FixedList
3758 type rename.
3760 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3762 * docs/manual/advanced-autoplugging.xml:
3763 * docs/manual/basics-helloworld.xml:
3764 * docs/manual/basics-pads.xml:
3765 * docs/random/ds/0.9-suggested-changes:
3766 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3767 * gst/gstelement.h:
3768 * gst/gstevent.h:
3769 * gst/gstformat.h:
3770 * gst/gstquery.h:
3771 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3772 (gst_structure_parse_array), (gst_structure_parse_value):
3773 * gst/gstvalue.c: (gst_type_is_fixed),
3774 (gst_value_list_prepend_value), (gst_value_list_append_value),
3775 (gst_value_list_get_size), (gst_value_list_get_value),
3776 (gst_value_transform_array_string), (gst_value_serialize_array),
3777 (gst_value_deserialize_array), (gst_value_intersect_array),
3778 (gst_value_is_fixed), (_gst_value_initialize):
3779 * gst/gstvalue.h:
3780 GstElement::new-pad -> pad-added, GstElement::state-change ->
3781 state-changed, GstValueFixedList -> GstValueArray, add format and
3782 flags as their own arguments in gst_element_seek() (should improve
3783 "bindeability"), remove function generators since they don't work
3784 under a whole bunch of compilers (they were deprecated already
3785 anyway).
3787 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3789 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3790 (_gst_debug_register_funcptr):
3791 * gst/gstinfo.h:
3792 Fix illegal cast on some platforms (#309253).
3794 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3796 * gst/gstmessage.c: (gst_message_new_custom):
3797 * gst/gstmessage.h:
3798 Add _new_custom, make _new_application a macro to _new_custom.
3800 2005-07-20 Wim Taymans <wim@fluendo.com>
3802 * gst/base/gstbasesrc.c: (gst_base_src_init),
3803 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3804 * gst/base/gstbasesrc.h:
3805 Add a gboolean to decide when to push out a discont.
3807 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3808 (gst_queue_loop), (gst_queue_handle_src_query),
3809 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3810 (gst_queue_set_property), (gst_queue_get_property):
3811 Some cleanups.
3813 * tests/threadstate/threadstate1.c: (main):
3814 Make a thread test compile and run... very silly..
3817 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3819 * docs/manual/appendix-porting.xml:
3820 Mention removal of libgstgconf-0.9.la and existence of gconf
3821 elements.
3823 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3825 * docs/pwg/advanced-clock.xml:
3826 * docs/pwg/appendix-porting.xml:
3827 * docs/pwg/intro-preface.xml:
3828 * docs/pwg/other-base.xml:
3829 * docs/pwg/other-manager.xml:
3830 * docs/pwg/other-nton.xml:
3831 * docs/pwg/other-ntoone.xml:
3832 * docs/pwg/other-oneton.xml:
3833 * docs/pwg/pwg.xml:
3834 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3835 demuxer), remove n-to-n (was never written), fix some code examples
3836 and links and update the porting section to include all this.
3838 2005-07-19 Wim Taymans <wim@fluendo.com>
3840 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3841 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3842 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3843 (gst_queue_src_activate_push), (gst_queue_change_state),
3844 (gst_queue_get_property):
3845 * gst/gstqueue.h:
3846 Propagate GstFlowReturn more intelligently upstream and output
3847 an ERROR/EOS when streaming stopped due to fatal error.
3849 2005-07-19 Wim Taymans <wim@fluendo.com>
3851 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3852 Don't block forever for the state change to complete, the
3853 pipeline already did with a sensible timeout.
3855 2005-07-19 Wim Taymans <wim@fluendo.com>
3857 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3858 Make sure we never call the create function is we
3859 got deactivated.
3861 2005-07-19 Andy Wingo <wingo@pobox.com>
3863 * gst/parse/parse.l: Attempt to solve bug #172815.
3865 2005-07-19 Wim Taymans <wim@fluendo.com>
3867 * docs/design/part-clocks.txt:
3868 * docs/design/part-events.txt:
3869 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3870 Small docs updates.
3871 Only update the seeking values when we are not
3872 busy streaming.
3874 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3876 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3877 Oops, ignore the result of gst_pad_push_event here.
3879 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3881 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3882 (gst_base_src_activate_push):
3883 Send discont event from the loop function, as pads
3884 aren't activated yet in the activate_push handler.
3886 * gst/gstbin.c: (bin_bus_handler):
3887 Don't leak element name.
3889 2005-07-18 Andy Wingo <wingo@pobox.com>
3891 * configure.ac: Use AS_LIBTOOL_TAGS.
3893 2005-07-18 Wim Taymans <wim@fluendo.com>
3895 * docs/gst/gstreamer.types:
3896 Remove deleted types.
3898 2005-07-18 Wim Taymans <wim@fluendo.com>
3900 * check/elements/gstfakesrc.c: (GST_START_TEST):
3901 * configure.ac:
3902 * gst/Makefile.am:
3903 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3904 (init_popt_callback):
3905 * gst/gst.h:
3906 * gst/gst_private.h:
3907 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3908 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3909 * gst/gstbin.h:
3910 * gst/gstbus.h:
3911 * gst/gstconfig.h.in:
3912 * gst/gstelement.c: (gst_element_class_init),
3913 (gst_element_set_base_time), (gst_element_get_base_time),
3914 (iterator_fold_with_resync), (gst_element_change_state),
3915 (gst_element_dispose), (gst_element_get_bus):
3916 * gst/gstelement.h:
3917 * gst/gstelementfactory.h:
3918 * gst/gsterror.c: (_gst_core_errors_init):
3919 * gst/gsterror.h:
3920 * gst/gstevent.h:
3921 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3922 * gst/gstindex.c:
3923 * gst/gstinfo.c: (_gst_debug_init):
3924 * gst/gstmessage.c: (_gst_message_copy):
3925 * gst/gstmessage.h:
3926 * gst/gstminiobject.h:
3927 * gst/gstobject.c:
3928 * gst/gstobject.h:
3929 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3930 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3931 * gst/gstpad.h:
3932 * gst/gstparse.h:
3933 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3934 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3935 (gst_pipeline_get_last_stream_time):
3936 * gst/gstpipeline.h:
3937 * gst/gstpluginfeature.h:
3938 * gst/gstquery.h:
3939 * gst/gstscheduler.c:
3940 * gst/gstscheduler.h:
3941 * gst/gststructure.h:
3942 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3943 (gst_task_finalize), (gst_task_func), (gst_task_create),
3944 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3945 (gst_task_stop), (gst_task_pause):
3946 * gst/gsttask.h:
3947 * gst/gsttypefind.h:
3948 * gst/gsttypes.h:
3949 * gst/registries/gstlibxmlregistry.c: (load_feature),
3950 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3951 * gst/registries/gstxmlregistry.c:
3952 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3953 * gst/schedulers/threadscheduler.c:
3954 * libs/gst/control/dparammanager.h:
3955 * tools/gst-inspect.c: (print_element_list),
3956 (print_plugin_features), (print_element_features):
3957 * tools/gst-xmlinspect.c: (print_element_list),
3958 (print_plugin_info), (main):
3959 Removed plugable schedulers.
3960 Removed Scheduler/Manager from elements.
3961 Removed gsttypes.h, rearranged includes.
3962 Removed dependency pad<->element, element<>pipeline, and
3963 various others, fix includes.
3964 implement gst_pad_get_parent() with gst_object_get_parent()
3965 Make GstTask sefcontained.
3966 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3967 timeout.
3968 Fix endless loop in iterator_fold_with_resync.
3971 2005-07-18 Wim Taymans <wim@fluendo.com>
3973 * gst/Makefile.am:
3974 * gst/gstarch.h:
3975 Remove old file.
3977 2005-07-18 Wim Taymans <wim@fluendo.com>
3979 * gst/Makefile.am:
3980 No more cothreads.h
3982 2005-07-18 Wim Taymans <wim@fluendo.com>
3984 * gst/cothreads.c:
3985 * gst/cothreads.h:
3986 Let's remove these.
3988 2005-07-18 Wim Taymans <wim@fluendo.com>
3990 * docs/design/part-dynamic.txt:
3991 * docs/design/part-events.txt:
3992 * docs/design/part-seeking.txt:
3993 Some more docs in the works.
3995 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3996 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3997 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3998 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3999 (gst_base_transform_handle_buffer),
4000 (gst_base_transform_sink_activate_push),
4001 (gst_base_transform_src_activate_pull),
4002 (gst_base_transform_set_passthrough),
4003 (gst_base_transform_is_passthrough):
4004 Refcounting fixes.
4006 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4007 Cleanups.
4009 * gst/gstevent.c: (gst_event_finalize):
4010 Set SRC to NULL.
4012 * gst/gstutils.c: (gst_element_unlink),
4013 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4014 (gst_pad_proxy_setcaps):
4015 * gst/gstutils.h:
4016 Add _get_parent_element() to get a pads parent as an element.
4018 2005-07-18 Wim Taymans <wim@fluendo.com>
4020 * check/gst/gstbin.c: (GST_START_TEST):
4021 Remove bogus test.
4023 2005-07-18 Wim Taymans <wim@fluendo.com>
4025 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4026 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4027 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4028 (gst_base_sink_event), (gst_base_sink_do_sync),
4029 (gst_base_sink_chain), (gst_base_sink_loop),
4030 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4031 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4032 Refcounting fixes.
4033 Fix logic for returning ASYNC when not prerolled.
4035 2005-07-18 Wim Taymans <wim@fluendo.com>
4037 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4038 Fix nasty refcount bug.
4040 2005-07-16 Philippe Khalaf <burger@speedy.org>
4042 * gst/elements/gstfdsrc.c:
4043 * gst/elements/gstfdsrc.h:
4044 * gst/elements/gstelements.c:
4045 * gst/elements/Makefile.am:
4046 Ported fdsrc to 0.9.
4048 2005-07-16 Wim Taymans <wim@fluendo.com>
4050 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4051 (gst_base_sink_do_sync):
4052 Fix compile error.
4054 2005-07-16 Wim Taymans <wim@fluendo.com>
4056 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4057 (gst_base_sink_event), (gst_base_sink_get_times),
4058 (gst_base_sink_do_sync), (gst_base_sink_change_state):
4059 * gst/base/gstbasesink.h:
4060 Store and use discont values when syncing buffers as described
4061 in design docs.
4063 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4064 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4065 (gst_base_src_activate_push):
4066 Push discont event when starting.
4068 * gst/elements/gstidentity.c: (gst_identity_transform):
4069 Small cleanups.
4071 * gst/gstbin.c: (gst_bin_change_state):
4072 Small cleanups in base_time distribution.
4074 * gst/gstelement.c: (gst_element_set_base_time),
4075 (gst_element_get_base_time), (gst_element_change_state):
4076 * gst/gstelement.h:
4077 Added methods for the base_time of the element.
4078 Some MT fixes.
4080 * gst/gstpipeline.c: (gst_pipeline_send_event),
4081 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4082 (gst_pipeline_get_last_stream_time):
4083 * gst/gstpipeline.h:
4084 MT fixes.
4085 Handle seeking as described in design doc, remove stream_time
4086 hack.
4087 Cleanups clock and stream_time selection code. Added accessors
4088 for the stream_time.
4091 2005-07-16 Andy Wingo <wingo@pobox.com>
4093 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4094 (#305291).
4096 2005-07-16 Wim Taymans <wim@fluendo.com>
4098 * check/gst/gstbin.c: (GST_START_TEST):
4099 Make elements silent as the deep_notify refs the
4100 parent, which might make the test fail.
4102 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4103 Don't hold the lock for too long.
4105 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
4107 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4108 Don't unref the caps we passed to gst_caps_make_writable() after
4109 passing them. gst_caps_make_writable() will do that for us.
4111 2005-07-15 Andy Wingo <wingo@pobox.com>
4113 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4114 (#157311).
4116 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4117 own marshalling function for the handoff signal. Properly type the
4118 buffer as a buffer. Fixes some warnings. Should do a more general
4119 solution.
4120 (gst_identity_class_init): Plug into the right marshaller.
4122 2005-07-15 Wim Taymans <wim@fluendo.com>
4124 * docs/design/part-TODO.txt:
4125 * docs/design/part-clocks.txt:
4126 * docs/design/part-element-sink.txt:
4127 * docs/design/part-events.txt:
4128 * docs/design/part-gstpipeline.txt:
4129 Updated docs, mostly DISCONT related.
4131 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
4133 * docs/pwg/building-pads.xml:
4134 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4136 2005-07-15 Andy Wingo <wingo@pobox.com>
4138 * tools/gst-typefind.c: Update, add copyright block.
4140 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4141 Normalize and truncate caps before fixation.
4143 * gst/gstcaps.h:
4144 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4145 discards all but the first structure from its argument.
4147 2005-07-15 Wim Taymans <wim@fluendo.com>
4149 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4150 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4151 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4152 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4153 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4154 (gst_base_transform_chain), (gst_base_transform_change_state),
4155 (gst_base_transform_set_passthrough),
4156 (gst_base_transform_is_passthrough):
4157 * gst/base/gstbasetransform.h:
4158 Make passthrough work using the bufferpools.
4159 Changed API a bit, subclasses have to write into a buffer
4160 provided by the base class.
4161 More debug info in nego functions.
4163 * gst/elements/gstidentity.c: (gst_identity_init),
4164 (gst_identity_transform):
4165 Port to new base class.
4167 2005-07-15 Wim Taymans <wim@fluendo.com>
4169 * gst/gstmessage.c: (gst_message_new_state_changed):
4170 * tools/gst-launch.c: (event_loop), (main):
4171 Totally dump messages in -launch with the -m option.
4172 Fix message name for State messages,
4174 2005-07-14 Wim Taymans <wim@fluendo.com>
4176 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4177 Post error messages on errors.
4179 2005-07-14 Wim Taymans <wim@fluendo.com>
4181 * gst/gstcaps.c: (gst_caps_do_simplify):
4182 Remove debug info.
4184 * gst/gsterror.h:
4185 Define error for stream stopped.
4187 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4188 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4189 Do proper return values.
4191 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4192 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4193 (gst_pad_get_range):
4194 Better return values.
4196 * gst/gstpad.h:
4197 Reorganise return values, add macro to check for fatal errors.
4199 * gst/gstqueue.c: (gst_queue_chain):
4200 Return proper GstFlowReturn values,
4202 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
4204 * docs/gst/gstreamer-sections.txt:
4205 * docs/gst/gstreamer.types:
4206 * docs/gst/tmpl/gst.sgml:
4207 * docs/gst/tmpl/gstbasesink.sgml:
4208 * docs/gst/tmpl/gstbasesrc.sgml:
4209 * docs/gst/tmpl/gstbasetransform.sgml:
4210 * docs/gst/tmpl/gstbin.sgml:
4211 * docs/gst/tmpl/gstbuffer.sgml:
4212 * docs/gst/tmpl/gstcaps.sgml:
4213 * docs/gst/tmpl/gstclock.sgml:
4214 * docs/gst/tmpl/gstcompat.sgml:
4215 * docs/gst/tmpl/gstconfig.sgml:
4216 * docs/gst/tmpl/gstelement.sgml:
4217 * docs/gst/tmpl/gstelementdetails.sgml:
4218 * docs/gst/tmpl/gstelementfactory.sgml:
4219 * docs/gst/tmpl/gstenumtypes.sgml:
4220 * docs/gst/tmpl/gsterror.sgml:
4221 * docs/gst/tmpl/gstevent.sgml:
4222 * docs/gst/tmpl/gstfakesink.sgml:
4223 * docs/gst/tmpl/gstfakesrc.sgml:
4224 * docs/gst/tmpl/gstfilesink.sgml:
4225 * docs/gst/tmpl/gstfilesrc.sgml:
4226 * docs/gst/tmpl/gstfilter.sgml:
4227 * docs/gst/tmpl/gstformat.sgml:
4228 * docs/gst/tmpl/gstghostpad.sgml:
4229 * docs/gst/tmpl/gstimplementsinterface.sgml:
4230 * docs/gst/tmpl/gstindex.sgml:
4231 * docs/gst/tmpl/gstindexfactory.sgml:
4232 * docs/gst/tmpl/gstinfo.sgml:
4233 * docs/gst/tmpl/gstiterator.sgml:
4234 * docs/gst/tmpl/gstmacros.sgml:
4235 * docs/gst/tmpl/gstmemchunk.sgml:
4236 * docs/gst/tmpl/gstminiobject.sgml:
4237 * docs/gst/tmpl/gstobject.sgml:
4238 * docs/gst/tmpl/gstpad.sgml:
4239 * docs/gst/tmpl/gstpadtemplate.sgml:
4240 * docs/gst/tmpl/gstparse.sgml:
4241 * docs/gst/tmpl/gstpipeline.sgml:
4242 * docs/gst/tmpl/gstplugin.sgml:
4243 * docs/gst/tmpl/gstpluginfeature.sgml:
4244 * docs/gst/tmpl/gstquery.sgml:
4245 * docs/gst/tmpl/gstqueue.sgml:
4246 * docs/gst/tmpl/gstregistry.sgml:
4247 * docs/gst/tmpl/gstregistrypool.sgml:
4248 * docs/gst/tmpl/gstscheduler.sgml:
4249 * docs/gst/tmpl/gstschedulerfactory.sgml:
4250 * docs/gst/tmpl/gststructure.sgml:
4251 * docs/gst/tmpl/gstsystemclock.sgml:
4252 * docs/gst/tmpl/gsttaglist.sgml:
4253 * docs/gst/tmpl/gsttagsetter.sgml:
4254 * docs/gst/tmpl/gsttrace.sgml:
4255 * docs/gst/tmpl/gsttrashstack.sgml:
4256 * docs/gst/tmpl/gsttypefind.sgml:
4257 * docs/gst/tmpl/gsttypefindfactory.sgml:
4258 * docs/gst/tmpl/gsttypes.sgml:
4259 * docs/gst/tmpl/gsturihandler.sgml:
4260 * docs/gst/tmpl/gsturitype.sgml:
4261 * docs/gst/tmpl/gstutils.sgml:
4262 * docs/gst/tmpl/gstvalue.sgml:
4263 * docs/gst/tmpl/gstversion.sgml:
4264 * docs/gst/tmpl/gstxml.sgml:
4265 * docs/libs/tmpl/gstcontrol.sgml:
4266 * docs/libs/tmpl/gstdataprotocol.sgml:
4267 * docs/libs/tmpl/gstdparam.sgml:
4268 * docs/libs/tmpl/gstdplinint.sgml:
4269 * docs/libs/tmpl/gstdpman.sgml:
4270 * docs/libs/tmpl/gstdpsmooth.sgml:
4271 * docs/libs/tmpl/gstgetbits.sgml:
4272 * docs/libs/tmpl/gstunitconvert.sgml:
4273 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4274 (gst_push_src_base_init), (gst_push_src_class_init),
4275 (gst_push_src_init), (gst_push_src_create):
4276 * gst/base/gstpushsrc.h:
4277 * gst/elements/gstelements.c:
4278 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4279 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4280 (gst_fake_sink_init), (gst_fake_sink_set_property),
4281 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4282 (gst_fake_sink_event), (gst_fake_sink_preroll),
4283 (gst_fake_sink_render), (gst_fake_sink_change_state):
4284 * gst/elements/gstfakesink.h:
4285 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4286 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4287 (gst_fake_src_base_init), (gst_fake_src_class_init),
4288 (gst_fake_src_init), (gst_fake_src_event_handler),
4289 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4290 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4291 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4292 (gst_fake_src_create_buffer), (gst_fake_src_create),
4293 (gst_fake_src_start), (gst_fake_src_stop):
4294 * gst/elements/gstfakesrc.h:
4295 * gst/elements/gstfilesink.c: (_do_init),
4296 (gst_file_sink_base_init), (gst_file_sink_class_init),
4297 (gst_file_sink_init), (gst_file_sink_dispose),
4298 (gst_file_sink_set_location), (gst_file_sink_set_property),
4299 (gst_file_sink_get_property), (gst_file_sink_open_file),
4300 (gst_file_sink_close_file), (gst_file_sink_query),
4301 (gst_file_sink_event), (gst_file_sink_render),
4302 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4303 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4304 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4305 * gst/elements/gstfilesink.h:
4306 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4307 (gst_file_src_class_init), (gst_file_src_init),
4308 (gst_file_src_finalize), (gst_file_src_set_location),
4309 (gst_file_src_set_property), (gst_file_src_get_property),
4310 (gst_file_src_map_region), (gst_file_src_map_small_region),
4311 (gst_file_src_create_mmap), (gst_file_src_create_read),
4312 (gst_file_src_create), (gst_file_src_is_seekable),
4313 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4314 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4315 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4316 (gst_file_src_uri_handler_init):
4317 * gst/elements/gstfilesrc.h:
4318 more autistic cleanliness in functions/names/defines
4320 2005-07-13 Andy Wingo <wingo@pobox.com>
4322 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4323 source couldn't negotiate.
4325 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4326 connections again.
4328 * gst/gstutils.h:
4329 * gst/gstutils.c (gst_element_link_pads_filtered): New old
4330 function. I am channeling Hades. Put your boots on suckers!!!
4332 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4334 * testsuite/caps/Makefile.am:
4335 * testsuite/caps/value_compare.c:
4336 * testsuite/caps/value_intersect.c:
4337 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4338 move two testsuite apps over to the check dir
4340 2005-07-12 Wim Taymans <wim@fluendo.com>
4342 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4343 Added more debug info in the negotiate process.
4345 * gst/gstmessage.h:
4346 Prepare for segment playback.
4348 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4349 Better debugging.
4351 * gst/gstutils.c:
4352 Some more docs.
4354 * tools/gst-launch.c: (main):
4355 NULL pipeline on errors.
4357 2005-07-12 Andy Wingo <wingo@pobox.com>
4359 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4360 not it comes from a malloc region. Make sure our copy gets freed.
4362 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4364 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4365 * check/gst/gstmessage.c: (GST_START_TEST):
4366 * check/gst/gststructure.c: (GST_START_TEST),
4367 (gst_structure_suite), (main):
4368 more testing
4369 * gst/gstelement.c: (gst_element_message_full):
4370 clean up GError and debug string now that they get copied
4371 * gst/gstmessage.c: (gst_message_new_error),
4372 (gst_message_new_warning), (gst_message_parse_error),
4373 (gst_message_parse_warning):
4374 use GST_TYPE_G_ERROR for structure_new, and take copies of
4375 arguments, so that we don't mess up refcounting
4377 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4379 * check/Makefile.am:
4380 add per-test valgrind targets
4381 * check/gst-libs/gdp.c: (GST_START_TEST),
4382 (gst_data_protocol_suite), (main):
4383 clean up
4385 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4387 * check/Makefile.am:
4388 instate more valgrindable tests
4389 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4390 (GST_START_TEST), (fakesrc_suite):
4391 * check/gst/gstpad.c: (GST_START_TEST):
4392 * check/gst/gststructure.c: (GST_START_TEST):
4393 fix test leaks
4394 * docs/gst/tmpl/gstminiobject.sgml:
4395 * gst/gstpad.c: (gst_pad_finalize):
4396 fix the static mutex leak
4398 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4400 * check/Makefile.am:
4401 add two more tests for valgrinding
4402 * check/gst/gstvalue.c: (GST_START_TEST):
4403 test refcount of deserialized buffer, found a leak
4404 * docs/gst/gstreamer-docs.sgml:
4405 * docs/gst/gstreamer-sections.txt:
4406 * docs/gst/gstreamer.types:
4407 * docs/gst/tmpl/gstminiobject.sgml:
4408 add miniobject to docs
4409 * gst/gstminiobject.c:
4410 add some docs
4411 * gst/gstvalue.c: (gst_value_deserialize_buffer),
4412 (gst_string_unwrap):
4413 fix a hard-to-find invalid write for one of the tests
4414 fix a leak for deserialized buffers
4416 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4418 * docs/pwg/advanced-events.xml:
4419 * docs/pwg/advanced-request.xml:
4420 * docs/pwg/advanced-scheduling.xml:
4421 * docs/pwg/appendix-porting.xml:
4422 * docs/pwg/building-boiler.xml:
4423 * docs/pwg/intro-preface.xml:
4424 * docs/pwg/other-ntoone.xml:
4425 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4426 of example code and explanation for pad activation, loop() and
4427 getrange() functions and a bit more. Remove old comments pointing
4428 to loop-functions.
4429 * examples/pwg/Makefile.am:
4430 Add loop/getrange examples.
4432 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4434 * configure.ac:
4435 check for valgrind binary + some fixes
4436 * check/gst.supp:
4437 valgrind suppressions for the tests
4438 * check/Makefile.am:
4439 add a valgrind: target that valgrinds the unit tests
4440 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4441 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4442 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4443 * check/gst/gstghostpad.c:
4444 added some cleanup
4445 * check/gst/gstdata.c:
4446 removed
4447 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4448 (thread_unref), (gst_mini_object_suite), (main):
4449 added
4450 * gst/gst.c: (gst_deinit):
4451 * gst/gst.h:
4452 add a method to clean up.
4453 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4454 (gst_system_clock_obtain):
4455 allow for disposing the system clock.
4456 * tools/gst-launch.c: (main):
4457 deinit
4459 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4461 * docs/gst/tmpl/gstbasesrc.sgml:
4462 * docs/gst/tmpl/gstfakesrc.sgml:
4463 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4464 (gst_base_src_init), (gst_base_src_set_property),
4465 (gst_base_src_get_property), (gst_base_src_get_range),
4466 (gst_base_src_start):
4467 * gst/base/gstbasesrc.h:
4468 add num-buffers property
4469 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4470 (gst_fakesrc_init), (gst_fakesrc_set_property),
4471 (gst_fakesrc_get_property), (gst_fakesrc_create),
4472 (gst_fakesrc_start):
4473 remove num-buffers property
4475 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4477 * docs/gst/gstreamer-sections.txt:
4478 * docs/gst/tmpl/gstbasesink.sgml:
4479 * docs/gst/tmpl/gstbasesrc.sgml:
4480 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4481 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4482 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4483 (gst_base_sink_set_property), (gst_base_sink_get_property),
4484 (gst_base_sink_handle_object), (gst_base_sink_event),
4485 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4486 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4487 (gst_base_sink_loop), (gst_base_sink_deactivate),
4488 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4489 (gst_base_sink_change_state):
4490 * gst/base/gstbasesink.h:
4491 * gst/base/gstbasesrc.h:
4492 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4493 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4494 (gst_filesink_init):
4495 more macro splitting
4497 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4499 * gst/gstelement.c: (gst_element_get_bus):
4500 add debug
4501 * tools/gst-launch.c: (check_intr), (event_loop):
4502 fix bus leaks
4504 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4506 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4507 fix a caps leak
4509 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4511 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4512 (gst_base_src_finalize):
4513 add finalize method and clean up properly
4514 * gst/gstpipeline.c: (gst_pipeline_dispose):
4515 add debug
4517 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4519 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4520 (gst_bin_suite):
4521 add more things to check
4522 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4523 * gst/gstelement.c:
4524 more debug
4526 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4528 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4529 (GST_START_TEST), (fakesrc_suite):
4530 * check/gst-libs/gdp.c: (GST_START_TEST):
4531 * check/gst/gst.c: (GST_START_TEST):
4532 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4533 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4534 * check/gst/gstbus.c: (GST_START_TEST):
4535 * check/gst/gstcaps.c: (GST_START_TEST):
4536 * check/gst/gstdata.c: (GST_START_TEST):
4537 * check/gst/gstelement.c: (GST_START_TEST):
4538 * check/gst/gstghostpad.c: (GST_START_TEST):
4539 * check/gst/gstiterator.c: (GST_START_TEST):
4540 * check/gst/gstmessage.c: (GST_START_TEST):
4541 * check/gst/gstobject.c: (GST_START_TEST):
4542 * check/gst/gstpad.c: (GST_START_TEST):
4543 * check/gst/gststructure.c: (GST_START_TEST):
4544 * check/gst/gstsystemclock.c: (GST_START_TEST),
4545 (gst_systemclock_suite):
4546 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4547 * check/gst/gstvalue.c: (GST_START_TEST):
4548 * check/pipelines/cleanup.c: (GST_START_TEST):
4549 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4550 * check/states/sinks.c: (GST_START_TEST):
4551 * check/gstcheck.c: (gst_check_init):
4552 * check/gstcheck.h:
4553 add debugging category
4554 use GST_START_TEST now, so we add a debug line
4556 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4558 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4559 add test for state change message on a bin
4560 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4561 add another test
4562 * gst/gstbin.c: (gst_bin_init):
4563 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4564 * gst/gstelement.c: (gst_element_post_message),
4565 (gst_element_set_state):
4566 * gst/gstelementfactory.c: (gst_element_factory_create):
4567 * gst/gstmessage.c: (gst_message_new):
4568 * gst/gstscheduler.c:
4569 various debugging additions and cleanups
4571 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4573 * check/Makefile.am:
4574 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4575 (main):
4576 adding tests for elements
4577 * gst/gstelement.c: (gst_element_dispose):
4579 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4581 * gst/registries/gstlibxmlregistry.c: (load_feature):
4582 plug more leaks. A simple gst_init() now is leakfree, yay.
4584 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4586 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4587 (gst_xml_registry_load):
4588 plug another memleak
4590 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4592 * configure.ac:
4593 use GST_SET_ERROR_CFLAGS
4594 * docs/faq/cvs.xml:
4595 change to ERROR_CFLAGS
4597 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4599 * configure.ac:
4600 make GST_ERROR_CFLAGS overridable and re-enable Werror
4601 * docs/faq/cvs.xml:
4602 add a note about error CFLAGS
4603 * docs/gst/tmpl/gstfakesrc.sgml:
4604 * gst/elements/gstfakesrc.c:
4605 comment out some unused code
4606 * gst/gst.c: (split_and_iterate):
4607 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4608 (load_feature):
4609 plug some memleaks
4611 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4613 * common/Makefile.am:
4614 * common/gtk-doc.mak:
4615 * docs/gst/Makefile.am:
4616 factor out gtk-doc.mak
4618 2005-07-07 Wim Taymans <wim@fluendo.com>
4620 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4621 (gst_thread_scheduler_dispose):
4622 Unlock the STREAM_LOCK completely.
4624 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4626 * check/Makefile.am:
4627 * check/elements/.cvsignore:
4628 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4629 (START_TEST), (fakesrc_suite), (main):
4630 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4631 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4632 (gst_fakesrc_create), (gst_fakesrc_start):
4633 * gst/elements/gstfakesrc.h:
4634 adding a first element test
4636 2005-07-07 Andy Wingo <wingo@pobox.com>
4638 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4639 debug message.
4641 2005-07-07 Wim Taymans <wim@fluendo.com>
4643 * gst/gstquery.c:
4644 * gst/gstquery.h:
4645 Remove old types
4647 2005-07-07 Wim Taymans <wim@fluendo.com>
4649 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4650 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4651 Allow subclasses to implement their own negotiation.
4653 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4655 * docs/design/part-gstbin.txt:
4656 * docs/design/part-gstpipeline.txt:
4657 Update design notes to reflect the movement of
4658 responsibility for bus handling from GstPipeline to
4659 GstBin
4661 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4663 * configure.ac:
4664 Remove unnecessary queue2/3/4 examples.
4666 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4668 * examples/Makefile.am:
4669 * examples/helloworld/helloworld.c: (event_loop), (main):
4670 * examples/queue/queue.c: (event_loop), (main):
4671 * examples/queue2/queue2.c: (main):
4672 Update a couple of the examples to work again.
4674 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4675 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4676 Spelling corrections and extra debug.
4678 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4679 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4680 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4681 * gst/gstbin.h:
4682 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4683 (gst_pipeline_change_state):
4684 * gst/gstpipeline.h:
4685 Move the bus handler for children to the GstBin, and create a
4686 separate bus for receiving messages from children to the one the
4687 bus sends 'upwards' on.
4689 2005-07-06 Wim Taymans <wim@fluendo.com>
4691 * gst/base/README:
4692 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4693 (gst_base_sink_handle_object), (gst_base_sink_loop),
4694 (gst_base_sink_change_state):
4695 * gst/base/gstbasesink.h:
4696 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4697 (gst_base_src_init), (gst_base_src_setcaps),
4698 (gst_base_src_getcaps), (gst_base_src_loop),
4699 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4700 (gst_base_src_start), (gst_base_src_change_state):
4701 * gst/base/gstbasesrc.h:
4702 Make basesrc negotiate.
4703 Handle the case where preroll fails in basesink.
4704 Update README.
4706 2005-07-06 Wim Taymans <wim@fluendo.com>
4708 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4709 Implement the fixate function.
4710 Clean up acceptcaps.
4712 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4714 * docs/pwg/building-filterfactory.xml:
4715 * docs/pwg/pwg.xml:
4716 Remove never-written filter-factory chapter; I'll add the various
4717 base classes to part 4 ("other element types") later on.
4719 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4721 * docs/pwg/advanced-negotiation.xml:
4722 * docs/pwg/building-boiler.xml:
4723 * docs/pwg/building-pads.xml:
4724 * docs/pwg/pwg.xml:
4725 * examples/pwg/Makefile.am:
4726 Add a chapter on caps negotiation, simplify the original code
4727 samples a bit w.r.t. caps negotiation, add link to the advanced
4728 section. Add a bunch of examples showing different use cases of
4729 different types of caps negotiation. Upstream renegotiation isn't
4730 fully documented yet since nobody knows how that works.
4732 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4734 * check/gst/gstpad.c:
4735 * check/gstcheck.c:
4736 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4737 if pad has no parent, return NULL as list of internal links
4739 2005-07-05 Andy Wingo <wingo@pobox.com>
4741 * gst/elements/gstfilesrc.c:
4742 * gst/elements/gstfakesrc.c:
4743 * gst/base/gstpushsrc.c:
4744 * gst/base/gstbasesrc.h:
4745 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4747 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4749 * Makefile.am:
4750 better report generation target (lcov needs a patch)
4752 2005-07-05 Andy Wingo <wingo@pobox.com>
4754 * gst/elements, testsuite: Null if we got it...
4756 2005-07-05 Wim Taymans <wim@fluendo.com>
4758 * configure.ac:
4759 * libs/gst/dataprotocol/Makefile.am:
4760 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4761 * libs/gst/dataprotocol/dataprotocol.h:
4762 * pkgconfig/Makefile.am:
4763 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4764 * pkgconfig/gstreamer-dataprotocol.pc.in:
4765 Ported dataprotol to 0.9.
4766 Added pkgconfig files.
4768 2005-07-05 Andy Wingo <wingo@pobox.com>
4770 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4771 Default to returning TRUE for the case when tranform_caps returns
4772 a fixed caps, like for identity or volume.
4774 * check/gst/gstbus.c (pound_bus_with_messages):
4775 * check/gst/gstmessage.c (START_TEST):
4776 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4777 message API change.
4779 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4780 logic weaks here: always run transform_caps, trying passthrough
4781 operation only if the original caps intersects with the transform.
4783 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4784 source and sink caps.
4786 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4787 Intersect the peer caps with the pad template before going into
4788 transform_caps.
4789 (gst_base_transform_transform_caps): More debugging.
4791 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4792 src argument.
4794 2005-07-04 Edward Hervey <edward@fluendo.com>
4796 * gst/gstutils.c:
4797 * gst/gstutils.h:
4798 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4799 in bindings.
4801 2005-07-04 Andy Wingo <wingo@pobox.com>
4803 * check/gst/gstpad.c: Only set explicit caps on pads.
4805 2005-07-01 Andy Wingo <wingo@pobox.com>
4807 * tests/network-clock.scm: Commentary update.
4809 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4810 Didn't really make sense, not implementable with basetransform,
4811 etc.
4812 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4813 attempt at implementing the sync property, needs an unlock method.
4815 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4816 New func, by default returns the same caps (the identity
4817 transformation).
4818 (gst_base_transform_getcaps): Uses transform_caps to return
4819 something sensible.
4820 (gst_base_transform_setcaps): Complicated logic to get caps on
4821 both pads, even if they are different, and to call set_caps once
4822 for every time both pads get their caps set.
4823 (gst_base_transform_handle_buffer): Give the ref to the transform
4824 function. Allows in-place modification of the buffer.
4826 * gst/base/gstbasetransform.h (transform_caps): New class method.
4827 Given caps on one side, what can I do on the other.
4828 (set_caps): Take two caps, one for each side of the element.
4830 * gst/gstpad.h:
4831 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4832 caps in place. This is safe because we can check the mutability of
4833 the caps, and a good idea because fixate functions are just called
4834 as a matter of last resort. (Not actually implemented.)
4835 (gst_pad_set_caps): If the caps we're setting is actually the same
4836 as the existing pad caps, just update the pointer without calling
4837 setcaps. Assert that caps is either NULL or fixed, as per the
4838 docs.
4840 * gst/gstghostpad.c: Update for fixate changes.
4842 2005-07-02 Andy Wingo <wingo@pobox.com>
4844 * gst/gstcaps.c:
4845 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4846 two refcounts makes it immutable, which is enough. Doc more.
4848 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4850 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4851 Put the mini_object into GValue as a mini_object,
4852 not a gpointer, since that's how we declared
4853 the signal.
4855 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4857 * examples/pwg/Makefile.am:
4858 Fix buildbot again.
4860 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4862 * docs/pwg/building-testapp.xml:
4863 Add extra check.
4864 * examples/pwg/Makefile.am:
4865 Fix buildbot.
4867 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4869 * configure.ac:
4870 * examples/Makefile.am:
4871 * examples/pwg/Makefile.am:
4872 * examples/pwg/extract.pl:
4873 Enable building the PWG examples.
4874 * docs/pwg/advanced-interfaces.xml:
4875 Add URI interface stub.
4876 * docs/pwg/advanced-types.xml:
4877 * docs/pwg/other-autoplugger.xml:
4878 * docs/pwg/appendix-porting.xml:
4879 * docs/pwg/pwg.xml:
4880 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4881 * docs/pwg/building-boiler.xml:
4882 * docs/pwg/building-chainfn.xml:
4883 * docs/pwg/building-pads.xml:
4884 * docs/pwg/building-props.xml:
4885 * docs/pwg/building-state.xml:
4886 * docs/pwg/building-testapp.xml:
4887 Update the building-*.xml parts for 0.9 changes. All examples
4888 code blocks compile in examples/pwg/*.
4890 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4892 * docs/manual/advanced-autoplugging.xml:
4893 * docs/manual/appendix-checklist.xml:
4894 * docs/manual/appendix-integration.xml:
4895 * docs/manual/highlevel-components.xml:
4896 Fix playbin/decodebin examples, update docs a bit, mention bus
4897 instead of signals in various places, mention kmplayer and
4898 kaffeine since they have a working GStreamer backend in the KDE
4899 section.
4901 2005-06-30 Wim Taymans <wim@fluendo.com>
4903 * CHANGES-0.9:
4904 * docs/design/draft-ghostpads.txt:
4905 * docs/design/draft-push-pull.txt:
4906 * docs/design/draft-query.txt:
4907 * docs/design/part-TODO.txt:
4908 * docs/design/part-query.txt:
4909 Added CHANGES-0.9 doc, updated status of other docs.
4911 * gst/gstquery.h:
4912 Remove "hmm" macro
4914 2005-06-30 Wim Taymans <wim@fluendo.com>
4916 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4917 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4918 (gst_base_sink_change_state):
4919 * gst/base/gstbasesink.h:
4920 Some tweaks, only EOS and a buffer complete a preroll.
4922 2005-06-30 Andy Wingo <wingo@pobox.com>
4924 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4925 activate_push down to the internal pad as well.
4927 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4929 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4931 * gst/gsttaginterface.c:
4932 Some documentation fixes (#307394 and #307397).
4934 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4936 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4938 * gst/gstvalue.c: (gst_value_intersect_list):
4939 Fix memleak (#309125).
4941 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4943 * docs/manual/advanced-dataaccess.xml:
4944 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4945 * docs/manual/basics-pads.xml:
4946 Add reference for filtered caps to above chapter.
4948 2005-06-30 Wim Taymans <wim@fluendo.com>
4950 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4951 (gst_bin_change_state):
4952 Probes are gone.
4953 Lame attempt at making the state change function a bit
4954 more readable.
4956 2005-06-30 Wim Taymans <wim@fluendo.com>
4958 * docs/design/part-clocks.txt:
4959 * docs/design/part-element-sink.txt:
4960 * docs/design/part-events.txt:
4961 * docs/design/part-preroll.txt:
4962 * docs/design/part-states.txt:
4963 Some more tweeks and additions to the docs.
4965 2005-06-30 Wim Taymans <wim@fluendo.com>
4967 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4968 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4969 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4970 (gst_pad_check_pull_range), (gst_pad_get_range),
4971 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4972 * gst/gstpad.h:
4973 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4974 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4975 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4976 (gst_pad_remove_buffer_probe):
4977 Removed atomic operations, use existing LOCK.
4978 Move exception handling out of main code path.
4980 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4982 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4983 (silly_return_true_function), (gst_pad_class_init),
4984 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4985 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4986 (gst_pad_send_event):
4987 Fix accumulator, add default value by using _emitv() instead
4988 of _emit() for signal emission.
4990 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4992 * docs/manual/advanced-dataaccess.xml:
4993 * examples/manual/Makefile.am:
4994 Add probe example.
4995 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4996 Make work (??).
4998 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
5000 * gst/elements/gstfilesink.c: (gst_filesink_render):
5001 Simplify code so that we don't have to handle short
5002 writes and return GST_FLOW_ERROR if an error occured.
5004 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5006 * docs/gst/gstreamer-docs.sgml:
5007 Remove probes more.
5009 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5011 * docs/gst/gstreamer-sections.txt:
5012 * docs/gst/tmpl/gstpad.sgml:
5013 * docs/gst/tmpl/gstprobe.sgml:
5014 * gst/Makefile.am:
5015 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5016 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5017 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5018 (gst_pad_push_event), (gst_pad_send_event):
5019 * gst/gstpad.h:
5020 * gst/gstutils.c: (gst_pad_add_data_probe),
5021 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5022 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5023 (gst_pad_remove_buffer_probe):
5024 * gst/gstutils.h:
5025 Remove old probes, add new g-signal-based probes and some utility
5026 functions.
5028 2005-06-29 Edward Hervey <edward@fluendo.com>
5030 * gst/gstelementfactory.c:
5031 * gst/gstutils.h:
5032 * gst/gstutils.c:
5033 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5034 the definition to the header file.
5036 2005-06-29 Andy Wingo <wingo@pobox.com>
5038 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5039 plugins from the source directory.
5041 2005-06-29 Wim Taymans <wim@fluendo.com>
5043 * docs/gst/tmpl/gstbuffer.sgml:
5044 * docs/gst/tmpl/gstclock.sgml:
5045 Some fixings for blantently wrong text.
5047 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5049 * check/Makefile.am:
5050 * gst/gst.c: (add_path_func), (init_pre):
5051 * gst/gstregistry.c: (gst_registry_add_path):
5052 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5053 only scan the GST_PLUGIN_PATH locations, and not add
5054 system locations
5056 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5058 * docs/gst/gstreamer-sections.txt:
5059 * docs/gst/tmpl/gstbasesrc.sgml:
5060 * gst/gstelement.c:
5061 * gst/gstelement.h:
5062 * gst/gstevent.c:
5063 * gst/gstutils.c:
5064 doc fixes
5066 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5068 * docs/manual/advanced-autoplugging.xml:
5069 Fix autoplugging example.
5071 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5073 * docs/manual/advanced-autoplugging.xml:
5074 * docs/manual/mime-world.fig:
5075 Try to get autoplugging working, fix type detection. Fix text
5076 in hello-world image.
5078 2005-06-29 Wim Taymans <wim@fluendo.com>
5080 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5081 (gst_base_sink_change_state):
5082 Small debug line.
5084 * gst/gstclock.h:
5085 map SIGNAL and BROADCAST to the right function.
5087 * gst/gstobject.h:
5088 Remove redundant braces.
5090 * gst/gstpad.c: (gst_pad_set_caps):
5091 Don't call setcaps function when reseting caps to NULL.
5093 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5094 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5095 (gst_system_clock_id_unschedule):
5096 Use BROADCAST as this is what we do.
5098 2005-06-29 Wim Taymans <wim@fluendo.com>
5100 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5101 We are actually prerolling before commiting the state
5102 change.
5104 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5106 * docs/manual/advanced-clocks.xml:
5107 * docs/manual/advanced-interfaces.xml:
5108 * docs/manual/advanced-metadata.xml:
5109 * docs/manual/advanced-position.xml:
5110 * docs/manual/advanced-schedulers.xml:
5111 * docs/manual/advanced-threads.xml:
5112 * docs/manual/appendix-porting.xml:
5113 * docs/manual/basics-bins.xml:
5114 * docs/manual/basics-bus.xml:
5115 * docs/manual/basics-elements.xml:
5116 * docs/manual/basics-helloworld.xml:
5117 * docs/manual/basics-pads.xml:
5118 * docs/manual/highlevel-components.xml:
5119 * docs/manual/manual.xml:
5120 * docs/manual/thread.fig:
5121 Update (until threads/scheduling) Application Development Manual;
5122 remove GstThread, add GstBus, add simple porting checklist, add
5123 documentation for tag writing, clocks, make all examples until this
5124 part compile and run.
5125 * examples/manual/Makefile.am:
5126 Update from changes to Application Development Manual; add bus
5127 example, remove thread example.
5129 2005-06-28 Wim Taymans <wim@fluendo.com>
5131 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5132 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5133 (gst_bus_source_dispatch):
5134 Add debugging messages.
5135 Make internal methods static.
5136 Handle the case where the bus is flushed in the handler.
5138 * gst/gstelement.c: (gst_element_get_bus):
5139 Fix refcount in _get_bus();
5141 * gst/gstpipeline.c: (gst_pipeline_change_state),
5142 (gst_pipeline_get_clock_func):
5143 Clock refcounting fixes.
5144 Handle the case where preroll timed out more gracefully.
5146 * gst/gstsystemclock.c: (gst_system_clock_dispose):
5147 Clean up the internal thread in dispose. This is needed
5148 for subclasses that actually get disposed.
5150 * gst/schedulers/threadscheduler.c:
5151 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5152 (gst_thread_scheduler_dispose):
5153 Free thread pool in dispose.
5155 2005-06-28 Andy Wingo <wingo@pobox.com>
5157 * tests/network-clock-utils.scm (debug, print-event): New utils.
5159 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5160 (*packet-loss*): Unified loss probability.
5161 (network-time): Report out-of-band events.
5163 * tests/plot-data: Add support for out-of-band events. Hack it
5164 into this script instead of passing it down the pipe; should fix
5165 this later.
5167 2005-06-28 Wim Taymans <wim@fluendo.com>
5169 * docs/gst/gstreamer.types:
5170 * docs/gst/tmpl/gstbasesrc.sgml:
5171 * docs/gst/tmpl/gstpad.sgml:
5172 Docs fixes.
5174 2005-06-28 Wim Taymans <wim@fluendo.com>
5176 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5177 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5178 (gst_proxy_pad_do_fixatecaps):
5179 Correctly proxy the check_pull_range function.
5181 2005-06-28 Andy Wingo <wingo@pobox.com>
5183 * tests/network-clock.scm: Removed need for slib.
5185 2005-06-28 Wim Taymans <wim@fluendo.com>
5187 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5188 (gst_basesink_preroll_queue_flush):
5189 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5190 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5191 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5192 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5193 (gst_proxy_pad_set_property):
5194 * gst/gstpad.c:
5195 * gst/gstpad.h:
5196 * gst/gstqueue.c: (gst_queue_init):
5197 The deprecated pad loop function is removed now.
5199 2005-06-28 Andy Wingo <wingo@pobox.com>
5201 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5202 New parameters, simulate network packet loss.
5204 * tests/network-clock-utils.scm: Initialize the RNG.
5206 2005-06-28 Wim Taymans <wim@fluendo.com>
5208 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5209 (gst_basesink_event), (gst_basesink_deactivate):
5210 Flushing the preroll queue always needs to unlock the waiters.
5212 2005-06-28 Edward Hervey <edward@fluendo.com>
5214 * gst/gstpipeline.c: (gst_pipeline_send_event):
5215 Wheen a seek was successful on a pipeline, set the stream_time to the
5216 seek offset in order to have a synchronized stream_time.
5218 2005-06-28 Wim Taymans <wim@fluendo.com>
5220 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5221 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5222 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5223 (gst_proxy_pad_do_fixatecaps):
5224 Call wrapper function instead of just calling the function
5225 pointers. This takes care of any locking and whatmore.
5227 2005-06-28 Wim Taymans <wim@fluendo.com>
5229 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5230 (gst_pad_pull_range):
5231 * gst/gstpad.h:
5232 CONNECTED -> LINKED.
5234 2005-06-28 Andy Wingo <wingo@pobox.com>
5236 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5237 source-munging commit!!!
5239 * gst/gstobject.c (gst_object_unref, gst_object_ref)
5240 (gst_object_sink): Take gpointer arguments, not GstObject --
5241 avoids casts. Like GLib.
5243 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5244 activate.
5246 2005-06-27 Andy Wingo <wingo@pobox.com>
5248 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5249 remaining buffer.
5251 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5252 returns a sorted copy of the trace list.
5253 (gst_alloc_trace_print_live): New API, only prints traces with
5254 live objects. Sort the list.
5255 (gst_alloc_trace_print_all): Sort the list.
5256 (gst_alloc_trace_print): Align columns.
5258 * gst/elements/gstttypefindelement.c:
5259 * gst/elements/gsttee.c:
5260 * gst/base/gstbasesrc.c:
5261 * gst/base/gstbasesink.c:
5262 * gst/base/gstbasetransform.c:
5263 * gst/gstqueue.c: Adapt for pad activation changes.
5265 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5266 sched.
5267 (gst_pipeline_dispose): Drop ref on sched.
5269 * gst/gstpad.c (gst_pad_init): Set the default activate func.
5270 (gst_pad_activate_default): Push mode by default.
5271 (pre_activate_switch, post_activate_switch): New stubs, things to
5272 do before and after switching activation modes on pads.
5273 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5274 the pad's activate function to choose which mode to activate.
5275 Shortcut on deactivation and call the right function directly.
5276 (gst_pad_activate_pull): New API, (de)activates a pad in pull
5277 mode.
5278 (gst_pad_activate_push): New API, same for push mode.
5279 (gst_pad_set_activate_function)
5280 (gst_pad_set_activatepull_function)
5281 (gst_pad_set_activatepush_function): Setters for new API.
5283 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5284 Trace all miniobjects.
5285 (gst_mini_object_make_writable): Unref the arg if we copy, like
5286 gst_caps_make_writable.
5288 * gst/gstmessage.c (_gst_message_initialize): No trace init.
5290 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
5291 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5292 Adapt for new pad API.
5294 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5296 * gst/gstelement.h:
5297 * gst/gstelement.c (gst_element_iterate_src_pads)
5298 (gst_element_iterate_sink_pads): New API functions.
5300 * gst/gstelement.c (iterator_fold_with_resync): New utility,
5301 should fold into gstiterator.c in some form.
5302 (gst_element_pads_activate): Simplified via use of fold and
5303 delegation of decisions to gstpad->activate.
5305 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5306 help in debugging.
5308 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5309 class once in init, like gstmessage. Didn't run into this issue
5310 but it seems correct. Don't initialize a trace, gstminiobject does
5311 that.
5313 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5314 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5315 to the bus.
5316 (assert_live_count): New util function, uses alloc traces to check
5317 cleanup.
5319 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5320 To be modified when unlink drops the internal pad.
5322 2005-06-27 Wim Taymans <wim@fluendo.com>
5324 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5325 (gst_bin_change_state):
5326 Cleanup the get_state() function a little, make sure it
5327 iterates the same set of elements.
5328 Added stub iterate_state_order().
5330 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
5332 * docs/gst/gstreamer-docs.sgml:
5333 * docs/gst/gstreamer-sections.txt:
5334 * docs/gst/gstreamer.types:
5335 * docs/gst/tmpl/gstbasesink.sgml:
5336 * docs/gst/tmpl/gstbasesrc.sgml:
5337 * docs/gst/tmpl/gstbasetransform.sgml:
5338 * docs/gst/tmpl/gstelement.sgml:
5339 * docs/gst/tmpl/gstiterator.sgml:
5340 * gst/base/gstbasesrc.c:
5341 * gst/base/gstbasesrc.h:
5342 * gst/base/gstbasetransform.h:
5343 * gst/gstelement.c:
5344 * gst/gstiterator.h:
5345 adding basetransform and iterator docs
5347 2005-06-27 Andy Wingo <wingo@pobox.com>
5349 * docs/design/part-activation.txt: Notes on how activation should
5350 work -- not quite implemented yet.
5352 2005-06-25 Wim Taymans <wim@fluendo.com>
5354 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5355 At least get the chain function correct, needs more
5356 fixing.
5358 2005-06-25 Wim Taymans <wim@fluendo.com>
5360 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5361 (gst_basesink_handle_object), (gst_basesink_event),
5362 (gst_basesink_do_sync), (gst_basesink_handle_event),
5363 (gst_basesink_change_state):
5364 * gst/gsttask.h:
5365 Right, two problems here: ghostpads don't take locks and
5366 glib _rec_mutex_lock_full() with depth==0 still locks.
5367 Catch illegal locking and g_warn them.
5369 2005-06-25 Wim Taymans <wim@fluendo.com>
5371 * check/states/sinks.c: (START_TEST), (gst_object_suite):
5372 Have to check for completion now...
5374 2005-06-25 Wim Taymans <wim@fluendo.com>
5376 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5377 (gst_basesink_handle_object), (gst_basesink_event),
5378 (gst_basesink_do_sync), (gst_basesink_handle_event),
5379 (gst_basesink_change_state):
5380 * gst/gstpad.h:
5381 Unlock STREAM_LOCK whatever the recursion was.
5383 2005-06-25 Wim Taymans <wim@fluendo.com>
5385 * gst/base/gstbasesink.c: (gst_basesink_set_property),
5386 (gst_basesink_preroll_queue_empty),
5387 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5388 (gst_basesink_event), (gst_basesink_do_sync),
5389 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5390 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5391 (gst_basesink_change_state):
5392 Reworked the base sink, handle event and buffer serialisation
5393 correctly and removed possible deadlock.
5394 Handle EOS correctly.
5396 2005-06-25 Wim Taymans <wim@fluendo.com>
5398 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5399 (gst_pipeline_change_state):
5400 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5401 Allow elements to post EOS in the state change function.
5402 Fix up -launch, make it exit the poll loop when the
5403 pipeline actually changed state.
5404 Fix up warning parsing in -launch.
5406 2005-06-25 Wim Taymans <wim@fluendo.com>
5408 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5409 (gst_tee_sink_activate):
5410 Core takes STREAM_LOCK for us now.
5412 2005-06-25 Wim Taymans <wim@fluendo.com>
5414 * gst/gstelement.c: (gst_element_get_state_func),
5415 (gst_element_set_state):
5416 * gst/gstelement.h:
5417 * gst/gstmessage.c: (gst_message_parse_error),
5418 (gst_message_parse_warning):
5419 Keep track of current target state while performing a state
5420 change so that subclasses can do something interesting.
5421 Fix parsing of warning/error messages when GError is NULL.
5423 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5425 * docs/gst/Makefile.am:
5426 * docs/gst/gstreamer-docs.sgml:
5427 * docs/gst/gstreamer-sections.txt:
5428 * docs/gst/gstreamer.types:
5429 * docs/gst/tmpl/gstbasesink.sgml:
5430 * docs/gst/tmpl/gstbasesrc.sgml:
5431 * docs/gst/tmpl/gstbin.sgml:
5432 * docs/gst/tmpl/gstcompat.sgml:
5433 * docs/gst/tmpl/gstfakesink.sgml:
5434 * docs/gst/tmpl/gstfakesrc.sgml:
5435 * docs/gst/tmpl/gstfilesink.sgml:
5436 * docs/gst/tmpl/gstfilesrc.sgml:
5437 * docs/gst/tmpl/gstindex.sgml:
5438 * docs/manual/appendix-quotes.xml:
5439 * gst/base/gstbasesrc.h:
5440 * gst/elements/gstfakesrc.h:
5441 * gst/gstmessage.h:
5442 start pulling in base classes and elements in our docs
5444 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5446 * docs/gst/Makefile.am:
5447 * docs/libs/Makefile.am:
5448 fixed make distcheck with gtk-doc 1.3
5450 2005-06-23 Wim Taymans <wim@fluendo.com>
5452 * gst/gstelement.c: (gst_element_get_state_func),
5453 (gst_element_set_state), (gst_element_change_state):
5454 When the state did not change, also report NO_PREROLL
5455 when it matters.
5457 2005-06-23 Wim Taymans <wim@fluendo.com>
5459 * gst/gstpad.c: (gst_pad_event_default):
5460 * gst/gstqueue.c: (gst_queue_loop):
5461 No unsafe task pausing please.
5463 2005-06-23 Wim Taymans <wim@fluendo.com>
5465 * gst/schedulers/threadscheduler.c:
5466 (gst_thread_scheduler_task_start),
5467 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5468 Ref the task before pushing it on the threadpool. This
5469 makes sure that we have a ref when the threadfunction is
5470 actually called.
5472 2005-06-23 Andy Wingo <wingo@pobox.com>
5474 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5475 offset is greater than the file's size.
5477 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5478 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5479 * gst/gstobject.c (gst_object_class_init): Make the class lock
5480 recursive. Wim won't let me drop deep_notify. Decodebin works
5481 again, whoopdy doo.
5483 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5484 internal pad, and hacks accordingly. Doesn't do it on the target
5485 pad because we change its caps. Probably catches all cases of
5486 interest tho.
5487 (gst_ghost_pad_set_property): Connect to notify::caps as
5488 appropritate.
5490 * tests/network-clock.scm (plot-simulation): Pipe data to the
5491 elite python skript.
5493 * tests/network-clock-utils.scm (define-parameter): New macro,
5494 defines a parameter that can be set via the command line.
5495 (set-parameter!, parse-parameter-arguments): Command line args
5496 parser.
5498 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5499 stdin.
5501 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5503 * gst/elements/gsttypefindelement.c:
5504 (gst_type_find_element_handle_event):
5505 Don't restart typefinding on a discont.
5506 * gst/gstelement.c: (gst_element_set_state):
5507 Debug spelling fix.
5508 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5509 Allow changing mode of an active pad.
5510 Debug output fixes.
5511 * gst/registries/gstlibxmlregistry.c: (load_feature):
5512 Don't cast a static pad template to a normal pad template.
5514 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5516 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5517 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5518 remove gst_strtoll completely, since it didn't actually do
5519 anything more than what g_ascii_strtoull already does.
5520 check for range errors when deserializing
5521 do a cast for the unsigned cases; but further fixing needs
5522 a decision on what the interpretation of "(int)" and
5523 deserialization should be for values that fall outside the
5524 type's boundaries (ie, refuse, or interpret as casting)
5526 2005-06-23 Wim Taymans <wim@fluendo.com>
5528 * check/Makefile.am:
5529 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5530 * docs/design/part-live-source.txt:
5531 * docs/design/part-states.txt:
5532 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5533 (gst_basesrc_set_live), (gst_basesrc_is_live),
5534 (gst_basesrc_get_range), (gst_basesrc_activate),
5535 (gst_basesrc_change_state):
5536 * gst/base/gstbasesrc.h:
5537 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5538 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5539 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5540 * gst/gstelement.c: (gst_element_get_state_func),
5541 (gst_element_set_state):
5542 * gst/gstelement.h:
5543 * gst/gsttypes.h:
5544 * tools/gst-launch.c: (event_loop), (main):
5545 Added support for live sources and other elements that
5546 cannot do preroll.
5547 Updated design docs, added live-source design doc.
5548 Implemented live source functionality in basesrc
5549 Fix error condition in _bin_get_state()
5550 Implement live source handling in -launch.
5551 Added check for live sources.
5552 Fixed case in GstBin where elements were changed state
5553 multiple times.
5556 2005-06-23 Andy Wingo <wingo@pobox.com>
5558 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5559 borken refcounting.
5561 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5562 gst_caps_replace takes care of this for us.
5564 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5565 gst_pad_set_caps on the target, not just its setcaps() function.
5567 * tests/network-clock.scm:
5568 * tests/network-clock-utils.scm: A network clock simulator.
5569 Something of an algorithmic testbed before doing something in C.
5571 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5573 * check/Makefile.am:
5574 * check/gst/capslist.h:
5575 copy over from 0.8, and add two with bitmasks specified with
5576 (int) 0xFF...
5577 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5578 add test to parse everything from capslist.h
5579 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5580 (main):
5581 add test for structure deserialization
5582 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5583 add tests for deserialization of strings to int types
5584 * gst/gststructure.c: (gst_structure_nth_field_name):
5585 * gst/gststructure.h:
5586 add a way to get the name of a field referenced by index
5587 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5588 instead of checking if the resulting long long lies between
5589 min and max, we check if the long long would fit into
5590 a number of bytes for the final type.
5591 This fixes cases where a string represents 2^32 - 1, which
5592 when cast to int would be the (valid) -1, but is bigger than
5593 G_MAXINT
5595 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5597 * gst/parse/grammar.y:
5598 add a log line for type deserialization
5600 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5602 * check/gst/gstvalue.c: (START_TEST):
5603 * gst/gstvalue.c: (gst_value_deserialize):
5604 return long long, not int, so gint64 deserialization actually
5605 works. Is there any flag that makes the compiler check this ?
5606 Fixes #308559
5608 2005-06-22 Wim Taymans <wim@fluendo.com>
5610 * gst/gstbuffer.h:
5611 Added convenience macros for setting buffers in GValue.
5613 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5615 * check/gst/.cvsignore:
5616 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5617 add a test deserializing int64, and comment part out because
5618 it fails, yay !
5620 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5622 * check/Makefile.am:
5623 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5624 * testsuite/Makefile.am:
5625 * testsuite/caps/Makefile.am:
5626 * testsuite/caps/value_serialize.c:
5627 * testsuite/test_gst_init.c:
5628 move a value_serialize test over
5630 2005-06-20 Wim Taymans <wim@fluendo.com>
5632 * gst/gstpad.c:
5633 Small doc updates.
5635 * gst/gstvalue.c: (gst_value_compare_buffer),
5636 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5637 (gst_value_compare_flags), (gst_value_serialize_flags),
5638 (gst_value_deserialize_flags), (_gst_value_initialize):
5639 Fix serialisation of buffers, they are not boxed types anymore
5641 2005-06-20 Wim Taymans <wim@fluendo.com>
5643 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5644 Testcase to show error in buffer-on-caps serialisation.
5646 2005-06-20 Andy Wingo <wingo@pobox.com>
5648 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5649 will be adding to later.
5651 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5652 if its socks fill with rocks.
5653 (gst_system_clock_obtain): Set the name on object construction.
5654 Avoid double-checked locking.
5656 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
5658 * gst/gsturi.c: (gst_element_make_from_uri):
5659 Fix potential endless loop.
5661 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5663 * check/Makefile.am:
5664 add gsttag
5665 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5666 (main):
5667 move over from testsuite dir and clean up
5668 * configure.ac:
5669 * gst/gsttag.c:
5670 * testsuite/Makefile.am:
5671 * testsuite/tags/.cvsignore:
5672 * testsuite/tags/Makefile.am:
5673 * testsuite/tags/merge.c:
5674 remove testsuite/tags
5676 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5678 * docs/gst/gstreamer-sections.txt:
5679 * docs/gst/tmpl/gstenumtypes.sgml:
5680 * win32/gstenumtypes.c:
5681 clean up documentation build a little
5683 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5685 * check/gstcheck.h:
5686 add macros for checking refcounts on objects and caps
5687 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5688 add some more unit tests
5689 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5690 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5691 fix leaked refcounts (I hope :)) so unittest works
5692 * gst/gstpad.h:
5693 whitespace removal
5695 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5697 * configure.ac: back to HEAD
5699 === release 0.9.1 ===
5701 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5703 * NEWS:
5704 * RELEASE:
5705 updated
5707 2005-06-17 Andy Wingo <wingo@pobox.com>
5709 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5710 assert; it's always possible that the pad gets deactivated in
5711 between the checks in gstpad.c and the implementation. Rely on
5712 finish_preroll() to return a FLUSHING or similar instead of on the
5713 assert.
5715 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5716 clock and post an EOS message if we come out of finish_preroll in
5717 the playing state.
5719 2005-06-16 David Schleef <ds@schleef.org>
5721 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5722 (gst_capsfilter_set_property): Allow NULL as possible value
5723 for filter_caps property, indicating GST_CAPS_ANY.
5725 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5727 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5728 fix debug output
5729 * gst/schedulers/Makefile.am:
5730 use libgst prefix
5731 * gstreamer.spec.in:
5732 fix spec for it
5734 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5736 * gstreamer.spec.in:
5737 clean up
5739 2005-06-08 Andy Wingo <wingo@pobox.com>
5741 * gst/gstutils.c: RPAD fixes all around.
5742 (gst_element_link_pads): Refcounting fixes.
5744 * tools/gst-inspect.c:
5745 * tools/gst-xmlinspect.c:
5746 * parse/grammar.y:
5747 * gst/base/gsttypefindhelper.c:
5748 * gst/base/gstbasesink.c:
5749 * gst/gstqueue.c: RPAD fixes.
5751 * gst/gstghostpad.h:
5752 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5753 pads. The tricky thing is they provide both source and sink
5754 interfaces, since they proxy the internal pad for the external
5755 pad, and vice versa. Implement with lower-level ProxyPad objects,
5756 with the interior proxy pad as a child of the exterior ghost pad.
5757 Should write a doc on this.
5759 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5760 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5761 gst_object API.
5763 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5764 pads are real pads. No ghost pads in this file. Not documenting
5765 the myriad s/RPAD/PAD/ and REALIZE fixes.
5766 (gst_pad_class_init): Add properties for "direction" and
5767 "template". Both are construct-only, so they can't change during
5768 the life of the pad. Fixes properly deriving from GstPad.
5769 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5770 derived objects, just set properties when creating the objects via
5771 g_object_new.
5772 (gst_pad_get_parent): Implement as a function, return NULL if the
5773 parent is not an element.
5774 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5775 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5777 * gst/gstobject.c (gst_object_class_init): Make name a construct
5778 property. Don't set it in the object init.
5780 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5781 with UNKNOWN direction.
5782 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5783 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5784 (gst_element_remove_pad): Remove ghost-pad special cases.
5785 (gst_element_pads_activate): Remove rpad cruft.
5787 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5788 catch the pad's-parent-not-an-element case.
5790 * gst/gst.h: Include gstghostpad.h.
5792 * gst/gst.c (init_post): No more real, ghost pads.
5794 * gst/Makefile.am: Add gstghostpad.[ch].
5796 * check/Makefile.am:
5797 * check/gst/gstbin.c:
5798 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5799 into a bin creates ghost pads, and that the refcounts are right.
5800 Partly moved from gstbin.c.
5802 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5804 * check/gst-libs/.cvsignore:
5805 * check/gst/.cvsignore:
5806 * check/pipelines/.cvsignore:
5807 ignore more
5808 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5809 (START_TEST), (cleanup_suite), (main):
5810 add some tests related to cleanup after running pipelines
5812 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5814 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5815 add a testsuite for GstBuffer
5817 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5819 * gst/gstminiobject.h:
5820 add defines for accessing the refcount
5822 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5824 * Makefile.am: added support for html unit test coverage reports
5826 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5828 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5829 Free existing caps if the capsfilter changes. Add a FIXME about
5830 setting those caps on the pads.
5832 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5833 Before adding a ghost pad to a parent bin, check that there isn't
5834 already one for the element on the bin. Prevents infinite recursion
5835 when using decodebin in parse pipelines. Andy says he'll rewrite the
5836 way this works anyway, so ignore the hack.
5838 2005-06-02 Andy Wingo <wingo@pobox.com>
5840 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5841 file size, pass it on to the type find helper.
5843 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5844 segment_start and segment_end properly according to the seek
5845 method. Segment_end is still a bit flaky because offset can be
5846 negative for CUR and END cases, but it takes -1 as an "unset"
5847 value.
5849 2005-06-02 Wim Taymans <wim@fluendo.com>
5851 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5852 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5853 (gst_basesink_activate):
5854 * gst/base/gstbasesink.h:
5855 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5856 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5857 (gst_pad_query), (gst_pad_start_task):
5858 * gst/gstpad.h:
5859 * gst/gstqueue.c: (gst_queue_bufferalloc),
5860 (gst_queue_handle_sink_event), (gst_queue_chain):
5861 Bufferalloc: return GstFlowReturn to more accuratly report
5862 why allocation failed.
5864 2005-06-02 Wim Taymans <wim@fluendo.com>
5866 * gst/gstpipeline.c: (gst_pipeline_send_event):
5867 Take snapshot of state without blocking.
5869 2005-06-02 Wim Taymans <wim@fluendo.com>
5871 * docs/design/part-TODO.txt:
5872 * docs/design/part-caps.txt:
5873 * docs/design/part-clocks.txt:
5874 * docs/design/part-negotiation.txt:
5875 * docs/design/part-preroll.txt:
5876 Small doc updates
5878 2005-05-30 Wim Taymans <wim@fluendo.com>
5880 * gst/elements/gstidentity.c: (gst_identity_event),
5881 (gst_identity_transform), (gst_identity_get_property):
5882 Protect last_message property as it is accessed from
5883 multiple threads.
5885 2005-05-30 Wim Taymans <wim@fluendo.com>
5887 * gst/gstelement.c: (gst_element_init),
5888 (gst_element_pads_activate), (gst_element_change_state):
5889 Slicker pad activation code.
5891 2005-05-30 Wim Taymans <wim@fluendo.com>
5893 * gst/Makefile.am:
5894 * gst/gstelement.h:
5895 * gst/gstelementfactory.h:
5896 * gst/gsttypes.h:
5897 Move elementfactory methods to separate .h file.
5899 2005-05-30 Wim Taymans <wim@fluendo.com>
5901 * docs/design/part-overview.txt:
5902 * gst/gstsystemclock.h:
5903 Small typo fixes, doc updates.
5905 2005-05-30 Wim Taymans <wim@fluendo.com>
5907 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5908 (init_popt_callback):
5909 Remove cpu-opt flag.
5911 2005-05-30 Wim Taymans <wim@fluendo.com>
5913 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5914 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5915 * gst/gstbuffer.h:
5916 Avoid typechecking in places where not needed.
5917 Added accessor for malloc_data.
5919 2005-05-30 Wim Taymans <wim@fluendo.com>
5921 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5922 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5923 (gst_pad_configure_sink), (gst_pad_configure_src),
5924 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5925 (gst_pad_start_task):
5926 Propagate errors from _set_caps() in configure_src/sink
5927 functions instead of returning TRUE.
5928 FLUSH events can travel up and downstream
5931 2005-05-30 Wim Taymans <wim@fluendo.com>
5933 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5934 (gst_basesink_activate):
5935 Handle EOS in preroll.
5937 2005-05-30 Wim Taymans <wim@fluendo.com>
5939 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5940 (gst_queue_loop), (gst_queue_handle_src_event):
5941 Remove old pieces of code
5942 Flushing the queue in an upstream event is a very bad idea.
5944 2005-05-26 Andy Wingo <wingo@pobox.com>
5946 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5947 gst_value_set_mini_object so as to add a ref on the object (which
5948 will be removed when the value is unset).
5950 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5951 arg type in ::handoff.
5953 * gst/gstelement.c (gst_element_change_state): Also deactivate
5954 pads in READY->NULL, just in case the element didn't make it to
5955 PAUSED. Wingo tested, Wim approved.
5957 2005-05-26 Wim Taymans <wim@fluendo.com>
5959 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5960 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5961 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5962 A flushing pad cannot be used to alloc_buffer from.
5964 2005-05-26 Wim Taymans <wim@fluendo.com>
5966 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5967 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5968 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5969 (gst_bus_create_watch), (gst_bus_add_watch_full):
5970 * gst/gstbus.h:
5971 Implement a real GSource and use g_main_context_wakeup() to
5972 signal new messages instead of the socketpair.
5974 2005-05-25 Wim Taymans <wim@fluendo.com>
5976 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5977 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5978 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5979 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5980 (gst_pad_send_event), (gst_pad_start_task):
5981 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5982 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5983 (gst_queue_sink_activate), (gst_queue_src_activate),
5984 (gst_queue_change_state):
5985 * gst/gstqueue.h:
5986 Fix state changes for non sinks. We now change sinks, then elements
5987 with unconnected srcpads, then the rest.
5988 More efficient queue unlocking in flush and state changes.
5989 Set the pad activate mode even if it does not have an activate
5990 function.
5992 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5994 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5995 Don't go in pull mode for non-seekable sources.
5996 * gst/elements/gsttypefindelement.h:
5997 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5998 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5999 (free_entry), (stop_typefinding),
6000 (gst_type_find_element_handle_event), (find_peek),
6001 (gst_type_find_element_chain), (do_pull_typefind),
6002 (gst_type_find_element_change_state):
6003 Allow typefinding (w/o seeking) in push-mode, simplified version
6004 of what was in 0.8.
6005 * gst/gstutils.c: (gst_buffer_join):
6006 * gst/gstutils.h:
6007 gst_buffer_join() from 0.8.
6009 2005-05-25 Wim Taymans <wim@fluendo.com>
6011 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6012 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6013 (gst_pad_send_event), (gst_pad_start_task):
6014 Disable attempt at mode switching until it is figured out.
6016 2005-05-25 Wim Taymans <wim@fluendo.com>
6018 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6019 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6020 (gst_basesink_finish_preroll), (gst_basesink_chain),
6021 (gst_basesink_loop), (gst_basesink_activate),
6022 (gst_basesink_change_state):
6023 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6024 (gst_basesrc_get_range), (gst_basesrc_loop),
6025 (gst_basesrc_activate):
6026 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6027 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6028 (gst_real_pad_init), (gst_real_pad_set_property),
6029 (gst_real_pad_get_property), (gst_pad_set_active),
6030 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6031 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6032 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6033 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6034 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6035 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6036 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6037 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6038 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6039 (gst_pad_stop_task):
6040 * gst/gstpad.h:
6041 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6042 (gst_queue_loop), (gst_queue_src_activate):
6043 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6044 (gst_task_get_state):
6045 * gst/gsttask.h:
6046 * gst/schedulers/threadscheduler.c:
6047 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6048 Implement gst_pad_pause/start/stop_task(), take STREAM lock
6049 in task function.
6050 Remove ACTIVE pad flag, use FLUSHING everywhere
6051 Added _pad_chain(), _pad_get_range() to call chain/getrange
6052 functions.
6053 Add locks around IS_FLUSHING when reading.
6054 Take STREAM lock in chain(), get_range() functions so plugins
6055 don't need to take it anymore.
6059 2005-05-25 Wim Taymans <wim@fluendo.com>
6061 * tools/gst-launch.c: (event_loop):
6062 Unref message after using its contents instead of
6063 before.
6065 2005-05-24 Wim Taymans <wim@fluendo.com>
6067 * docs/design/draft-ghostpads.txt:
6068 * docs/design/draft-push-pull.txt:
6069 * docs/design/draft-query.txt:
6070 * docs/design/part-overview.txt:
6071 Docs updates, added general overview doc.
6073 2005-05-21 David Schleef <ds@schleef.org>
6075 * docs/gst/tmpl/old/GstBin.sgml:
6076 * docs/gst/tmpl/old/GstBuffer.sgml:
6077 * docs/gst/tmpl/old/GstCaps.sgml:
6078 * docs/gst/tmpl/old/GstClock.sgml:
6079 * docs/gst/tmpl/old/GstCompat.sgml:
6080 * docs/gst/tmpl/old/GstData.sgml:
6081 * docs/gst/tmpl/old/GstElement.sgml:
6082 * docs/gst/tmpl/old/GstEvent.sgml:
6083 * docs/gst/tmpl/old/GstIndex.sgml:
6084 * docs/gst/tmpl/old/GstStructure.sgml:
6085 * docs/gst/tmpl/old/GstTag.sgml:
6086 * docs/gst/tmpl/old/cothreads.sgml:
6087 * docs/gst/tmpl/old/cothreads_compat.sgml:
6088 * docs/gst/tmpl/old/gettext.sgml:
6089 * docs/gst/tmpl/old/gobject2gtk.sgml:
6090 * docs/gst/tmpl/old/grammar.tab.sgml:
6091 * docs/gst/tmpl/old/gst-i18n-app.sgml:
6092 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6093 * docs/gst/tmpl/old/gst_private.sgml:
6094 * docs/gst/tmpl/old/gstaggregator.sgml:
6095 * docs/gst/tmpl/old/gstarch.sgml:
6096 * docs/gst/tmpl/old/gstatomic_impl.sgml:
6097 * docs/gst/tmpl/old/gstbufferstore.sgml:
6098 * docs/gst/tmpl/old/gstdata_private.sgml:
6099 * docs/gst/tmpl/old/gstdisksink.sgml:
6100 * docs/gst/tmpl/old/gstdisksrc.sgml:
6101 * docs/gst/tmpl/old/gstelementfactory.sgml:
6102 * docs/gst/tmpl/old/gstextratypes.sgml:
6103 * docs/gst/tmpl/old/gstfakesink.sgml:
6104 * docs/gst/tmpl/old/gstfakesrc.sgml:
6105 * docs/gst/tmpl/old/gstfdsink.sgml:
6106 * docs/gst/tmpl/old/gstfdsrc.sgml:
6107 * docs/gst/tmpl/old/gstfilesink.sgml:
6108 * docs/gst/tmpl/old/gstfilesrc.sgml:
6109 * docs/gst/tmpl/old/gsthttpsrc.sgml:
6110 * docs/gst/tmpl/old/gstidentity.sgml:
6111 * docs/gst/tmpl/old/gstindexfactory.sgml:
6112 * docs/gst/tmpl/old/gstmarshal.sgml:
6113 * docs/gst/tmpl/old/gstmd5sink.sgml:
6114 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6115 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6116 * docs/gst/tmpl/old/gstpadtemplate.sgml:
6117 * docs/gst/tmpl/old/gstpipefilter.sgml:
6118 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6119 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6120 * docs/gst/tmpl/old/gstshaper.sgml:
6121 * docs/gst/tmpl/old/gstspider.sgml:
6122 * docs/gst/tmpl/old/gstspideridentity.sgml:
6123 * docs/gst/tmpl/old/gststatistics.sgml:
6124 * docs/gst/tmpl/old/gsttee.sgml:
6125 * docs/gst/tmpl/old/gsttimecache.sgml:
6126 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6127 * docs/gst/tmpl/old/gstxmlregistry.sgml:
6128 * docs/gst/tmpl/old/gthread-cothreads.sgml:
6129 * docs/gst/tmpl/old/types.sgml:
6130 I didn't intend to add these or check them in.
6132 2005-05-19 David Schleef <ds@schleef.org>
6134 * configure.ac: Use -no-common everywhere. In a sane world, it
6135 would be the default in libtool, because without it, you can't
6136 build DLLs on Windows.
6137 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6138 * docs/gst/gstreamer-sections.txt:
6139 * docs/gst/tmpl/gstcpu.sgml:
6140 * docs/gst/tmpl/gstdata.sgml:
6141 * docs/gst/tmpl/gstthread.sgml:
6143 2005-05-19 David Schleef <ds@schleef.org>
6145 * gst/gstminiobject.c: (gst_value_set_mini_object),
6146 (gst_value_take_mini_object), (gst_value_get_mini_object):
6147 * gst/gstminiobject.h: Add GValue set/get functions.
6149 2005-05-19 Wim Taymans <wim@fluendo.com>
6151 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6152 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6153 (gst_subbuffer_init), (gst_buffer_is_span_fast):
6154 * gst/gstbuffer.h:
6155 * gst/gstbus.c: (gst_bus_post):
6156 * gst/gstelement.c: (gst_element_get_random_pad):
6157 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6158 Make subbufer unref the parent in finalize.
6159 some more debugging info.
6162 2005-05-19 Wim Taymans <wim@fluendo.com>
6164 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6165 (gst_basesink_init), (gst_basesink_finalize),
6166 (gst_basesink_activate), (gst_basesink_change_state):
6167 Don't free preroll queue too early.
6169 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6171 * gst/Makefile.am:
6172 * gst/ROADMAP:
6173 Hi, I'm outdated. Please shoot me.
6175 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6177 * gst/gstpipeline.c: (gst_pipeline_send_event):
6178 Do not access variables after they have been deleted.
6180 2005-05-19 Wim Taymans <wim@fluendo.com>
6182 * tools/gst-inspect.c: (print_plugin_features):
6183 A plugin feature does unfortunatly not use the
6184 object name yet...
6186 2005-05-18 Wim Taymans <wim@fluendo.com>
6188 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6189 Port _span() functions to new subbuffers.
6191 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6193 * gst/gstbin.c: (gst_bin_add_func):
6194 Fix clock settery in bins when adding kids after the clock has
6195 been selected.
6197 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6199 * gst/elements/gstidentity.c: (gst_identity_class_init):
6200 Workaround until signals support GstMiniObject.
6202 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6204 * gst/gstbuffer.c:
6205 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6207 2005-05-18 Wim Taymans <wim@fluendo.com>
6209 * gst/base/Makefile.am:
6210 * gst/base/gstadapter.c: (gst_adapter_base_init),
6211 (gst_adapter_class_init), (gst_adapter_init),
6212 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6213 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6214 (gst_adapter_flush), (gst_adapter_available),
6215 (gst_adapter_available_fast):
6216 * gst/base/gstadapter.h:
6217 Ported and added adapter to the base classes.
6219 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6221 * gst/gst.c:
6222 * gst/gstmessage.c:
6223 Make sure the class is reffed/unreffed once before threads can be
6224 used. Fixes #304551.
6226 2005-05-17 Wim Taymans <wim@fluendo.com>
6228 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6229 (gst_basesink_chain_unlocked), (gst_basesink_activate):
6230 * gst/gstminiobject.c: (gst_mini_object_get_type),
6231 (gst_mini_object_free):
6232 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6233 (gst_pad_push), (gst_pad_push_event):
6234 * gst/gstqueue.c: (gst_queue_change_state):
6235 Don't queue buffers in basesink when we are flushing.
6236 Unref buffer when flushing in basesink.
6237 Flush queue when going to READY
6238 Unref buffer when _push() returns an error.
6239 Don't free MiniObject instance when refcount is incremented
6240 in _finalize() so that we can recover objects.
6242 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
6244 * docs/manual/advanced-schedulers.xml:
6245 * docs/manual/appendix-checklist.xml:
6246 * docs/pwg/advanced-clock.xml:
6247 * docs/pwg/advanced-interfaces.xml:
6248 * docs/pwg/advanced-request.xml:
6249 * docs/pwg/advanced-types.xml:
6250 * docs/pwg/intro-preface.xml:
6251 * examples/plugins/example.c: (gst_example_get_type),
6252 (gst_example_class_init), (gst_example_chain),
6253 (gst_example_set_property), (gst_example_get_property),
6254 (gst_example_change_state), (plugin_init):
6255 * examples/plugins/example.h:
6256 small doc fixes
6258 2005-05-17 Wim Taymans <wim@fluendo.com>
6260 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6261 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6262 * gst/gstqueue.c: (gst_queue_change_state):
6263 Clear queue when going to READY.
6264 Remove IN_SETCAPS flag too.
6266 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
6268 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6269 Remove implicit cast from gboolean to GstElementStateReturn;
6270 make sure we still return failure in paused => ready case if
6271 the parent class fails to change state and our own stop
6272 vfunc succeeds.
6274 2005-05-17 Wim Taymans <wim@fluendo.com>
6276 * tools/gst-launch.c: (event_loop):
6277 Message was unreffed too soon.
6279 2005-05-16 Andy Wingo <wingo@pobox.com>
6281 * gst/gstbin.c (sink_iterator_filter): Err... um...
6283 * check/gst/gstbin.c (test_ghost_pads): New test for the
6284 ghosting-if-elements-not-in-same-bin behavior.
6286 2005-05-16 David Schleef <ds@schleef.org>
6288 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6289 accessing refcount directly.
6291 2005-05-15 David Schleef <ds@schleef.org>
6293 * check/Makefile.am: remove GstData checks
6294 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6295 * gst/Makefile.am: add miniobject, remove data
6296 * gst/gst.h: add miniobject, remove data
6297 * gst/gstdata.c: remove
6298 * gst/gstdata.h: remove
6299 * gst/gstdata_private.h: remove
6300 * gst/gsttypes.h: remove GstEvent and GstMessage
6301 * gst/gstelement.c: (gst_element_post_message): fix for API changes
6302 * gst/gstmarshal.list: change BOXED -> OBJECT
6304 Implement GstMiniObject.
6305 * gst/gstminiobject.c:
6306 * gst/gstminiobject.h:
6308 Modify to be subclasses of GstMiniObject.
6309 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6310 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6311 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6312 (gst_subbuffer_get_type), (gst_subbuffer_init),
6313 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6314 (gst_buffer_span):
6315 * gst/gstbuffer.h:
6316 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6317 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6318 (_gst_event_copy), (gst_event_new):
6319 * gst/gstevent.h:
6320 * gst/gstmessage.c: (_gst_message_initialize),
6321 (gst_message_get_type), (gst_message_class_init),
6322 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6323 (gst_message_new), (gst_message_new_error),
6324 (gst_message_new_warning), (gst_message_new_tag),
6325 (gst_message_new_state_changed), (gst_message_new_application):
6326 * gst/gstmessage.h:
6327 * gst/gstprobe.c: (gst_probe_perform),
6328 (gst_probe_dispatcher_dispatch):
6329 * gst/gstprobe.h:
6330 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6331 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6332 (_gst_query_copy), (gst_query_new):
6334 Update elements for GstData -> GstMiniObject changes
6335 * gst/gstquery.h:
6336 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6337 (gst_queue_chain), (gst_queue_loop):
6338 * gst/elements/gstbufferstore.c:
6339 (gst_buffer_store_add_buffer_func),
6340 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6341 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6342 (gst_fakesink_render):
6343 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6344 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6345 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6346 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6347 (gst_filesrc_create_read):
6348 * gst/elements/gstidentity.c: (gst_identity_class_init):
6349 * gst/elements/gsttypefindelement.c:
6350 (gst_type_find_element_src_event), (free_entry_buffers),
6351 (gst_type_find_element_handle_event):
6352 * libs/gst/dataprotocol/dataprotocol.c:
6353 (gst_dp_header_from_buffer):
6354 * libs/gst/dataprotocol/dataprotocol.h:
6355 * libs/gst/dataprotocol/dp-private.h:
6357 2005-05-15 David Schleef <ds@schleef.org>
6359 * gst/elements/gstelements.c: Don't include headers that were
6360 just removed.
6362 2005-05-15 David Schleef <ds@schleef.org>
6364 * gst/elements/Makefile.am: Remove some elements that don't
6365 need to be in the core (or even exist at all).
6366 * gst/elements/gstaggregator.c:
6367 * gst/elements/gstaggregator.h:
6368 * gst/elements/gstmd5sink.c:
6369 * gst/elements/gstmd5sink.h:
6370 * gst/elements/gstmultifilesrc.c:
6371 * gst/elements/gstmultifilesrc.h:
6372 * gst/elements/gstpipefilter.c:
6373 * gst/elements/gstpipefilter.h:
6374 * gst/elements/gstshaper.c:
6375 * gst/elements/gstshaper.h:
6376 * gst/elements/gststatistics.c:
6377 * gst/elements/gststatistics.h:
6378 * po/POTFILES.in: Remove above files.
6380 2005-05-14 Andy Wingo <wingo@pobox.com>
6382 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6383 so as to get the refs right.
6384 (sink_iterator_filter): New function, wraps bin_element_is_sink,
6385 unreffing objects that don't pass the filter.
6387 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6388 gst_element_set_bus.
6389 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6390 normal cases, this will destroy the bus.
6392 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6393 object.
6395 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6396 has no sinks.
6398 2005-05-13 Andy Wingo <wingo@pobox.com>
6400 * gst/gstutils.c (gst_element_link_pads): Instead of calling
6401 gst_pad_link, call pad_link_maybe_ghosting,
6402 (pad_link_maybe_ghosting): Links pads, making sure that the
6403 elements being linked are in the same bin.
6404 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6405 Helpers for pad_link_maybe_ghosting.
6407 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6409 * configure.ac:
6410 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6412 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6414 * docs/design/part-element-source.txt:
6415 Mention GstPushSrc
6417 2005-05-12 Wim Taymans <wim@fluendo.com>
6419 * gst/base/gstbasesink.c: (gst_basesink_init),
6420 (gst_basesink_activate):
6421 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6422 (gst_basesrc_is_seekable):
6423 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6424 (bin_element_is_sink), (gst_bin_change_state):
6425 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6426 * gst/gstelement.h:
6427 Identify sinks by their flag to avoid overly complicated
6428 checks (fow now).
6429 Do state changes even for elements not reachable from the
6430 sinks.
6431 BaseSink is a sink now :)
6432 Some more debugging info in the basesrc.
6435 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6437 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6438 Implement _query on a bin, similar to _send_event.
6440 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
6442 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6443 Discont event offset format should be GST_FORMAT_BYTES,
6444 not GST_FORMAT_TIME.
6446 2005-05-12 Wim Taymans <wim@fluendo.com>
6448 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6449 Same fix as Ronald's but without the signal.
6451 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6453 * gst/gstutils.c: (gst_element_query_position):
6454 No, an element is not a pad.
6456 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6458 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6459 (gst_bin_get_state):
6460 If a child is removed from a bin while we remove the child from
6461 the bin and while we're retrieving its state, signal this to the
6462 get_state function so we abort the wait (instead of waiting for
6463 a timeout) and can immediately re-iterate over all other elements.
6465 2005-05-12 Wim Taymans <wim@fluendo.com>
6467 * gst/base/Makefile.am:
6468 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6469 (gst_basesrc_start):
6470 * gst/base/gstbasesrc.h:
6471 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6472 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6473 (gst_pushsrc_init), (gst_pushsrc_create):
6474 * gst/base/gstpushsrc.h:
6475 Added is_seekable to BaseSrc
6476 Added simple PushSrc.
6478 2005-05-11 Wim Taymans <wim@fluendo.com>
6480 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6481 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6482 (gst_element_link_pads), (gst_element_query_position),
6483 (gst_element_query_convert), (intersect_caps_func),
6484 (gst_pad_query_position), (gst_pad_query_convert):
6485 Fix refcounting in utils function.
6486 No point in trying to activate a pad when it's added, it could
6487 be added from the state change function and then we deadlock, the
6488 element has to decide what to do.
6490 2005-05-10 Andy Wingo <wingo@pobox.com>
6492 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6493 *all* the arguments.
6495 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6496 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6497 lock (according to the docs -- if this is wrong change the docs).
6499 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6500 flush messages in the NULL state.
6502 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6503 message immediately and return.
6504 (gst_bus_set_flushing): New function. If a bus is flushing, it
6505 flushes out any queued messages and immediately unrefs new
6506 messages. This is so when an element goes to NULL, all of the
6507 unhandled messages coming from it can be freed, and their
6508 references to the element dropped. In other words: message source
6509 ref considered harmful :P
6511 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6512 we're finished with it.
6514 * gst/gstmessage.c (gst_message_new_state_changed):
6516 2005-05-10 Wim Taymans <wim@fluendo.com>
6518 * gst/gstvalue.c: (gst_value_compare_flags),
6519 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6520 (_gst_value_initialize):
6521 Added flags serialize/deserialize/compare code.
6523 2005-05-09 Andy Wingo <wingo@pobox.com>
6525 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6526 Intersect the peer's caps with our caps.
6528 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6530 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6531 * gst/elements/gsttypefindelement.c: (find_peek):
6532 Handle negative offsets better. Fixes decodebin.
6534 2005-05-09 Wim Taymans <wim@fluendo.com>
6536 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6537 (gst_base_transform_event):
6538 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6539 Implement accept_caps.
6540 Fix silly lock/unlock mismatch in base class.
6542 2005-05-09 Wim Taymans <wim@fluendo.com>
6544 * docs/design/draft-push-pull.txt:
6545 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6546 * gst/elements/gstfilesink.c: (gst_filesink_init),
6547 (gst_filesink_query):
6548 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6549 (gst_type_find_handle_src_query), (find_element_get_length):
6550 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6551 * gst/gstelement.h:
6552 * gst/gstmessage.c:
6553 * gst/gstmessage.h:
6554 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6555 (gst_real_pad_get_caps_unlocked),
6556 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6557 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6558 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6559 (gst_real_pad_dispose), (gst_real_pad_finalize),
6560 (gst_pad_load_and_link), (gst_pad_save_thyself),
6561 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6562 (gst_pad_check_pull_range), (gst_pad_pull_range),
6563 (gst_pad_template_get_type), (gst_pad_template_class_init),
6564 (gst_pad_template_init), (gst_pad_template_dispose),
6565 (name_is_valid), (gst_static_pad_template_get),
6566 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6567 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6568 (gst_pad_get_element_private), (gst_pad_start_task),
6569 (gst_pad_pause_task), (gst_pad_stop_task),
6570 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6571 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6572 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6573 (gst_ghost_pad_new):
6574 * gst/gstpad.h:
6575 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6576 (gst_query_new_position), (gst_query_set_position),
6577 (gst_query_parse_position), (gst_query_new_convert),
6578 (gst_query_set_convert), (gst_query_parse_convert):
6579 * gst/gstquery.h:
6580 * gst/gstqueryutils.c:
6581 * gst/gstqueryutils.h:
6582 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6583 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6584 (gst_queue_handle_src_query):
6585 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6586 (gst_element_query_position), (gst_element_query_convert),
6587 (intersect_caps_func), (gst_pad_query_position),
6588 (gst_pad_query_convert):
6589 * gst/gstutils.h:
6590 * tools/gst-inspect.c: (print_pad_info):
6591 * tools/gst-xmlinspect.c: (print_element_info):
6592 Remove old query functions. Ported old code.
6593 Added position/convert helper functions to gstutils.
6594 Reordered gstpad.c code, grouping relevant things.
6595 Remove gst_message_new(), always need to speficy a specific
6596 message.
6599 2005-05-09 Andy Wingo <wingo@pobox.com>
6601 * gst/gstiterator.h: Add some includes.
6603 * gst/gstqueryutils.h: Include more headers.
6605 * gst/gstpad.h:
6606 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6607 some uses of gst_pad_query.
6609 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6610 NULL out parameters.
6611 (gst_query_new_position): New proc, allocates a new position
6612 query.
6614 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6615 gstqueryutils.c to the build.
6617 * gst/gststructure.c (gst_structure_set_valist): Implement with
6618 the generic G_VALUE_COLLECT.
6620 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6622 * gst/Makefile.am: (gst_headers):
6623 Added gstqueryutils.h to the list of headers to install, that was
6624 a 'nachty' move wingo :)
6626 2005-05-06 Andy Wingo <wingo@pobox.com>
6628 * gst/gstquery.h
6629 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6630 GstData, init a memchunk.
6631 (standard_definitions): Add a few query types, deprecate a few.
6632 (gst_query_get_type): New proc.
6633 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6634 implementation.
6635 (gst_query_new_application, gst_query_get_structure): New public
6636 procs.
6638 * docs/design/draft-query.txt: Removed LINKS from the query types,
6639 because all the rest can be dispatched to other pads -- seemed
6640 ugly to have a query that couldn't be dispatched. internal_links
6641 is fine as a pad method.
6643 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6644 in gstpad.c, but maintain binary compatibility for the moment.
6645 Will fix before 0.9 is out.
6647 * gst/gstqueryutils.c:
6648 * gst/gstqueryutils.h: New files, implement 3 methods for each
6649 query type: parse_query, parse_response, and set. Probably need an
6650 allocator as well.
6652 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6654 * gst/elements/gstfilesink.c (gst_filesink_query2):
6655 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6656 query_types, and formats methods.
6658 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6659 (gst_pad_set_query2_function): New functions.
6660 (gst_real_pad_init): Set query2_default as the default query2
6661 function. Basically just dispatches to internally linked pads.
6663 Needs review!
6665 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6666 without using the atomic operations. Only one thread can possibly
6667 be accessing the data at this point. Changed so as to avoid
6668 gst_atomic operations.
6670 2005-05-06 Wim Taymans <wim@fluendo.com>
6672 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6673 Also set caps if we use the fallback buffer alloc.
6675 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
6677 * docs/gst/Makefile.am:
6678 * docs/gst/gstreamer-docs.sgml:
6679 * docs/gst/gstreamer-sections.txt:
6680 * docs/gst/tmpl/gstatomic.sgml:
6681 * docs/gst/tmpl/gstmemchunk.sgml:
6682 * testsuite/elements/struct_i386.h:
6683 * win32/GStreamer.vcproj:
6684 * win32/Makefile:
6685 Purge GstAtomic stuff from docs and win32 makefiles as well
6687 2005-05-06 Wim Taymans <wim@fluendo.com>
6689 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6690 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6691 * gst/gstpad.c: (gst_pad_peer_get_caps):
6692 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6693 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6694 (gst_queue_src_activate), (gst_queue_change_state):
6695 * gst/gstqueue.h:
6696 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6697 (intersect_caps_func):
6698 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6699 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6700 Some fixes for the peer_get_caps() change.
6702 2005-05-06 Wim Taymans <wim@fluendo.com>
6704 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6705 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6706 (gst_basesink_activate):
6707 Actually do something with error codes returned from the push
6708 functions.
6710 2005-05-06 Wim Taymans <wim@fluendo.com>
6712 * docs/design/part-element-sink.txt:
6713 * docs/design/part-element-source.txt:
6714 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6715 (gst_basesink_event), (gst_basesink_activate):
6716 * gst/base/gstbasesink.h:
6717 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6718 (gst_basesrc_activate):
6719 * gst/base/gstbasesrc.h:
6720 * gst/gstelement.c: (gst_element_pads_activate):
6721 Some more documentation.
6722 Fixed scheduling decision in _pads_activate().
6724 2005-05-05 Andy Wingo <wingo@pobox.com>
6726 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6727 the test suite.
6729 2005-05-05 Wim Taymans <wim@fluendo.com>
6731 * gst/base/Makefile.am:
6732 * gst/base/gstbasesink.h:
6733 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6734 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6735 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6736 (gst_collectpads_class_init), (gst_collectpads_init),
6737 (gst_collectpads_finalize), (gst_collectpads_new),
6738 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6739 (find_pad), (gst_collectpads_remove_pad),
6740 (gst_collectpads_is_active), (gst_collectpads_collect),
6741 (gst_collectpads_collect_range), (gst_collectpads_start),
6742 (gst_collectpads_stop), (gst_collectpads_peek),
6743 (gst_collectpads_pop), (gst_collectpads_available),
6744 (gst_collectpads_read), (gst_collectpads_flush),
6745 (gst_collectpads_chain):
6746 * gst/base/gstcollectpads.h:
6747 * gst/elements/Makefile.am:
6748 * gst/elements/gstelements.c:
6749 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6750 (gst_fakesink_get_times), (gst_fakesink_event),
6751 (gst_fakesink_preroll), (gst_fakesink_render):
6752 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6753 (gst_filesink_init), (gst_filesink_set_location),
6754 (gst_filesink_open_file), (gst_filesink_close_file),
6755 (gst_filesink_pad_query), (gst_filesink_event),
6756 (gst_filesink_render), (gst_filesink_change_state):
6757 * gst/elements/gstfilesink.h:
6758 Added object to help in making collect pad based elements.
6759 Ported filesink.
6760 Make event function in sink baseclass return gboolean.
6762 2005-05-05 Wim Taymans <wim@fluendo.com>
6764 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6765 (gst_bin_get_by_name):
6766 * gst/gstbuffer.h:
6767 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6768 (gst_clock_finalize):
6769 * gst/gstdata.c: (gst_data_replace):
6770 * gst/gstdata.h:
6771 * gst/gstelement.c: (gst_element_request_pad),
6772 (gst_element_pads_activate):
6773 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6774 (gst_object_unref):
6775 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6776 (gst_pad_set_checkgetrange_function),
6777 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6778 (gst_pad_check_pull_range), (gst_pad_pull_range),
6779 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6780 (gst_pad_pause_task), (gst_pad_stop_task):
6781 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6782 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6783 Fix name lookup in GstBin.
6784 Added _data_replace() function and _buffer_replace()
6785 Use finalize method to clean up clock.
6786 Fix refcounting on request pads.
6787 Fix pad schedule mode error.
6788 Some more object refcounting debug info,
6791 2005-05-04 Andy Wingo <wingo@pobox.com>
6793 * check/Makefile.am:
6794 * docs/gst/tmpl/gstatomic.sgml:
6795 * docs/gst/tmpl/gstplugin.sgml:
6796 * gst/base/gstbasesink.c: (gst_basesink_activate):
6797 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6798 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6799 (gst_basesrc_query), (gst_basesrc_set_property),
6800 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6801 (gst_basesrc_activate):
6802 * gst/base/gstbasesrc.h:
6803 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6804 (gst_base_transform_src_activate):
6805 * gst/elements/gstelements.c:
6806 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6807 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6808 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6809 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6810 (gst_type_find_element_checkgetrange),
6811 (gst_type_find_element_activate):
6812 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6813 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6814 (gst_caps_load_thyself):
6815 * gst/gstelement.c: (gst_element_pads_activate),
6816 (gst_element_save_thyself), (gst_element_restore_thyself):
6817 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6818 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6819 * gst/gstpad.h:
6820 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6821 (gst_xml_parse_file), (gst_xml_parse_memory),
6822 (gst_xml_get_element), (gst_xml_make_element):
6823 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6824 (_file_index_id_save_xml), (gst_file_index_commit):
6825 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6826 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6827 (load_paths):
6828 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6829 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6830 * tools/gst-complete.c: (main):
6831 * tools/gst-compprep.c: (main):
6832 * tools/gst-inspect.c: (print_element_properties_info):
6833 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6834 * tools/gst-xmlinspect.c: (print_element_properties):
6835 GCC 4 fixen.
6837 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6839 * gst/gstplugin.c: (gst_plugin_check_module),
6840 (gst_plugin_check_file), (gst_plugin_load_file):
6841 apply patch from #172526 to make register work on MacOSX
6843 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6845 * docs/gst/tmpl/gstconfig.sgml:
6846 * gst/gstconfig.h.in:
6847 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6848 * testsuite/debug/printf_extension.c: (main):
6849 Do not use GST_PTR_FORMAT on pointers to types with
6850 sizeof < sizeof(gpointer). Fixes test on 64-bit
6851 * testsuite/elements/property.h:
6852 use correct printf format
6854 2005-05-02 Wim Taymans <wim@fluendo.com>
6856 * docs/design/draft-push-pull.txt:
6857 * docs/design/draft-query.txt:
6858 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6859 (gst_basesrc_start):
6860 Added draft for new query API.
6861 Added draft for better selecting scheduling methods.
6862 Make basesrc ignore length if the subclass does not support
6863 it.
6865 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6867 * gst/Makefile.am:
6868 possible fixes for automake-1.5 - _LIBADD is reserved
6870 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6872 * docs/faq/Makefile.am:
6873 * docs/manual/Makefile.am:
6874 * docs/manuals.mak:
6875 * docs/pwg/Makefile.am:
6876 * gst/Makefile.am:
6877 possible fixes for automake-1.5
6879 2005-04-28 Wim Taymans <wim@fluendo.com>
6881 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6882 (gst_basesink_pad_getcaps), (gst_basesink_init),
6883 (gst_basesink_do_sync):
6884 * gst/gstclock.c: (gst_clock_entry_new):
6885 * gst/gstevent.c: (gst_event_discont_get_value):
6886 * gst/gstpipeline.c: (pipeline_bus_handler),
6887 (gst_pipeline_change_state):
6888 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6889 Better debugging of clocking info.
6890 Allow NULL values when getting discont values.
6892 2005-04-27 Wim Taymans <wim@fluendo.com>
6894 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6895 * check/gst/gstpad.c: (gst_pad_suite):
6896 Increase timeout for checks.
6898 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6900 * check/Makefile.am:
6901 fix the broken rule for cleanup. Apparently this rule is
6902 only needed on FC2, so maybe this warrants further autotool
6903 inspection.
6905 2005-04-26 Wim Taymans <wim@fluendo.com>
6907 * gst/gsttrashstack.h:
6908 Ooohh. a nasty one! After having a failed pop() from the stack,
6909 it's possible that the stack is empty. In that case, don't
6910 follow the NULL pointer.
6912 2005-04-25 Wim Taymans <wim@fluendo.com>
6914 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6915 (gst_pad_set_checkgetrange_function),
6916 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6917 (gst_pad_check_pull_range), (gst_pad_pull_range),
6918 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6919 (gst_pad_pause_task), (gst_pad_stop_task):
6920 * gst/gstplugin.c: (gst_plugin_load):
6921 * gst/gstplugin.h:
6922 Remove gst_library_load as it does more harm than good with
6923 the new g_module flags.
6924 Revert bogus caps template check in pad linking, pad caps
6925 are important when linking not the template, which is more
6926 general than the current caps.
6928 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6930 * gst/autoplug/.cvsignore:
6931 * gst/autoplug/Makefile.am:
6932 * gst/autoplug/gstsearchfuncs.c:
6933 * gst/autoplug/gstsearchfuncs.h:
6934 * gst/autoplug/gstspider.c:
6935 * gst/autoplug/gstspider.h:
6936 * gst/autoplug/gstspideridentity.c:
6937 * gst/autoplug/gstspideridentity.h:
6938 * gst/autoplug/spidertest.c:
6939 Die, spider, die.
6941 2005-04-25 Wim Taymans <wim@fluendo.com>
6943 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6944 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6945 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6946 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6947 * gst/gstpad.h:
6948 Added stubs for unimplemented functions.
6950 2005-04-24 David Schleef <ds@schleef.org>
6952 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6953 please fix.
6955 2005-04-24 David Schleef <ds@schleef.org>
6957 Convert everything from GstAtomicInt to g_atomic_int_*, and
6958 remove gstatomic.
6959 * gst/Makefile.am:
6960 * gst/gstatomic.c:
6961 * gst/gstatomic.h:
6962 * gst/gstatomic_impl.h:
6963 * gst/gstbuffer.c:
6964 * gst/gstcaps.c:
6965 * gst/gstcaps.h:
6966 * gst/gstclock.c:
6967 * gst/gstclock.h:
6968 * gst/gstdata.c:
6969 * gst/gstdata.h:
6970 * gst/gstdata_private.h:
6971 * gst/gstevent.c:
6972 * gst/gstinfo.c:
6973 * gst/gstinfo.h:
6974 * gst/gstmessage.c:
6975 * gst/gstobject.c:
6976 * gst/gstobject.h:
6977 * gst/gststructure.c:
6978 * gst/gststructure.h:
6979 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6980 * gst/gstutils.h:
6982 2005-04-24 David Schleef <ds@schleef.org>
6984 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6985 make the regressions tests work. Remove some code that is no
6986 longer true.
6987 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6988 Disable warning for pads without templates.
6990 2005-04-24 David Schleef <ds@schleef.org>
6992 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6993 functions that handle filtered links.
6994 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6995 removed functions.
6996 * gst/gstutils.c: Fix/remove utility functions that handle
6997 filtered caps.
6998 * gst/gstutils.h:
6999 * gst/gstvalue.c: Add serialization/deserialization of caps
7000 * gst/parse/grammar.y: Ignore filtered caps when linking. This
7001 requires fixing so that the filter caps notation creates
7002 a capsfilter element and sets the filter_caps property. I
7003 think everyone probably wants to keep the shorthand notation.
7004 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7005 * docs/gst/tmpl/gstpad.sgml:
7007 * gst/elements/gstelements.c: Register capsfilter element.
7008 * gst/Makefile.am: fix spacing
7009 * docs/random/ds/0.9-suggested-changes: random
7011 2005-04-23 David Schleef <ds@schleef.org>
7013 * gst/elements/Makefile.am:
7014 * gst/elements/gstcapsfilter.c: New element that acts like an
7015 identity, but filters caps. Will eventually replace filtered
7016 caps in pad linking.
7017 * gst/gstutils.c: (gst_element_create_all_pads): New function
7018 to create all the ALWAYS pads that are registered with an
7019 element class. This functionality should eventually be
7020 merged in with GstElement initialization.
7021 * gst/gstutils.h:
7022 * testsuite/trigger/README: part of trigger test code that should
7023 have been checked in a long time ago.
7025 2005-04-23 David Schleef <ds@schleef.org>
7027 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
7028 needed with new versions of libtool (nobody will confirm this),
7029 and hard to carry around.
7030 * gst/autoplug/Makefile.am:
7031 * gst/base/Makefile.am:
7032 * gst/elements/Makefile.am:
7033 * gst/indexers/Makefile.am:
7034 * gst/schedulers/Makefile.am:
7035 * libs/gst/bytestream/Makefile.am:
7036 * libs/gst/control/Makefile.am:
7037 * libs/gst/dataprotocol/Makefile.am:
7038 * libs/gst/getbits/Makefile.am:
7040 2005-04-21 Wim Taymans <wim@fluendo.com>
7042 * docs/design/draft-push-pull.txt:
7043 * docs/design/part-MT-refcounting.txt:
7044 * docs/design/part-TODO.txt:
7045 * docs/design/part-caps.txt:
7046 * docs/design/part-events.txt:
7047 * docs/design/part-gstbus.txt:
7048 * docs/design/part-gstpipeline.txt:
7049 * docs/design/part-messages.txt:
7050 * docs/design/part-push-pull.txt:
7051 * docs/design/part-query.txt:
7052 Some more docs.
7054 2005-04-21 Wim Taymans <wim@fluendo.com>
7056 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7057 (gst_message_new), (gst_message_new_error),
7058 (gst_message_new_warning), (gst_message_new_tag),
7059 (gst_message_new_state_changed), (gst_message_new_application),
7060 (gst_message_get_structure):
7061 * gst/gstmessage.h:
7062 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7063 (gst_structure_copy_conditional):
7064 Use parent refcount in GstMessage to ensure GstStructure
7065 consistency.
7066 Cleaned up headers a bit.
7069 2005-04-20 Wim Taymans <wim@fluendo.com>
7071 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7072 (gst_basesink_pad_getcaps), (gst_basesink_init),
7073 (gst_basesink_chain_unlocked):
7074 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7075 (gst_type_find_helper):
7076 * gst/elements/gsttypefindelement.c:
7077 (gst_type_find_element_have_type), (gst_type_find_element_init),
7078 (stop_typefinding), (gst_type_find_element_handle_event),
7079 (find_suggest), (gst_type_find_element_chain),
7080 (gst_type_find_element_checkgetrange),
7081 (gst_type_find_element_getrange), (do_typefind),
7082 (gst_type_find_element_activate):
7083 * gst/gstbuffer.c: (_gst_buffer_sub_free),
7084 (gst_buffer_default_free), (gst_buffer_default_copy),
7085 (gst_buffer_set_caps):
7086 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7087 (gst_caps_replace):
7088 * gst/gstmessage.c: (gst_message_new),
7089 (gst_message_new_state_changed):
7090 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7091 (gst_pad_set_checkgetrange_function),
7092 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7093 (gst_pad_set_caps), (gst_pad_check_pull_range),
7094 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7095 * gst/gstpad.h:
7096 * gst/gsttypefind.c: (gst_type_find_register):
7097 Make gst_caps_replace() work like other _replace() functions.
7098 Use _caps_replace() where possible.
7099 Make sure _message_new() initialises its field.
7100 Add gst_static_pad_template_get_caps()
7103 2005-04-18 Andy Wingo <wingo@pobox.com>
7105 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7106 on the peer, not the pad. I think that was a typo. Pass an extra
7107 arg to see if random access is possible. Activate the pads as
7108 PULL_RANGE if possible.
7110 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7112 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
7113 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7114 to PROP_....
7116 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7118 * docs/faq/using.xml:
7119 Add note on gstreamer-properties (#154996).
7121 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7123 * docs/random/bbb/optional-properties:
7124 Some analysis on optional properties.
7126 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7128 * docs/gst/tmpl/gstelementfactory.sgml:
7129 * gst/gstelement.h:
7130 * gst/gstelementfactory.c: (gst_element_factory_init),
7131 (gst_element_factory_cleanup), (gst_element_register),
7132 (__gst_element_factory_add_static_pad_template),
7133 (gst_element_factory_get_static_pad_templates),
7134 (gst_element_factory_can_src_caps),
7135 (gst_element_factory_can_sink_caps):
7136 * gst/registries/Makefile.am:
7137 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7138 (gst_xml_registry_class_init), (gst_xml_registry_init),
7139 (gst_xml_registry_new), (gst_xml_registry_set_property),
7140 (gst_xml_registry_get_property), (get_time), (make_dir),
7141 (gst_xml_registry_get_perms_func),
7142 (plugin_times_older_than_recurse), (plugin_times_older_than),
7143 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7144 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7145 (add_to_char_array), (read_string), (read_uint), (read_enum),
7146 (load_pad_template), (load_feature), (load_plugin), (load_paths),
7147 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7148 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7149 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7150 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7151 (gst_xml_registry_rebuild):
7152 * gst/registries/gstlibxmlregistry.h:
7153 * tools/gst-compprep.c: (main):
7154 * tools/gst-inspect.c: (print_pad_templates_info):
7155 * tools/gst-xmlinspect.c: (print_element_info):
7156 Use libxml2 for registry parsing, use staticpadtemplates in
7157 elementfactories. Makes gst_init() +/- 10x faster.
7159 2005-04-12 Wim Taymans <wim@fluendo.com>
7161 * gst/base/Makefile.am:
7162 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7163 (gst_basesink_pad_getcaps), (gst_basesink_init),
7164 (gst_basesink_event), (gst_basesink_change_state):
7165 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7166 (gst_basesrc_init), (gst_basesrc_query),
7167 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7168 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7169 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7170 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7171 (gst_basesrc_stop), (gst_basesrc_activate),
7172 (gst_basesrc_change_state):
7173 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7174 (helper_find_suggest), (gst_type_find_helper):
7175 * gst/base/gsttypefindhelper.h:
7176 * gst/elements/Makefile.am:
7177 * gst/elements/gstelements.c:
7178 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7179 (gst_fakesink_get_times), (gst_fakesink_event),
7180 (gst_fakesink_preroll), (gst_fakesink_render):
7181 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7182 (gst_fakesrc_init), (gst_fakesrc_event_handler),
7183 (gst_fakesrc_get_property), (gst_fakesrc_create),
7184 (gst_fakesrc_start), (gst_fakesrc_stop):
7185 * gst/elements/gstfakesrc.h:
7186 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7187 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7188 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7189 (gst_filesrc_create_read), (gst_filesrc_create),
7190 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7191 (gst_filesrc_start):
7192 * gst/elements/gsttypefindelement.c:
7193 (gst_type_find_element_have_type), (gst_type_find_element_init),
7194 (start_typefinding), (stop_typefinding), (push_buffer_store),
7195 (gst_type_find_element_handle_event),
7196 (gst_type_find_element_chain),
7197 (gst_type_find_element_checkgetrange),
7198 (gst_type_find_element_getrange), (do_typefind),
7199 (gst_type_find_element_activate),
7200 (gst_type_find_element_change_state):
7201 * gst/elements/gsttypefindelement.h:
7202 * gst/gstpipeline.c: (pipeline_bus_handler):
7203 Added typefind helper.
7204 Small preroll fix in the base sink.
7205 Disable typefind code in basesrc.
7206 Crude port of typefindelement.
7207 Fakesrc cleanups.
7210 2005-04-11 Wim Taymans <wim@fluendo.com>
7212 * check/gst/gstbus.c: (gstbus_suite):
7213 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7214 * check/gstcheck.h:
7215 Fix up the timeout so that the test does not fail.
7217 2005-04-06 Wim Taymans <wim@fluendo.com>
7219 * gst/base/README:
7220 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7221 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7222 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7223 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7224 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7225 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7226 (gst_basesrc_stop), (gst_basesrc_activate),
7227 (gst_basesrc_change_state), (basesrc_find_peek),
7228 (basesrc_find_suggest), (gst_basesrc_type_find):
7229 * gst/base/gstbasesrc.h:
7230 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7231 (gst_filesrc_class_init), (gst_filesrc_init),
7232 (gst_filesrc_finalize), (gst_filesrc_set_location),
7233 (gst_filesrc_set_property), (gst_filesrc_get_property),
7234 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7235 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7236 (gst_filesrc_create_read), (gst_filesrc_create),
7237 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7238 * gst/elements/gstfilesrc.h:
7239 * gst/gstelement.c: (gst_element_get_state_func),
7240 (gst_element_lost_state), (gst_element_pads_activate):
7241 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7242 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7243 (gst_pad_pull_range):
7244 * gst/gstpad.h:
7245 More work on the generic source base class, implement seeking,
7246 query.
7247 Make filesrc extend the base source class.
7248 Added gst_pad_set_checkgetrange_function to GstPad.
7250 2005-04-06 Andy Wingo <wingo@pobox.com>
7252 * pkgconfig/gstreamer-base.pc.in:
7253 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7255 * pkgconfig/Makefile.am:
7256 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7258 2005-04-04 Wim Taymans <wim@fluendo.com>
7260 * gst/base/Makefile.am:
7261 * gst/base/README:
7262 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7263 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7264 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7265 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7266 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7267 (gst_basesrc_base_init), (gst_basesrc_class_init),
7268 (gst_basesrc_init), (gst_basesrc_get_formats),
7269 (gst_basesrc_get_query_types), (gst_basesrc_query),
7270 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7271 (gst_basesrc_set_property), (gst_basesrc_get_property),
7272 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7273 (gst_basesrc_loop), (gst_basesrc_activate),
7274 (gst_basesrc_change_state):
7275 * gst/base/gstbasesrc.h:
7276 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7277 (gst_fakesrc_class_init), (gst_fakesrc_init),
7278 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7279 (gst_fakesrc_get_property), (gst_fakesrc_create):
7280 * gst/elements/gstfakesrc.h:
7281 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7282 (gst_filesrc_open_file), (gst_filesrc_loop),
7283 (gst_filesrc_activate), (filesrc_find_peek),
7284 (gst_filesrc_type_find):
7285 Made base source class, make fakesrc extend it.
7286 Add comments to basesink class.
7287 Some filesrc cleanup.
7289 2005-03-31 David Schleef <ds@schleef.org>
7291 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7292 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7293 expected to link against libgstreamer.
7294 * gst/base/Makefile.am: link against libgstreamer
7295 * gst/elements/Makefile.am: same
7297 2005-03-31 Andy Wingo <wingo@pobox.com>
7299 * tests/instantiate/Makefile.am:
7300 * tests/instantiate/caps.c: Add test to test speed of caps copy
7301 and free.
7303 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7304 GMemChunk to be fair.
7306 * gst/gsttrashstack.h: Remove warning about using the fallback
7307 trash stack implementation, it's still faster than malloc.
7309 2005-03-30 Andy Wingo <wingo@pobox.com>
7311 * tests/complexity.c: Add a copyright.
7313 2005-03-31 Wim Taymans <wim@fluendo.com>
7315 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7316 (gst_base_transform_class_init), (gst_base_transform_init),
7317 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7318 (gst_base_transform_get_property),
7319 (gst_base_transform_sink_activate),
7320 (gst_base_transform_src_activate),
7321 (gst_base_transform_change_state):
7322 * gst/base/gstbasetransform.h:
7323 * gst/elements/gstidentity.c: (gst_identity_class_init),
7324 (gst_identity_event), (gst_identity_check_perfect),
7325 (gst_identity_transform), (gst_identity_start),
7326 (gst_identity_stop):
7327 Added start/stop methods to transform base class so subclasses
7328 don't need to deal with state changes even.
7330 2005-03-31 Wim Taymans <wim@fluendo.com>
7332 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7333 (gst_event_new_discontinuous), (gst_event_discont_get_value):
7334 * gst/gstevent.h:
7335 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7336 (gst_pad_pull_range):
7337 Added rate to the discont event to prepare for variable speed
7338 and reverse playback.
7340 2005-03-29 David Schleef <ds@schleef.org>
7342 * configure.ac:
7343 * testsuite/trigger/Makefile.am:
7344 * testsuite/trigger/trigger.c: A little example program to show
7345 how trigger-based elements can work.
7347 2005-03-29 Wim Taymans <wim@fluendo.com>
7349 * gst/base/Makefile.am:
7350 * gst/base/README:
7351 * gst/base/gstbasesink.c: (gst_basesink_get_type),
7352 (gst_basesink_base_init), (gst_basesink_class_init),
7353 (gst_basesink_pad_getcaps), (gst_basesink_init),
7354 (gst_basesink_activate), (gst_basesink_change_state):
7355 * gst/base/gstbasesink.h:
7356 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7357 (gst_base_transform_base_init), (gst_base_transform_finalize),
7358 (gst_base_transform_class_init), (gst_base_transform_init),
7359 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7360 (gst_base_transform_event), (gst_base_transform_getrange),
7361 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7362 (gst_base_transform_set_property),
7363 (gst_base_transform_get_property),
7364 (gst_base_transform_sink_activate),
7365 (gst_base_transform_src_activate),
7366 (gst_base_transform_change_state):
7367 * gst/base/gstbasetransform.h:
7368 * gst/elements/gstidentity.c: (gst_identity_finalize),
7369 (gst_identity_class_init), (gst_identity_init),
7370 (gst_identity_event), (gst_identity_check_perfect),
7371 (gst_identity_transform), (gst_identity_set_property),
7372 (gst_identity_get_property), (gst_identity_change_state):
7373 * gst/elements/gstidentity.h:
7374 * gst/gstelement.c: (gst_element_get_state_func),
7375 (gst_element_lost_state), (gst_element_pads_activate):
7376 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7377 (gst_pad_check_pull_range), (gst_pad_pull_range):
7378 * gst/gstpad.h:
7379 Simplify pad activation.
7380 Added function to check if pull_range can be performed.
7381 Error out when pulling inactive or flushing pads.
7382 Removed const from refcounted types as it does not make sense.
7383 Simplify pad templates in basesink
7384 Added base class for simple 1-to-1 transforms.
7385 Make identity subclass the base transform.
7387 2005-03-29 Andy Wingo <wingo@pobox.com>
7389 * docs/libs/gstreamer-libs-overrides.txt:
7390 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7391 really don't understand what's going on, but like whatever. I want
7392 green buildbot!
7394 * docs/gst/Makefile.am:
7395 * docs/libs/Makefile.am: Dist the overrides files.
7397 * check/Makefile.am (clean-local): Remove .libs directories.
7399 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7400 elements to EXTRA_DIST, so po/ files are happy.
7402 * po/POTFILES.in: Er, remove it here.
7404 * po/POTFILES: Remove gstspider.c.
7406 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7408 * docs/libs/gstreamer-libs-docs.sgml:
7409 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7410 bytestream.
7412 * tests/complexity.c (main): Set the length of the preroll queue
7413 on the sinks to prevent a lockup.
7415 * libs/gst/dataprotocol/Makefile.am:
7416 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7417 the same as the one in check/gst-libs/gdp.c.
7419 * po/, docs/gst/: Commit automatic changes to docs and po files.
7421 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7422 the versioned libgstbase.
7424 * check/Makefile.am: Depend on an unversioned gst-register, seems
7425 to make autoconf happier.
7427 * gst/base/Makefile.am: Make libgstbase a versioned lib.
7429 2005-03-28 Wim Taymans <wim@fluendo.com>
7431 * configure.ac:
7432 * docs/design/part-gstelement.txt:
7433 * docs/design/part-negotiation.txt:
7434 * docs/design/part-preroll.txt:
7435 * docs/design/part-scheduling.txt:
7436 * docs/design/part-states.txt:
7437 * gst/Makefile.am:
7438 * gst/base/Makefile.am:
7439 * gst/base/README:
7440 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7441 (gst_basesink_base_init), (gst_basesink_class_init),
7442 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7443 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7444 (gst_basesink_set_pad_functions),
7445 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7446 (gst_basesink_set_property), (gst_basesink_get_property),
7447 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7448 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7449 (gst_basesink_preroll_queue_push),
7450 (gst_basesink_preroll_queue_empty),
7451 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7452 (gst_basesink_event), (gst_basesink_get_times),
7453 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7454 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7455 (gst_basesink_loop), (gst_basesink_activate),
7456 (gst_basesink_change_state):
7457 * gst/base/gstbasesink.h:
7458 * gst/elements/Makefile.am:
7459 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7460 (gst_fakesink_class_init), (gst_fakesink_init),
7461 (gst_fakesink_set_property), (gst_fakesink_get_property),
7462 (gst_fakesink_get_times), (gst_fakesink_event),
7463 (gst_fakesink_preroll), (gst_fakesink_render),
7464 (gst_fakesink_change_state):
7465 * gst/elements/gstfakesink.h:
7466 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7467 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7468 * gst/gstelement.c: (gst_element_add_pad),
7469 (gst_element_get_state_func), (gst_element_abort_state),
7470 (gst_element_commit_state), (gst_element_lost_state),
7471 (gst_element_set_state), (gst_element_pads_activate):
7472 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7473 * gst/gstpipeline.c: (gst_pipeline_send_event),
7474 (gst_pipeline_change_state):
7475 Added state change code.
7476 Added/updated docs.
7477 Added sink base class, make fakesink extend the base class.
7478 Small cleanups in GstPipeline.
7480 2005-03-26 David Schleef <ds@schleef.org>
7482 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7483 is broken and should be implemented in a different library.
7484 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7485 * gst/gst.h: remove gstcpu.h
7486 * gst/gstcpu.c: remove
7487 * gst/gstcpu.h: remove
7488 * gst/Makefile.am.future: Remove this file. It's ancient.
7490 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7492 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7493 (gst_bin_send_event):
7494 Add default event/set_manager handlers. The set_manager handler
7495 takes care that the manager is distributed over kids that were
7496 already in the bin before the manager was set. The event handler
7497 is a utility virtual function that sends the event over all sinks,
7498 so that gst_element_send_event (bin, event); has the expected
7499 behaviour.
7500 * gst/gstpad.c: (gst_pad_event_default):
7501 Re-install default event handling for discontinuities, so that
7502 seeking works without requiring hacks in applications or extra
7503 code in sinks.
7504 * gst/gstpipeline.c: (gst_pipeline_class_init),
7505 (gst_pipeline_send_event):
7506 Half hack, half utility: set a pipeline to PAUSED for seek events,
7507 since that is the only way we can guarantee a/v sync. Means that
7508 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7509 and it "just works".
7511 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7513 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7514 Lock/unlock mismatch.
7516 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7518 * docs/faq/gst-uninstalled:
7519 add gst-plugins-base
7520 * docs/gst/Makefile.am:
7521 don't error out until docs are fixed
7522 * docs/gst/gstreamer.types:
7523 remove thread
7525 2005-03-22 Wim Taymans <wim@fluendo.com>
7527 * check/Makefile.am:
7528 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7529 * gst/gststructure.c: (gst_structure_set_valist),
7530 (gst_structure_copy_conditional):
7531 Activated more tests.
7532 Added message test.
7533 Added G_TYPE_POINTER to GstStructure.
7536 2005-03-22 Wim Taymans <wim@fluendo.com>
7538 * docs/design/part-TODO.txt:
7539 * docs/design/part-events.txt:
7540 * docs/design/part-gstbin.txt:
7541 * docs/design/part-gstbus.txt:
7542 * docs/design/part-gstpipeline.txt:
7543 * docs/design/part-messages.txt:
7544 * gst/gstbus.c:
7545 * gst/gstmessage.c:
7546 Docs updates
7548 2005-03-21 Wim Taymans <wim@fluendo.com>
7550 * gst/gstbus.c: (gst_bus_post):
7551 Fix copy-and-paste error.
7553 2005-03-21 Wim Taymans <wim@fluendo.com>
7555 * check/Makefile.am:
7556 * gst/Makefile.am:
7557 * gst/elements/Makefile.am:
7558 * gst/elements/gstelements.c:
7559 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7560 (gst_fakesink_event), (gst_fakesink_chain):
7561 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7562 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7563 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7564 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7565 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7566 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7567 (gst_fakesrc_loop), (gst_fakesrc_activate),
7568 (gst_fakesrc_change_state):
7569 * gst/elements/gstfakesrc.h:
7570 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7571 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7572 (gst_filesrc_open_file), (gst_filesrc_loop),
7573 (gst_filesrc_activate), (gst_filesrc_change_state),
7574 (filesrc_find_peek), (filesrc_find_suggest),
7575 (gst_filesrc_type_find):
7576 * gst/elements/gstidentity.c: (gst_identity_finalize),
7577 (gst_identity_class_init), (gst_identity_init),
7578 (gst_identity_proxy_getcaps), (identity_queue_push),
7579 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7580 (gst_identity_getrange), (gst_identity_chain),
7581 (gst_identity_sink_loop), (gst_identity_src_loop),
7582 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7583 (gst_identity_set_property), (gst_identity_get_property),
7584 (gst_identity_change_state):
7585 * gst/elements/gstidentity.h:
7586 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7587 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7588 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7589 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7590 (gst_tee_sink_activate):
7591 * gst/elements/gsttee.h:
7592 * gst/gst.c: (gst_register_core_elements), (init_post):
7593 * gst/gst.h:
7594 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7595 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7596 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7597 (gst_bin_change_state):
7598 * gst/gstbin.h:
7599 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7600 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7601 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7602 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7603 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7604 (bus_watch_callback), (bus_watch_destroy),
7605 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7606 (poll_timeout), (gst_bus_poll):
7607 * gst/gstbus.h:
7608 * gst/gstcaps.h:
7609 * gst/gstdata.h:
7610 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7611 (gst_element_post_message), (gst_element_message_full),
7612 (gst_element_get_state_func), (gst_element_get_state),
7613 (gst_element_abort_state), (gst_element_commit_state),
7614 (gst_element_lost_state), (gst_element_set_state),
7615 (gst_element_pads_activate), (gst_element_change_state),
7616 (gst_element_dispose), (gst_element_set_manager_func),
7617 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7618 (gst_element_set_manager), (gst_element_get_manager),
7619 (gst_element_set_bus), (gst_element_get_bus),
7620 (gst_element_set_scheduler), (gst_element_get_scheduler):
7621 * gst/gstelement.h:
7622 * gst/gstevent.c: (gst_event_new_segment_seek),
7623 (gst_event_new_flush):
7624 * gst/gstevent.h:
7625 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7626 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7627 (gst_message_new_eos), (gst_message_new_error),
7628 (gst_message_new_warning), (gst_message_new_tag),
7629 (gst_message_new_state_changed), (gst_message_new_application),
7630 (gst_message_get_structure), (gst_message_parse_tag),
7631 (gst_message_parse_state_changed), (gst_message_parse_error),
7632 (gst_message_parse_warning):
7633 * gst/gstmessage.h:
7634 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7635 (gst_real_pad_set_property), (gst_pad_set_active),
7636 (gst_pad_is_active), (gst_pad_set_blocked_async),
7637 (gst_pad_set_blocked), (gst_pad_is_blocked),
7638 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7639 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7640 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7641 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7642 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7643 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7644 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7645 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7646 (gst_pad_set_caps), (gst_pad_configure_sink),
7647 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7648 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7649 (gst_real_pad_dispose), (gst_real_pad_finalize),
7650 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7651 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7652 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7653 * gst/gstpad.h:
7654 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7655 (pipeline_bus_handler), (gst_pipeline_change_state),
7656 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7657 * gst/gstpipeline.h:
7658 * gst/gstprobe.h:
7659 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7660 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7661 (gst_queue_link_src), (gst_queue_bufferalloc),
7662 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7663 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7664 (gst_queue_loop), (gst_queue_handle_src_event),
7665 (gst_queue_handle_src_query), (gst_queue_src_activate),
7666 (gst_queue_change_state):
7667 * gst/gstqueue.h:
7668 * gst/gstscheduler.c: (gst_scheduler_init),
7669 (gst_scheduler_dispose), (gst_scheduler_create_task),
7670 (gst_scheduler_factory_create):
7671 * gst/gstscheduler.h:
7672 * gst/gststructure.c: (gst_structure_get_type),
7673 (gst_structure_copy_conditional):
7674 * gst/gststructure.h:
7675 * gst/gsttaginterface.h:
7676 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7677 (gst_task_init), (gst_task_dispose), (gst_task_create),
7678 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7679 (gst_task_pause):
7680 * gst/gsttask.h:
7681 * gst/gstthread.c:
7682 * gst/gstthread.h:
7683 * gst/gsttypes.h:
7684 * gst/schedulers/Makefile.am:
7685 * gst/schedulers/cothreads_compat.h:
7686 * gst/schedulers/entryscheduler.c:
7687 * gst/schedulers/faircothreads.c:
7688 * gst/schedulers/faircothreads.h:
7689 * gst/schedulers/fairscheduler.c:
7690 * gst/schedulers/gstbasicscheduler.c:
7691 * gst/schedulers/gstoptimalscheduler.c:
7692 * gst/schedulers/gthread-cothreads.h:
7693 * gst/schedulers/threadscheduler.c:
7694 (gst_thread_scheduler_task_get_type),
7695 (gst_thread_scheduler_task_class_init),
7696 (gst_thread_scheduler_task_init),
7697 (gst_thread_scheduler_task_start),
7698 (gst_thread_scheduler_task_stop),
7699 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7700 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7701 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7702 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7703 (plugin_init):
7704 * libs/gst/Makefile.am:
7705 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7706 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7707 (gst_file_pad_parent_set):
7708 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7709 (gst_dp_event_from_packet):
7710 * tests/complexity.c: (main):
7711 * tests/mass_elements.c: (main):
7712 * testsuite/states/locked.c: (message_received), (main):
7713 * testsuite/states/parent.c: (main):
7714 * tools/gst-inspect.c: (print_element_flag_info),
7715 (print_implementation_info), (print_pad_info):
7716 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7717 (main):
7718 * tools/gst-md5sum.c: (event_loop), (main):
7719 * tools/gst-typefind.c: (main):
7720 * tools/gst-xmlinspect.c: (print_element_info):
7721 Next big merge.
7722 Added GstBus for mainloop integration.
7723 Added GstMessage for sending notifications on the bus.
7724 Added GstTask as an abstraction for pipeline entry points.
7725 Removed GstThread.
7726 Removed Schedulers.
7727 Simplified GstQueue for multithreaded core.
7728 Made _link threadsafe, removed old capsnego.
7729 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7730 Added pad blocking functions.
7731 Reworked scheduling functions in GstPad to prepare for
7732 scheduling updates soon.
7733 Moved events out of data stream.
7734 Simplified GstEvent types.
7735 Added return values to push/pull.
7736 Removed clocking from GstElement.
7737 Added prototypes for state change function for next merge.
7738 Removed iterate from bins and state change management.
7739 Fixed some elements, disabled others for now.
7740 Fixed -inspect and -launch.
7741 Added check for GstBus.
7743 2005-03-10 Wim Taymans <wim@fluendo.com>
7745 * docs/design/part-MT-refcounting.txt:
7746 * docs/design/part-clocks.txt:
7747 * docs/design/part-gstelement.txt:
7748 * docs/design/part-gstobject.txt:
7749 * docs/design/part-standards.txt:
7750 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7751 (gst_bin_remove_func), (gst_bin_remove):
7752 * gst/gstbin.h:
7753 * gst/gstbuffer.c:
7754 * gst/gstcaps.h:
7755 * testsuite/clock/clock1.c: (main):
7756 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7757 (main):
7758 * testsuite/dlopen/loadgst.c: (do_test):
7759 * testsuite/refcounting/bin.c: (add_remove_test1),
7760 (add_remove_test2), (main):
7761 * testsuite/refcounting/element.c: (main):
7762 * testsuite/refcounting/element_pad.c: (main):
7763 * testsuite/refcounting/pad.c: (main):
7764 * tools/gst-launch.c: (sigint_handler_sighandler):
7765 * tools/gst-typefind.c: (main):
7766 Doc updates.
7767 Added doc about clock.
7768 removed gst_bin_iterate_recurse_up(), marked methods
7769 for removal.
7770 Fix more testsuites.
7772 2005-03-09 Wim Taymans <wim@fluendo.com>
7774 * gst/gstpad.c: (gst_pad_get_direction),
7775 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7776 (gst_pad_collect_valist):
7777 * testsuite/bins/interface.c: (main):
7778 * testsuite/caps/audioscale.c: (test_caps):
7779 * testsuite/caps/caps.c: (test1), (test2), (test3):
7780 * testsuite/caps/deserialize.c: (main):
7781 * testsuite/caps/enumcaps.c: (main):
7782 * testsuite/caps/filtercaps.c: (main):
7783 * testsuite/caps/intersect2.c: (main):
7784 * testsuite/caps/random.c: (main):
7785 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7786 * testsuite/caps/sets.c: (check_caps):
7787 * testsuite/caps/simplify.c: (check_caps), (main):
7788 * testsuite/caps/subtract.c: (check_caps):
7789 Fix _pad_get_direction wrt ghostpads.
7790 Fix caps testsuite.
7792 2005-03-09 Wim Taymans <wim@fluendo.com>
7794 * check/Makefile.am:
7795 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7796 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7797 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7798 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7799 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7800 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7801 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7802 (bin_element_is_sink), (gst_bin_iterate_sinks),
7803 (gst_bin_iterate_all_by_interface):
7804 * gst/gstbin.h:
7805 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7806 (gst_element_change_state), (gst_element_dispose),
7807 (gst_element_finalize), (gst_element_set_loop_function):
7808 * gst/gstelement.h:
7809 * gst/gstiterator.c: (find_custom_fold_func):
7810 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7811 (gst_pad_collectv), (gst_pad_collect_valist),
7812 (gst_pad_template_new):
7813 * gst/gstpipeline.c: (gst_pipeline_class_init),
7814 (gst_pipeline_dispose), (gst_pipeline_set_property),
7815 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7816 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7817 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7818 * gst/gstutils.h:
7819 * gst/schedulers/entryscheduler.c:
7820 * gst/schedulers/gstbasicscheduler.c:
7821 (gst_basic_scheduler_cothreaded_chain),
7822 (gst_basic_scheduler_chain_add_element):
7823 * testsuite/bins/interface.c: (main):
7824 Added GstBin test.
7825 Added GstSystemClock test.
7826 Implemented clock distribution code in GstBin.
7827 Implemented iterate sinks method for future use.
7828 Rearranged gstelement.h
7829 Fix GstIterator comparison bug.
7830 Moved some code to GstPipeline, mostly clocking related.
7832 2005-03-09 Wim Taymans <wim@fluendo.com>
7834 * configure.ac:
7835 * gst/gst_private.h:
7836 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7837 (gst_bin_remove_func), (gst_bin_remove),
7838 (gst_bin_get_by_name_recurse_up):
7839 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7840 (gst_clock_id_compare_func), (gst_clock_id_wait),
7841 (gst_clock_id_wait_async), (gst_clock_init),
7842 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7843 * gst/gstelement.h:
7844 * gst/gstinfo.c: (_gst_debug_init):
7845 * gst/gstobject.h:
7846 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7847 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7848 * gst/gstpad.h:
7849 Bump version number, we're now 0.9.0
7850 Add future debugging category.
7851 Fix NULL _unref() in _get_by_name_recurse_up
7852 Rearrange gstpad.h.
7853 Update some docs.
7855 2005-03-08 Wim Taymans <wim@fluendo.com>
7857 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7858 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7859 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7860 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7861 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7862 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7863 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7864 * gst/elements/gstidentity.c: (gst_identity_class_init):
7865 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7866 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7867 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7868 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7869 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7870 (gst_tee_link):
7871 * gst/gstelement.c: (gst_element_class_init),
7872 (gst_element_base_class_init), (gst_element_init),
7873 (gst_element_get_random_pad), (gst_element_wait_state_change),
7874 (gst_element_change_state), (gst_element_dispose),
7875 (gst_element_finalize), (gst_element_set_loop_function):
7876 * gst/gstelement.h:
7877 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7878 * gst/gstthread.c: (gst_thread_class_init),
7879 (gst_thread_release_children_locks), (gst_thread_change_state):
7880 * gst/schedulers/gstbasicscheduler.c:
7881 (gst_basic_scheduler_loopfunc_wrapper),
7882 (gst_basic_scheduler_chain_wrapper),
7883 (gst_basic_scheduler_src_wrapper),
7884 (gst_basic_scheduler_remove_element):
7885 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7886 Remove threadsafe properties. Fix elements because GObject
7887 complains when installing a property before declaring a
7888 set/get_property handler.
7889 Rearrange gstelement.h file, use STATE macros for state locks.
7890 Free mutexes in the finalize method instead of dispose.
7892 2005-03-08 Wim Taymans <wim@fluendo.com>
7894 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7895 * gst/gstthread.c: (gst_thread_release_children_locks):
7896 Added parentage check.
7897 Fix build og GstThread again.
7899 2005-03-08 Wim Taymans <wim@fluendo.com>
7901 * docs/design/part-MT-refcounting.txt:
7902 * docs/design/part-conventions.txt:
7903 * docs/design/part-gstobject.txt:
7904 * docs/design/part-relations.txt:
7905 * docs/design/part-standards.txt:
7906 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7907 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7908 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7909 (gst_bin_iterate_all_by_interface):
7910 * gst/gstbuffer.h:
7911 * gst/gstclock.h:
7912 * gst/gstelement.c: (gst_element_class_init),
7913 (gst_element_change_state), (gst_element_set_loop_function):
7914 * gst/gstelement.h:
7915 * gst/gstiterator.c:
7916 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7917 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7918 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7919 (gst_object_set_parent), (gst_object_unparent),
7920 (gst_object_check_uniqueness):
7921 * gst/gstobject.h:
7922 Docs updates, clean up some headers.
7924 2005-03-07 Wim Taymans <wim@fluendo.com>
7926 * check/.cvsignore:
7927 * check/Makefile.am:
7928 * check/gst-libs/.cvsignore:
7929 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7930 * check/gst/.cvsignore:
7931 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7932 (START_TEST), (gstbus_suite), (main):
7933 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7934 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7935 (gst_data_suite), (main):
7936 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7937 (add_fold_func), (gstiterator_suite), (main):
7938 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7939 (thread_name_object), (thread_name_object_default),
7940 (gst_object_name_compare), (gst_object_suite), (main):
7941 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7942 (gst_pad_suite), (main):
7943 * check/gstcheck.c: (gst_check_log_message_func),
7944 (gst_check_log_critical_func), (gst_check_init):
7945 * check/gstcheck.h:
7946 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7947 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7948 Added checks.
7950 2005-03-07 Wim Taymans <wim@fluendo.com>
7952 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7953 (gst_list_iterator_next), (gst_list_iterator_resync),
7954 (gst_list_iterator_free), (gst_iterator_new_list),
7955 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7956 (gst_iterator_free), (gst_iterator_push), (filter_next),
7957 (filter_resync), (filter_uninit), (filter_free),
7958 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7959 (gst_iterator_foreach), (find_custom_fold_func),
7960 (gst_iterator_find_custom):
7961 * gst/gstiterator.h:
7962 Added missing files.
7964 2005-03-07 Wim Taymans <wim@fluendo.com>
7966 * Makefile.am:
7967 * configure.ac:
7968 * docs/design/part-MT-refcounting.txt:
7969 * docs/design/part-conventions.txt:
7970 * docs/design/part-gstobject.txt:
7971 * docs/design/part-relations.txt:
7972 * examples/mixer/mixer.c: (main):
7973 * examples/thread/thread.c: (eos), (main):
7974 * gst/Makefile.am:
7975 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7976 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7977 (gst_spider_plug_from_srcpad):
7978 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7979 (gst_spider_identity_change_state),
7980 (gst_spider_identity_sink_loop_type_finding):
7981 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7982 * gst/elements/gstidentity.c: (gst_identity_init):
7983 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7984 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7985 * gst/elements/gsttypefindelement.c: (free_entry):
7986 * gst/gst.c:
7987 * gst/gst.h:
7988 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7989 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7990 (gst_bin_set_index), (gst_bin_set_element_sched),
7991 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7992 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7993 (gst_bin_iterate_elements), (iterate_child_recurse),
7994 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7995 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7996 (compare_interface), (gst_bin_get_by_interface),
7997 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7998 * gst/gstbin.h:
7999 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8000 (gst_buffer_default_free), (gst_buffer_default_copy),
8001 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8002 (gst_buffer_create_sub):
8003 * gst/gstbuffer.h:
8004 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8005 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8006 (gst_caps_unref), (gst_static_caps_get),
8007 (gst_caps_remove_and_get_structure), (gst_caps_append),
8008 (gst_caps_append_structure), (gst_caps_remove_structure),
8009 (gst_caps_copy_nth), (gst_caps_set_simple),
8010 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8011 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8012 (gst_caps_structure_intersect_field), (gst_caps_intersect),
8013 (gst_caps_structure_subtract_field), (gst_caps_subtract),
8014 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8015 (gst_caps_structure_figure_out_union),
8016 (gst_caps_switch_structures), (gst_caps_do_simplify),
8017 (gst_caps_replace), (gst_caps_from_string),
8018 (gst_caps_copy_conditional):
8019 * gst/gstcaps.h:
8020 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8021 (_gst_clock_id_free), (gst_clock_id_unref),
8022 (gst_clock_id_compare_func), (gst_clock_id_wait),
8023 (gst_clock_id_wait_async), (gst_clock_class_init),
8024 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8025 (gst_clock_get_time), (gst_clock_set_time_adjust),
8026 (gst_clock_set_property), (gst_clock_get_property):
8027 * gst/gstclock.h:
8028 * gst/gstcompat.h:
8029 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8030 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8031 * gst/gstdata.h:
8032 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8033 (gst_element_requires_clock), (gst_element_provides_clock),
8034 (gst_element_set_clock), (gst_element_clock_wait),
8035 (gst_element_wait), (gst_element_set_time_delay),
8036 (gst_element_is_indexable), (gst_element_add_pad),
8037 (gst_element_add_ghost_pad), (gst_element_remove_pad),
8038 (pad_compare_name), (gst_element_get_static_pad),
8039 (gst_element_request_pad), (gst_element_get_request_pad),
8040 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8041 (gst_element_class_get_pad_template_list),
8042 (gst_element_class_get_pad_template), (gst_element_error_func),
8043 (gst_element_get_random_pad), (gst_element_get_event_masks),
8044 (gst_element_send_event), (gst_element_seek),
8045 (gst_element_get_query_types), (gst_element_query),
8046 (gst_element_get_formats), (gst_element_convert),
8047 (gst_element_is_locked_state), (gst_element_set_locked_state),
8048 (gst_element_sync_state_with_parent), (gst_element_change_state),
8049 (gst_element_finalize), (gst_element_yield),
8050 (gst_element_interrupt), (gst_element_set_scheduler),
8051 (gst_element_get_scheduler), (gst_element_set_loop_function):
8052 * gst/gstelement.h:
8053 * gst/gstevent.h:
8054 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8055 (gst_format_get_by_nick), (gst_format_get_details),
8056 (gst_format_iterate_definitions):
8057 * gst/gstformat.h:
8058 * gst/gstindex.c: (gst_index_gtype_resolver):
8059 * gst/gstinfo.c:
8060 * gst/gstinfo.h:
8061 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8062 (gst_mem_chunk_free):
8063 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8064 (gst_object_ref), (gst_object_unref), (gst_object_sink),
8065 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8066 (gst_object_dispatch_properties_changed),
8067 (gst_object_set_name_default), (gst_object_set_name),
8068 (gst_object_get_name), (gst_object_set_name_prefix),
8069 (gst_object_get_name_prefix), (gst_object_set_parent),
8070 (gst_object_get_parent), (gst_object_unparent),
8071 (gst_object_check_uniqueness), (gst_object_save_thyself),
8072 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8073 (gst_object_set_property), (gst_object_get_property),
8074 (gst_object_get_path_string):
8075 * gst/gstobject.h:
8076 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8077 (gst_real_pad_init), (gst_real_pad_get_property),
8078 (gst_pad_custom_new), (gst_pad_get_direction),
8079 (gst_pad_set_active), (gst_pad_is_active),
8080 (gst_pad_set_event_function), (gst_pad_is_linked),
8081 (gst_pad_link_free), (gst_pad_link_intersect),
8082 (gst_pad_link_fixate), (gst_pad_set_caps),
8083 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8084 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8085 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8086 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8087 (gst_pad_get_caps), (gst_pad_peer_get_caps),
8088 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8089 (gst_pad_realize), (gst_pad_get_allowed_caps),
8090 (gst_real_pad_dispose), (gst_real_pad_finalize),
8091 (gst_pad_collectv), (gst_pad_collect_valist),
8092 (gst_pad_template_dispose), (gst_pad_template_new),
8093 (gst_pad_get_internal_links):
8094 * gst/gstpad.h:
8095 * gst/gstpipeline.c: (gst_pipeline_dispose),
8096 (gst_pipeline_change_state):
8097 * gst/gstpipeline.h:
8098 * gst/gstplugin.c:
8099 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8100 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8101 * gst/gstpluginfeature.h:
8102 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8103 * gst/gstquery.c: (_gst_query_type_initialize),
8104 (gst_query_type_register), (gst_query_type_get_by_nick),
8105 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8106 * gst/gstquery.h:
8107 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8108 * gst/gstscheduler.c: (gst_scheduler_add_element),
8109 (gst_scheduler_factory_create):
8110 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8111 (gst_structure_free), (gst_structure_set_name),
8112 (gst_structure_id_set_value), (gst_structure_set_value),
8113 (gst_structure_set_valist), (gst_structure_remove_field),
8114 (gst_structure_remove_fields),
8115 (gst_structure_remove_fields_valist),
8116 (gst_structure_remove_all_fields), (gst_structure_foreach),
8117 (gst_structure_map_in_place),
8118 (gst_caps_structure_fixate_field_nearest_int),
8119 (gst_caps_structure_fixate_field_nearest_double):
8120 * gst/gststructure.h:
8121 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8122 (gst_system_clock_init), (gst_system_clock_dispose),
8123 (gst_system_clock_async_thread),
8124 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8125 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8126 * gst/gstsystemclock.h:
8127 * gst/gsttag.c: (gst_tag_list_add_value_internal),
8128 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8129 * gst/gsttaginterface.c:
8130 * gst/gstthread.c: (gst_thread_dispose),
8131 (gst_thread_release_children_locks), (gst_thread_change_state),
8132 (gst_thread_main_loop):
8133 * gst/gsttrashstack.h:
8134 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8135 * gst/gsttypes.h:
8136 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8137 (gst_element_request_pad), (gst_element_get_pad_from_template),
8138 (gst_element_request_compatible_pad),
8139 (gst_element_get_compatible_pad_filtered),
8140 (gst_element_get_compatible_pad), (gst_element_state_get_name),
8141 (gst_element_link_pads_filtered), (gst_element_link_filtered),
8142 (gst_element_link_many), (gst_element_link),
8143 (gst_element_link_pads), (gst_element_unlink_pads),
8144 (gst_element_unlink_many), (gst_element_unlink),
8145 (gst_pad_can_link_filtered), (gst_pad_can_link),
8146 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8147 (gst_object_default_error), (gst_bin_add_many),
8148 (gst_bin_remove_many), (gst_element_populate_std_props),
8149 (gst_element_class_install_std_props), (gst_buffer_merge),
8150 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8151 (link_fold_func), (gst_pad_proxy_setcaps):
8152 * gst/gstutils.h:
8153 * gst/gstvalue.c: (gst_value_deserialize_string):
8154 * gst/parse/grammar.y:
8155 * gst/schedulers/gstbasicscheduler.c:
8156 (gst_basic_scheduler_cothreaded_chain),
8157 (gst_basic_scheduler_chain_recursive_add),
8158 (gst_basic_scheduler_pad_link):
8159 * gst/schedulers/gstoptimalscheduler.c:
8160 (get_group_schedule_function),
8161 (gst_opt_scheduler_state_transition),
8162 (gst_opt_scheduler_add_element), (element_get_reachables_func):
8163 * libs/gst/bytestream/bytestream.c:
8164 * libs/gst/dataprotocol/dataprotocol.c:
8165 (gst_dp_header_from_buffer):
8166 * po/nb.po:
8167 * po/ru.po:
8168 * tests/threadstate/threadstate2.c: (eos):
8169 * tools/gst-compprep.c: (main):
8170 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8171 (print_pad_info), (print_children_info):
8172 * tools/gst-launch.c: (idle_func), (main):
8173 * tools/gst-md5sum.c: (idle_func), (main):
8174 * tools/gst-xmlinspect.c: (print_element_info):
8175 First THREADED backport attempt, focusing on adding locks and
8176 making sure the API is threadsafe. Needs more work. More docs
8177 follow this week.
8179 2005-02-24 Andy Wingo <wingo@pobox.com>
8181 * tests/bench-complexity.scm:
8182 * tests/complexity.gnuplot: New files, good for running complexity
8183 benchmarks.
8185 * tests/Makefile.am:
8186 * tests/complexity.c: New test, sets up N elements, at each level
8187 teeing into M streams per element. Eeeenteresting.
8189 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8190 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8191 running bench-mass_elements.scm.
8193 * tests/bench-mass_elements.scm: New script, runs mass_elements
8194 for various numbers of identities, outputting the results to a
8195 file. Requires guile 1.6. Just for testing.
8197 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
8199 * gst/schedulers/fairscheduler.c:
8200 compile with debug disabled
8202 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
8204 * configure.ac:
8205 hunting season on 0.9 is now OPEN