1 2005-10-07 Michael Smith <msmith@fluendo.com>
4 Print out feature and plugin count at the end when printing out
7 2005-10-04 Michael Smith <msmith@fluendo.com>
9 * gst/gsterror.c: (_gst_stream_errors_init):
10 Add another error string used in a few existing plugins.
13 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14 * tools/gst-inspect.c: (print_element_info):
15 When a feature disappears from a plugin (and the feature exists in
16 the cached registry file), things went horribly wrong. This isn't a
17 complete fix, we should actually be removing the 'missing' features
18 from the features list when we load the actual plugin. That's not
21 2005-10-04 Johan Dahlin <johan@gnome.org>
23 * check/gst/gstiterator.c: (GST_START_TEST):
24 * gst/gstbin.c: (gst_bin_iterate_elements),
25 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
26 * gst/gstelement.c: (gst_element_iterate_pads):
27 * gst/gstformat.c: (gst_format_iterate_definitions):
28 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29 (gst_iterator_new_list), (gst_iterator_filter):
31 * gst/gstquery.c: (gst_query_type_iterate_definitions):
32 Add a GType to GstIterator, update callsites and tests.
34 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
36 * gst/gstpad.c: (gst_pad_event_default_dispatch):
37 give events a chance to be handled by event probes when the pad
40 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
42 * gst/gstevent.c: (gst_event_type_get_name),
43 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
45 add string representations for event types
47 2005-10-06 Wim Taymans <wim@fluendo.com>
49 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
50 Don't use NULL pointers.
52 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
58 * gst/gstpluginfeature.c:
59 widen the debug category in output to fit the biggest one we have
60 add a bus category and use it
62 fix up some categories
64 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
66 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
67 add push activation of sink ghost pads.
70 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
72 * gst/gstutils.c: (gst_element_link_pads):
73 fix a bug in the case where neither element has a pad
74 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
75 add a test for that case
77 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
79 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
80 emit have-data before checking for peers. This allows
81 for probe handlers to connect elements. This helps autopluggers.
82 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
84 add six checks, linked/unlinked with no/true/false probe
86 2005-10-04 Wim Taymans <wim@fluendo.com>
88 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
89 (gst_fake_sink_event), (gst_fake_sink_preroll),
90 (gst_fake_sink_render), (gst_fake_sink_change_state):
91 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
92 (gst_fake_src_get_property), (gst_fake_src_create),
94 * gst/elements/gstidentity.c: (gst_identity_stop):
95 Protect last_message with lock.
97 2005-10-04 Edward Hervey <edward@fluendo.com>
100 Added precision in the comments for GST_FORMAT_DEFAULT
102 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
104 * tools/gst-launch.c: (main):
105 Don't try to run erroneous pipelines.
107 2005-10-04 Julien MOUTTE <julien@moutte.net>
109 * gst/gstbus.c: We don't need this header.
111 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
116 === release 0.9.3 ===
118 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
122 Releasing 0.9.3, "Unregistered"
124 2005-10-03 Andy Wingo <wingo@pobox.com>
126 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
127 whereby calling a pad's activatepush() function can start a thread
128 that starts to push or pull before the pad gets the FLUSHING flag
129 unset. Hack around it by holding the stream lock until the flag is
130 set. Need to replace this with a proper solution. Together with
131 the ghost pad fixes, this fixes mp3 playing/tagreading.
133 * docs/design/part-gstghostpad.txt: Add a note about activation of
134 proxy pads outside of ghost pads.
136 * gst/gstghostpad.c: Implement the ghost pad activation design.
138 2005-10-02 Andy Wingo <wingo@pobox.com>
140 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
141 It is volatile, after all.
143 * docs/design/part-gstghostpad.txt: Flesh out activation with
146 * gst/base/gstbasesrc.c (gst_base_src_init): Use
149 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
152 Fix (unused) AM_CONDITIONAL tests.
154 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
156 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
158 * gst/gstutils.c: (gst_pad_query_convert):
159 Add assertion that makes sure src_val is >=0, just like
160 gst_query_new_convert() has. (#315895)
162 2005-09-30 Edward Hervey <edward@fluendo.com>
164 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
165 Let's not iterate pads we're not interested in, it avoids getting
166 sky-high refcounts on sinkpad.
168 2005-09-30 Wim Taymans <wim@fluendo.com>
170 * gst/gstelement.c: (gst_element_set_state),
171 (gst_element_change_state):
172 Small tweak, element in ASYNC remains ASYNC.
174 2005-09-30 Wim Taymans <wim@fluendo.com>
176 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
177 Only error is an error.
179 * gst/gstbin.c: (gst_bin_change_state):
182 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
183 Also call pad_block in pad alloc.
185 * gst/gstutils.c: (gst_flow_get_name):
188 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
190 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
191 (gst_base_src_get_range):
192 Fix documentation typos. Add some more debug info.
194 2005-09-29 David Schleef <ds@schleef.org>
196 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
197 more end-user friendly.
198 * tools/gst-inspect.c: (main): Check if command-line argument is
199 a file and attempt to load that file as a plugin.
201 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
203 * check/gst/gstbin.c:
204 * check/states/sinks.c:
205 fix tests for the new warning
206 * check/gst/gstpipeline.c:
207 add a test for pipeline and bus interaction
209 elements should be NULL if they get disposed; add a warning if not
211 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
214 for 2.6 refcounting, make debug log more correct by printing
215 the actual refcounts at the time of swap (Wim)
217 2005-09-29 Andy Wingo <wingo@pobox.com>
219 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
220 removes signal watches previously added via
221 gst_bus_add_signal_watch.
222 (gst_bus_add_signal_watch): Don't return the source id, just store
223 it on the bus if there wasn't an id already.
225 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
226 add_signal_watch and remove_signal_watch.
228 2005-09-29 Edward Hervey <edward@fluendo.com>
230 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
231 Better if we actually iterate the list :)
233 2005-09-29 Wim Taymans <wim@fluendo.com>
235 * check/gst/gstbin.c: (GST_START_TEST):
236 Change for new bus API.
238 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
239 (send_messages), (GST_START_TEST), (gstbus_suite):
240 Change for new bus signal API.
242 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
243 (gst_bus_source_prepare), (gst_bus_source_check),
244 (gst_bus_create_watch), (gst_bus_add_watch_full),
245 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
246 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
248 Remove support for multiple GSources operating on different
249 message types as it is too complex and unneeded when using
251 Added support for receiving signals from the bus.
253 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
255 * docs/libs/tmpl/gstdataprotocol.sgml:
256 * docs/manual/advanced-dataaccess.xml:
257 * gst/elements/gstcapsfilter.c:
259 rename filter-caps to caps property
261 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
263 * gst/gstvalue.c: (gst_value_deserialize_fraction):
264 More robust fraction string parsing.
266 * docs/pwg/appendix-porting.xml:
267 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
269 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
271 * gst/gstcaps.c: (gst_caps_do_simplify):
272 Thou shalt not free a structure and then continue using it
273 in the next loop iteration.
275 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
277 Add test case for caps simplification.
279 2005-09-29 Wim Taymans <wim@fluendo.com>
281 * check/gst/gstbin.c: (GST_START_TEST):
284 2005-09-29 Wim Taymans <wim@fluendo.com>
286 * check/gst/gstbin.c: (GST_START_TEST):
289 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
290 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
291 (find_element), (gst_bin_sort_iterator_next),
292 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
293 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
294 (gst_bin_change_state), (gst_bin_dispose):
295 A bin does not have a bus, it gets the bus from the parent.
297 * gst/gstelement.c: (gst_element_requires_clock),
298 (gst_element_provides_clock), (gst_element_is_indexable),
299 (gst_element_is_locked_state), (gst_element_change_state),
300 (gst_element_set_bus_func):
303 * gst/gstpipeline.c: (gst_pipeline_class_init),
304 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
305 The pipeline provides a bus.
307 2005-09-28 Johan Dahlin <johan@gnome.org>
309 * gst/gstmessage.c (gst_message_parse_state_changed): Use
310 gst_structure_get_enum instead of gst_structure_get_int
312 * gst/gststructure.c (gst_structure_get_enum): Impl.
314 * gst/gststructure.h (gst_structure_get_enum): Add
316 * docs/gst/gstreamer-sections.txt: Ditto
318 * gst/gstmessage.c (gst_message_new_state_changed): Use
319 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
320 which does introspection.
321 Reviewed by Christian Schaller
323 2005-09-28 Stefan Kost <ensonic@users.sf.net>
325 * gst/gstinfo.c: (gst_debug_log_default):
326 don't do dummy g_strdup()s
327 * libs/gst/controller/gstcontroller.c:
328 (on_object_controlled_property_changed),
329 (gst_controlled_property_new), (gst_controller_new_valist),
330 (gst_controller_new_list),
331 (gst_controller_remove_properties_valist), (gst_controller_set),
332 (gst_controller_get), (gst_controller_sync_values),
333 (gst_controller_get_value_array), (_gst_controller_class_init),
334 (gst_controller_get_type):
335 * libs/gst/controller/gstcontroller.h:
336 * libs/gst/controller/gstinterpolation.c:
337 (gst_controlled_property_find_timed_value_node):
338 convert // to /**/ comments
340 2005-09-28 Wim Taymans <wim@fluendo.com>
342 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
343 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
344 (gst_bus_sync_signal_handler):
346 Added async-message and sync-message signals to the bus.
347 Added helper BusFunc to emit signals for all posted messages.
349 * gst/gstmessage.c: (gst_message_type_get_name),
350 (gst_message_type_to_quark), (gst_message_get_type):
352 Register quarks for message names.
354 2005-09-28 Stefan Kost <ensonic@users.sf.net>
356 * docs/libs/gstreamer-libs-sections.txt:
357 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
358 (gst_controller_new_list):
359 * libs/gst/controller/gstcontroller.h:
360 added another constructor for language bindings
362 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
364 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
368 * gst/gstinfo.c: (_gst_debug_init):
369 slightly more readable color for refcount debugging
371 2005-09-28 Wim Taymans <wim@fluendo.com>
373 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
374 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
375 (find_element), (gst_bin_sort_iterator_next),
376 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
377 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
378 (gst_bin_change_state), (gst_bin_dispose):
379 Small doc fixes. get_clock -> provide_clock.
381 * gst/gstelement.c: (gst_element_class_init),
382 (gst_element_provides_clock), (gst_element_provide_clock),
383 (gst_element_get_clock), (gst_element_commit_state),
384 (gst_element_lost_state):
386 Make get/set_clock() symetric. Add provide_clock vmethod since
387 that is actually what this function does.
389 * gst/gstpipeline.c: (gst_pipeline_class_init),
390 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
391 (gst_pipeline_get_clock):
392 get_clock -> provide_clock.
394 2005-09-28 Andy Wingo <wingo@pobox.com>
396 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
399 * gst/elements/gstfdsrc.c: Cleaned up a bit.
401 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
403 * gst/elements/gstcapsfilter.c:
404 * gst/elements/gstfakesink.c:
405 * gst/elements/gstfakesrc.c:
406 * gst/elements/gstfdsink.c:
407 * gst/elements/gstfdsrc.c:
408 * gst/elements/gstfilesink.c:
409 * gst/elements/gstfilesrc.c:
410 * gst/elements/gstidentity.c:
411 * gst/elements/gsttee.c:
412 * gst/elements/gsttypefindelement.c:
413 Make element details static.
415 2005-09-28 Wim Taymans <wim@fluendo.com>
417 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
418 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
419 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
420 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
421 (gst_bin_change_state), (gst_bin_dispose):
422 Some documentation updates.
423 Clean up dispose handlers.
425 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
426 * gst/gstpad.c: (gst_pad_dispose):
427 Clean up dispose handler.
429 * gst/gstpipeline.c: (gst_pipeline_change_state):
430 Removed spurious UNLOCK.
432 2005-09-27 Stefan Kost <ensonic@users.sf.net>
434 * docs/gst/gstreamer-sections.txt:
435 * gst/base/gstbasesrc.h:
444 added two new functions to the docs
445 documents all undocumented GstXXXFlags
446 completed some incomplete docs
448 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
450 * gst/gstbin.c: (gst_bin_dispose):
451 * gst/gstelement.c: (gst_element_dispose):
452 remove now useless and leaky resurrection code in dispose
453 * gst/base/gstbasesrc.c: (gst_base_src_init):
454 * gst/gstelementfactory.c: (gst_element_factory_create):
455 * gst/gstobject.c: (gst_object_set_parent):
458 2005-09-27 Wim Taymans <wim@fluendo.com>
460 * docs/design/part-TODO.txt:
463 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
464 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
465 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
466 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
467 (gst_bin_change_state):
469 Remove element variable, we keep element info in the iterator now.
471 2005-09-27 Andy Wingo <wingo@pobox.com>
473 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
476 2005-09-27 Wim Taymans <wim@fluendo.com>
478 * check/gst/gstbin.c: (GST_START_TEST):
479 Enable check that works now.
481 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
482 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
483 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
484 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
485 (gst_bin_change_state):
487 Redid the state change algorithm using a topological sort algo.
488 Handles all cases correctly.
489 Exposed iterator for state change order.
492 Temp storage for state changes. Need to get rid of this soon.
494 2005-09-27 Wim Taymans <wim@fluendo.com>
496 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
497 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
498 (link_fold_func), (gst_pad_proxy_setcaps):
499 Leak fixes, the fold functions need to unref the passed object and
500 _get_parent_*() returns ref to parent.
502 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
504 * check/gst/gstbuffer.c: (test_make_writable):
505 Plug leak in test case and fix 'make check-valgrind'
507 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
509 * gst/gstbuffer.c: (gst_subbuffer_init):
510 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
511 works correctly in all circumstances (we could have just copied
512 the parent buffer's readonly flag, but conceptually it seems
513 cleaner to mark all subbuffers as read-only). (based on patch
514 by Alessandro Decina, #314710).
516 * check/gst/gstbuffer.c: (create_read_only_buffer),
517 (test_make_writable), (test_subbuffer_make_writable),
519 Add some tests for gst_buffer_make_writable().
521 2005-09-27 Wim Taymans <wim@fluendo.com>
523 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
524 use gst_object_has_ancestor().
526 * gst/gstobject.c: (gst_object_has_ancestor):
528 gst_object_has_ancestor() copied from gstbin.c as it is a
531 * tests/instantiate/create.c: (create_all_elements):
532 * tests/lat.c: (handoff_src), (handoff_sink):
533 * tests/sched/runxml.c: (main):
534 * tests/seeking/seeking1.c: (main):
535 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
537 Fix compilation of some tests.
539 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
542 Remove comment. GST_TYPE_G_ERROR is here to stay,
543 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
546 2005-09-26 Wim Taymans <wim@fluendo.com>
548 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
549 Added check that shows error in state change order.
551 2005-09-26 Wim Taymans <wim@fluendo.com>
553 * gst/gstbin.c: (gst_bin_change_state):
554 Make state change function use 3 queues again, we were
555 adding elements in the wrong order.
557 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
560 * gst/gstpad.c: (gst_pad_dispose):
561 Added some debug info first.
563 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
565 * docs/design/draft-push-pull.txt:
566 * docs/design/part-events.txt:
567 * docs/design/part-overview.txt:
568 * docs/design/part-scheduling.txt:
569 Replace all _pull_region() with _pull_range()
571 2005-09-26 Andy Wingo <wingo@pobox.com>
573 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
575 * check/gst-libs/controller.c: Update for controller api change.
579 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
580 over by GLib bug 118439.
582 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
583 routines to a function.
585 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
587 * libs/gst/controller/gsthelper.c:
588 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
589 (gst_object_sync_values): Renamed from sink_values. Ugh.
591 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
593 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
594 Renamed from controller_key, as it is exported.
596 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
598 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
603 * gst/gstpadtemplate.h:
606 * gst/gstqueryutils.c:
607 * gst/gstqueryutils.h:
608 remove queryutils headers after moving the two used functions
609 to gstquery. also fixes build problem for gstsiddec
611 2005-09-26 Michael Smith <msmith@fluendo.com>
613 * tools/gst-launch.1.in:
614 Correct documentation in manpage of debug syntax
616 2005-09-26 Wim Taymans <wim@fluendo.com>
618 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
619 (gst_base_src_is_seekable), (gst_base_src_change_state):
620 Some more debugging info.
622 2005-09-25 Stefan Kost <ensonic@users.sf.net>
624 * docs/gst/gstreamer-sections.txt:
625 * gst/base/gstbasetransform.h:
629 2005-09-25 Stefan Kost <ensonic@users.sf.net>
631 * docs/gst/.cvsignore:
632 * docs/gst/tmpl/.cvsignore:
633 * docs/gst/tmpl/gstpipeline.sgml:
634 * docs/gst/tmpl/gstplugin.sgml:
638 inlined the last two docs files
639 removed the tmpl directory from cvs (no more conflicts here!)
641 2005-09-25 Stefan Kost <ensonic@users.sf.net>
643 * docs/gst/gstreamer-sections.txt:
644 * docs/gst/tmpl/.cvsignore:
645 * docs/gst/tmpl/gstpad.sgml:
646 * docs/gst/tmpl/gstpadtemplate.sgml:
648 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
649 (gst_pad_finalize), (gst_pad_set_pad_template):
651 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
652 (gst_pad_template_class_init), (gst_pad_template_init),
653 (gst_pad_template_dispose), (name_is_valid),
654 (gst_static_pad_template_get), (gst_pad_template_new),
655 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
656 (gst_pad_template_pad_created):
657 * gst/gstpadtemplate.h:
658 inlined two more docs
659 factored gstpadtemplate out of gstpad
661 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
663 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
664 (test_children_state_change_order_semi_sink):
665 Fix test case: we can't rely on a fixed state change order when
666 going from READY => PAUSED because the sink might commit its
667 new state first when the first buffer created by the source
668 reaches the sink before the source has finished its change state.
669 (Test case still fails at times, see #316856, comment 5 onwards)
671 2005-09-24 Wim Taymans <wim@fluendo.com>
673 * docs/design/part-events.txt:
674 * docs/design/part-gstbus.txt:
675 * docs/design/part-gstpipeline.txt:
676 * docs/design/part-messages.txt:
677 * docs/design/part-overview.txt:
678 * docs/design/part-segments.txt:
686 Various documentation updates.
688 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
691 Well, that's embarassing. Luckily we weren't using
692 GST_CLOCK_DIFF anywhere.
694 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
696 * common/gtk-doc.mak:
697 don't fail on building XML, FC4 slave shows a bunch of doc
698 missing bits that I don't get
701 * gst/gststructure.c:
704 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
706 * docs/design/part-gstbin.txt:
707 * docs/design/part-gstbus.txt:
709 Add blurb about how the bus goes into flushing mode and
710 drops all messages when its bin goes from READY into NULL
713 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
715 * docs/gst/gstreamer-sections.txt:
716 * gst/gststructure.c: (gst_structure_get_clock_time):
717 * gst/gststructure.h:
718 add a method to get a GstClockTime out of a structure
720 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
722 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
723 (test_children_state_change_order_semi_sink), (gst_bin_suite):
724 Added test to check state change order in bins (can still be made
725 to fail here under heavy disk load; bails out with 'Push on pad
726 fakesink:sink0, but it was not activated in push mode').
728 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
729 Fix state change order when there is only a semi sink (#316856)
731 * gst/gstbus.c: (gst_bus_class_init):
732 Use _class_peek_parent(), not _class_ref(); fix docs to say
733 'default main context' instead of 'mainloop' where that is
736 * gst/gstelement.c: (gst_element_commit_state),
737 (gst_element_set_state):
738 Fix typos in debug messages
740 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
743 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
744 * gst/gstpluginfeature.c:
747 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
748 change an assert into an error until it gets fixed properly
750 2005-09-23 Stefan Kost <ensonic@users.sf.net>
752 * docs/gst/gstreamer-sections.txt:
753 * docs/gst/tmpl/.cvsignore:
754 * docs/gst/tmpl/gstelement.sgml:
755 * docs/gst/tmpl/gstinfo.sgml:
756 * docs/gst/tmpl/gstobject.sgml:
761 * gst/gstobject.c: (gst_object_class_init):
763 inlined 3 more biiiig doc files and added some missing docs on the fly
765 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
767 * check/gst/.cvsignore:
768 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
769 * gst/gstregistryxml.c: (load_plugin),
770 (gst_registry_xml_save_plugin):
771 put back source in registry. add checks for find_plugin.
772 * testsuite/states/bin.c: (assert_state), (empty_bin),
773 (test_adding_one_element), (main):
774 * testsuite/states/locked.c: (main):
775 some compile/run fixes
777 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
779 * check/gst/gstvalue.c: (GST_START_TEST):
780 fix leaks in the test itself
782 2005-09-22 Wim Taymans <wim@fluendo.com>
784 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
785 (gst_base_sink_send_event), (gst_base_sink_peer_query),
786 (gst_base_sink_query):
787 Prepare for more accurate position reporting and query
790 * gst/gstelement.c: (gst_element_send_event),
791 (gst_element_set_state):
794 2005-09-22 Wim Taymans <wim@fluendo.com>
796 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
797 (gst_query_parse_segment):
800 Add segment query for future use.
802 2005-09-22 Wim Taymans <wim@fluendo.com>
804 * gst/gstbin.c: (gst_bin_add_func):
805 Some more debug info.
807 * gst/gstelement.c: (gst_element_send_event):
811 Don't know how flags got broken.
816 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
818 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
819 Add simplistic test suite for GST_TYPE_DATE serialisation and
822 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
824 * docs/gst/gstreamer-sections.txt:
825 * gst/gststructure.c: (gst_structure_set_valist),
826 (gst_structure_get_date):
827 * gst/gststructure.h:
828 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
829 (gst_date_copy), (gst_value_compare_date),
830 (gst_value_serialize_date), (gst_value_deserialize_date),
831 (gst_value_transform_date_string),
832 (gst_value_transform_string_date), (_gst_value_initialize):
834 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
835 bunch of utility functions along with a hack that checks that
836 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
837 is required. Part of the grand scheme in #170777.
839 2005-09-22 Andy Wingo <wingo@pobox.com>
841 * gst/gstconfig.h.in: Psych out gtk-doc.
843 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
845 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
847 * tools/gst-inspect.c (print_element_list): Plug some
848 inconsequential leaks.
850 * gst/gstregistry.c (gst_registry_get_default): Doc.
852 * check/gst/gstplugin.c:
853 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
854 * gst/gstelementfactory.c (gst_element_factory_create):
855 * gst/gstindexfactory.c (gst_index_factory_create): Update for
858 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
859 (gst_plugin_feature_load): Doc, don't eat refs.
861 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
862 (gst_plugin_list_free): Doc.
863 (gst_plugin_load_file): Doc updates.
865 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
866 accessors returning refcounted objects, return a ref.
868 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
869 accessor for caps. IDEMPOTENCE. Oh yes.
871 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
873 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
875 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
876 (_gst_debug_register_funcptr):
877 Add mutex to serialise access to the hash table with
878 the function pointer => function name string mapping;
879 make that hash table static scope (#316809).
881 * gst/registries/.cvsignore:
882 Remove left-over file.
884 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
886 * docs/pwg/appendix-porting.xml:
887 And something about newsegment events and caps-on-buffers to
888 the porting guide (feel free to improve).
890 2005-09-21 Andy Wingo <wingo@pobox.com>
892 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
893 data and event probes on the same pad.
894 (test_buffer_probe_once): Test that removing probes from within
895 the probe functions works.
897 2005-09-21 Andy Wingo <wingo@pobox.com>
899 * check/gst/gstutils.c: New file.
900 (test_buffer_probe_n_times): A simple buffer probe test. More to
903 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
904 have-data::buffer, not have-data.
905 (gst_pad_add_event_probe): Likewise for have-data::event.
906 (gst_pad_add_data_probe): More docs. The part about 'resolving the
907 peer' isn't quite right yet though.
908 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
909 (gst_pad_remove_data_probe): Change to take the guint handler_id
910 as their arg, not the function+data, which is more glib-like.
912 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
913 the signal emission to indicate if the data is a buffer or an
915 (gst_pad_get_type): Initialize buffer and event quarks.
916 (gst_pad_class_init): have-data is now a detailed signal, yes it
919 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
921 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
922 * gst/gstutils.c: (gst_util_set_value_from_string),
923 (gst_util_set_object_arg):
924 Don't put functional code in g_return_if_fail() or
925 g_return_val_if_fail() statements, otherwise things will
926 break when G_DISABLE_CHECKS is defined during compilation.
928 2005-09-21 Stefan Kost <ensonic@users.sf.net>
930 * docs/gst/tmpl/.cvsignore:
931 * docs/gst/tmpl/gstvalue.sgml:
934 inlied another one and added some obvious docs
936 2005-09-21 Wim Taymans <wim@fluendo.com>
938 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
939 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
940 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
941 (gst_fdsrc_get_property), (gst_fdsrc_create):
942 * gst/elements/gstfdsrc.h:
943 Properly implement fdsrc. Removed signal and timeout,
944 better implemented somewhere else.
946 2005-09-21 Stefan Kost <ensonic@users.sf.net>
948 * docs/gst/tmpl/.cvsignore:
949 * docs/gst/tmpl/gstimplementsinterface.sgml:
950 * gst/gstinterface.c:
953 2005-09-21 Stefan Kost <ensonic@users.sf.net>
955 * docs/gst/gstreamer-sections.txt:
956 * docs/gst/tmpl/.cvsignore:
957 * docs/gst/tmpl/gstenumtypes.sgml:
958 remove obsolete doc file
960 2005-09-21 David Schleef <ds@schleef.org>
962 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
963 little beer, fix a little leak.
965 2005-09-21 Stefan Kost <ensonic@users.sf.net>
967 * docs/gst/gstreamer-docs.sgml:
968 * docs/gst/gstreamer-sections.txt:
969 * docs/gst/tmpl/.cvsignore:
974 * gst/gstindex.c: (gst_index_class_init):
976 * gst/gstindexfactory.c: (gst_index_factory_get_type),
977 (gst_index_factory_class_init), (gst_index_factory_init),
978 (gst_index_factory_finalize), (gst_index_factory_new),
979 (gst_index_factory_destroy), (gst_index_factory_find),
980 (gst_index_factory_create), (gst_index_factory_make):
981 * gst/gstindexfactory.h:
982 * gst/gstpluginfeature.c:
983 * gst/gstpluginfeature.h:
984 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
985 more docs inlined, splitted gstindex.{c,h}
987 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
989 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
992 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
994 * gst/elements/gstfilesink.c: (gst_file_sink_init):
995 Set sync to FALSE by default.
997 2005-09-20 Wim Taymans <wim@fluendo.com>
999 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1000 (gst_base_sink_init):
1001 Make sync property settable from subclass.
1003 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1004 (gst_fake_sink_change_state):
1005 Set sync to FALSE by default.
1007 2005-09-20 Wim Taymans <wim@fluendo.com>
1009 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1010 * tools/gst-launch.c: (main):
1011 The timeout handler should have lower priority than the source
1012 so we don't timeout before popping a message with 0 timeout.
1013 Dump error messages after failed state change.
1015 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1017 * tools/gst-inspect.c: (print_element_properties_info):
1020 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1022 * check/gst/gstevent.c:
1023 * gst/elements/gstfakesink.c:
1024 * gst/elements/gstfakesink.h:
1025 remove the sync property from fakesink.
1026 has the side effect of setting sync TRUE
1027 for fakesink, which is a change. Anyone who knows how
1028 to fix this nicely in a GObject-y way, feel free.
1030 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1032 * docs/gst/gstreamer-docs.sgml:
1033 remove probe refsection
1035 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1037 * check/Makefile.am:
1038 disable valgrinding the controller test again
1039 * docs/gst/gstreamer-sections.txt:
1040 update for api-changes
1042 2005-09-20 Wim Taymans <wim@fluendo.com>
1044 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1045 (gst_base_sink_set_property), (gst_base_sink_get_property),
1046 (gst_base_sink_do_sync):
1047 * gst/base/gstbasesink.h:
1048 Added sync property to basesink to disable clock sync.
1050 2005-09-20 Andy Wingo <wingo@pobox.com>
1052 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1053 eating the caller's refcount.
1055 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
1056 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1059 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1060 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1061 of GLib 2.8 public, so we can know which refcount to check in
1064 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1065 (gst_object_init): Only set the gst refcount if we're going ahead
1066 with the refcount hack.
1068 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1070 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1071 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1072 more leaks plumbed, added more debug-logging
1076 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1079 remove include of gstmemchunk.h
1081 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1083 * gst/gstclock.c: (_gst_clock_id_free):
1084 Commit from the Political Party For More Atomic CVS Commits,
1085 so that people don't waste too much of their day fishing
1086 out obvious leaks out of massive commits.
1087 Oh, and fix a pretty damn obvious leak in the memchunk
1090 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1092 * check/Makefile.am:
1093 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1094 plug mem-leak, re-add to valgrindable tests
1096 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1099 unbreak the build for those who have chronic arthritis
1100 and typing "make check" is just too taxing on the hands
1102 2005-09-20 Andy Wingo <wingo@pobox.com>
1104 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1105 really want it out, you should fix plugins at the same time.
1107 2005-09-19 Stefan Kost <ensonic@users.sf.net>
1110 * docs/gst/gstreamer-sections.txt:
1112 added missing symbols to api docs
1113 disable ref-count hack if we have glib >= 2.8
1115 2005-09-19 David Schleef <ds@schleef.org>
1117 * docs/gst/Makefile.am: Ignore a few more internal headers
1118 * docs/gst/gstreamer-docs.sgml: Remove old sections
1119 * docs/gst/gstreamer-sections.txt: Remove old sections
1120 * docs/gst/tmpl/gstobject.sgml: update
1121 * docs/gst/tmpl/gstplugin.sgml: update
1122 * docs/gst/tmpl/gstpluginfeature.sgml: update
1123 * docs/random/ds/0.9-suggested-changes: update.
1124 * gst/Makefile.am: remove memchunk and trashstack, since they're
1126 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1127 * gst/gst.h: don't include some headers
1128 * gst/gstchildproxy.c: add gstmarshal.h
1129 * gst/gstclock.c: Don't use memchunks
1130 * gst/gstminiobject.c: Add some docs
1131 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1132 * gst/gstobject.h: same
1133 * gst/gstplugin.c: include gstmacros.h
1134 * gst/gstplugin.h: don't include gstmacros.h, since it's private
1135 * gst/gstquery.c: don't use memchunks
1136 * gst/gstregistry.c: rename gst_registry_deinit()
1137 * gst/gstregistry.h: same
1139 2005-09-19 David Schleef <ds@schleef.org>
1141 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1142 * docs/libs/gstreamer-libs-sections.txt:
1143 * docs/libs/tmpl/gstgetbits.sgml:
1144 * docs/libs/tmpl/gstputbits.sgml:
1146 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
1148 * win32/gstenumtypes.c:
1149 * win32/gstenumtypes.h:
1152 2005-09-19 Wim Taymans <wim@fluendo.com>
1154 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1155 Automatically PAUSE and RESUME a pipeline when a flushing seek
1158 2005-09-19 Andy Wingo <wingo@pobox.com>
1160 * gst/gstregistry.h: Spacing fixen.
1162 2005-09-19 Wim Taymans <wim@fluendo.com>
1164 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1165 Handle state change failure more correctly.
1167 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1169 * check/Makefile.am:
1170 * check/pipelines/cleanup.c: (run_pipeline):
1171 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1173 enable cleanup again after fixing the leak
1175 some more info on docs
1177 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1179 * check/Makefile.am:
1180 re-enable tests now that leaks are plugged
1182 * check/gst/gstbin.c:
1183 * check/gst/gstpipeline.c:
1184 add some more tests while fixing leaks
1186 make sure binaries are uptodate when valgrinding/gdbing
1188 * gst/gstelementfactory.c:
1189 remove a ref too many, and add a FIXME for when we get
1190 round to disposing of classes
1192 fix the refcounting when loading a plugin from a file and
1193 the code pretends that the pointer is the same even though
1194 of course it can change
1195 * gst/gstpluginfeature.c:
1196 unref plugins marked cached (a bit confusing as a name)
1197 as the docs state should be done
1198 various doc additions to explain refcounting
1199 * gst/gstregistry.c:
1200 * gst/gstregistryxml.c:
1203 2005-09-19 Wim Taymans <wim@fluendo.com>
1205 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1206 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1207 (send_messages), (GST_START_TEST), (gstbus_suite):
1208 * check/gst/gstpipeline.c: (GST_START_TEST):
1209 * check/pipelines/cleanup.c: (run_pipeline):
1210 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1212 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1213 (gst_bus_source_check), (gst_bus_source_dispatch),
1214 (gst_bus_create_watch), (gst_bus_add_watch_full),
1215 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1217 * tools/gst-launch.c: (event_loop):
1218 * tools/gst-md5sum.c: (event_loop):
1219 GstBusHandler -> GstBusFunc, return value has the same meaning as
1220 any other GSource (FALSE == remove source).
1221 _add_watch() and _add_watch_full() now take a MessageType mask to
1222 only handle specific types of messages.
1223 _poll() returns the GstMessage instead of the message type to avoid
1225 _have_pending() takes a MessageType mask now too.
1226 Added testsuite for multiple bus watches.
1227 Fix testsuites and applications for new bus API.
1229 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1231 * check/Makefile.am:
1232 mark a bunch of the tests as to fix until we fix them
1234 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1237 use GST_PLUGIN settings for valgrind tests as well, so we're
1238 valgrinding the correct thing
1239 * gst/gst.c: (init_post):
1242 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1244 * gst/gst.c: (init_post), (gst_deinit):
1245 * gst/gstelementfactory.c: (gst_element_factory_class_init),
1246 (gst_element_factory_finalize), (gst_element_factory_cleanup):
1247 * gst/gstindex.c: (gst_index_factory_class_init),
1248 (gst_index_factory_finalize):
1249 * gst/gstobject.c: (gst_object_dispose):
1250 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1251 (gst_plugin_load_file), (gst_plugin_desc_free):
1252 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1253 (gst_plugin_feature_finalize):
1254 * gst/gstregistry.c: (gst_registry_class_init),
1255 (gst_registry_init), (gst_registry_finalize),
1256 (gst_registry_get_default), (gst_registry_deinit):
1257 * gst/gstregistry.h:
1258 * gst/gstregistryxml.c: (load_feature), (load_plugin):
1259 various cleanups and memleak plugging. make valgrind is happy now.
1261 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1264 add a check-valgrind target
1266 2005-09-18 David Schleef <ds@schleef.org>
1268 * tools/gst-inspect.c: Revert the GOption code.
1270 2005-09-17 David Schleef <ds@schleef.org>
1272 * check/Makefile.am: Fix environment variables.
1273 * check/gst/gstplugin.c: Fix for API changes.
1274 * tools/gst-inspect.c: Fix for API changes.
1275 * tools/gst-xmlinspect.c: Fix for API changes.
1276 * gst/gstelementfactory.c:
1279 * gst/gstpluginfeature.c:
1280 * gst/gstpluginfeature.h:
1281 * gst/gstregistry.c:
1282 * gst/gstregistry.h:
1283 * gst/gstregistryxml.c:
1284 * gst/gsttypefind.c:
1285 * gst/gsttypefindfactory.c:
1286 * gst/indexers/gstfileindex.c:
1287 * gst/indexers/gstmemindex.c:
1288 * gst/schedulers/Makefile.am:
1289 Change registry to keep track of both plugins and features,
1290 removing the feature tracking from plugins themselves.
1292 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1294 * check/Makefile.am:
1295 * tools/gst-register.1.in:
1298 2005-09-15 David Schleef <ds@schleef.org>
1300 * check/gst/gstplugin.c:
1301 * gst/gstelementfactory.c:
1303 * gst/gstpluginfeature.c:
1304 * gst/gstregistry.c:
1305 Getting tired of debugging. Disabled all the unreffing of
1306 plugins and features, which fixes the segfaults, but of
1307 course leaks like crazy. At least playbin works.
1309 2005-09-15 David Schleef <ds@schleef.org>
1311 * check/gst/gstplugin.c: (register_check_elements),
1312 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1314 * gst/elements/gsttypefindelement.c: Fix refcounting.
1315 * gst/gsttypefind.c:
1316 * gst/gsttypefindfactory.c:
1317 * gst/gsttypefindfactory.h:
1319 2005-09-15 David Schleef <ds@schleef.org>
1321 * gst/gstindex.c: get refcounting correct.
1322 * gst/gstregistry.c: Handle the case where a feature/plugin is
1325 2005-09-15 David Schleef <ds@schleef.org>
1327 * check/Makefile.am:
1328 * check/gst/gstplugin.c: Add test
1329 * gst/gstplugin.c: Fix problems noticed by testsuite
1331 * gst/gstregistry.c:
1332 * gst/gstregistry.h:
1334 2005-09-15 David Schleef <ds@schleef.org>
1336 * gst/gstplugin.c: Implement semi-decent recounting and locking
1337 in plugins and plugin features.
1339 * gst/gstpluginfeature.c:
1340 * gst/gstpluginfeature.h:
1341 * gst/gstregistry.c:
1343 2005-09-15 Michael Smith <msmith@fluendo.com>
1345 * gst/gstregistry.c: (gst_registry_get_feature_list):
1346 Implement this. Makes oggdemux work; decodebin still broken.
1348 2005-09-14 David Schleef <ds@schleef.org>
1350 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1352 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1353 * gst/check/Makefile.am:
1354 * libs/gst/controller/Makefile.am:
1355 * libs/gst/dataprotocol/Makefile.am:
1357 2005-09-14 David Schleef <ds@schleef.org>
1359 * configure.ac: Remove getbits library. Nothing uses it, and
1360 it should be in something like liboil if someone did want
1362 * libs/gst/Makefile.am:
1363 * libs/gst/getbits/Makefile.am:
1364 * libs/gst/getbits/gbtest.c:
1365 * libs/gst/getbits/getbits.c:
1366 * libs/gst/getbits/getbits.h:
1367 * libs/gst/getbits/gstgetbits_generic.c:
1368 * libs/gst/getbits/gstgetbits_i386.s:
1369 * libs/gst/getbits/gstgetbits_inl.h:
1371 2005-09-14 David Schleef <ds@schleef.org>
1373 * gst/Makefile.am: Dist glib-compat.h
1375 2005-09-14 David Schleef <ds@schleef.org>
1377 * configure.ac: Remove gst/registries, since it's no longer used.
1378 * gst/registries/Makefile.am:
1379 * gst/registries/gstlibxmlregistry.c:
1380 * gst/registries/gstlibxmlregistry.h:
1381 * gst/registries/gstxmlregistry.c:
1382 * gst/registries/gstxmlregistry.h:
1383 * gst/registries/registrytest.c:
1385 2005-09-14 David Schleef <ds@schleef.org>
1387 * gst/glib-compat.h:
1388 * gst/gstregistryxml.c:
1389 Convergence is near. Seriously.
1391 2005-09-14 David Schleef <ds@schleef.org>
1393 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1394 * gst/glib-compat.h:
1395 Attempt #4 to appease the buildbots.
1397 2005-09-14 David Schleef <ds@schleef.org>
1399 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1402 2005-09-14 David Schleef <ds@schleef.org>
1404 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1407 2005-09-14 David Schleef <ds@schleef.org>
1409 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1412 2005-09-14 David Schleef <ds@schleef.org>
1414 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1415 * gst/glib-compat.h: Add some functions that are in newer versions
1416 of glib than we care to require.
1417 * gst/gstregistryxml.c: Use them.
1419 2005-09-14 David Schleef <ds@schleef.org>
1421 * po/POTFILES.in: remove gst-register.c
1423 2005-09-14 David Schleef <ds@schleef.org>
1425 * docs/gst/gstreamer-docs.sgml:
1426 * docs/gst/gstreamer-sections.txt:
1427 * docs/gst/gstreamer.types:
1428 * docs/gst/tmpl/gstelement.sgml:
1429 * docs/gst/tmpl/gstplugin.sgml:
1430 * docs/gst/tmpl/gstpluginfeature.sgml:
1431 Documentation updates for registry changes.
1433 2005-09-14 David Schleef <ds@schleef.org>
1435 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1436 because we don't require glib-2.8.
1438 2005-09-14 David Schleef <ds@schleef.org>
1440 * gst/gstregistryxml.c: Added. Essentially moved out of the
1441 registries directory.
1443 2005-09-14 David Schleef <ds@schleef.org>
1445 * check/Makefile.am:
1446 * check/generic/states.c:
1450 * gst/gst_private.h:
1451 * gst/gstelementfactory.c:
1456 * gst/gstpluginfeature.c:
1457 * gst/gstpluginfeature.h:
1458 * gst/gstregistry.c:
1459 * gst/gstregistry.h:
1460 * gst/gstregistrypool.c: remove
1461 * gst/gstregistrypool.h: remove
1462 * gst/gsttypefind.c:
1463 * gst/gsttypefindfactory.c:
1465 * tools/Makefile.am:
1466 * tools/gst-compprep.c:
1467 * tools/gst-inspect.c:
1468 * tools/gst-register.c: remove
1469 * tools/gst-xmlinspect.c:
1470 Registry rewrite. Changes registry from being a file created
1471 by a tool into a simple cache file created automatically by
1472 libgstreamer. Removed gst-register (because it's no longer
1473 needed). Remove registry pools, because we only have one
1474 registry implementation (XML). Fix up other subsystems as
1477 2005-09-13 Michael Smith <msmith@fluendo.com>
1479 * gst/gstconfig.h.in:
1480 Don't Use windows linking attributes for MinGW. Fixes #316157
1482 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1484 * gst/gstutils.c: (set_state_async_thread_func),
1485 (gst_element_set_state_async):
1486 Apparently people think it's better if this function doesn't
1487 try to set the state to whatever state was asked for on the first
1488 call to this function for any object. Seriously.
1490 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1492 * check/gst/gstpipeline.c: (GST_START_TEST):
1493 * docs/gst/gstreamer-sections.txt:
1494 * gst/gstutils.c: (set_state_async_thread_func),
1495 (gst_element_set_state_async):
1497 add a "gst_element_set_state_async" method that
1498 sets the state and starts a thread to make sure the state
1499 change completes as best as it can
1501 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1503 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1504 codify design+behaviour in testsuite after discussion
1506 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1508 * docs/gst/tmpl/gstelement.sgml:
1509 * docs/manual/appendix-quotes.xml:
1511 * gst/gstelement.c: (gst_element_set_state):
1514 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1516 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1517 (gst_base_transform_prepare_output_buf),
1518 (gst_base_transform_handle_buffer):
1519 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1520 (gst_capsfilter_prepare_buf):
1521 Remove the requirement for sub-classes to call the parent
1522 implementation of prepare_output_buffer with a wrapper function.
1525 * gst/gsttagsetter.h:
1528 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1530 * docs/gst/gstreamer-sections.txt:
1533 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1535 * docs/gst/gstreamer-sections.txt:
1536 * docs/gst/tmpl/gstelement.sgml:
1537 * docs/gst/tmpl/gstplugin.sgml:
1538 * gst/gstminiobject.c:
1540 docs now stop throwing warnings
1542 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1544 * docs/gst/gstreamer-sections.txt:
1545 * docs/gst/gstreamer.types:
1546 * docs/gst/tmpl/gstpad.sgml:
1547 * docs/gst/tmpl/gsttypes.sgml:
1548 * gst/base/gstadapter.h:
1549 * gst/base/gstbasesink.h:
1550 * gst/base/gstbasesrc.h:
1560 * gst/gststructure.c:
1561 * gst/registries/gstlibxmlregistry.h:
1562 various documentation fixes
1564 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1566 * docs/gst/gstreamer-sections.txt:
1567 * docs/gst/tmpl/gstvalue.sgml:
1568 rearrange gstvalue section
1569 * gst/gstutils.c: (gst_element_state_get_name):
1571 * gst/gstvalue.c: (_gst_value_initialize):
1575 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1577 * check/gst-libs/controller.c:
1579 * gst/base/gstbasetransform.c:
1580 (gst_base_transform_default_prepare_buf),
1581 (gst_base_transform_handle_buffer):
1582 * gst/base/gstbasetransform.h:
1583 Some more basetransform changes and fixes to enable sub-classes
1584 that modify buffer metadata only.
1585 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1586 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1587 (gst_capsfilter_prepare_buf):
1588 If the output pad has fixed allowed caps and input buffers
1589 don't have any, set the fixed caps on outgoing buffers.
1591 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1592 * check/elements/identity.c: (GST_START_TEST):
1593 Make the error a little clearer when the test fails because
1594 identity made a copy of the buffer.
1595 * docs/gst/gstreamer-sections.txt:
1596 New symbols in gstbasetransform.h
1597 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1598 (gst_base_transform_init), (gst_base_transform_transform_size),
1599 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1600 (gst_base_transform_default_prepare_buf),
1601 (gst_base_transform_get_unit_size),
1602 (gst_base_transform_buffer_alloc),
1603 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1604 (gst_base_transform_change_state),
1605 (gst_base_transform_set_passthrough),
1606 (gst_base_transform_set_in_place),
1607 (gst_base_transform_is_in_place):
1608 * gst/base/gstbasetransform.h:
1609 Change BaseTransform to separate in_place operate from same_caps
1610 output. in_place implies that the element can perform the transform
1611 on incoming buffers in-place, even if the caps on the output are
1613 Sub-class elements can now implement special buffer allocation
1614 methods for outgoing buffers if they wish to.
1615 Big documentation addition.
1616 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1617 * gst/elements/gstelements.c:
1618 Changes for basetransform modifications.
1619 * gst/elements/Makefile.am:
1620 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1621 Compile fix. Extra debug output.
1623 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1625 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1627 add tests for valid pad naming
1628 * gst/check/gstcheck.c: (gst_check_log_message_func),
1629 (gst_check_log_critical_func):
1631 remove printing of code, it is fragile when the code contains
1632 % and the line number is enough info
1633 * gst/check/gstcheck.h:
1634 * gst/gstpad.c: (gst_pad_template_new):
1637 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1640 say what CHECK flags we use
1641 * docs/libs/gstreamer-libs.types:
1642 * libs/gst/controller/Makefile.am:
1643 * libs/gst/controller/gst-controller.c:
1644 * libs/gst/controller/gst-controller.h:
1645 * libs/gst/controller/gst-helper.c:
1646 * libs/gst/controller/gst-interpolation.c:
1647 * libs/gst/controller/gstcontroller.c:
1648 * libs/gst/controller/gsthelper.c:
1649 * libs/gst/controller/gstinterpolation.c:
1650 * tools/gst-inspect.c: (print_plugin_info):
1651 we don't use dashes in header names
1653 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1655 * check/Makefile.am:
1656 * check/gst/.cvsignore:
1657 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1658 (gst_pipeline_suite), (main):
1659 adding a test for pipelines and state changes
1660 * gst/gstutils.c: (get_state_func):
1662 * gstreamer.spec.in:
1665 2005-09-08 Michael Smith <msmith@fluendo.com>
1667 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1668 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1669 (gst_file_src_is_seekable), (gst_file_src_get_size),
1670 (gst_file_src_start):
1671 * gst/elements/gstfilesrc.h:
1672 Various fixes for unseekable, unmmapable, and non-normal files, so
1673 that fallback to read() rather than mmap() works.
1674 * gst/gstevent.c: (gst_event_new_newsegment):
1675 Allow newsegment events with segment_start == segment_end, as will
1676 correctly happen if you use filesrc on a zero-size file, for
1679 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1681 * gst/gstplugin.c: (gst_plugin_load_file):
1682 Call g_module_close when we don't load the module
1684 * gst/registries/gstlibxmlregistry.c:
1685 (gst_xml_registry_get_property):
1686 Port leak fix from 0.8
1688 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1690 * docs/gst/gstreamer-docs.sgml:
1691 * docs/gst/tmpl/.cvsignore:
1692 * docs/gst/tmpl/gsttrace.sgml:
1693 * docs/gst/tmpl/gsttrashstack.sgml:
1702 * gst/gsttaginterface.c:
1703 * gst/gsttaginterface.h:
1706 * gst/gsttagsetter.c:
1707 * gst/gsttagsetter.h:
1710 * gst/gsttrashstack.c:
1711 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1712 inlined docs for gsttrace, gsttrashstack
1714 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1717 * gst/elements/gstbufferstore.h:
1718 * gst/elements/gsttypefindelement.c:
1719 * gst/elements/gsttypefindelement.h:
1721 * gst/gsttypefind.c:
1722 * gst/gsttypefind.h:
1723 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1724 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1725 (gst_type_find_factory_dispose),
1726 (gst_type_find_factory_unload_thyself),
1727 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1728 (gst_type_find_factory_get_caps),
1729 (gst_type_find_factory_get_extensions),
1730 (gst_type_find_factory_call_function):
1731 * gst/gsttypefindfactory.h:
1732 * gst/registries/gstlibxmlregistry.c:
1733 * gst/registries/gstxmlregistry.c:
1734 splitted gsttypefind into gsttypefind, gsttypefindfactory
1736 2005-09-07 Andy Wingo <wingo@pobox.com>
1738 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1739 condition whereby the pad's task function is entered before the
1740 pad_mode variable was set.
1742 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1744 * gst/gstpad.c: (gst_pad_alloc_buffer):
1745 Catch misbehaving pad_alloc functions that don't
1746 set up caps and do it for them.
1748 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1750 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1752 * docs/gst/tmpl/.cvsignore:
1753 * docs/gst/tmpl/gstmemchunk.sgml:
1754 * docs/gst/tmpl/gstparse.sgml:
1755 * docs/gst/tmpl/gsttaglist.sgml:
1756 * docs/gst/tmpl/gsttagsetter.sgml:
1757 * docs/gst/tmpl/gsttypefind.sgml:
1758 * docs/gst/tmpl/gsttypefindfactory.sgml:
1759 * gst/gstmemchunk.c:
1762 * gst/gsttaginterface.c:
1763 * gst/gsttypefind.c:
1764 * gst/gsttypefind.h:
1767 === release 0.9.2 ===
1769 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1774 releasing 0.9.2, "South"
1776 2005-09-05 Andy Wingo <wingo@pobox.com>
1778 * gst/registries/gstxmlregistry.h:
1779 * gst/registries/gstxmlregistry.c: Um... resurrect...
1781 * gst/registries/gstxmlregistry.h:
1782 * gst/registries/gstxmlregistry.c: and update to newer API.
1783 Incidentally they should be a bit faster now that they don't have
1786 2005-09-05 Andy Wingo <wingo@pobox.com>
1788 * gst/registries/gstxmlregistry.h:
1789 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1790 replaced by the libxml registry a while back
1792 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1794 * docs/gst/tmpl/gstplugin.sgml:
1795 * gst/elements/gstelements.c:
1797 * gst/gstplugin.c: (gst_plugin_register_func),
1798 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1799 (gst_plugin_get_source):
1801 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1802 (gst_xml_registry_save_plugin):
1803 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1804 (gst_xml_registry_save_plugin):
1805 * tools/gst-inspect.c: (print_plugin_info):
1806 add a "source" plugin description field, to represent the source
1807 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1808 will set it to PACKAGE, which is automake's idea of the name of
1811 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1817 * docs/faq/Makefile.am:
1818 * docs/gst/tmpl/gstelement.sgml:
1819 * docs/gst/tmpl/gsttypes.sgml:
1820 * docs/htmlinstall.mak:
1821 * docs/manual/Makefile.am:
1822 * docs/pwg/Makefile.am:
1823 reorganize doc build a little
1824 split out docbook and gtk-doc stuff
1825 have two separate --enable's and enable them through autogen
1826 but disable by default in configure (to be similar to other
1828 * gstreamer.spec.in:
1829 clean up docs install
1849 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
1851 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1854 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1855 (gst_fake_sink_change_state):
1856 Make state change function thread-safe.
1858 * gst/gstpad.c: (gst_pad_alloc_buffer):
1859 Set offset on generic buffer allocated by fallback.
1861 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1863 * docs/gst/gstreamer-sections.txt:
1864 * docs/gst/tmpl/gstelement.sgml:
1866 * libs/gst/controller/gst-controller.c:
1867 (gst_controlled_property_set_interpolation_mode),
1868 (gst_controlled_property_new),
1869 (gst_controller_find_controlled_property):
1870 run the wingo-magic script against the docs
1872 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1874 * docs/gst/gstreamer-docs.sgml:
1875 * docs/gst/gstreamer-sections.txt:
1876 * docs/gst/tmpl/.cvsignore:
1877 * docs/gst/tmpl/gstelementdetails.sgml:
1878 * docs/gst/tmpl/gstelementfactory.sgml:
1881 * gst/gstelementfactory.c:
1882 * gst/gstelementfactory.h:
1883 merged elementdetails docs into elementfactory docs
1886 2005-09-02 Andy Wingo <wingo@pobox.com>
1888 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1889 consider this enum an enum and not a flags.
1891 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1893 * docs/gst/gstreamer-docs.sgml:
1894 * docs/gst/tmpl/.cvsignore:
1895 * docs/gst/tmpl/gstghostpad.sgml:
1896 * docs/gst/tmpl/gstiterator.sgml:
1897 * docs/gst/tmpl/gstmacros.sgml:
1898 * docs/gst/tmpl/gstrealpad.sgml:
1899 * docs/gst/tmpl/gstregistry.sgml:
1900 * docs/gst/tmpl/gstregistrypool.sgml:
1901 * docs/gst/tmpl/gststructure.sgml:
1902 * docs/gst/tmpl/gstsystemclock.sgml:
1903 * docs/gst/tmpl/gsttrace.sgml:
1904 * gst/gstghostpad.c:
1906 * gst/gstmemchunk.c:
1907 * gst/gstmemchunk.h:
1909 * gst/gstregistry.c:
1910 * gst/gstregistrypool.c:
1911 * gst/gststructure.c:
1912 * gst/gstsystemclock.c:
1915 2005-09-02 Andy Wingo <wingo@pobox.com>
1917 * gst/gstelement.h (GstState): Renamed from GstElementState,
1918 changed to be a normal enum instead of flags.
1919 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1920 munged to be GST_STATE_CHANGE_*.
1921 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1922 work with the new state representation.
1923 (GstStateChange): New enumeration of possible state transitions.
1924 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1925 (GstElementClass::change_state): Pass the GstStateChange along as
1926 an argument. Helps language bindings, so they don't have to use
1927 tricky lock-needing macros like GST_STATE_CHANGE ().
1929 * scripts/update-states (file): New script. Run it on a file to
1930 update it for state naming and API changes. Updates files in
1933 * All files updated for the new API.
1935 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1937 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1938 * gst/gstutils.c: (gst_util_set_value_from_string),
1939 (gst_util_set_object_arg):
1940 fix a bunch of unchecked return values
1941 * tools/gst-complete.c: (main):
1942 * gstreamer.spec.in:
1945 2005-09-01 Wim Taymans <wim@fluendo.com>
1947 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1948 (gst_base_sink_event), (gst_base_sink_do_sync),
1949 (gst_base_sink_handle_event):
1950 * gst/base/gstbasesink.h:
1951 Handle newsegments more correctly.
1956 * gst/gstevent.c: (gst_event_new_newsegment):
1957 A newsegment cannot have a start_time of -1
1959 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
1961 * win32/gstenumtypes.c:
1962 * win32/gstenumtypes.h:
1965 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1967 * libs/gst/controller/gst-controller.c:
1968 (gst_controlled_property_set_interpolation_mode),
1969 (gst_controlled_property_new):
1972 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
1974 * docs/faq/gst-uninstalled:
1979 * gst/gstutils.c: (gst_element_link_filtered):
1981 add gst_element_link_filtered
1983 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1985 * docs/gst/gstreamer-docs.sgml:
1986 * docs/gst/gstreamer-sections.txt:
1987 * docs/gst/tmpl/.cvsignore:
1988 * docs/gst/tmpl/gsterror.sgml:
1989 * docs/gst/tmpl/gstfilter.sgml:
1990 * docs/gst/tmpl/gsturihandler.sgml:
1991 * docs/gst/tmpl/gsturitype.sgml:
1992 * docs/gst/tmpl/gstutils.sgml:
1993 * docs/gst/tmpl/gstxml.sgml:
2001 inlined more docs, fixed double id-ref
2003 2005-08-31 Wim Taymans <wim@fluendo.com>
2005 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2006 (gst_base_transform_handle_buffer):
2007 Passthrough elements don't need the caps as they don't care.
2009 2005-08-31 Wim Taymans <wim@fluendo.com>
2011 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2012 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2013 Don't leak refcounts on buffers.
2015 2005-08-31 Wim Taymans <wim@fluendo.com>
2017 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2018 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2019 (gst_base_transform_chain), (gst_base_transform_change_state):
2020 * gst/base/gstbasetransform.h:
2021 Handle the case where we are not negotiated more gracefully.
2023 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
2025 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2026 (gst_file_src_map_region):
2027 Set READONLY flag on mmap'ed buffers, otherwise
2028 gst_buffer_make_writable() won't work properly (#314708).
2030 2005-08-31 Wim Taymans <wim@fluendo.com>
2032 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2033 passthrough elements can even do inplace on non writable
2034 buffers (as they don't touch them).
2036 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2038 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2039 (gst_test_mono_source_set_property),
2040 (gst_test_mono_source_class_init), (GST_START_TEST),
2041 (gst_controller_suite):
2042 more tests (hehe I have the most)
2044 describe popping messages whenusing mulltiple sources
2045 * libs/gst/controller/gst-controller.c:
2046 (gst_controlled_property_set_interpolation_mode),
2047 (gst_controlled_property_new):
2048 * libs/gst/controller/gst-controller.h:
2049 * libs/gst/controller/gst-interpolation.c:
2050 implement boolean properties
2052 2005-08-31 Wim Taymans <wim@fluendo.com>
2054 * gst/gstminiobject.c: (gst_mini_object_ref):
2055 Cannot assert that the refcount has to be positive
2056 since a disposed object can be resurrected.
2058 2005-08-31 Wim Taymans <wim@fluendo.com>
2060 * gst/gstpad.c: (gst_pad_init):
2061 Revert change, need to first fix badly behaving
2064 2005-08-30 Wim Taymans <wim@fluendo.com>
2066 * check/elements/fakesrc.c: (setup_fakesrc):
2067 * check/elements/identity.c: (setup_identity):
2068 Activate pads before using them.
2070 2005-08-30 Wim Taymans <wim@fluendo.com>
2072 * gst/base/gstadapter.c: (gst_adapter_flush):
2073 Flushing out 0 bytes is ok for this function.
2075 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2076 no newsegment gives a warning and sets the start/stop to
2079 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2080 (gst_base_transform_set_passthrough):
2083 * gst/gstminiobject.c: (gst_mini_object_ref):
2084 Check refcount here too.
2086 * gst/gstpad.c: (gst_pad_init):
2087 Pads are initially flushing and refusing data.
2089 * gst/gstutils.c: (gst_element_link_pads_filtered):
2090 When adding a capsfilter element make sure it has the
2091 same state as the parent bin.
2093 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2095 * docs/gst/tmpl/.cvsignore:
2096 * docs/gst/tmpl/gstformat.sgml:
2097 * docs/gst/tmpl/gstversion.sgml:
2101 * gst/gstversion.h.in:
2102 more docs and two more inlined
2104 2005-08-30 Wim Taymans <wim@fluendo.com>
2106 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2107 Don't sync to clock.
2109 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2111 * docs/gst/gstreamer-sections.txt:
2112 ultral33t func10ns deserve to appear in the docs actually
2113 * docs/gst/tmpl/.cvsignore:
2114 * docs/gst/tmpl/gstcompat.sgml:
2115 * docs/gst/tmpl/gstconfig.sgml:
2116 * gst/check/gstcheck.c:
2118 * gst/gstconfig.h.in:
2121 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2123 * docs/gst/tmpl/.cvsignore:
2124 * docs/gst/tmpl/gstquery.sgml:
2125 * docs/gst/tmpl/gstutils.sgml:
2128 inlined and extended docs
2130 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2132 * check/gst-libs/controller.c: (GST_START_TEST),
2133 (gst_controller_suite):
2135 * docs/gst/tmpl/gstutils.sgml:
2136 * docs/libs/gstreamer-libs-sections.txt:
2137 * docs/libs/tmpl/gstdataprotocol.sgml:
2139 * examples/controller/audio-example.c: (main):
2140 controller example works now
2143 * tools/gst-inspect.c: (print_element_properties_info):
2144 show param spec flags
2146 2005-08-29 Andy Wingo <wingo@pobox.com>
2148 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2150 2005-08-28 Andy Wingo <wingo@pobox.com>
2152 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2153 as having two arguments instead of just one. Allows superclasses
2154 to access information on subclasses -- see the terrible for() loop
2155 in gtype.c:g_type_create_instance for the reason why. All callers
2158 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2160 * docs/design/part-messages.txt:
2162 * docs/gst/tmpl/.cvsignore:
2163 * docs/gst/tmpl/gstcaps.sgml:
2164 * docs/gst/tmpl/gstclock.sgml:
2171 added descriptions for bus and message
2172 inline caps and clock docs
2174 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2180 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2182 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2185 2005-08-26 Andy Wingo <wingo@pobox.com>
2187 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2188 element_set_state's return val.
2189 (test_2_elements): Add test that's been disabled for months.
2191 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2192 can-activate-pull properties.
2194 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2195 can-activate-pull properties. Implement is_seekable so fakesrc can
2196 operate in pull mode.
2198 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2200 (gst_base_sink_activate, gst_base_sink_activate_pull)
2201 (gst_base_sink_activate_push): Make activation mode choosing work.
2203 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2204 is right. Make pull mode work. Post an eos before pausing in pull
2206 (gst_base_sink_change_state): Pay attention to the core's
2207 change_state() return val.
2209 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2210 has-getrange properties. Cleanups.
2212 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2213 has_getrange and replace with can_activate_pull and
2216 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2217 locking comments. Remove has_loop, has_chain and replace with
2218 can_activate_pull and can_activate_push.
2220 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
2223 * examples/Makefile.am:
2224 * examples/metadata/Makefile.am:
2225 * examples/metadata/read-metadata.c: (message_loop),
2226 (have_pad_handler), (make_pipeline), (print_tag), (main):
2227 Add metadata reading example that loops over a list of filenames,
2228 dumping any tags found.
2230 * gst/gstbus.c: (gst_bus_dispose):
2231 * gst/gstelement.c: (gst_element_dispose):
2232 Release a few potentially-held references in dispose.
2234 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2236 * docs/gst/tmpl/gstminiobject.sgml:
2237 do *not* add tmpl/*.sgml files to CVS!
2239 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2241 * libs/gst/bytestream/.cvsignore:
2242 * libs/gst/bytestream/Makefile.am:
2243 * libs/gst/bytestream/adapter.c:
2244 * libs/gst/bytestream/adapter.h:
2245 * libs/gst/bytestream/bytestream.c:
2246 * libs/gst/bytestream/bytestream.h:
2247 * libs/gst/bytestream/filepad.c:
2248 * libs/gst/bytestream/filepad.h:
2249 removing obsolete files
2251 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2253 * docs/gst/gstreamer-docs.sgml:
2254 * docs/libs/gstreamer-libs-docs.sgml:
2255 disabed additional index entries again, as this makes docs-gen just
2256 slow and they aren't useful yet
2257 * docs/libs/gstreamer-libs-sections.txt:
2258 little -section.txt cleanup for libs
2260 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
2262 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2263 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2264 fix up some debugging
2265 (gst_base_transform_get_unit_size),
2266 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2267 (gst_base_transform_handle_buffer):
2268 * gst/base/gstbasetransform.h:
2269 handle and store timed NEWSEGMENT events so that subclasses that
2270 calculate time by counting samples have a segment_start time they
2271 need to add to their timestamps - see audioresample
2273 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2276 removed ';' from the end of macro defs
2277 * docs/gst/gstreamer-docs.sgml:
2278 * docs/gst/gstreamer-sections.txt:
2279 * docs/gst/tmpl/.cvsignore:
2281 * gst/gstelement.c: (gst_element_class_init),
2282 (gst_element_set_state), (activate_pads),
2283 (gst_element_save_thyself):
2284 * gst/gstevent.c: (gst_event_new_newsegment):
2286 * gst/gstiterator.c:
2287 * gst/gstiterator.h:
2290 * gst/gstutils.c: (gst_pad_query_convert):
2292 fixed parameter name mismatches between source, header and docs
2293 added some more docs, resolved the last batch of unused elements in
2294 docs (now someone needs to doc them)
2296 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2298 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2299 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2300 don't walk through the plugins backwards. Where is all this
2301 reversed logic coming from ?
2303 2005-08-25 Wim Taymans <wim@fluendo.com>
2305 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2306 (gst_base_transform_transform_size),
2307 (gst_base_transform_configure_caps),
2308 (gst_base_transform_get_unit_size),
2309 (gst_base_transform_buffer_alloc),
2310 (gst_base_transform_change_state):
2311 * gst/base/gstbasetransform.h:
2312 Cache caps unit_size.
2313 Make sure we cannot negotiate up and downstream at the
2316 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2318 * gst/gst.c: (init_pre), (init_post):
2319 register the installed plugin path after the env var
2320 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2321 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2322 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2323 directories, so the tests can prefer uninstalled over installed
2325 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2327 * gst/base/gstbasetransform.h:
2332 2005-08-25 Wim Taymans <wim@fluendo.com>
2334 * gst/gstbin.c: (bin_bus_handler):
2335 Be a bit more conservative about the posted message.
2337 * gst/gstbus.c: (gst_bus_post):
2338 Some cleanups, warn wrong return values.
2340 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
2342 * check/gst/gstbin.c: (GST_START_TEST):
2343 * gst/gstbin.c: (bin_bus_handler):
2344 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2345 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2346 (gst_message_new_warning), (gst_message_new_tag),
2347 (gst_message_new_state_changed), (gst_message_new_segment_start),
2348 (gst_message_new_segment_done), (gst_message_new_custom):
2350 * tools/gst-launch.c: (event_loop):
2351 * tools/gst-md5sum.c: (event_loop):
2352 Revert unpopular change for GST_MESSAGE_SRC to GObject.
2354 2005-08-25 Wim Taymans <wim@fluendo.com>
2356 * check/generic/states.c: (GST_START_TEST):
2357 Cleanup can be done at the end.
2359 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2360 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2361 (gst_task_get_state), (gst_task_start), (gst_task_pause):
2362 Oh boy.. Thanks for finding this, Thomas.
2364 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2366 * docs/gst/gstreamer.types:
2369 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2371 * docs/gst/gstreamer-docs.sgml:
2372 * docs/gst/gstreamer-sections.txt:
2373 * docs/gst/tmpl/.cvsignore:
2375 * gst/gstiterator.c:
2377 * gst/registries/gstxmlregistry.h:
2378 added missing classes and symbols (123 more to go)
2379 removed removed symbols from section file
2380 fixed many doc-comments
2382 2005-08-24 Wim Taymans <wim@fluendo.com>
2384 * check/generic/states.c: (GST_START_TEST):
2385 Make sure all tasks are stopped.
2387 * check/gst/gstbin.c: (GST_START_TEST):
2388 Unref after usage for proper valgrinding.
2390 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2391 Really wait for the task to stop before destroying the
2394 * gst/gstqueue.c: (gst_queue_sink_activate_push),
2395 (gst_queue_src_activate_push):
2396 Small cleanups. Don't stop the task when we did not start
2399 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2400 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2401 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2404 Protect the stream lock with the object lock.
2405 Disallow setting the stream lock when running.
2406 Add cleanup_all to wait for the threadpool to finish.
2407 Remove code to autoallocate a mutex if none was provided.
2408 Add _join() to wait for a task to stop.
2409 Protect the thread pool with a global lock.
2411 2005-08-24 Wim Taymans <wim@fluendo.com>
2413 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2414 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2415 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2416 * gst/base/gstbasesink.h:
2417 Handle newsegment events correctly.
2418 Drop buffers out of the segment range.
2420 2005-08-22 Andy Wingo <wingo@pobox.com>
2422 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2423 macro, implements an interface and gstimplementsinterface for a
2426 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2428 * check/Makefile.am:
2429 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2430 add a test that does a bunch of state changes on elements
2431 needs some fixing for valgrind
2432 * check/states/sinks.c: (gst_object_suite):
2435 add prototype for gst_caps_is_equal_fixed
2437 * gst/gstregistrypool.c:
2440 2005-08-24 Andy Wingo <wingo@pobox.com>
2442 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2443 convert a negative value. Doesn't make much sense. Mostly this is
2444 here to force callers to ensure -1 maps to -1.
2446 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2448 * docs/pwg/advanced-types.xml:
2449 Well done to Michael for catching my deliberate introduction
2450 of this spelling mistake.
2451 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2453 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2454 unlink pads before removing the element from the bin.
2456 2005-08-24 Andy Wingo <wingo@pobox.com>
2458 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2459 the same thing as GST_DEBUG=*:4.
2460 (parse_debug_level, parse_debug_category): New helper parsers.
2462 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2464 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2465 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2466 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2467 (gst_base_transform_buffer_alloc),
2468 (gst_base_transform_handle_buffer):
2469 use gboolean return values and pointers to size so we can use the
2470 full GST_BUFFER_SIZE range (guint) for buffer sizes
2471 use GstPadDirection for transform_caps
2472 * gst/base/gstbasetransform.h:
2473 rename get_size to get_unit_size since that's what it is
2474 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2475 use GstPadDirection for transform_caps
2476 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2478 cleanup and debugging
2480 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2482 * gst/gstelement.c: (gst_element_class_init),
2483 (gst_element_set_state), (activate_pads),
2484 (gst_element_save_thyself):
2485 * tools/gst-compprep.c: (main):
2486 * tools/gst-inspect.c: (print_element_properties_info):
2487 * tools/gst-xmlinspect.c: (print_element_properties):
2488 Fixed long standing mem-leak
2490 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2492 * check/gst/gstbin.c: (GST_START_TEST):
2493 * gst/gstbin.c: (bin_bus_handler):
2494 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2495 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2496 (gst_message_new_warning), (gst_message_new_tag),
2497 (gst_message_new_state_changed), (gst_message_new_segment_start),
2498 (gst_message_new_segment_done), (gst_message_new_custom):
2500 * tools/gst-launch.c: (event_loop):
2501 * tools/gst-md5sum.c: (event_loop):
2502 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2503 that applications can sensibly post custom messages with references
2504 to their own objects.
2506 2005-08-24 Andy Wingo <wingo@pobox.com>
2508 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2511 2005-08-24 Wim Taymans <wim@fluendo.com>
2513 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2514 (gst_base_transform_transform_caps),
2515 (gst_base_transform_transform_size),
2516 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2517 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2518 (gst_base_transform_handle_buffer):
2519 * gst/base/gstbasetransform.h:
2520 Many fixes and new features added by Thomas. Can now also do
2521 transforms with variable sizes and a custom fixate_caps function.
2523 2005-08-24 Wim Taymans <wim@fluendo.com>
2525 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2529 Cast to ClockTime before formatting to time.
2534 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2536 * check/gst-libs/controller.c: (GST_START_TEST),
2537 (gst_controller_suite):
2538 * docs/gst/tmpl/gstcaps.sgml:
2539 * docs/gst/tmpl/gstghostpad.sgml:
2540 * docs/gst/tmpl/gstquery.sgml:
2541 * docs/gst/tmpl/gstutils.sgml:
2542 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2543 (gst_object_sink_values), (gst_object_get_value_arrays),
2544 (gst_object_get_value_array):
2545 gracefully handle helper method calls to objects that are not beeing
2546 controlled, added test case for that
2548 2005-08-23 Wim Taymans <wim@fluendo.com>
2550 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2551 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2552 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2553 (gst_event_parse_qos), (gst_event_new_seek),
2554 (gst_event_parse_seek):
2556 Some more debugging output and doc cleanups.
2558 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2559 Fix possible deadlock.
2561 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2563 * docs/gst/gstreamer-docs.sgml:
2564 * docs/gst/gstreamer-sections.txt:
2565 * docs/gst/gstreamer.types:
2566 * docs/gst/tmpl/.cvsignore:
2571 added 100 symbols from gstreamer-unused.txt to the right sections
2572 fixed more broken comments
2573 added GstBus to docs
2575 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2577 * docs/gst/gstreamer-sections.txt:
2578 * docs/gst/tmpl/.cvsignore:
2579 * docs/gst/tmpl/gstbin.sgml:
2580 * docs/gst/tmpl/gstbuffer.sgml:
2581 * gst/base/gstbasesrc.c:
2582 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2585 * tools/gst-launch.1.in:
2586 inlined more doc comments, added missing comments and fixed comments
2589 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2591 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2595 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2597 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2598 * gst/gststructure.h:
2599 add a fixate function for booleans; add a FIXME that these func
2600 names should probably be gst_structure_fixate_*
2602 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2604 * docs/gst/gstreamer-docs.sgml:
2605 * docs/gst/gstreamer-sections.txt:
2607 * gst/gstbin.c: (gst_bin_get_type),
2608 (gst_bin_child_proxy_get_child_by_index),
2609 (gst_bin_child_proxy_get_children_count),
2610 (gst_bin_child_proxy_init):
2611 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2612 (gst_child_proxy_get_child_by_index),
2613 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2614 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2615 (gst_child_proxy_get), (gst_child_proxy_set_property),
2616 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2617 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2618 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2619 * gst/gstchildproxy.h:
2620 * gst/parse/grammar.y:
2621 * tools/gst-inspect.c: (print_interfaces),
2622 (print_element_properties_info), (print_element_info):
2623 ported gstchildproxy over from 0.8
2624 ported gst-inspect fixes and enhancements over from 0.8
2626 2005-08-22 Wim Taymans <wim@fluendo.com>
2628 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2629 (gst_base_transform_handle_buffer):
2630 Also call the transform function if we have ANY caps.
2632 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2635 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2637 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2638 Don't pretend to handle seek events if the source is not seekable
2640 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2642 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2643 Remove extra parameter to debug output
2645 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2646 (gst_base_src_do_seek), (gst_base_src_activate_push):
2647 Fix seek event handling.
2649 * gst/gstpipeline.c: (gst_pipeline_change_state):
2650 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2651 (gst_queue_src_activate_push):
2652 Don't start the src pad task on FLUSH_STOP if the pad
2656 2005-08-22 Wim Taymans <wim@fluendo.com>
2658 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2659 Added check for gst_static_caps_get() refcounting.
2661 2005-08-22 Wim Taymans <wim@fluendo.com>
2663 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2664 Make _static_caps_get() refcounting sane.
2666 * gst/gstelement.c: (gst_element_set_state):
2667 Add g_return_val_if_fail() to protect against segfaults.
2669 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2671 * docs/gst/tmpl/gstevent.sgml:
2674 inlined remaining docs, added missing doc comments
2676 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2678 * check/gst/gstbin.c: (GST_START_TEST):
2679 since we don't know when preroll is done, use refcount range
2681 * gst/check/gstcheck.h:
2682 add macro for checking refcount range
2684 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2686 * check/Makefile.am:
2687 clean up environment for when registry gets built versus
2688 when actual tests are run; valgrind seems to not report
2689 leaks if GST_PLUGIN_PATH is set to some specific values
2690 * check/gst/gstbin.c: (GST_START_TEST):
2691 add more refcounting checks; maybe this exposes a
2694 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2695 * gst/check/gstcheck.h:
2696 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2697 (gst_bin_change_state):
2698 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2699 add/fix debugging/whitespace
2701 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2703 * check/gst/gstevent.c: (event_probe), (test_event),
2705 Er, don't call gst_bin_watch_for_state_change you idiot.
2707 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2709 * check/Makefile.am:
2710 Use CHECK_CFLAGS and CHECK_LIBS
2711 * check/gst/gstevent.c: (event_probe), (test_event),
2714 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2715 (gst_base_src_start), (gst_base_src_stop),
2716 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2717 (gst_base_src_change_state):
2718 Sprinkle gst_base_src_stop liberally around error paths to fix
2719 problems reusing a source after failed state changes.
2720 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2721 (helper_find_suggest), (gst_type_find_helper):
2722 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2724 * docs/gst/tmpl/gstevent.sgml:
2725 Migrate part of the docs from the SGML file. Wait for ensonic to
2726 tell me how I did it wrong ;)
2727 * tools/gst-typefind.c: (main):
2728 Extra robustness to state changes between files.
2730 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2732 * check/Makefile.am:
2733 don't valgrind the controller test - it's leaking - Stefan, HELP
2734 * gst/check/gstcheck.c: (gst_check_message_error),
2735 (gst_check_chain_func), (gst_check_setup_element),
2736 (gst_check_teardown_element), (gst_check_setup_src_pad),
2737 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2738 (gst_check_teardown_sink_pad):
2739 * gst/check/gstcheck.h:
2740 add a bunch of methods to set up elements, and src and sink pads
2741 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2742 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2747 whitespace/doc fixes
2749 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2752 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2753 be handled by the application and not always printed as well
2755 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2757 * check/Makefile.am:
2759 * gst/check/gstcheck.c: (gst_check_message_error):
2760 * gst/check/gstcheck.h:
2761 add a fail_unless_equals_int
2762 add fail_unless for error messages
2764 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2766 * check/Makefile.am:
2768 * common/Makefile.am:
2771 factor out some of the common stuff so we can use it
2773 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2775 * check/Makefile.am:
2776 * check/gst/gstiterator.c: (GST_START_TEST):
2777 * check/gst/gstsystemclock.c: (GST_START_TEST),
2778 (gst_systemclock_suite):
2779 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2783 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2785 * check/elements/.cvsignore:
2786 * check/elements/gstfakesrc.c:
2787 rename to name of element
2788 * check/elements/identity.c: (chain_func), (event_func),
2789 (setup_identity), (cleanup_identity), (GST_START_TEST),
2790 (identity_suite), (main):
2791 add a test for identity
2792 * check/Makefile.am:
2793 * pkgconfig/Makefile.am:
2794 * pkgconfig/gstreamer-check.pc.in:
2795 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2799 move the check stuff to a library that gets installed
2800 * check/gst-libs/controller.c: (GST_START_TEST):
2801 * check/gst-libs/gdp.c:
2802 * check/gst/gst.c: (GST_START_TEST):
2803 * check/gst/gstbin.c:
2804 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2805 * check/gst/gstbus.c:
2806 * check/gst/gstcaps.c: (GST_START_TEST):
2807 * check/gst/gstelement.c:
2808 * check/gst/gstghostpad.c:
2809 * check/gst/gstiterator.c:
2810 * check/gst/gstmessage.c:
2811 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2812 * check/gst/gstobject.c:
2813 * check/gst/gstpad.c: (GST_START_TEST):
2814 * check/gst/gststructure.c: (GST_START_TEST):
2815 * check/gst/gstsystemclock.c: (GST_START_TEST),
2816 (gst_systemclock_suite):
2817 * check/gst/gsttag.c: (gst_tag_suite):
2818 * check/gst/gstvalue.c:
2819 * check/pipelines/cleanup.c:
2820 * check/pipelines/simple_launch_lines.c:
2821 * check/states/sinks.c:
2822 change include statement
2824 * docs/gst/gstreamer-sections.txt:
2825 * docs/gst/tmpl/gstpad.sgml:
2826 document more pad stuff
2827 * gst/gstminiobject.c: (gst_mini_object_ref),
2828 (gst_mini_object_unref):
2831 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2833 * docs/gst/tmpl/gst.sgml:
2835 eliminate another tmpl file, fix spelling in the long-description
2837 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2839 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2840 (test_event), (timediff), (gstevents_suite):
2841 Should fix build on 64-bit arch's
2843 2005-08-18 Andy Wingo <wingo@pobox.com>
2845 Make sure that when a pipeline goes to PLAYING, that data has
2846 actually hit the sink.
2848 * check/states/sinks.c (test_sink): A sink that doesn't get any
2849 data shouldn't return SUCCESS for going to either PLAYING or
2850 PAUSED. Test also the return values on the way back down.
2852 * gst/gstelement.c (gst_element_set_state): When changing the
2853 state of an element currently changing state asynchronously, go to
2854 lost-state after commiting the pending state. Makes future calls
2855 to get_state continue to return ASYNC.
2857 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2858 ASYNC when going to PLAYING if we still don't have preroll, as can
2859 happen with live sources.
2861 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2863 * docs/pwg/advanced-types.xml:
2864 Hack long paragraph into 2 chunks as a workaround for buggy
2865 jadetex version in sid and breezy that loops infinitely and
2868 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2870 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2871 (test_event), (timediff), (gstevents_suite):
2872 Provide more error margin in clock measurements to allow for
2873 g_get_current_time inaccuracies.
2875 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2877 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2878 (test_event), (timediff), (gstevents_suite):
2879 Fix error message output so I might be able to tell why the
2880 test works here but fails on the build farm.
2882 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2884 * check/Makefile.am:
2885 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2886 (test_event), (timediff), (gstevents_suite), (main):
2889 * docs/design/part-seeking.txt:
2892 * docs/gst/tmpl/gstevent.sgml:
2893 * docs/gst/tmpl/gstfakesrc.sgml:
2896 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2897 Treat a buffer-without-newsegment the same as a receiving
2898 a newsegment not in time format, and disable syncing to the clock
2901 * gst/gstbus.c: (gst_bus_set_sync_handler):
2902 Assert if anyone tries to replace the existing sync_handler for bus,
2903 as only the owner should be setting it.
2906 Have a fixed set of custom event enums with events identified by
2907 their structure name (as in 0.8), rather than a free-for-all
2908 allowing collisions between enum values from different plugins.
2910 * gst/gstpad.c: (gst_pad_class_init):
2913 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2914 Handle out-of-band downstream events from the sending thread.
2916 2005-08-17 Andy Wingo <wingo@pobox.com>
2918 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2919 play-timeout==0 to mean no timeout at all. In that case, don't
2920 bother with a get_state or a warning, just return directly, even
2923 * gst/base/gstbasetransform.c: Debug changes.
2926 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2927 ensure bins post state change messages. A bit of a hack but I can't
2928 think of a way to avoid it.
2930 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2932 2005-08-16 Andy Wingo <wingo@pobox.com>
2934 * gst/base/gstadapter.h:
2935 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2936 peek() but you own the data. Not terribly efficient atm.
2938 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2940 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2941 (gst_element_found_tags):
2943 Add two utility functions for tag handling.
2945 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2947 * docs/manual/advanced-dataaccess.xml:
2948 * docs/manual/basics-helloworld.xml:
2949 Fix docs to use _bin_add() before _link(), which fixes the examples
2950 with recent core versions (reported by Madhan Raj M
2951 <raj_madan@rediffmail.com>, #313199).
2953 2005-08-16 Wim Taymans <wim@fluendo.com>
2955 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2956 Added subtract checks.
2958 * docs/design/part-events.txt:
2959 Some more docs about newsegment
2961 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2964 * gst/gstcaps.c: (gst_caps_to_string):
2965 Add comments, cleanups.
2967 * gst/gstelement.c: (gst_element_save_thyself):
2970 * gst/gstvalue.c: (gst_value_collect_int_range),
2971 (gst_string_unwrap), (gst_value_union_int_int_range),
2972 (gst_value_union_int_range_int_range),
2973 (gst_value_intersect_int_int_range),
2974 (gst_value_intersect_int_range_int_range),
2975 (gst_value_intersect_double_double_range),
2976 (gst_value_intersect_double_range_double_range),
2977 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
2978 (gst_value_subtract_int_range_int),
2979 (gst_value_subtract_double_range_double),
2980 (gst_value_subtract_double_range_double_range),
2981 (gst_value_subtract_from_list), (gst_value_subtract_list),
2982 (gst_value_can_compare), (gst_value_compare_fraction):
2983 Cleanups, add comments, remove unneeded asserts.
2985 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2987 * tools/gst-launch.c: (event_loop):
2988 don't convert NULL structures to strings
2990 2005-08-15 Stefan Kost <ensonic@users.sf.net>
2992 * docs/gst/gstreamer-sections.txt:
2993 made some defines private
2994 * docs/gst/tmpl/gstconfig.sgml:
2995 * docs/gst/tmpl/gstqueue.sgml:
2996 * docs/gst/tmpl/gsttaglist.sgml:
2997 * docs/gst/tmpl/gsttypes.sgml:
2998 * docs/gst/tmpl/gstutils.sgml:
2999 * docs/pwg/appendix-porting.xml:
3000 * gst/base/gstbasesink.h:
3001 * gst/base/gstbasesrc.c:
3002 * gst/base/gstbasesrc.h:
3003 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3004 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3005 * gst/gstelement.c: (gst_element_class_init):
3006 * gst/gstpad.c: (gst_pad_class_init):
3007 * gst/gstqueue.c: (gst_queue_class_init):
3008 * gst/gstxml.c: (gst_xml_class_init):
3009 documented all undocumented signal inline
3010 * libs/gst/controller/gst-controller.h:
3013 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3015 * docs/pwg/appendix-porting.xml:
3016 Document _set_link_function -> _set_setcaps_function.
3018 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3020 * check/Makefile.am:
3021 add a .check target for running the check
3022 * check/gst-libs/controller.c: (GST_START_TEST):
3024 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3025 complete checks for gstbuffer; would be nice if I could get the
3026 gcov stuff to work so I can see if I actually completed gstbuffer.c
3028 add ASSERT_BUFFER_REFCOUNT
3030 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
3032 * docs/gst/gstreamer-sections.txt:
3033 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3035 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3036 spew out a warning if a tag that is already registered
3037 is re-registered, unless it is re-registered with a
3038 different type (#308438).
3040 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
3042 * docs/pwg/appendix-porting.xml:
3043 * docs/pwg/building-state.xml:
3044 Add some paragraphs about state changes in 0.9 to the PWG
3045 and the porting guide, in particular about the new meaning
3046 of GST_STATE_PAUSED and how to write state change functions
3047 with concurrent access by multiple threads in mind.
3049 2005-08-11 Stefan Kost <ensonic@users.sf.net>
3051 * docs/gst/gstreamer-docs.sgml:
3052 * docs/libs/gstreamer-libs-docs.sgml:
3053 added deprecation and since indexes
3054 * libs/gst/controller/gst-controller.c:
3055 * libs/gst/controller/gst-helper.c:
3059 2005-08-11 Wim Taymans <wim@fluendo.com>
3061 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3062 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3063 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3064 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3065 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3066 (gst_ghost_pad_set_target):
3067 Actually implement (re)setting the target on a ghostpad
3068 as described in the docs.
3070 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3072 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3073 Check whether GST_DEBUG_NO_COLOR environment variable is
3074 set and disable coloured debug output if that is the case.
3076 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3078 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3079 (gst_type_find_helper):
3080 The memory returned by gst_type_find_peek() needs to
3081 stay valid until the end of a typefind function, and
3082 typefind functions may keep results from different
3083 offsets around, so we can't just unref the buffer from
3084 the previous _peek(), but have to save all buffers
3085 returned by _peek() until typefinding is done and only
3088 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
3090 * docs/gst/gstreamer-sections.txt:
3092 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3094 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3096 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3097 Fix a pretty good memleak.
3099 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3101 * gst/gstiterator.h:
3102 Fix wrong include and 'make distcheck'.
3104 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3106 * gst/gstbin.c: (bin_bus_handler):
3107 Use gst_element_post_message() instead.
3109 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3111 * gst/base/gstadapter.h:
3112 * gst/base/gstbasesink.h:
3113 * gst/base/gstbasesrc.h:
3114 * gst/base/gstbasetransform.h:
3115 * gst/base/gstcollectpads.h:
3116 * gst/base/gstpushsrc.h:
3117 * gst/gstiterator.h:
3118 Add padding to our base elements' class and instance structs and
3119 to GstIterator (you will need to rebuild all plugins and apps!)
3121 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3123 * gst/gstbin.c: (bin_bus_handler):
3124 Make default message forwarding from child->bus to bin->bus
3125 threadsafe and make it not emit warnings if the parent has no bus.
3127 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3129 * gst/gstelement.c: (activate_pads):
3130 On paused->ready, set pad->caps to NULL, as is the documented
3131 behaviour in this state change. Fixes playback of series of
3132 media files when visualization is enabled in Totem.
3134 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3136 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3137 Allow NULL as filter-caps (which means "any").
3139 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3141 * docs/libs/gstreamer-libs-sections.txt:
3142 * libs/gst/controller/gst-controller.c:
3143 * libs/gst/controller/gst-controller.h:
3144 * libs/gst/controller/gst-helper.c:
3145 adding more entries to the docs and fix small doc-bugs
3147 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3149 * docs/gst/gstreamer-docs.sgml:
3150 * docs/gst/gstreamer-sections.txt:
3151 * docs/gst/gstreamer.types:
3152 * docs/gst/tmpl/gstbasesink.sgml:
3153 * docs/gst/tmpl/gstbasesrc.sgml:
3154 * docs/gst/tmpl/gstbasetransform.sgml:
3155 * docs/gst/tmpl/gstfakesrc.sgml:
3156 * gst/base/gstcollectpads.c:
3157 * gst/base/gstcollectpads.h:
3158 * libs/gst/controller/gst-controller.c:
3159 * libs/gst/controller/gst-controller.h:
3160 * libs/gst/controller/gst-helper.c:
3161 * libs/gst/controller/gst-interpolation.c:
3162 * libs/gst/controller/lib.c:
3163 added long/short desc for controller docs
3164 added collectpads base class docs
3165 added correct includes to base-class docs
3167 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3169 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3170 (gst_test_mono_source_set_property),
3171 (gst_test_mono_source_class_init), (GST_START_TEST),
3172 (gst_controller_suite):
3173 * docs/gst/gstreamer-docs.sgml:
3174 * docs/gst/gstreamer-sections.txt:
3175 * docs/gst/gstreamer.types:
3176 * docs/libs/gstreamer-libs-docs.sgml:
3177 * docs/libs/gstreamer-libs-sections.txt:
3178 * gst/base/gstadapter.c:
3179 * libs/gst/controller/gst-controller.c:
3180 (gst_controlled_property_new), (gst_controlled_property_free),
3181 (gst_controller_new_valist),
3182 (gst_controller_remove_properties_valist),
3183 (gst_controller_sink_values), (_gst_controller_finalize):
3184 * libs/gst/controller/gst-controller.h:
3185 * libs/gst/controller/gst-helper.c:
3186 (gst_object_control_properties), (gst_object_uncontrol_properties),
3187 (gst_object_get_controller), (gst_object_set_controller),
3188 (gst_object_sink_values), (gst_object_get_value_arrays),
3189 (gst_object_get_value_array):
3190 more tests (and fixes) for the controller
3191 more docs for the controller
3192 integrated companies docs for the adapter
3194 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
3196 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3197 (GST_START_TEST), (fakesrc_suite):
3198 add tests for sizetype
3200 2005-08-04 Andy Wingo <wingo@pobox.com>
3202 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3203 fixes buffer_alloc proxying among other things.
3205 * gst/base/gstbasetransform.c:
3206 * gst/base/gstbasetransform.h:
3207 Revert patch to gstbasetransform from 7-28 removing
3210 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3211 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3212 Semantics changed, should return not the size of the output buffer
3213 but the byte size of a buffer with a given caps.
3215 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3217 (gst_base_transform_configure_caps): Don't set out_size here: (in,
3218 out) are not the pad caps until setcaps finishes.
3219 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3220 not-in-place case as well. Deal with changing from in-place to
3221 not-in-place within calling pad_alloc_buffer. Still a bit
3222 concerned about the overhead here...
3224 2005-08-03 Andy Wingo <wingo@pobox.com>
3226 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3227 fixating is an error.
3229 2005-08-04 Edward Hervey <edward@fluendo.com>
3231 * gst/base/gstadapter.h:
3232 Added gst_adapter_get_type() to the header
3234 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3236 * check/Makefile.am:
3237 * check/gst-libs/controller.c:
3238 * libs/gst/controller/gst-controller.c:
3239 (gst_controller_new_valist):
3240 added check test suite for the controller
3241 * gst/base/gstpushsrc.c:
3244 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3246 * docs/gst/Makefile.am:
3247 * docs/gst/gstreamer-docs.sgml:
3248 * docs/gst/gstreamer-sections.txt:
3249 * docs/gst/gstreamer.types:
3250 * docs/gst/tmpl/gstfakesrc.sgml:
3252 * gst/base/gstbasesink.c:
3253 * gst/base/gstbasesink.h:
3254 * gst/base/gstbasesrc.c:
3255 * gst/base/gstbasesrc.h:
3256 * gst/base/gstbasetransform.c:
3257 * gst/base/gstpushsrc.c:
3258 * gst/base/gstpushsrc.h:
3259 add short/long description docs to base classes
3260 add pushsrc to the docs
3261 remove consolidated doc fragments
3263 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3266 * docs/libs/Makefile.am:
3267 * docs/libs/gstreamer-libs-docs.sgml:
3268 * docs/libs/gstreamer-libs-sections.txt:
3269 * docs/libs/gstreamer-libs.types:
3270 * examples/Makefile.am:
3271 * examples/controller/.cvsignore:
3272 * examples/controller/Makefile.am:
3273 * examples/controller/audio-example.c: (main):
3274 * libs/gst/Makefile.am:
3275 * libs/gst/controller/.cvsignore:
3276 * libs/gst/controller/Makefile.am:
3277 * libs/gst/controller/gst-controller.c:
3278 (on_object_controlled_property_changed), (gst_timed_value_compare),
3279 (gst_timed_value_find),
3280 (gst_controlled_property_set_interpolation_mode),
3281 (gst_controlled_property_new), (gst_controlled_property_free),
3282 (gst_controller_find_controlled_property),
3283 (gst_controller_new_valist), (gst_controller_new),
3284 (gst_controller_remove_properties_valist),
3285 (gst_controller_remove_properties), (gst_controller_set),
3286 (gst_controller_set_from_list), (gst_controller_unset),
3287 (gst_controller_get), (gst_controller_get_all),
3288 (gst_controller_sink_values), (gst_controller_get_value_arrays),
3289 (gst_controller_get_value_array),
3290 (gst_controller_set_interpolation_mode),
3291 (_gst_controller_finalize), (_gst_controller_init),
3292 (_gst_controller_class_init), (gst_controller_get_type):
3293 * libs/gst/controller/gst-controller.h:
3294 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3295 (g_object_uncontrol_properties), (g_object_get_controller),
3296 (g_object_set_controller), (g_object_sink_values),
3297 (g_object_get_value_arrays), (g_object_get_value_array):
3298 * libs/gst/controller/gst-interpolation.c:
3299 (gst_controlled_property_find_timed_value_node),
3300 (interpolate_none_get), (interpolate_trigger_get),
3301 (interpolate_trigger_get_value_array):
3302 * libs/gst/controller/lib.c: (gst_controller_init):
3303 * pkgconfig/Makefile.am:
3304 * pkgconfig/gstreamer-control-uninstalled.pc.in:
3305 * pkgconfig/gstreamer-control.pc.in:
3306 * testsuite/Makefile.am:
3307 * testsuite/controller/.cvsignore:
3308 * testsuite/controller/Makefile.am:
3309 * testsuite/controller/interpolator.c: (main):
3310 added controller code
3311 removed dparam pc files
3313 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3314 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3315 (gst_collectpads_stop):
3316 Broadcast the condition when shutting down, to make sure we wake all
3317 threads up. Shut down pads on finalize, for safety.
3319 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3320 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3321 (gst_base_transform_handle_buffer),
3322 (gst_base_transform_change_state):
3323 Handle PAUSED->READY->PAUSED transition after negotiation
3325 * gst/gstmessage.c: (gst_message_init):
3326 Extra piece of debug for new messages.
3328 2005-08-01 Stefan Kost <ensonic@users.sf.net>
3331 * docs/gst/tmpl/gstbasesrc.sgml:
3332 * docs/gst/tmpl/gstelement.sgml:
3333 * docs/gst/tmpl/gstevent.sgml:
3334 * docs/gst/tmpl/gstfakesrc.sgml:
3335 * docs/gst/tmpl/gstformat.sgml:
3336 * docs/gst/tmpl/gstghostpad.sgml:
3337 * docs/gst/tmpl/gstpad.sgml:
3338 * docs/gst/tmpl/gstquery.sgml:
3339 * docs/gst/tmpl/gststructure.sgml:
3340 * docs/gst/tmpl/gsttaglist.sgml:
3341 * docs/gst/tmpl/gstvalue.sgml:
3342 * docs/libs/gstreamer-libs-docs.sgml:
3343 * docs/libs/gstreamer-libs-sections.txt:
3344 * docs/libs/gstreamer-libs.types:
3345 * libs/gst/Makefile.am:
3346 * libs/gst/control/.cvsignore:
3347 * libs/gst/control/Makefile.am:
3348 * libs/gst/control/control.c:
3349 * libs/gst/control/control.h:
3350 * libs/gst/control/dparam.c:
3351 * libs/gst/control/dparam.h:
3352 * libs/gst/control/dparam_smooth.c:
3353 * libs/gst/control/dparam_smooth.h:
3354 * libs/gst/control/dparamcommon.h:
3355 * libs/gst/control/dparammanager.c:
3356 * libs/gst/control/dparammanager.h:
3357 * libs/gst/control/dplinearinterp.c:
3358 * libs/gst/control/dplinearinterp.h:
3359 * libs/gst/control/unitconvert.c:
3360 * libs/gst/control/unitconvert.h:
3361 * testsuite/Makefile.am:
3362 * testsuite/dynparams/.cvsignore:
3363 * testsuite/dynparams/Makefile.am:
3364 * testsuite/dynparams/dparamstest.c:
3365 * tools/Makefile.am:
3366 * tools/gst-inspect.c: (print_element_info), (main):
3367 * tools/gst-xmlinspect.c: (print_element_info), (main):
3368 deactivate and remove dparams (libgstcontrol)
3370 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3372 * gst/elements/gsttypefindelement.c:
3373 (gst_type_find_element_have_type), (gst_type_find_element_init),
3374 (stop_typefinding), (gst_type_find_element_handle_event),
3375 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3376 * gst/elements/gsttypefindelement.h:
3377 Set caps on all outgoing buffers, not just the first one.
3379 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3381 * gst/elements/gsttypefindelement.c:
3382 (gst_type_find_element_have_type),
3383 (gst_type_find_element_check_set_buffer_caps),
3384 (gst_type_find_element_init), (stop_typefinding),
3385 (gst_type_find_element_handle_event),
3386 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3387 * gst/elements/gsttypefindelement.h:
3388 Set caps on first outgoing buffer when we've found the type.
3390 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3392 * docs/gst/gstreamer-docs.sgml:
3393 * docs/gst/gstreamer-sections.txt:
3394 * docs/gst/tmpl/gstscheduler.sgml:
3395 * docs/gst/tmpl/gstschedulerfactory.sgml:
3396 Remove some old cruft from docs.
3398 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
3401 Fix inline docs for GstPadLinkReturn.
3403 * gst/gststructure.c: (gst_structure_has_name):
3404 * gst/gststructure.h:
3405 * docs/gst/gstreamer-sections.txt:
3406 New API: gst_structure_has_name().
3408 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
3411 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3412 and _LARGEFILE_SOURCE in config.h as required. Do not
3413 export those flags in our .pc files any longer (#142209).
3415 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3417 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3418 (gst_file_sink_do_seek), (gst_file_sink_event),
3419 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3420 Redo seek/tell calls with large file support in mind; add some
3421 debugging messages; add log message that tells us when large
3422 file support is unavailable or not enabled for some reason.
3424 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3425 Add log message that tells us when large file support
3426 is unavailable or not enabled for some reason.
3428 2005-07-29 Wim Taymans <wim@fluendo.com>
3430 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3431 Added test for removing an element with ghostpad from a bin.
3432 Fixed test as current implementation does the right thing.
3434 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3435 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3436 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3437 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3438 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3439 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3440 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3441 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3442 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3443 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3444 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3445 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3446 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3447 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3448 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3449 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3450 * gst/gstghostpad.h:
3451 Clean up ghostpads, remove properties for internal stuff.
3454 Prepare for switching targets, not all use cases work yet.
3456 2005-07-29 Wim Taymans <wim@fluendo.com>
3458 * docs/design/part-gstghostpad.txt:
3461 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3462 (gst_bin_remove_func):
3463 Unlinking pads while holding the bin LOCK is not a good
3466 * gst/gstpad.c: (gst_pad_class_init),
3467 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3468 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3469 No prob setting template after creating the pad.
3471 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3473 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3474 (gst_bus_peek), (gst_bus_source_dispatch),
3475 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3476 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3477 gst_bus_poll may be called from other threads. Handle
3478 this nicely by not making poll_data disappear off the
3479 stack once gst_bus_poll returns.
3480 gst_bus_peek now increments the refcount on the returned
3483 2005-07-29 Wim Taymans <wim@fluendo.com>
3485 * docs/design/part-gstghostpad.txt:
3486 Overview of current GhostPad datastructures and use
3487 cases for changing the target.
3489 2005-07-28 Wim Taymans <wim@fluendo.com>
3491 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3492 Added checks for hierarchy consistency whan adding linked
3495 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3496 Added check to test element scheduling without bin/pipeline.
3498 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3499 First add elements to bin, then link.
3501 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3502 (gst_bin_remove_func):
3503 Unlink pads from elements added/removed from bin to maintain
3504 hierarchy consistency.
3506 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3508 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3509 (gst_base_transform_handle_buffer):
3510 * gst/base/gstbasetransform.h:
3511 Remove broken delay_configure (fixes renegotiation of software
3512 scaling pipelines); remove some leftover printf()s.
3514 2005-07-28 Wim Taymans <wim@fluendo.com>
3516 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3517 Added some more tests for wrong hierarchy
3519 * docs/design/part-overview.txt:
3522 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3525 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3526 (gst_element_dispose):
3529 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3530 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3531 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3532 (gst_pad_set_caps), (gst_pad_send_event):
3533 Check for correct hierarchy when linking pads. Moving to
3534 strict requirement for ghostpads when linking elements in
3538 Clean ups. Added WRONG_HIERARCHY return value.
3540 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3542 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3543 Better debug if no transform is possible.
3545 2005-07-27 Wim Taymans <wim@fluendo.com>
3547 * docs/random/wtay/network-transp:
3550 2005-07-27 Wim Taymans <wim@fluendo.com>
3552 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3553 (gst_dp_event_from_packet):
3554 Fix serialization of seek events.
3556 2005-07-27 Wim Taymans <wim@fluendo.com>
3558 * check/gst-libs/gdp.c: (GST_START_TEST):
3559 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3560 Fix compilation and fix event serialization.
3562 2005-07-27 Wim Taymans <wim@fluendo.com>
3565 * docs/design/part-TODO.txt:
3566 * docs/design/part-events.txt:
3569 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3570 (gst_base_sink_event), (gst_base_sink_do_sync),
3571 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3572 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3573 (gst_base_src_do_seek), (gst_base_src_event_handler),
3574 (gst_base_src_loop):
3575 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3576 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3577 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3578 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3579 (gst_base_transform_set_passthrough),
3580 (gst_base_transform_is_passthrough):
3581 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3582 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3588 * gst/gstelement.c: (gst_element_seek):
3590 Update gst_element_seek.
3592 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3593 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3594 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3595 (gst_event_new_eos), (gst_event_new_newsegment),
3596 (gst_event_parse_newsegment), (gst_event_new_tag),
3597 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3598 (gst_event_parse_qos), (gst_event_new_seek),
3599 (gst_event_parse_seek), (gst_event_new_navigation):
3601 Make GstEvent use GstStructure. Add parsing code, make sure the
3602 API is sufficiently generic.
3603 Mark possible directions of events and serialization.
3605 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3606 (_gst_message_copy), (gst_message_new_segment_start),
3607 (gst_message_new_segment_done), (gst_message_new_custom),
3608 (gst_message_parse_segment_start),
3609 (gst_message_parse_segment_done):
3612 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3613 (gst_pad_set_caps), (gst_pad_send_event):
3614 Update for new events.
3615 Catch events sent in wrong directions.
3617 * gst/gstqueue.c: (gst_queue_link_src),
3618 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3619 (gst_queue_handle_src_query):
3624 Remove event code from this file.
3626 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3627 (gst_dp_event_from_packet):
3630 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3632 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3633 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3634 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3635 Make debugging actually useful.
3637 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3639 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3640 (gst_pad_fixate_caps):
3641 Implement default fixation once again, so that gst_pad_fixate()
3642 actually does anything at all. This probably needs to be some
3643 sort of a last resort, and use profile-based fixation first, but
3644 since that doesn't exist yet, this is the best we have. Fixes
3645 visualization in Totem.
3647 2005-07-22 Wim Taymans <wim@fluendo.com>
3649 * docs/design/part-events.txt:
3652 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3653 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3654 (gst_base_sink_activate_pull):
3657 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3658 (gst_fake_src_create):
3659 Fix handoff marshall.
3661 * gst/elements/gstidentity.c: (gst_identity_class_init),
3662 (gst_identity_transform_ip):
3663 We're a real inplace element.
3665 * gst/gstbus.c: (gst_bus_post):
3666 Added some comments.
3668 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3669 * tests/muxing/case1.c: (main):
3670 * tests/sched/dynamic-pipeline.c: (main):
3671 * tests/sched/interrupt1.c: (main):
3672 * tests/sched/interrupt2.c: (main):
3673 * tests/sched/interrupt3.c: (main):
3674 * tests/sched/runxml.c: (main):
3675 * tests/sched/sched-stress.c: (main):
3676 * tests/seeking/seeking1.c: (event_received), (main):
3677 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3679 * tests/threadstate/threadstate3.c: (main):
3680 * tests/threadstate/threadstate4.c: (main):
3681 * tests/threadstate/threadstate5.c: (main):
3684 2005-07-21 Wim Taymans <wim@fluendo.com>
3686 * docs/design/part-seeking.txt:
3687 Some small additions.
3689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3690 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3691 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3692 * gst/base/gstbasesink.h:
3693 discont values are gint64, handle the math correctly.
3695 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3696 Make the basesrc report error if the source pad is not linked.
3698 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3699 (gst_queue_loop), (gst_queue_handle_src_query),
3700 (gst_queue_src_activate_push):
3701 Make queue collect data even if the srcpad is not linked.
3702 Start pushing out data as soon as it is linked.
3704 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3706 Added gst_flow_get_name() to ease error reporting.
3708 2005-07-20 Wim Taymans <wim@fluendo.com>
3710 * gst/gstmessage.c: (gst_message_new_segment_start),
3711 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3712 (gst_message_parse_segment_done):
3714 Added a bunch of messages for advanced seeking.
3716 * gst/parse/grammar.y:
3717 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3718 (gst_dpman_state_changed):
3719 Fix some new-pad -> pad-added signals
3721 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3723 * docs/manual/appendix-porting.xml:
3724 * docs/pwg/appendix-porting.xml:
3725 Document new-pad/state-change signal renames and the FixedList
3728 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3730 * docs/manual/advanced-autoplugging.xml:
3731 * docs/manual/basics-helloworld.xml:
3732 * docs/manual/basics-pads.xml:
3733 * docs/random/ds/0.9-suggested-changes:
3734 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3739 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3740 (gst_structure_parse_array), (gst_structure_parse_value):
3741 * gst/gstvalue.c: (gst_type_is_fixed),
3742 (gst_value_list_prepend_value), (gst_value_list_append_value),
3743 (gst_value_list_get_size), (gst_value_list_get_value),
3744 (gst_value_transform_array_string), (gst_value_serialize_array),
3745 (gst_value_deserialize_array), (gst_value_intersect_array),
3746 (gst_value_is_fixed), (_gst_value_initialize):
3748 GstElement::new-pad -> pad-added, GstElement::state-change ->
3749 state-changed, GstValueFixedList -> GstValueArray, add format and
3750 flags as their own arguments in gst_element_seek() (should improve
3751 "bindeability"), remove function generators since they don't work
3752 under a whole bunch of compilers (they were deprecated already
3755 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3757 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3758 (_gst_debug_register_funcptr):
3760 Fix illegal cast on some platforms (#309253).
3762 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3764 * gst/gstmessage.c: (gst_message_new_custom):
3766 Add _new_custom, make _new_application a macro to _new_custom.
3768 2005-07-20 Wim Taymans <wim@fluendo.com>
3770 * gst/base/gstbasesrc.c: (gst_base_src_init),
3771 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3772 * gst/base/gstbasesrc.h:
3773 Add a gboolean to decide when to push out a discont.
3775 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3776 (gst_queue_loop), (gst_queue_handle_src_query),
3777 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3778 (gst_queue_set_property), (gst_queue_get_property):
3781 * tests/threadstate/threadstate1.c: (main):
3782 Make a thread test compile and run... very silly..
3785 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3787 * docs/manual/appendix-porting.xml:
3788 Mention removal of libgstgconf-0.9.la and existence of gconf
3791 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3793 * docs/pwg/advanced-clock.xml:
3794 * docs/pwg/appendix-porting.xml:
3795 * docs/pwg/intro-preface.xml:
3796 * docs/pwg/other-base.xml:
3797 * docs/pwg/other-manager.xml:
3798 * docs/pwg/other-nton.xml:
3799 * docs/pwg/other-ntoone.xml:
3800 * docs/pwg/other-oneton.xml:
3802 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3803 demuxer), remove n-to-n (was never written), fix some code examples
3804 and links and update the porting section to include all this.
3806 2005-07-19 Wim Taymans <wim@fluendo.com>
3808 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3809 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3810 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3811 (gst_queue_src_activate_push), (gst_queue_change_state),
3812 (gst_queue_get_property):
3814 Propagate GstFlowReturn more intelligently upstream and output
3815 an ERROR/EOS when streaming stopped due to fatal error.
3817 2005-07-19 Wim Taymans <wim@fluendo.com>
3819 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3820 Don't block forever for the state change to complete, the
3821 pipeline already did with a sensible timeout.
3823 2005-07-19 Wim Taymans <wim@fluendo.com>
3825 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3826 Make sure we never call the create function is we
3829 2005-07-19 Andy Wingo <wingo@pobox.com>
3831 * gst/parse/parse.l: Attempt to solve bug #172815.
3833 2005-07-19 Wim Taymans <wim@fluendo.com>
3835 * docs/design/part-clocks.txt:
3836 * docs/design/part-events.txt:
3837 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3839 Only update the seeking values when we are not
3842 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3844 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3845 Oops, ignore the result of gst_pad_push_event here.
3847 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3849 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3850 (gst_base_src_activate_push):
3851 Send discont event from the loop function, as pads
3852 aren't activated yet in the activate_push handler.
3854 * gst/gstbin.c: (bin_bus_handler):
3855 Don't leak element name.
3857 2005-07-18 Andy Wingo <wingo@pobox.com>
3859 * configure.ac: Use AS_LIBTOOL_TAGS.
3861 2005-07-18 Wim Taymans <wim@fluendo.com>
3863 * docs/gst/gstreamer.types:
3864 Remove deleted types.
3866 2005-07-18 Wim Taymans <wim@fluendo.com>
3868 * check/elements/gstfakesrc.c: (GST_START_TEST):
3871 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3872 (init_popt_callback):
3874 * gst/gst_private.h:
3875 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3876 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3879 * gst/gstconfig.h.in:
3880 * gst/gstelement.c: (gst_element_class_init),
3881 (gst_element_set_base_time), (gst_element_get_base_time),
3882 (iterator_fold_with_resync), (gst_element_change_state),
3883 (gst_element_dispose), (gst_element_get_bus):
3885 * gst/gstelementfactory.h:
3886 * gst/gsterror.c: (_gst_core_errors_init):
3889 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3891 * gst/gstinfo.c: (_gst_debug_init):
3892 * gst/gstmessage.c: (_gst_message_copy):
3894 * gst/gstminiobject.h:
3897 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3898 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3901 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3902 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3903 (gst_pipeline_get_last_stream_time):
3904 * gst/gstpipeline.h:
3905 * gst/gstpluginfeature.h:
3907 * gst/gstscheduler.c:
3908 * gst/gstscheduler.h:
3909 * gst/gststructure.h:
3910 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3911 (gst_task_finalize), (gst_task_func), (gst_task_create),
3912 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3913 (gst_task_stop), (gst_task_pause):
3915 * gst/gsttypefind.h:
3917 * gst/registries/gstlibxmlregistry.c: (load_feature),
3918 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3919 * gst/registries/gstxmlregistry.c:
3920 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3921 * gst/schedulers/threadscheduler.c:
3922 * libs/gst/control/dparammanager.h:
3923 * tools/gst-inspect.c: (print_element_list),
3924 (print_plugin_features), (print_element_features):
3925 * tools/gst-xmlinspect.c: (print_element_list),
3926 (print_plugin_info), (main):
3927 Removed plugable schedulers.
3928 Removed Scheduler/Manager from elements.
3929 Removed gsttypes.h, rearranged includes.
3930 Removed dependency pad<->element, element<>pipeline, and
3931 various others, fix includes.
3932 implement gst_pad_get_parent() with gst_object_get_parent()
3933 Make GstTask sefcontained.
3934 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3936 Fix endless loop in iterator_fold_with_resync.
3939 2005-07-18 Wim Taymans <wim@fluendo.com>
3945 2005-07-18 Wim Taymans <wim@fluendo.com>
3950 2005-07-18 Wim Taymans <wim@fluendo.com>
3956 2005-07-18 Wim Taymans <wim@fluendo.com>
3958 * docs/design/part-dynamic.txt:
3959 * docs/design/part-events.txt:
3960 * docs/design/part-seeking.txt:
3961 Some more docs in the works.
3963 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3964 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3965 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3966 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3967 (gst_base_transform_handle_buffer),
3968 (gst_base_transform_sink_activate_push),
3969 (gst_base_transform_src_activate_pull),
3970 (gst_base_transform_set_passthrough),
3971 (gst_base_transform_is_passthrough):
3974 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3977 * gst/gstevent.c: (gst_event_finalize):
3980 * gst/gstutils.c: (gst_element_unlink),
3981 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
3982 (gst_pad_proxy_setcaps):
3984 Add _get_parent_element() to get a pads parent as an element.
3986 2005-07-18 Wim Taymans <wim@fluendo.com>
3988 * check/gst/gstbin.c: (GST_START_TEST):
3991 2005-07-18 Wim Taymans <wim@fluendo.com>
3993 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3994 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3995 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3996 (gst_base_sink_event), (gst_base_sink_do_sync),
3997 (gst_base_sink_chain), (gst_base_sink_loop),
3998 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
3999 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4001 Fix logic for returning ASYNC when not prerolled.
4003 2005-07-18 Wim Taymans <wim@fluendo.com>
4005 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4006 Fix nasty refcount bug.
4008 2005-07-16 Philippe Khalaf <burger@speedy.org>
4010 * gst/elements/gstfdsrc.c:
4011 * gst/elements/gstfdsrc.h:
4012 * gst/elements/gstelements.c:
4013 * gst/elements/Makefile.am:
4014 Ported fdsrc to 0.9.
4016 2005-07-16 Wim Taymans <wim@fluendo.com>
4018 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4019 (gst_base_sink_do_sync):
4022 2005-07-16 Wim Taymans <wim@fluendo.com>
4024 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4025 (gst_base_sink_event), (gst_base_sink_get_times),
4026 (gst_base_sink_do_sync), (gst_base_sink_change_state):
4027 * gst/base/gstbasesink.h:
4028 Store and use discont values when syncing buffers as described
4031 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4032 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4033 (gst_base_src_activate_push):
4034 Push discont event when starting.
4036 * gst/elements/gstidentity.c: (gst_identity_transform):
4039 * gst/gstbin.c: (gst_bin_change_state):
4040 Small cleanups in base_time distribution.
4042 * gst/gstelement.c: (gst_element_set_base_time),
4043 (gst_element_get_base_time), (gst_element_change_state):
4045 Added methods for the base_time of the element.
4048 * gst/gstpipeline.c: (gst_pipeline_send_event),
4049 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4050 (gst_pipeline_get_last_stream_time):
4051 * gst/gstpipeline.h:
4053 Handle seeking as described in design doc, remove stream_time
4055 Cleanups clock and stream_time selection code. Added accessors
4056 for the stream_time.
4059 2005-07-16 Andy Wingo <wingo@pobox.com>
4061 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4064 2005-07-16 Wim Taymans <wim@fluendo.com>
4066 * check/gst/gstbin.c: (GST_START_TEST):
4067 Make elements silent as the deep_notify refs the
4068 parent, which might make the test fail.
4070 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4071 Don't hold the lock for too long.
4073 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
4075 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4076 Don't unref the caps we passed to gst_caps_make_writable() after
4077 passing them. gst_caps_make_writable() will do that for us.
4079 2005-07-15 Andy Wingo <wingo@pobox.com>
4081 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4084 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4085 own marshalling function for the handoff signal. Properly type the
4086 buffer as a buffer. Fixes some warnings. Should do a more general
4088 (gst_identity_class_init): Plug into the right marshaller.
4090 2005-07-15 Wim Taymans <wim@fluendo.com>
4092 * docs/design/part-TODO.txt:
4093 * docs/design/part-clocks.txt:
4094 * docs/design/part-element-sink.txt:
4095 * docs/design/part-events.txt:
4096 * docs/design/part-gstpipeline.txt:
4097 Updated docs, mostly DISCONT related.
4099 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
4101 * docs/pwg/building-pads.xml:
4102 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4104 2005-07-15 Andy Wingo <wingo@pobox.com>
4106 * tools/gst-typefind.c: Update, add copyright block.
4108 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4109 Normalize and truncate caps before fixation.
4112 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4113 discards all but the first structure from its argument.
4115 2005-07-15 Wim Taymans <wim@fluendo.com>
4117 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4118 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4119 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4120 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4121 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4122 (gst_base_transform_chain), (gst_base_transform_change_state),
4123 (gst_base_transform_set_passthrough),
4124 (gst_base_transform_is_passthrough):
4125 * gst/base/gstbasetransform.h:
4126 Make passthrough work using the bufferpools.
4127 Changed API a bit, subclasses have to write into a buffer
4128 provided by the base class.
4129 More debug info in nego functions.
4131 * gst/elements/gstidentity.c: (gst_identity_init),
4132 (gst_identity_transform):
4133 Port to new base class.
4135 2005-07-15 Wim Taymans <wim@fluendo.com>
4137 * gst/gstmessage.c: (gst_message_new_state_changed):
4138 * tools/gst-launch.c: (event_loop), (main):
4139 Totally dump messages in -launch with the -m option.
4140 Fix message name for State messages,
4142 2005-07-14 Wim Taymans <wim@fluendo.com>
4144 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4145 Post error messages on errors.
4147 2005-07-14 Wim Taymans <wim@fluendo.com>
4149 * gst/gstcaps.c: (gst_caps_do_simplify):
4153 Define error for stream stopped.
4155 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4156 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4157 Do proper return values.
4159 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4160 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4161 (gst_pad_get_range):
4162 Better return values.
4165 Reorganise return values, add macro to check for fatal errors.
4167 * gst/gstqueue.c: (gst_queue_chain):
4168 Return proper GstFlowReturn values,
4170 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
4172 * docs/gst/gstreamer-sections.txt:
4173 * docs/gst/gstreamer.types:
4174 * docs/gst/tmpl/gst.sgml:
4175 * docs/gst/tmpl/gstbasesink.sgml:
4176 * docs/gst/tmpl/gstbasesrc.sgml:
4177 * docs/gst/tmpl/gstbasetransform.sgml:
4178 * docs/gst/tmpl/gstbin.sgml:
4179 * docs/gst/tmpl/gstbuffer.sgml:
4180 * docs/gst/tmpl/gstcaps.sgml:
4181 * docs/gst/tmpl/gstclock.sgml:
4182 * docs/gst/tmpl/gstcompat.sgml:
4183 * docs/gst/tmpl/gstconfig.sgml:
4184 * docs/gst/tmpl/gstelement.sgml:
4185 * docs/gst/tmpl/gstelementdetails.sgml:
4186 * docs/gst/tmpl/gstelementfactory.sgml:
4187 * docs/gst/tmpl/gstenumtypes.sgml:
4188 * docs/gst/tmpl/gsterror.sgml:
4189 * docs/gst/tmpl/gstevent.sgml:
4190 * docs/gst/tmpl/gstfakesink.sgml:
4191 * docs/gst/tmpl/gstfakesrc.sgml:
4192 * docs/gst/tmpl/gstfilesink.sgml:
4193 * docs/gst/tmpl/gstfilesrc.sgml:
4194 * docs/gst/tmpl/gstfilter.sgml:
4195 * docs/gst/tmpl/gstformat.sgml:
4196 * docs/gst/tmpl/gstghostpad.sgml:
4197 * docs/gst/tmpl/gstimplementsinterface.sgml:
4198 * docs/gst/tmpl/gstindex.sgml:
4199 * docs/gst/tmpl/gstindexfactory.sgml:
4200 * docs/gst/tmpl/gstinfo.sgml:
4201 * docs/gst/tmpl/gstiterator.sgml:
4202 * docs/gst/tmpl/gstmacros.sgml:
4203 * docs/gst/tmpl/gstmemchunk.sgml:
4204 * docs/gst/tmpl/gstminiobject.sgml:
4205 * docs/gst/tmpl/gstobject.sgml:
4206 * docs/gst/tmpl/gstpad.sgml:
4207 * docs/gst/tmpl/gstpadtemplate.sgml:
4208 * docs/gst/tmpl/gstparse.sgml:
4209 * docs/gst/tmpl/gstpipeline.sgml:
4210 * docs/gst/tmpl/gstplugin.sgml:
4211 * docs/gst/tmpl/gstpluginfeature.sgml:
4212 * docs/gst/tmpl/gstquery.sgml:
4213 * docs/gst/tmpl/gstqueue.sgml:
4214 * docs/gst/tmpl/gstregistry.sgml:
4215 * docs/gst/tmpl/gstregistrypool.sgml:
4216 * docs/gst/tmpl/gstscheduler.sgml:
4217 * docs/gst/tmpl/gstschedulerfactory.sgml:
4218 * docs/gst/tmpl/gststructure.sgml:
4219 * docs/gst/tmpl/gstsystemclock.sgml:
4220 * docs/gst/tmpl/gsttaglist.sgml:
4221 * docs/gst/tmpl/gsttagsetter.sgml:
4222 * docs/gst/tmpl/gsttrace.sgml:
4223 * docs/gst/tmpl/gsttrashstack.sgml:
4224 * docs/gst/tmpl/gsttypefind.sgml:
4225 * docs/gst/tmpl/gsttypefindfactory.sgml:
4226 * docs/gst/tmpl/gsttypes.sgml:
4227 * docs/gst/tmpl/gsturihandler.sgml:
4228 * docs/gst/tmpl/gsturitype.sgml:
4229 * docs/gst/tmpl/gstutils.sgml:
4230 * docs/gst/tmpl/gstvalue.sgml:
4231 * docs/gst/tmpl/gstversion.sgml:
4232 * docs/gst/tmpl/gstxml.sgml:
4233 * docs/libs/tmpl/gstcontrol.sgml:
4234 * docs/libs/tmpl/gstdataprotocol.sgml:
4235 * docs/libs/tmpl/gstdparam.sgml:
4236 * docs/libs/tmpl/gstdplinint.sgml:
4237 * docs/libs/tmpl/gstdpman.sgml:
4238 * docs/libs/tmpl/gstdpsmooth.sgml:
4239 * docs/libs/tmpl/gstgetbits.sgml:
4240 * docs/libs/tmpl/gstunitconvert.sgml:
4241 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4242 (gst_push_src_base_init), (gst_push_src_class_init),
4243 (gst_push_src_init), (gst_push_src_create):
4244 * gst/base/gstpushsrc.h:
4245 * gst/elements/gstelements.c:
4246 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4247 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4248 (gst_fake_sink_init), (gst_fake_sink_set_property),
4249 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4250 (gst_fake_sink_event), (gst_fake_sink_preroll),
4251 (gst_fake_sink_render), (gst_fake_sink_change_state):
4252 * gst/elements/gstfakesink.h:
4253 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4254 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4255 (gst_fake_src_base_init), (gst_fake_src_class_init),
4256 (gst_fake_src_init), (gst_fake_src_event_handler),
4257 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4258 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4259 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4260 (gst_fake_src_create_buffer), (gst_fake_src_create),
4261 (gst_fake_src_start), (gst_fake_src_stop):
4262 * gst/elements/gstfakesrc.h:
4263 * gst/elements/gstfilesink.c: (_do_init),
4264 (gst_file_sink_base_init), (gst_file_sink_class_init),
4265 (gst_file_sink_init), (gst_file_sink_dispose),
4266 (gst_file_sink_set_location), (gst_file_sink_set_property),
4267 (gst_file_sink_get_property), (gst_file_sink_open_file),
4268 (gst_file_sink_close_file), (gst_file_sink_query),
4269 (gst_file_sink_event), (gst_file_sink_render),
4270 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4271 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4272 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4273 * gst/elements/gstfilesink.h:
4274 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4275 (gst_file_src_class_init), (gst_file_src_init),
4276 (gst_file_src_finalize), (gst_file_src_set_location),
4277 (gst_file_src_set_property), (gst_file_src_get_property),
4278 (gst_file_src_map_region), (gst_file_src_map_small_region),
4279 (gst_file_src_create_mmap), (gst_file_src_create_read),
4280 (gst_file_src_create), (gst_file_src_is_seekable),
4281 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4282 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4283 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4284 (gst_file_src_uri_handler_init):
4285 * gst/elements/gstfilesrc.h:
4286 more autistic cleanliness in functions/names/defines
4288 2005-07-13 Andy Wingo <wingo@pobox.com>
4290 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4291 source couldn't negotiate.
4293 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4297 * gst/gstutils.c (gst_element_link_pads_filtered): New old
4298 function. I am channeling Hades. Put your boots on suckers!!!
4300 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4302 * testsuite/caps/Makefile.am:
4303 * testsuite/caps/value_compare.c:
4304 * testsuite/caps/value_intersect.c:
4305 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4306 move two testsuite apps over to the check dir
4308 2005-07-12 Wim Taymans <wim@fluendo.com>
4310 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4311 Added more debug info in the negotiate process.
4314 Prepare for segment playback.
4316 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4322 * tools/gst-launch.c: (main):
4323 NULL pipeline on errors.
4325 2005-07-12 Andy Wingo <wingo@pobox.com>
4327 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4328 not it comes from a malloc region. Make sure our copy gets freed.
4330 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4332 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4333 * check/gst/gstmessage.c: (GST_START_TEST):
4334 * check/gst/gststructure.c: (GST_START_TEST),
4335 (gst_structure_suite), (main):
4337 * gst/gstelement.c: (gst_element_message_full):
4338 clean up GError and debug string now that they get copied
4339 * gst/gstmessage.c: (gst_message_new_error),
4340 (gst_message_new_warning), (gst_message_parse_error),
4341 (gst_message_parse_warning):
4342 use GST_TYPE_G_ERROR for structure_new, and take copies of
4343 arguments, so that we don't mess up refcounting
4345 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4347 * check/Makefile.am:
4348 add per-test valgrind targets
4349 * check/gst-libs/gdp.c: (GST_START_TEST),
4350 (gst_data_protocol_suite), (main):
4353 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4355 * check/Makefile.am:
4356 instate more valgrindable tests
4357 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4358 (GST_START_TEST), (fakesrc_suite):
4359 * check/gst/gstpad.c: (GST_START_TEST):
4360 * check/gst/gststructure.c: (GST_START_TEST):
4362 * docs/gst/tmpl/gstminiobject.sgml:
4363 * gst/gstpad.c: (gst_pad_finalize):
4364 fix the static mutex leak
4366 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4368 * check/Makefile.am:
4369 add two more tests for valgrinding
4370 * check/gst/gstvalue.c: (GST_START_TEST):
4371 test refcount of deserialized buffer, found a leak
4372 * docs/gst/gstreamer-docs.sgml:
4373 * docs/gst/gstreamer-sections.txt:
4374 * docs/gst/gstreamer.types:
4375 * docs/gst/tmpl/gstminiobject.sgml:
4376 add miniobject to docs
4377 * gst/gstminiobject.c:
4379 * gst/gstvalue.c: (gst_value_deserialize_buffer),
4380 (gst_string_unwrap):
4381 fix a hard-to-find invalid write for one of the tests
4382 fix a leak for deserialized buffers
4384 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4386 * docs/pwg/advanced-events.xml:
4387 * docs/pwg/advanced-request.xml:
4388 * docs/pwg/advanced-scheduling.xml:
4389 * docs/pwg/appendix-porting.xml:
4390 * docs/pwg/building-boiler.xml:
4391 * docs/pwg/intro-preface.xml:
4392 * docs/pwg/other-ntoone.xml:
4393 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4394 of example code and explanation for pad activation, loop() and
4395 getrange() functions and a bit more. Remove old comments pointing
4397 * examples/pwg/Makefile.am:
4398 Add loop/getrange examples.
4400 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4403 check for valgrind binary + some fixes
4405 valgrind suppressions for the tests
4406 * check/Makefile.am:
4407 add a valgrind: target that valgrinds the unit tests
4408 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4409 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4410 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4411 * check/gst/gstghostpad.c:
4413 * check/gst/gstdata.c:
4415 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4416 (thread_unref), (gst_mini_object_suite), (main):
4418 * gst/gst.c: (gst_deinit):
4420 add a method to clean up.
4421 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4422 (gst_system_clock_obtain):
4423 allow for disposing the system clock.
4424 * tools/gst-launch.c: (main):
4427 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4429 * docs/gst/tmpl/gstbasesrc.sgml:
4430 * docs/gst/tmpl/gstfakesrc.sgml:
4431 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4432 (gst_base_src_init), (gst_base_src_set_property),
4433 (gst_base_src_get_property), (gst_base_src_get_range),
4434 (gst_base_src_start):
4435 * gst/base/gstbasesrc.h:
4436 add num-buffers property
4437 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4438 (gst_fakesrc_init), (gst_fakesrc_set_property),
4439 (gst_fakesrc_get_property), (gst_fakesrc_create),
4440 (gst_fakesrc_start):
4441 remove num-buffers property
4443 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4445 * docs/gst/gstreamer-sections.txt:
4446 * docs/gst/tmpl/gstbasesink.sgml:
4447 * docs/gst/tmpl/gstbasesrc.sgml:
4448 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4449 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4450 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4451 (gst_base_sink_set_property), (gst_base_sink_get_property),
4452 (gst_base_sink_handle_object), (gst_base_sink_event),
4453 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4454 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4455 (gst_base_sink_loop), (gst_base_sink_deactivate),
4456 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4457 (gst_base_sink_change_state):
4458 * gst/base/gstbasesink.h:
4459 * gst/base/gstbasesrc.h:
4460 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4461 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4462 (gst_filesink_init):
4463 more macro splitting
4465 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4467 * gst/gstelement.c: (gst_element_get_bus):
4469 * tools/gst-launch.c: (check_intr), (event_loop):
4472 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4474 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4477 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4479 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4480 (gst_base_src_finalize):
4481 add finalize method and clean up properly
4482 * gst/gstpipeline.c: (gst_pipeline_dispose):
4485 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4487 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4489 add more things to check
4490 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4494 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4496 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4497 (GST_START_TEST), (fakesrc_suite):
4498 * check/gst-libs/gdp.c: (GST_START_TEST):
4499 * check/gst/gst.c: (GST_START_TEST):
4500 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4501 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4502 * check/gst/gstbus.c: (GST_START_TEST):
4503 * check/gst/gstcaps.c: (GST_START_TEST):
4504 * check/gst/gstdata.c: (GST_START_TEST):
4505 * check/gst/gstelement.c: (GST_START_TEST):
4506 * check/gst/gstghostpad.c: (GST_START_TEST):
4507 * check/gst/gstiterator.c: (GST_START_TEST):
4508 * check/gst/gstmessage.c: (GST_START_TEST):
4509 * check/gst/gstobject.c: (GST_START_TEST):
4510 * check/gst/gstpad.c: (GST_START_TEST):
4511 * check/gst/gststructure.c: (GST_START_TEST):
4512 * check/gst/gstsystemclock.c: (GST_START_TEST),
4513 (gst_systemclock_suite):
4514 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4515 * check/gst/gstvalue.c: (GST_START_TEST):
4516 * check/pipelines/cleanup.c: (GST_START_TEST):
4517 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4518 * check/states/sinks.c: (GST_START_TEST):
4519 * check/gstcheck.c: (gst_check_init):
4521 add debugging category
4522 use GST_START_TEST now, so we add a debug line
4524 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4526 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4527 add test for state change message on a bin
4528 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4530 * gst/gstbin.c: (gst_bin_init):
4531 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4532 * gst/gstelement.c: (gst_element_post_message),
4533 (gst_element_set_state):
4534 * gst/gstelementfactory.c: (gst_element_factory_create):
4535 * gst/gstmessage.c: (gst_message_new):
4536 * gst/gstscheduler.c:
4537 various debugging additions and cleanups
4539 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4541 * check/Makefile.am:
4542 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4544 adding tests for elements
4545 * gst/gstelement.c: (gst_element_dispose):
4547 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4549 * gst/registries/gstlibxmlregistry.c: (load_feature):
4550 plug more leaks. A simple gst_init() now is leakfree, yay.
4552 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4554 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4555 (gst_xml_registry_load):
4556 plug another memleak
4558 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4561 use GST_SET_ERROR_CFLAGS
4563 change to ERROR_CFLAGS
4565 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4568 make GST_ERROR_CFLAGS overridable and re-enable Werror
4570 add a note about error CFLAGS
4571 * docs/gst/tmpl/gstfakesrc.sgml:
4572 * gst/elements/gstfakesrc.c:
4573 comment out some unused code
4574 * gst/gst.c: (split_and_iterate):
4575 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4579 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4581 * common/Makefile.am:
4582 * common/gtk-doc.mak:
4583 * docs/gst/Makefile.am:
4584 factor out gtk-doc.mak
4586 2005-07-07 Wim Taymans <wim@fluendo.com>
4588 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4589 (gst_thread_scheduler_dispose):
4590 Unlock the STREAM_LOCK completely.
4592 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4594 * check/Makefile.am:
4595 * check/elements/.cvsignore:
4596 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4597 (START_TEST), (fakesrc_suite), (main):
4598 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4599 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4600 (gst_fakesrc_create), (gst_fakesrc_start):
4601 * gst/elements/gstfakesrc.h:
4602 adding a first element test
4604 2005-07-07 Andy Wingo <wingo@pobox.com>
4606 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4609 2005-07-07 Wim Taymans <wim@fluendo.com>
4615 2005-07-07 Wim Taymans <wim@fluendo.com>
4617 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4618 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4619 Allow subclasses to implement their own negotiation.
4621 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4623 * docs/design/part-gstbin.txt:
4624 * docs/design/part-gstpipeline.txt:
4625 Update design notes to reflect the movement of
4626 responsibility for bus handling from GstPipeline to
4629 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4632 Remove unnecessary queue2/3/4 examples.
4634 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4636 * examples/Makefile.am:
4637 * examples/helloworld/helloworld.c: (event_loop), (main):
4638 * examples/queue/queue.c: (event_loop), (main):
4639 * examples/queue2/queue2.c: (main):
4640 Update a couple of the examples to work again.
4642 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4643 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4644 Spelling corrections and extra debug.
4646 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4647 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4648 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4650 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4651 (gst_pipeline_change_state):
4652 * gst/gstpipeline.h:
4653 Move the bus handler for children to the GstBin, and create a
4654 separate bus for receiving messages from children to the one the
4655 bus sends 'upwards' on.
4657 2005-07-06 Wim Taymans <wim@fluendo.com>
4660 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4661 (gst_base_sink_handle_object), (gst_base_sink_loop),
4662 (gst_base_sink_change_state):
4663 * gst/base/gstbasesink.h:
4664 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4665 (gst_base_src_init), (gst_base_src_setcaps),
4666 (gst_base_src_getcaps), (gst_base_src_loop),
4667 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4668 (gst_base_src_start), (gst_base_src_change_state):
4669 * gst/base/gstbasesrc.h:
4670 Make basesrc negotiate.
4671 Handle the case where preroll fails in basesink.
4674 2005-07-06 Wim Taymans <wim@fluendo.com>
4676 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4677 Implement the fixate function.
4678 Clean up acceptcaps.
4680 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4682 * docs/pwg/building-filterfactory.xml:
4684 Remove never-written filter-factory chapter; I'll add the various
4685 base classes to part 4 ("other element types") later on.
4687 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4689 * docs/pwg/advanced-negotiation.xml:
4690 * docs/pwg/building-boiler.xml:
4691 * docs/pwg/building-pads.xml:
4693 * examples/pwg/Makefile.am:
4694 Add a chapter on caps negotiation, simplify the original code
4695 samples a bit w.r.t. caps negotiation, add link to the advanced
4696 section. Add a bunch of examples showing different use cases of
4697 different types of caps negotiation. Upstream renegotiation isn't
4698 fully documented yet since nobody knows how that works.
4700 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4702 * check/gst/gstpad.c:
4704 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4705 if pad has no parent, return NULL as list of internal links
4707 2005-07-05 Andy Wingo <wingo@pobox.com>
4709 * gst/elements/gstfilesrc.c:
4710 * gst/elements/gstfakesrc.c:
4711 * gst/base/gstpushsrc.c:
4712 * gst/base/gstbasesrc.h:
4713 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4715 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4718 better report generation target (lcov needs a patch)
4720 2005-07-05 Andy Wingo <wingo@pobox.com>
4722 * gst/elements, testsuite: Null if we got it...
4724 2005-07-05 Wim Taymans <wim@fluendo.com>
4727 * libs/gst/dataprotocol/Makefile.am:
4728 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4729 * libs/gst/dataprotocol/dataprotocol.h:
4730 * pkgconfig/Makefile.am:
4731 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4732 * pkgconfig/gstreamer-dataprotocol.pc.in:
4733 Ported dataprotol to 0.9.
4734 Added pkgconfig files.
4736 2005-07-05 Andy Wingo <wingo@pobox.com>
4738 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4739 Default to returning TRUE for the case when tranform_caps returns
4740 a fixed caps, like for identity or volume.
4742 * check/gst/gstbus.c (pound_bus_with_messages):
4743 * check/gst/gstmessage.c (START_TEST):
4744 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4747 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4748 logic weaks here: always run transform_caps, trying passthrough
4749 operation only if the original caps intersects with the transform.
4751 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4752 source and sink caps.
4754 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4755 Intersect the peer caps with the pad template before going into
4757 (gst_base_transform_transform_caps): More debugging.
4759 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4762 2005-07-04 Edward Hervey <edward@fluendo.com>
4766 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4769 2005-07-04 Andy Wingo <wingo@pobox.com>
4771 * check/gst/gstpad.c: Only set explicit caps on pads.
4773 2005-07-01 Andy Wingo <wingo@pobox.com>
4775 * tests/network-clock.scm: Commentary update.
4777 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4778 Didn't really make sense, not implementable with basetransform,
4780 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4781 attempt at implementing the sync property, needs an unlock method.
4783 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4784 New func, by default returns the same caps (the identity
4786 (gst_base_transform_getcaps): Uses transform_caps to return
4788 (gst_base_transform_setcaps): Complicated logic to get caps on
4789 both pads, even if they are different, and to call set_caps once
4790 for every time both pads get their caps set.
4791 (gst_base_transform_handle_buffer): Give the ref to the transform
4792 function. Allows in-place modification of the buffer.
4794 * gst/base/gstbasetransform.h (transform_caps): New class method.
4795 Given caps on one side, what can I do on the other.
4796 (set_caps): Take two caps, one for each side of the element.
4799 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4800 caps in place. This is safe because we can check the mutability of
4801 the caps, and a good idea because fixate functions are just called
4802 as a matter of last resort. (Not actually implemented.)
4803 (gst_pad_set_caps): If the caps we're setting is actually the same
4804 as the existing pad caps, just update the pointer without calling
4805 setcaps. Assert that caps is either NULL or fixed, as per the
4808 * gst/gstghostpad.c: Update for fixate changes.
4810 2005-07-02 Andy Wingo <wingo@pobox.com>
4813 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4814 two refcounts makes it immutable, which is enough. Doc more.
4816 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4818 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4819 Put the mini_object into GValue as a mini_object,
4820 not a gpointer, since that's how we declared
4823 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4825 * examples/pwg/Makefile.am:
4828 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4830 * docs/pwg/building-testapp.xml:
4832 * examples/pwg/Makefile.am:
4835 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4838 * examples/Makefile.am:
4839 * examples/pwg/Makefile.am:
4840 * examples/pwg/extract.pl:
4841 Enable building the PWG examples.
4842 * docs/pwg/advanced-interfaces.xml:
4843 Add URI interface stub.
4844 * docs/pwg/advanced-types.xml:
4845 * docs/pwg/other-autoplugger.xml:
4846 * docs/pwg/appendix-porting.xml:
4848 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4849 * docs/pwg/building-boiler.xml:
4850 * docs/pwg/building-chainfn.xml:
4851 * docs/pwg/building-pads.xml:
4852 * docs/pwg/building-props.xml:
4853 * docs/pwg/building-state.xml:
4854 * docs/pwg/building-testapp.xml:
4855 Update the building-*.xml parts for 0.9 changes. All examples
4856 code blocks compile in examples/pwg/*.
4858 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4860 * docs/manual/advanced-autoplugging.xml:
4861 * docs/manual/appendix-checklist.xml:
4862 * docs/manual/appendix-integration.xml:
4863 * docs/manual/highlevel-components.xml:
4864 Fix playbin/decodebin examples, update docs a bit, mention bus
4865 instead of signals in various places, mention kmplayer and
4866 kaffeine since they have a working GStreamer backend in the KDE
4869 2005-06-30 Wim Taymans <wim@fluendo.com>
4872 * docs/design/draft-ghostpads.txt:
4873 * docs/design/draft-push-pull.txt:
4874 * docs/design/draft-query.txt:
4875 * docs/design/part-TODO.txt:
4876 * docs/design/part-query.txt:
4877 Added CHANGES-0.9 doc, updated status of other docs.
4882 2005-06-30 Wim Taymans <wim@fluendo.com>
4884 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4885 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4886 (gst_base_sink_change_state):
4887 * gst/base/gstbasesink.h:
4888 Some tweaks, only EOS and a buffer complete a preroll.
4890 2005-06-30 Andy Wingo <wingo@pobox.com>
4892 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4893 activate_push down to the internal pad as well.
4895 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4897 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4899 * gst/gsttaginterface.c:
4900 Some documentation fixes (#307394 and #307397).
4902 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4904 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4906 * gst/gstvalue.c: (gst_value_intersect_list):
4907 Fix memleak (#309125).
4909 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4911 * docs/manual/advanced-dataaccess.xml:
4912 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4913 * docs/manual/basics-pads.xml:
4914 Add reference for filtered caps to above chapter.
4916 2005-06-30 Wim Taymans <wim@fluendo.com>
4918 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4919 (gst_bin_change_state):
4921 Lame attempt at making the state change function a bit
4924 2005-06-30 Wim Taymans <wim@fluendo.com>
4926 * docs/design/part-clocks.txt:
4927 * docs/design/part-element-sink.txt:
4928 * docs/design/part-events.txt:
4929 * docs/design/part-preroll.txt:
4930 * docs/design/part-states.txt:
4931 Some more tweeks and additions to the docs.
4933 2005-06-30 Wim Taymans <wim@fluendo.com>
4935 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4936 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4937 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4938 (gst_pad_check_pull_range), (gst_pad_get_range),
4939 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4941 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4942 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4943 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4944 (gst_pad_remove_buffer_probe):
4945 Removed atomic operations, use existing LOCK.
4946 Move exception handling out of main code path.
4948 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4950 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4951 (silly_return_true_function), (gst_pad_class_init),
4952 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4953 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4954 (gst_pad_send_event):
4955 Fix accumulator, add default value by using _emitv() instead
4956 of _emit() for signal emission.
4958 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4960 * docs/manual/advanced-dataaccess.xml:
4961 * examples/manual/Makefile.am:
4963 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4966 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
4968 * gst/elements/gstfilesink.c: (gst_filesink_render):
4969 Simplify code so that we don't have to handle short
4970 writes and return GST_FLOW_ERROR if an error occured.
4972 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4974 * docs/gst/gstreamer-docs.sgml:
4977 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4979 * docs/gst/gstreamer-sections.txt:
4980 * docs/gst/tmpl/gstpad.sgml:
4981 * docs/gst/tmpl/gstprobe.sgml:
4983 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4984 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
4985 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4986 (gst_pad_push_event), (gst_pad_send_event):
4988 * gst/gstutils.c: (gst_pad_add_data_probe),
4989 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4990 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4991 (gst_pad_remove_buffer_probe):
4993 Remove old probes, add new g-signal-based probes and some utility
4996 2005-06-29 Edward Hervey <edward@fluendo.com>
4998 * gst/gstelementfactory.c:
5001 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5002 the definition to the header file.
5004 2005-06-29 Andy Wingo <wingo@pobox.com>
5006 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5007 plugins from the source directory.
5009 2005-06-29 Wim Taymans <wim@fluendo.com>
5011 * docs/gst/tmpl/gstbuffer.sgml:
5012 * docs/gst/tmpl/gstclock.sgml:
5013 Some fixings for blantently wrong text.
5015 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5017 * check/Makefile.am:
5018 * gst/gst.c: (add_path_func), (init_pre):
5019 * gst/gstregistry.c: (gst_registry_add_path):
5020 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5021 only scan the GST_PLUGIN_PATH locations, and not add
5024 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5026 * docs/gst/gstreamer-sections.txt:
5027 * docs/gst/tmpl/gstbasesrc.sgml:
5034 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5036 * docs/manual/advanced-autoplugging.xml:
5037 Fix autoplugging example.
5039 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5041 * docs/manual/advanced-autoplugging.xml:
5042 * docs/manual/mime-world.fig:
5043 Try to get autoplugging working, fix type detection. Fix text
5044 in hello-world image.
5046 2005-06-29 Wim Taymans <wim@fluendo.com>
5048 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5049 (gst_base_sink_change_state):
5053 map SIGNAL and BROADCAST to the right function.
5056 Remove redundant braces.
5058 * gst/gstpad.c: (gst_pad_set_caps):
5059 Don't call setcaps function when reseting caps to NULL.
5061 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5062 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5063 (gst_system_clock_id_unschedule):
5064 Use BROADCAST as this is what we do.
5066 2005-06-29 Wim Taymans <wim@fluendo.com>
5068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5069 We are actually prerolling before commiting the state
5072 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5074 * docs/manual/advanced-clocks.xml:
5075 * docs/manual/advanced-interfaces.xml:
5076 * docs/manual/advanced-metadata.xml:
5077 * docs/manual/advanced-position.xml:
5078 * docs/manual/advanced-schedulers.xml:
5079 * docs/manual/advanced-threads.xml:
5080 * docs/manual/appendix-porting.xml:
5081 * docs/manual/basics-bins.xml:
5082 * docs/manual/basics-bus.xml:
5083 * docs/manual/basics-elements.xml:
5084 * docs/manual/basics-helloworld.xml:
5085 * docs/manual/basics-pads.xml:
5086 * docs/manual/highlevel-components.xml:
5087 * docs/manual/manual.xml:
5088 * docs/manual/thread.fig:
5089 Update (until threads/scheduling) Application Development Manual;
5090 remove GstThread, add GstBus, add simple porting checklist, add
5091 documentation for tag writing, clocks, make all examples until this
5092 part compile and run.
5093 * examples/manual/Makefile.am:
5094 Update from changes to Application Development Manual; add bus
5095 example, remove thread example.
5097 2005-06-28 Wim Taymans <wim@fluendo.com>
5099 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5100 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5101 (gst_bus_source_dispatch):
5102 Add debugging messages.
5103 Make internal methods static.
5104 Handle the case where the bus is flushed in the handler.
5106 * gst/gstelement.c: (gst_element_get_bus):
5107 Fix refcount in _get_bus();
5109 * gst/gstpipeline.c: (gst_pipeline_change_state),
5110 (gst_pipeline_get_clock_func):
5111 Clock refcounting fixes.
5112 Handle the case where preroll timed out more gracefully.
5114 * gst/gstsystemclock.c: (gst_system_clock_dispose):
5115 Clean up the internal thread in dispose. This is needed
5116 for subclasses that actually get disposed.
5118 * gst/schedulers/threadscheduler.c:
5119 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5120 (gst_thread_scheduler_dispose):
5121 Free thread pool in dispose.
5123 2005-06-28 Andy Wingo <wingo@pobox.com>
5125 * tests/network-clock-utils.scm (debug, print-event): New utils.
5127 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5128 (*packet-loss*): Unified loss probability.
5129 (network-time): Report out-of-band events.
5131 * tests/plot-data: Add support for out-of-band events. Hack it
5132 into this script instead of passing it down the pipe; should fix
5135 2005-06-28 Wim Taymans <wim@fluendo.com>
5137 * docs/gst/gstreamer.types:
5138 * docs/gst/tmpl/gstbasesrc.sgml:
5139 * docs/gst/tmpl/gstpad.sgml:
5142 2005-06-28 Wim Taymans <wim@fluendo.com>
5144 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5145 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5146 (gst_proxy_pad_do_fixatecaps):
5147 Correctly proxy the check_pull_range function.
5149 2005-06-28 Andy Wingo <wingo@pobox.com>
5151 * tests/network-clock.scm: Removed need for slib.
5153 2005-06-28 Wim Taymans <wim@fluendo.com>
5155 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5156 (gst_basesink_preroll_queue_flush):
5157 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5158 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5159 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5160 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5161 (gst_proxy_pad_set_property):
5164 * gst/gstqueue.c: (gst_queue_init):
5165 The deprecated pad loop function is removed now.
5167 2005-06-28 Andy Wingo <wingo@pobox.com>
5169 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5170 New parameters, simulate network packet loss.
5172 * tests/network-clock-utils.scm: Initialize the RNG.
5174 2005-06-28 Wim Taymans <wim@fluendo.com>
5176 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5177 (gst_basesink_event), (gst_basesink_deactivate):
5178 Flushing the preroll queue always needs to unlock the waiters.
5180 2005-06-28 Edward Hervey <edward@fluendo.com>
5182 * gst/gstpipeline.c: (gst_pipeline_send_event):
5183 Wheen a seek was successful on a pipeline, set the stream_time to the
5184 seek offset in order to have a synchronized stream_time.
5186 2005-06-28 Wim Taymans <wim@fluendo.com>
5188 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5189 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5190 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5191 (gst_proxy_pad_do_fixatecaps):
5192 Call wrapper function instead of just calling the function
5193 pointers. This takes care of any locking and whatmore.
5195 2005-06-28 Wim Taymans <wim@fluendo.com>
5197 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5198 (gst_pad_pull_range):
5200 CONNECTED -> LINKED.
5202 2005-06-28 Andy Wingo <wingo@pobox.com>
5204 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5205 source-munging commit!!!
5207 * gst/gstobject.c (gst_object_unref, gst_object_ref)
5208 (gst_object_sink): Take gpointer arguments, not GstObject --
5209 avoids casts. Like GLib.
5211 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5214 2005-06-27 Andy Wingo <wingo@pobox.com>
5216 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5219 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5220 returns a sorted copy of the trace list.
5221 (gst_alloc_trace_print_live): New API, only prints traces with
5222 live objects. Sort the list.
5223 (gst_alloc_trace_print_all): Sort the list.
5224 (gst_alloc_trace_print): Align columns.
5226 * gst/elements/gstttypefindelement.c:
5227 * gst/elements/gsttee.c:
5228 * gst/base/gstbasesrc.c:
5229 * gst/base/gstbasesink.c:
5230 * gst/base/gstbasetransform.c:
5231 * gst/gstqueue.c: Adapt for pad activation changes.
5233 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5235 (gst_pipeline_dispose): Drop ref on sched.
5237 * gst/gstpad.c (gst_pad_init): Set the default activate func.
5238 (gst_pad_activate_default): Push mode by default.
5239 (pre_activate_switch, post_activate_switch): New stubs, things to
5240 do before and after switching activation modes on pads.
5241 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5242 the pad's activate function to choose which mode to activate.
5243 Shortcut on deactivation and call the right function directly.
5244 (gst_pad_activate_pull): New API, (de)activates a pad in pull
5246 (gst_pad_activate_push): New API, same for push mode.
5247 (gst_pad_set_activate_function)
5248 (gst_pad_set_activatepull_function)
5249 (gst_pad_set_activatepush_function): Setters for new API.
5251 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5252 Trace all miniobjects.
5253 (gst_mini_object_make_writable): Unref the arg if we copy, like
5254 gst_caps_make_writable.
5256 * gst/gstmessage.c (_gst_message_initialize): No trace init.
5258 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
5259 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5260 Adapt for new pad API.
5262 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5265 * gst/gstelement.c (gst_element_iterate_src_pads)
5266 (gst_element_iterate_sink_pads): New API functions.
5268 * gst/gstelement.c (iterator_fold_with_resync): New utility,
5269 should fold into gstiterator.c in some form.
5270 (gst_element_pads_activate): Simplified via use of fold and
5271 delegation of decisions to gstpad->activate.
5273 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5276 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5277 class once in init, like gstmessage. Didn't run into this issue
5278 but it seems correct. Don't initialize a trace, gstminiobject does
5281 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5282 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5284 (assert_live_count): New util function, uses alloc traces to check
5287 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5288 To be modified when unlink drops the internal pad.
5290 2005-06-27 Wim Taymans <wim@fluendo.com>
5292 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5293 (gst_bin_change_state):
5294 Cleanup the get_state() function a little, make sure it
5295 iterates the same set of elements.
5296 Added stub iterate_state_order().
5298 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
5300 * docs/gst/gstreamer-docs.sgml:
5301 * docs/gst/gstreamer-sections.txt:
5302 * docs/gst/gstreamer.types:
5303 * docs/gst/tmpl/gstbasesink.sgml:
5304 * docs/gst/tmpl/gstbasesrc.sgml:
5305 * docs/gst/tmpl/gstbasetransform.sgml:
5306 * docs/gst/tmpl/gstelement.sgml:
5307 * docs/gst/tmpl/gstiterator.sgml:
5308 * gst/base/gstbasesrc.c:
5309 * gst/base/gstbasesrc.h:
5310 * gst/base/gstbasetransform.h:
5312 * gst/gstiterator.h:
5313 adding basetransform and iterator docs
5315 2005-06-27 Andy Wingo <wingo@pobox.com>
5317 * docs/design/part-activation.txt: Notes on how activation should
5318 work -- not quite implemented yet.
5320 2005-06-25 Wim Taymans <wim@fluendo.com>
5322 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5323 At least get the chain function correct, needs more
5326 2005-06-25 Wim Taymans <wim@fluendo.com>
5328 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5329 (gst_basesink_handle_object), (gst_basesink_event),
5330 (gst_basesink_do_sync), (gst_basesink_handle_event),
5331 (gst_basesink_change_state):
5333 Right, two problems here: ghostpads don't take locks and
5334 glib _rec_mutex_lock_full() with depth==0 still locks.
5335 Catch illegal locking and g_warn them.
5337 2005-06-25 Wim Taymans <wim@fluendo.com>
5339 * check/states/sinks.c: (START_TEST), (gst_object_suite):
5340 Have to check for completion now...
5342 2005-06-25 Wim Taymans <wim@fluendo.com>
5344 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5345 (gst_basesink_handle_object), (gst_basesink_event),
5346 (gst_basesink_do_sync), (gst_basesink_handle_event),
5347 (gst_basesink_change_state):
5349 Unlock STREAM_LOCK whatever the recursion was.
5351 2005-06-25 Wim Taymans <wim@fluendo.com>
5353 * gst/base/gstbasesink.c: (gst_basesink_set_property),
5354 (gst_basesink_preroll_queue_empty),
5355 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5356 (gst_basesink_event), (gst_basesink_do_sync),
5357 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5358 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5359 (gst_basesink_change_state):
5360 Reworked the base sink, handle event and buffer serialisation
5361 correctly and removed possible deadlock.
5362 Handle EOS correctly.
5364 2005-06-25 Wim Taymans <wim@fluendo.com>
5366 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5367 (gst_pipeline_change_state):
5368 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5369 Allow elements to post EOS in the state change function.
5370 Fix up -launch, make it exit the poll loop when the
5371 pipeline actually changed state.
5372 Fix up warning parsing in -launch.
5374 2005-06-25 Wim Taymans <wim@fluendo.com>
5376 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5377 (gst_tee_sink_activate):
5378 Core takes STREAM_LOCK for us now.
5380 2005-06-25 Wim Taymans <wim@fluendo.com>
5382 * gst/gstelement.c: (gst_element_get_state_func),
5383 (gst_element_set_state):
5385 * gst/gstmessage.c: (gst_message_parse_error),
5386 (gst_message_parse_warning):
5387 Keep track of current target state while performing a state
5388 change so that subclasses can do something interesting.
5389 Fix parsing of warning/error messages when GError is NULL.
5391 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5393 * docs/gst/Makefile.am:
5394 * docs/gst/gstreamer-docs.sgml:
5395 * docs/gst/gstreamer-sections.txt:
5396 * docs/gst/gstreamer.types:
5397 * docs/gst/tmpl/gstbasesink.sgml:
5398 * docs/gst/tmpl/gstbasesrc.sgml:
5399 * docs/gst/tmpl/gstbin.sgml:
5400 * docs/gst/tmpl/gstcompat.sgml:
5401 * docs/gst/tmpl/gstfakesink.sgml:
5402 * docs/gst/tmpl/gstfakesrc.sgml:
5403 * docs/gst/tmpl/gstfilesink.sgml:
5404 * docs/gst/tmpl/gstfilesrc.sgml:
5405 * docs/gst/tmpl/gstindex.sgml:
5406 * docs/manual/appendix-quotes.xml:
5407 * gst/base/gstbasesrc.h:
5408 * gst/elements/gstfakesrc.h:
5410 start pulling in base classes and elements in our docs
5412 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5414 * docs/gst/Makefile.am:
5415 * docs/libs/Makefile.am:
5416 fixed make distcheck with gtk-doc 1.3
5418 2005-06-23 Wim Taymans <wim@fluendo.com>
5420 * gst/gstelement.c: (gst_element_get_state_func),
5421 (gst_element_set_state), (gst_element_change_state):
5422 When the state did not change, also report NO_PREROLL
5425 2005-06-23 Wim Taymans <wim@fluendo.com>
5427 * gst/gstpad.c: (gst_pad_event_default):
5428 * gst/gstqueue.c: (gst_queue_loop):
5429 No unsafe task pausing please.
5431 2005-06-23 Wim Taymans <wim@fluendo.com>
5433 * gst/schedulers/threadscheduler.c:
5434 (gst_thread_scheduler_task_start),
5435 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5436 Ref the task before pushing it on the threadpool. This
5437 makes sure that we have a ref when the threadfunction is
5440 2005-06-23 Andy Wingo <wingo@pobox.com>
5442 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5443 offset is greater than the file's size.
5445 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5446 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5447 * gst/gstobject.c (gst_object_class_init): Make the class lock
5448 recursive. Wim won't let me drop deep_notify. Decodebin works
5451 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5452 internal pad, and hacks accordingly. Doesn't do it on the target
5453 pad because we change its caps. Probably catches all cases of
5455 (gst_ghost_pad_set_property): Connect to notify::caps as
5458 * tests/network-clock.scm (plot-simulation): Pipe data to the
5459 elite python skript.
5461 * tests/network-clock-utils.scm (define-parameter): New macro,
5462 defines a parameter that can be set via the command line.
5463 (set-parameter!, parse-parameter-arguments): Command line args
5466 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5469 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5471 * gst/elements/gsttypefindelement.c:
5472 (gst_type_find_element_handle_event):
5473 Don't restart typefinding on a discont.
5474 * gst/gstelement.c: (gst_element_set_state):
5476 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5477 Allow changing mode of an active pad.
5479 * gst/registries/gstlibxmlregistry.c: (load_feature):
5480 Don't cast a static pad template to a normal pad template.
5482 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5484 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5485 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5486 remove gst_strtoll completely, since it didn't actually do
5487 anything more than what g_ascii_strtoull already does.
5488 check for range errors when deserializing
5489 do a cast for the unsigned cases; but further fixing needs
5490 a decision on what the interpretation of "(int)" and
5491 deserialization should be for values that fall outside the
5492 type's boundaries (ie, refuse, or interpret as casting)
5494 2005-06-23 Wim Taymans <wim@fluendo.com>
5496 * check/Makefile.am:
5497 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5498 * docs/design/part-live-source.txt:
5499 * docs/design/part-states.txt:
5500 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5501 (gst_basesrc_set_live), (gst_basesrc_is_live),
5502 (gst_basesrc_get_range), (gst_basesrc_activate),
5503 (gst_basesrc_change_state):
5504 * gst/base/gstbasesrc.h:
5505 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5506 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5507 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5508 * gst/gstelement.c: (gst_element_get_state_func),
5509 (gst_element_set_state):
5512 * tools/gst-launch.c: (event_loop), (main):
5513 Added support for live sources and other elements that
5515 Updated design docs, added live-source design doc.
5516 Implemented live source functionality in basesrc
5517 Fix error condition in _bin_get_state()
5518 Implement live source handling in -launch.
5519 Added check for live sources.
5520 Fixed case in GstBin where elements were changed state
5524 2005-06-23 Andy Wingo <wingo@pobox.com>
5526 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5529 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5530 gst_caps_replace takes care of this for us.
5532 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5533 gst_pad_set_caps on the target, not just its setcaps() function.
5535 * tests/network-clock.scm:
5536 * tests/network-clock-utils.scm: A network clock simulator.
5537 Something of an algorithmic testbed before doing something in C.
5539 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5541 * check/Makefile.am:
5542 * check/gst/capslist.h:
5543 copy over from 0.8, and add two with bitmasks specified with
5545 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5546 add test to parse everything from capslist.h
5547 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5549 add test for structure deserialization
5550 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5551 add tests for deserialization of strings to int types
5552 * gst/gststructure.c: (gst_structure_nth_field_name):
5553 * gst/gststructure.h:
5554 add a way to get the name of a field referenced by index
5555 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5556 instead of checking if the resulting long long lies between
5557 min and max, we check if the long long would fit into
5558 a number of bytes for the final type.
5559 This fixes cases where a string represents 2^32 - 1, which
5560 when cast to int would be the (valid) -1, but is bigger than
5563 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5565 * gst/parse/grammar.y:
5566 add a log line for type deserialization
5568 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5570 * check/gst/gstvalue.c: (START_TEST):
5571 * gst/gstvalue.c: (gst_value_deserialize):
5572 return long long, not int, so gint64 deserialization actually
5573 works. Is there any flag that makes the compiler check this ?
5576 2005-06-22 Wim Taymans <wim@fluendo.com>
5579 Added convenience macros for setting buffers in GValue.
5581 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5583 * check/gst/.cvsignore:
5584 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5585 add a test deserializing int64, and comment part out because
5588 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5590 * check/Makefile.am:
5591 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5592 * testsuite/Makefile.am:
5593 * testsuite/caps/Makefile.am:
5594 * testsuite/caps/value_serialize.c:
5595 * testsuite/test_gst_init.c:
5596 move a value_serialize test over
5598 2005-06-20 Wim Taymans <wim@fluendo.com>
5603 * gst/gstvalue.c: (gst_value_compare_buffer),
5604 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5605 (gst_value_compare_flags), (gst_value_serialize_flags),
5606 (gst_value_deserialize_flags), (_gst_value_initialize):
5607 Fix serialisation of buffers, they are not boxed types anymore
5609 2005-06-20 Wim Taymans <wim@fluendo.com>
5611 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5612 Testcase to show error in buffer-on-caps serialisation.
5614 2005-06-20 Andy Wingo <wingo@pobox.com>
5616 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5617 will be adding to later.
5619 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5620 if its socks fill with rocks.
5621 (gst_system_clock_obtain): Set the name on object construction.
5622 Avoid double-checked locking.
5624 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
5626 * gst/gsturi.c: (gst_element_make_from_uri):
5627 Fix potential endless loop.
5629 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5631 * check/Makefile.am:
5633 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5635 move over from testsuite dir and clean up
5638 * testsuite/Makefile.am:
5639 * testsuite/tags/.cvsignore:
5640 * testsuite/tags/Makefile.am:
5641 * testsuite/tags/merge.c:
5642 remove testsuite/tags
5644 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5646 * docs/gst/gstreamer-sections.txt:
5647 * docs/gst/tmpl/gstenumtypes.sgml:
5648 * win32/gstenumtypes.c:
5649 clean up documentation build a little
5651 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5654 add macros for checking refcounts on objects and caps
5655 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5656 add some more unit tests
5657 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5658 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5659 fix leaked refcounts (I hope :)) so unittest works
5663 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5665 * configure.ac: back to HEAD
5667 === release 0.9.1 ===
5669 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5675 2005-06-17 Andy Wingo <wingo@pobox.com>
5677 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5678 assert; it's always possible that the pad gets deactivated in
5679 between the checks in gstpad.c and the implementation. Rely on
5680 finish_preroll() to return a FLUSHING or similar instead of on the
5683 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5684 clock and post an EOS message if we come out of finish_preroll in
5687 2005-06-16 David Schleef <ds@schleef.org>
5689 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5690 (gst_capsfilter_set_property): Allow NULL as possible value
5691 for filter_caps property, indicating GST_CAPS_ANY.
5693 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5695 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5697 * gst/schedulers/Makefile.am:
5699 * gstreamer.spec.in:
5702 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5704 * gstreamer.spec.in:
5707 2005-06-08 Andy Wingo <wingo@pobox.com>
5709 * gst/gstutils.c: RPAD fixes all around.
5710 (gst_element_link_pads): Refcounting fixes.
5712 * tools/gst-inspect.c:
5713 * tools/gst-xmlinspect.c:
5715 * gst/base/gsttypefindhelper.c:
5716 * gst/base/gstbasesink.c:
5717 * gst/gstqueue.c: RPAD fixes.
5719 * gst/gstghostpad.h:
5720 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5721 pads. The tricky thing is they provide both source and sink
5722 interfaces, since they proxy the internal pad for the external
5723 pad, and vice versa. Implement with lower-level ProxyPad objects,
5724 with the interior proxy pad as a child of the exterior ghost pad.
5725 Should write a doc on this.
5727 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5728 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5731 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5732 pads are real pads. No ghost pads in this file. Not documenting
5733 the myriad s/RPAD/PAD/ and REALIZE fixes.
5734 (gst_pad_class_init): Add properties for "direction" and
5735 "template". Both are construct-only, so they can't change during
5736 the life of the pad. Fixes properly deriving from GstPad.
5737 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5738 derived objects, just set properties when creating the objects via
5740 (gst_pad_get_parent): Implement as a function, return NULL if the
5741 parent is not an element.
5742 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5743 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5745 * gst/gstobject.c (gst_object_class_init): Make name a construct
5746 property. Don't set it in the object init.
5748 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5749 with UNKNOWN direction.
5750 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5751 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5752 (gst_element_remove_pad): Remove ghost-pad special cases.
5753 (gst_element_pads_activate): Remove rpad cruft.
5755 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5756 catch the pad's-parent-not-an-element case.
5758 * gst/gst.h: Include gstghostpad.h.
5760 * gst/gst.c (init_post): No more real, ghost pads.
5762 * gst/Makefile.am: Add gstghostpad.[ch].
5764 * check/Makefile.am:
5765 * check/gst/gstbin.c:
5766 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5767 into a bin creates ghost pads, and that the refcounts are right.
5768 Partly moved from gstbin.c.
5770 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5772 * check/gst-libs/.cvsignore:
5773 * check/gst/.cvsignore:
5774 * check/pipelines/.cvsignore:
5776 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5777 (START_TEST), (cleanup_suite), (main):
5778 add some tests related to cleanup after running pipelines
5780 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5782 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5783 add a testsuite for GstBuffer
5785 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5787 * gst/gstminiobject.h:
5788 add defines for accessing the refcount
5790 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5792 * Makefile.am: added support for html unit test coverage reports
5794 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5796 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5797 Free existing caps if the capsfilter changes. Add a FIXME about
5798 setting those caps on the pads.
5800 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5801 Before adding a ghost pad to a parent bin, check that there isn't
5802 already one for the element on the bin. Prevents infinite recursion
5803 when using decodebin in parse pipelines. Andy says he'll rewrite the
5804 way this works anyway, so ignore the hack.
5806 2005-06-02 Andy Wingo <wingo@pobox.com>
5808 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5809 file size, pass it on to the type find helper.
5811 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5812 segment_start and segment_end properly according to the seek
5813 method. Segment_end is still a bit flaky because offset can be
5814 negative for CUR and END cases, but it takes -1 as an "unset"
5817 2005-06-02 Wim Taymans <wim@fluendo.com>
5819 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5820 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5821 (gst_basesink_activate):
5822 * gst/base/gstbasesink.h:
5823 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5824 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5825 (gst_pad_query), (gst_pad_start_task):
5827 * gst/gstqueue.c: (gst_queue_bufferalloc),
5828 (gst_queue_handle_sink_event), (gst_queue_chain):
5829 Bufferalloc: return GstFlowReturn to more accuratly report
5830 why allocation failed.
5832 2005-06-02 Wim Taymans <wim@fluendo.com>
5834 * gst/gstpipeline.c: (gst_pipeline_send_event):
5835 Take snapshot of state without blocking.
5837 2005-06-02 Wim Taymans <wim@fluendo.com>
5839 * docs/design/part-TODO.txt:
5840 * docs/design/part-caps.txt:
5841 * docs/design/part-clocks.txt:
5842 * docs/design/part-negotiation.txt:
5843 * docs/design/part-preroll.txt:
5846 2005-05-30 Wim Taymans <wim@fluendo.com>
5848 * gst/elements/gstidentity.c: (gst_identity_event),
5849 (gst_identity_transform), (gst_identity_get_property):
5850 Protect last_message property as it is accessed from
5853 2005-05-30 Wim Taymans <wim@fluendo.com>
5855 * gst/gstelement.c: (gst_element_init),
5856 (gst_element_pads_activate), (gst_element_change_state):
5857 Slicker pad activation code.
5859 2005-05-30 Wim Taymans <wim@fluendo.com>
5863 * gst/gstelementfactory.h:
5865 Move elementfactory methods to separate .h file.
5867 2005-05-30 Wim Taymans <wim@fluendo.com>
5869 * docs/design/part-overview.txt:
5870 * gst/gstsystemclock.h:
5871 Small typo fixes, doc updates.
5873 2005-05-30 Wim Taymans <wim@fluendo.com>
5875 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5876 (init_popt_callback):
5877 Remove cpu-opt flag.
5879 2005-05-30 Wim Taymans <wim@fluendo.com>
5881 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5882 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5884 Avoid typechecking in places where not needed.
5885 Added accessor for malloc_data.
5887 2005-05-30 Wim Taymans <wim@fluendo.com>
5889 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5890 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5891 (gst_pad_configure_sink), (gst_pad_configure_src),
5892 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5893 (gst_pad_start_task):
5894 Propagate errors from _set_caps() in configure_src/sink
5895 functions instead of returning TRUE.
5896 FLUSH events can travel up and downstream
5899 2005-05-30 Wim Taymans <wim@fluendo.com>
5901 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5902 (gst_basesink_activate):
5903 Handle EOS in preroll.
5905 2005-05-30 Wim Taymans <wim@fluendo.com>
5907 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5908 (gst_queue_loop), (gst_queue_handle_src_event):
5909 Remove old pieces of code
5910 Flushing the queue in an upstream event is a very bad idea.
5912 2005-05-26 Andy Wingo <wingo@pobox.com>
5914 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5915 gst_value_set_mini_object so as to add a ref on the object (which
5916 will be removed when the value is unset).
5918 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5919 arg type in ::handoff.
5921 * gst/gstelement.c (gst_element_change_state): Also deactivate
5922 pads in READY->NULL, just in case the element didn't make it to
5923 PAUSED. Wingo tested, Wim approved.
5925 2005-05-26 Wim Taymans <wim@fluendo.com>
5927 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5928 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5929 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5930 A flushing pad cannot be used to alloc_buffer from.
5932 2005-05-26 Wim Taymans <wim@fluendo.com>
5934 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5935 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5936 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5937 (gst_bus_create_watch), (gst_bus_add_watch_full):
5939 Implement a real GSource and use g_main_context_wakeup() to
5940 signal new messages instead of the socketpair.
5942 2005-05-25 Wim Taymans <wim@fluendo.com>
5944 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5945 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5946 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5947 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5948 (gst_pad_send_event), (gst_pad_start_task):
5949 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5950 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5951 (gst_queue_sink_activate), (gst_queue_src_activate),
5952 (gst_queue_change_state):
5954 Fix state changes for non sinks. We now change sinks, then elements
5955 with unconnected srcpads, then the rest.
5956 More efficient queue unlocking in flush and state changes.
5957 Set the pad activate mode even if it does not have an activate
5960 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5962 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5963 Don't go in pull mode for non-seekable sources.
5964 * gst/elements/gsttypefindelement.h:
5965 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5966 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5967 (free_entry), (stop_typefinding),
5968 (gst_type_find_element_handle_event), (find_peek),
5969 (gst_type_find_element_chain), (do_pull_typefind),
5970 (gst_type_find_element_change_state):
5971 Allow typefinding (w/o seeking) in push-mode, simplified version
5973 * gst/gstutils.c: (gst_buffer_join):
5975 gst_buffer_join() from 0.8.
5977 2005-05-25 Wim Taymans <wim@fluendo.com>
5979 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5980 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5981 (gst_pad_send_event), (gst_pad_start_task):
5982 Disable attempt at mode switching until it is figured out.
5984 2005-05-25 Wim Taymans <wim@fluendo.com>
5986 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
5987 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5988 (gst_basesink_finish_preroll), (gst_basesink_chain),
5989 (gst_basesink_loop), (gst_basesink_activate),
5990 (gst_basesink_change_state):
5991 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
5992 (gst_basesrc_get_range), (gst_basesrc_loop),
5993 (gst_basesrc_activate):
5994 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5995 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5996 (gst_real_pad_init), (gst_real_pad_set_property),
5997 (gst_real_pad_get_property), (gst_pad_set_active),
5998 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
5999 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6000 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6001 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6002 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6003 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6004 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6005 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6006 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6007 (gst_pad_stop_task):
6009 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6010 (gst_queue_loop), (gst_queue_src_activate):
6011 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6012 (gst_task_get_state):
6014 * gst/schedulers/threadscheduler.c:
6015 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6016 Implement gst_pad_pause/start/stop_task(), take STREAM lock
6018 Remove ACTIVE pad flag, use FLUSHING everywhere
6019 Added _pad_chain(), _pad_get_range() to call chain/getrange
6021 Add locks around IS_FLUSHING when reading.
6022 Take STREAM lock in chain(), get_range() functions so plugins
6023 don't need to take it anymore.
6027 2005-05-25 Wim Taymans <wim@fluendo.com>
6029 * tools/gst-launch.c: (event_loop):
6030 Unref message after using its contents instead of
6033 2005-05-24 Wim Taymans <wim@fluendo.com>
6035 * docs/design/draft-ghostpads.txt:
6036 * docs/design/draft-push-pull.txt:
6037 * docs/design/draft-query.txt:
6038 * docs/design/part-overview.txt:
6039 Docs updates, added general overview doc.
6041 2005-05-21 David Schleef <ds@schleef.org>
6043 * docs/gst/tmpl/old/GstBin.sgml:
6044 * docs/gst/tmpl/old/GstBuffer.sgml:
6045 * docs/gst/tmpl/old/GstCaps.sgml:
6046 * docs/gst/tmpl/old/GstClock.sgml:
6047 * docs/gst/tmpl/old/GstCompat.sgml:
6048 * docs/gst/tmpl/old/GstData.sgml:
6049 * docs/gst/tmpl/old/GstElement.sgml:
6050 * docs/gst/tmpl/old/GstEvent.sgml:
6051 * docs/gst/tmpl/old/GstIndex.sgml:
6052 * docs/gst/tmpl/old/GstStructure.sgml:
6053 * docs/gst/tmpl/old/GstTag.sgml:
6054 * docs/gst/tmpl/old/cothreads.sgml:
6055 * docs/gst/tmpl/old/cothreads_compat.sgml:
6056 * docs/gst/tmpl/old/gettext.sgml:
6057 * docs/gst/tmpl/old/gobject2gtk.sgml:
6058 * docs/gst/tmpl/old/grammar.tab.sgml:
6059 * docs/gst/tmpl/old/gst-i18n-app.sgml:
6060 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6061 * docs/gst/tmpl/old/gst_private.sgml:
6062 * docs/gst/tmpl/old/gstaggregator.sgml:
6063 * docs/gst/tmpl/old/gstarch.sgml:
6064 * docs/gst/tmpl/old/gstatomic_impl.sgml:
6065 * docs/gst/tmpl/old/gstbufferstore.sgml:
6066 * docs/gst/tmpl/old/gstdata_private.sgml:
6067 * docs/gst/tmpl/old/gstdisksink.sgml:
6068 * docs/gst/tmpl/old/gstdisksrc.sgml:
6069 * docs/gst/tmpl/old/gstelementfactory.sgml:
6070 * docs/gst/tmpl/old/gstextratypes.sgml:
6071 * docs/gst/tmpl/old/gstfakesink.sgml:
6072 * docs/gst/tmpl/old/gstfakesrc.sgml:
6073 * docs/gst/tmpl/old/gstfdsink.sgml:
6074 * docs/gst/tmpl/old/gstfdsrc.sgml:
6075 * docs/gst/tmpl/old/gstfilesink.sgml:
6076 * docs/gst/tmpl/old/gstfilesrc.sgml:
6077 * docs/gst/tmpl/old/gsthttpsrc.sgml:
6078 * docs/gst/tmpl/old/gstidentity.sgml:
6079 * docs/gst/tmpl/old/gstindexfactory.sgml:
6080 * docs/gst/tmpl/old/gstmarshal.sgml:
6081 * docs/gst/tmpl/old/gstmd5sink.sgml:
6082 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6083 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6084 * docs/gst/tmpl/old/gstpadtemplate.sgml:
6085 * docs/gst/tmpl/old/gstpipefilter.sgml:
6086 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6087 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6088 * docs/gst/tmpl/old/gstshaper.sgml:
6089 * docs/gst/tmpl/old/gstspider.sgml:
6090 * docs/gst/tmpl/old/gstspideridentity.sgml:
6091 * docs/gst/tmpl/old/gststatistics.sgml:
6092 * docs/gst/tmpl/old/gsttee.sgml:
6093 * docs/gst/tmpl/old/gsttimecache.sgml:
6094 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6095 * docs/gst/tmpl/old/gstxmlregistry.sgml:
6096 * docs/gst/tmpl/old/gthread-cothreads.sgml:
6097 * docs/gst/tmpl/old/types.sgml:
6098 I didn't intend to add these or check them in.
6100 2005-05-19 David Schleef <ds@schleef.org>
6102 * configure.ac: Use -no-common everywhere. In a sane world, it
6103 would be the default in libtool, because without it, you can't
6104 build DLLs on Windows.
6105 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6106 * docs/gst/gstreamer-sections.txt:
6107 * docs/gst/tmpl/gstcpu.sgml:
6108 * docs/gst/tmpl/gstdata.sgml:
6109 * docs/gst/tmpl/gstthread.sgml:
6111 2005-05-19 David Schleef <ds@schleef.org>
6113 * gst/gstminiobject.c: (gst_value_set_mini_object),
6114 (gst_value_take_mini_object), (gst_value_get_mini_object):
6115 * gst/gstminiobject.h: Add GValue set/get functions.
6117 2005-05-19 Wim Taymans <wim@fluendo.com>
6119 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6120 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6121 (gst_subbuffer_init), (gst_buffer_is_span_fast):
6123 * gst/gstbus.c: (gst_bus_post):
6124 * gst/gstelement.c: (gst_element_get_random_pad):
6125 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6126 Make subbufer unref the parent in finalize.
6127 some more debugging info.
6130 2005-05-19 Wim Taymans <wim@fluendo.com>
6132 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6133 (gst_basesink_init), (gst_basesink_finalize),
6134 (gst_basesink_activate), (gst_basesink_change_state):
6135 Don't free preroll queue too early.
6137 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6141 Hi, I'm outdated. Please shoot me.
6143 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6145 * gst/gstpipeline.c: (gst_pipeline_send_event):
6146 Do not access variables after they have been deleted.
6148 2005-05-19 Wim Taymans <wim@fluendo.com>
6150 * tools/gst-inspect.c: (print_plugin_features):
6151 A plugin feature does unfortunatly not use the
6154 2005-05-18 Wim Taymans <wim@fluendo.com>
6156 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6157 Port _span() functions to new subbuffers.
6159 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6161 * gst/gstbin.c: (gst_bin_add_func):
6162 Fix clock settery in bins when adding kids after the clock has
6165 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6167 * gst/elements/gstidentity.c: (gst_identity_class_init):
6168 Workaround until signals support GstMiniObject.
6170 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6173 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6175 2005-05-18 Wim Taymans <wim@fluendo.com>
6177 * gst/base/Makefile.am:
6178 * gst/base/gstadapter.c: (gst_adapter_base_init),
6179 (gst_adapter_class_init), (gst_adapter_init),
6180 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6181 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6182 (gst_adapter_flush), (gst_adapter_available),
6183 (gst_adapter_available_fast):
6184 * gst/base/gstadapter.h:
6185 Ported and added adapter to the base classes.
6187 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6191 Make sure the class is reffed/unreffed once before threads can be
6192 used. Fixes #304551.
6194 2005-05-17 Wim Taymans <wim@fluendo.com>
6196 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6197 (gst_basesink_chain_unlocked), (gst_basesink_activate):
6198 * gst/gstminiobject.c: (gst_mini_object_get_type),
6199 (gst_mini_object_free):
6200 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6201 (gst_pad_push), (gst_pad_push_event):
6202 * gst/gstqueue.c: (gst_queue_change_state):
6203 Don't queue buffers in basesink when we are flushing.
6204 Unref buffer when flushing in basesink.
6205 Flush queue when going to READY
6206 Unref buffer when _push() returns an error.
6207 Don't free MiniObject instance when refcount is incremented
6208 in _finalize() so that we can recover objects.
6210 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
6212 * docs/manual/advanced-schedulers.xml:
6213 * docs/manual/appendix-checklist.xml:
6214 * docs/pwg/advanced-clock.xml:
6215 * docs/pwg/advanced-interfaces.xml:
6216 * docs/pwg/advanced-request.xml:
6217 * docs/pwg/advanced-types.xml:
6218 * docs/pwg/intro-preface.xml:
6219 * examples/plugins/example.c: (gst_example_get_type),
6220 (gst_example_class_init), (gst_example_chain),
6221 (gst_example_set_property), (gst_example_get_property),
6222 (gst_example_change_state), (plugin_init):
6223 * examples/plugins/example.h:
6226 2005-05-17 Wim Taymans <wim@fluendo.com>
6228 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6229 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6230 * gst/gstqueue.c: (gst_queue_change_state):
6231 Clear queue when going to READY.
6232 Remove IN_SETCAPS flag too.
6234 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
6236 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6237 Remove implicit cast from gboolean to GstElementStateReturn;
6238 make sure we still return failure in paused => ready case if
6239 the parent class fails to change state and our own stop
6242 2005-05-17 Wim Taymans <wim@fluendo.com>
6244 * tools/gst-launch.c: (event_loop):
6245 Message was unreffed too soon.
6247 2005-05-16 Andy Wingo <wingo@pobox.com>
6249 * gst/gstbin.c (sink_iterator_filter): Err... um...
6251 * check/gst/gstbin.c (test_ghost_pads): New test for the
6252 ghosting-if-elements-not-in-same-bin behavior.
6254 2005-05-16 David Schleef <ds@schleef.org>
6256 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6257 accessing refcount directly.
6259 2005-05-15 David Schleef <ds@schleef.org>
6261 * check/Makefile.am: remove GstData checks
6262 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6263 * gst/Makefile.am: add miniobject, remove data
6264 * gst/gst.h: add miniobject, remove data
6265 * gst/gstdata.c: remove
6266 * gst/gstdata.h: remove
6267 * gst/gstdata_private.h: remove
6268 * gst/gsttypes.h: remove GstEvent and GstMessage
6269 * gst/gstelement.c: (gst_element_post_message): fix for API changes
6270 * gst/gstmarshal.list: change BOXED -> OBJECT
6272 Implement GstMiniObject.
6273 * gst/gstminiobject.c:
6274 * gst/gstminiobject.h:
6276 Modify to be subclasses of GstMiniObject.
6277 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6278 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6279 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6280 (gst_subbuffer_get_type), (gst_subbuffer_init),
6281 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6284 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6285 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6286 (_gst_event_copy), (gst_event_new):
6288 * gst/gstmessage.c: (_gst_message_initialize),
6289 (gst_message_get_type), (gst_message_class_init),
6290 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6291 (gst_message_new), (gst_message_new_error),
6292 (gst_message_new_warning), (gst_message_new_tag),
6293 (gst_message_new_state_changed), (gst_message_new_application):
6295 * gst/gstprobe.c: (gst_probe_perform),
6296 (gst_probe_dispatcher_dispatch):
6298 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6299 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6300 (_gst_query_copy), (gst_query_new):
6302 Update elements for GstData -> GstMiniObject changes
6304 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6305 (gst_queue_chain), (gst_queue_loop):
6306 * gst/elements/gstbufferstore.c:
6307 (gst_buffer_store_add_buffer_func),
6308 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6309 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6310 (gst_fakesink_render):
6311 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6312 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6313 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6314 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6315 (gst_filesrc_create_read):
6316 * gst/elements/gstidentity.c: (gst_identity_class_init):
6317 * gst/elements/gsttypefindelement.c:
6318 (gst_type_find_element_src_event), (free_entry_buffers),
6319 (gst_type_find_element_handle_event):
6320 * libs/gst/dataprotocol/dataprotocol.c:
6321 (gst_dp_header_from_buffer):
6322 * libs/gst/dataprotocol/dataprotocol.h:
6323 * libs/gst/dataprotocol/dp-private.h:
6325 2005-05-15 David Schleef <ds@schleef.org>
6327 * gst/elements/gstelements.c: Don't include headers that were
6330 2005-05-15 David Schleef <ds@schleef.org>
6332 * gst/elements/Makefile.am: Remove some elements that don't
6333 need to be in the core (or even exist at all).
6334 * gst/elements/gstaggregator.c:
6335 * gst/elements/gstaggregator.h:
6336 * gst/elements/gstmd5sink.c:
6337 * gst/elements/gstmd5sink.h:
6338 * gst/elements/gstmultifilesrc.c:
6339 * gst/elements/gstmultifilesrc.h:
6340 * gst/elements/gstpipefilter.c:
6341 * gst/elements/gstpipefilter.h:
6342 * gst/elements/gstshaper.c:
6343 * gst/elements/gstshaper.h:
6344 * gst/elements/gststatistics.c:
6345 * gst/elements/gststatistics.h:
6346 * po/POTFILES.in: Remove above files.
6348 2005-05-14 Andy Wingo <wingo@pobox.com>
6350 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6351 so as to get the refs right.
6352 (sink_iterator_filter): New function, wraps bin_element_is_sink,
6353 unreffing objects that don't pass the filter.
6355 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6356 gst_element_set_bus.
6357 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6358 normal cases, this will destroy the bus.
6360 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6363 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6366 2005-05-13 Andy Wingo <wingo@pobox.com>
6368 * gst/gstutils.c (gst_element_link_pads): Instead of calling
6369 gst_pad_link, call pad_link_maybe_ghosting,
6370 (pad_link_maybe_ghosting): Links pads, making sure that the
6371 elements being linked are in the same bin.
6372 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6373 Helpers for pad_link_maybe_ghosting.
6375 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6378 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6380 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6382 * docs/design/part-element-source.txt:
6385 2005-05-12 Wim Taymans <wim@fluendo.com>
6387 * gst/base/gstbasesink.c: (gst_basesink_init),
6388 (gst_basesink_activate):
6389 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6390 (gst_basesrc_is_seekable):
6391 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6392 (bin_element_is_sink), (gst_bin_change_state):
6393 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6395 Identify sinks by their flag to avoid overly complicated
6397 Do state changes even for elements not reachable from the
6399 BaseSink is a sink now :)
6400 Some more debugging info in the basesrc.
6403 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6405 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6406 Implement _query on a bin, similar to _send_event.
6408 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
6410 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6411 Discont event offset format should be GST_FORMAT_BYTES,
6412 not GST_FORMAT_TIME.
6414 2005-05-12 Wim Taymans <wim@fluendo.com>
6416 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6417 Same fix as Ronald's but without the signal.
6419 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6421 * gst/gstutils.c: (gst_element_query_position):
6422 No, an element is not a pad.
6424 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6426 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6427 (gst_bin_get_state):
6428 If a child is removed from a bin while we remove the child from
6429 the bin and while we're retrieving its state, signal this to the
6430 get_state function so we abort the wait (instead of waiting for
6431 a timeout) and can immediately re-iterate over all other elements.
6433 2005-05-12 Wim Taymans <wim@fluendo.com>
6435 * gst/base/Makefile.am:
6436 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6437 (gst_basesrc_start):
6438 * gst/base/gstbasesrc.h:
6439 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6440 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6441 (gst_pushsrc_init), (gst_pushsrc_create):
6442 * gst/base/gstpushsrc.h:
6443 Added is_seekable to BaseSrc
6444 Added simple PushSrc.
6446 2005-05-11 Wim Taymans <wim@fluendo.com>
6448 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6449 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6450 (gst_element_link_pads), (gst_element_query_position),
6451 (gst_element_query_convert), (intersect_caps_func),
6452 (gst_pad_query_position), (gst_pad_query_convert):
6453 Fix refcounting in utils function.
6454 No point in trying to activate a pad when it's added, it could
6455 be added from the state change function and then we deadlock, the
6456 element has to decide what to do.
6458 2005-05-10 Andy Wingo <wingo@pobox.com>
6460 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6461 *all* the arguments.
6463 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6464 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6465 lock (according to the docs -- if this is wrong change the docs).
6467 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6468 flush messages in the NULL state.
6470 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6471 message immediately and return.
6472 (gst_bus_set_flushing): New function. If a bus is flushing, it
6473 flushes out any queued messages and immediately unrefs new
6474 messages. This is so when an element goes to NULL, all of the
6475 unhandled messages coming from it can be freed, and their
6476 references to the element dropped. In other words: message source
6477 ref considered harmful :P
6479 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6480 we're finished with it.
6482 * gst/gstmessage.c (gst_message_new_state_changed):
6484 2005-05-10 Wim Taymans <wim@fluendo.com>
6486 * gst/gstvalue.c: (gst_value_compare_flags),
6487 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6488 (_gst_value_initialize):
6489 Added flags serialize/deserialize/compare code.
6491 2005-05-09 Andy Wingo <wingo@pobox.com>
6493 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6494 Intersect the peer's caps with our caps.
6496 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6498 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6499 * gst/elements/gsttypefindelement.c: (find_peek):
6500 Handle negative offsets better. Fixes decodebin.
6502 2005-05-09 Wim Taymans <wim@fluendo.com>
6504 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6505 (gst_base_transform_event):
6506 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6507 Implement accept_caps.
6508 Fix silly lock/unlock mismatch in base class.
6510 2005-05-09 Wim Taymans <wim@fluendo.com>
6512 * docs/design/draft-push-pull.txt:
6513 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6514 * gst/elements/gstfilesink.c: (gst_filesink_init),
6515 (gst_filesink_query):
6516 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6517 (gst_type_find_handle_src_query), (find_element_get_length):
6518 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6522 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6523 (gst_real_pad_get_caps_unlocked),
6524 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6525 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6526 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6527 (gst_real_pad_dispose), (gst_real_pad_finalize),
6528 (gst_pad_load_and_link), (gst_pad_save_thyself),
6529 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6530 (gst_pad_check_pull_range), (gst_pad_pull_range),
6531 (gst_pad_template_get_type), (gst_pad_template_class_init),
6532 (gst_pad_template_init), (gst_pad_template_dispose),
6533 (name_is_valid), (gst_static_pad_template_get),
6534 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6535 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6536 (gst_pad_get_element_private), (gst_pad_start_task),
6537 (gst_pad_pause_task), (gst_pad_stop_task),
6538 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6539 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6540 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6541 (gst_ghost_pad_new):
6543 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6544 (gst_query_new_position), (gst_query_set_position),
6545 (gst_query_parse_position), (gst_query_new_convert),
6546 (gst_query_set_convert), (gst_query_parse_convert):
6548 * gst/gstqueryutils.c:
6549 * gst/gstqueryutils.h:
6550 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6551 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6552 (gst_queue_handle_src_query):
6553 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6554 (gst_element_query_position), (gst_element_query_convert),
6555 (intersect_caps_func), (gst_pad_query_position),
6556 (gst_pad_query_convert):
6558 * tools/gst-inspect.c: (print_pad_info):
6559 * tools/gst-xmlinspect.c: (print_element_info):
6560 Remove old query functions. Ported old code.
6561 Added position/convert helper functions to gstutils.
6562 Reordered gstpad.c code, grouping relevant things.
6563 Remove gst_message_new(), always need to speficy a specific
6567 2005-05-09 Andy Wingo <wingo@pobox.com>
6569 * gst/gstiterator.h: Add some includes.
6571 * gst/gstqueryutils.h: Include more headers.
6574 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6575 some uses of gst_pad_query.
6577 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6578 NULL out parameters.
6579 (gst_query_new_position): New proc, allocates a new position
6582 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6583 gstqueryutils.c to the build.
6585 * gst/gststructure.c (gst_structure_set_valist): Implement with
6586 the generic G_VALUE_COLLECT.
6588 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6590 * gst/Makefile.am: (gst_headers):
6591 Added gstqueryutils.h to the list of headers to install, that was
6592 a 'nachty' move wingo :)
6594 2005-05-06 Andy Wingo <wingo@pobox.com>
6597 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6598 GstData, init a memchunk.
6599 (standard_definitions): Add a few query types, deprecate a few.
6600 (gst_query_get_type): New proc.
6601 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6603 (gst_query_new_application, gst_query_get_structure): New public
6606 * docs/design/draft-query.txt: Removed LINKS from the query types,
6607 because all the rest can be dispatched to other pads -- seemed
6608 ugly to have a query that couldn't be dispatched. internal_links
6609 is fine as a pad method.
6611 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6612 in gstpad.c, but maintain binary compatibility for the moment.
6613 Will fix before 0.9 is out.
6615 * gst/gstqueryutils.c:
6616 * gst/gstqueryutils.h: New files, implement 3 methods for each
6617 query type: parse_query, parse_response, and set. Probably need an
6620 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6622 * gst/elements/gstfilesink.c (gst_filesink_query2):
6623 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6624 query_types, and formats methods.
6626 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6627 (gst_pad_set_query2_function): New functions.
6628 (gst_real_pad_init): Set query2_default as the default query2
6629 function. Basically just dispatches to internally linked pads.
6633 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6634 without using the atomic operations. Only one thread can possibly
6635 be accessing the data at this point. Changed so as to avoid
6636 gst_atomic operations.
6638 2005-05-06 Wim Taymans <wim@fluendo.com>
6640 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6641 Also set caps if we use the fallback buffer alloc.
6643 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
6645 * docs/gst/Makefile.am:
6646 * docs/gst/gstreamer-docs.sgml:
6647 * docs/gst/gstreamer-sections.txt:
6648 * docs/gst/tmpl/gstatomic.sgml:
6649 * docs/gst/tmpl/gstmemchunk.sgml:
6650 * testsuite/elements/struct_i386.h:
6651 * win32/GStreamer.vcproj:
6653 Purge GstAtomic stuff from docs and win32 makefiles as well
6655 2005-05-06 Wim Taymans <wim@fluendo.com>
6657 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6658 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6659 * gst/gstpad.c: (gst_pad_peer_get_caps):
6660 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6661 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6662 (gst_queue_src_activate), (gst_queue_change_state):
6664 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6665 (intersect_caps_func):
6666 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6667 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6668 Some fixes for the peer_get_caps() change.
6670 2005-05-06 Wim Taymans <wim@fluendo.com>
6672 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6673 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6674 (gst_basesink_activate):
6675 Actually do something with error codes returned from the push
6678 2005-05-06 Wim Taymans <wim@fluendo.com>
6680 * docs/design/part-element-sink.txt:
6681 * docs/design/part-element-source.txt:
6682 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6683 (gst_basesink_event), (gst_basesink_activate):
6684 * gst/base/gstbasesink.h:
6685 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6686 (gst_basesrc_activate):
6687 * gst/base/gstbasesrc.h:
6688 * gst/gstelement.c: (gst_element_pads_activate):
6689 Some more documentation.
6690 Fixed scheduling decision in _pads_activate().
6692 2005-05-05 Andy Wingo <wingo@pobox.com>
6694 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6697 2005-05-05 Wim Taymans <wim@fluendo.com>
6699 * gst/base/Makefile.am:
6700 * gst/base/gstbasesink.h:
6701 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6702 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6703 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6704 (gst_collectpads_class_init), (gst_collectpads_init),
6705 (gst_collectpads_finalize), (gst_collectpads_new),
6706 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6707 (find_pad), (gst_collectpads_remove_pad),
6708 (gst_collectpads_is_active), (gst_collectpads_collect),
6709 (gst_collectpads_collect_range), (gst_collectpads_start),
6710 (gst_collectpads_stop), (gst_collectpads_peek),
6711 (gst_collectpads_pop), (gst_collectpads_available),
6712 (gst_collectpads_read), (gst_collectpads_flush),
6713 (gst_collectpads_chain):
6714 * gst/base/gstcollectpads.h:
6715 * gst/elements/Makefile.am:
6716 * gst/elements/gstelements.c:
6717 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6718 (gst_fakesink_get_times), (gst_fakesink_event),
6719 (gst_fakesink_preroll), (gst_fakesink_render):
6720 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6721 (gst_filesink_init), (gst_filesink_set_location),
6722 (gst_filesink_open_file), (gst_filesink_close_file),
6723 (gst_filesink_pad_query), (gst_filesink_event),
6724 (gst_filesink_render), (gst_filesink_change_state):
6725 * gst/elements/gstfilesink.h:
6726 Added object to help in making collect pad based elements.
6728 Make event function in sink baseclass return gboolean.
6730 2005-05-05 Wim Taymans <wim@fluendo.com>
6732 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6733 (gst_bin_get_by_name):
6735 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6736 (gst_clock_finalize):
6737 * gst/gstdata.c: (gst_data_replace):
6739 * gst/gstelement.c: (gst_element_request_pad),
6740 (gst_element_pads_activate):
6741 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6743 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6744 (gst_pad_set_checkgetrange_function),
6745 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6746 (gst_pad_check_pull_range), (gst_pad_pull_range),
6747 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6748 (gst_pad_pause_task), (gst_pad_stop_task):
6749 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6750 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6751 Fix name lookup in GstBin.
6752 Added _data_replace() function and _buffer_replace()
6753 Use finalize method to clean up clock.
6754 Fix refcounting on request pads.
6755 Fix pad schedule mode error.
6756 Some more object refcounting debug info,
6759 2005-05-04 Andy Wingo <wingo@pobox.com>
6761 * check/Makefile.am:
6762 * docs/gst/tmpl/gstatomic.sgml:
6763 * docs/gst/tmpl/gstplugin.sgml:
6764 * gst/base/gstbasesink.c: (gst_basesink_activate):
6765 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6766 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6767 (gst_basesrc_query), (gst_basesrc_set_property),
6768 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6769 (gst_basesrc_activate):
6770 * gst/base/gstbasesrc.h:
6771 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6772 (gst_base_transform_src_activate):
6773 * gst/elements/gstelements.c:
6774 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6775 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6776 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6777 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6778 (gst_type_find_element_checkgetrange),
6779 (gst_type_find_element_activate):
6780 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6781 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6782 (gst_caps_load_thyself):
6783 * gst/gstelement.c: (gst_element_pads_activate),
6784 (gst_element_save_thyself), (gst_element_restore_thyself):
6785 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6786 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6788 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6789 (gst_xml_parse_file), (gst_xml_parse_memory),
6790 (gst_xml_get_element), (gst_xml_make_element):
6791 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6792 (_file_index_id_save_xml), (gst_file_index_commit):
6793 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6794 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6796 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6797 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6798 * tools/gst-complete.c: (main):
6799 * tools/gst-compprep.c: (main):
6800 * tools/gst-inspect.c: (print_element_properties_info):
6801 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6802 * tools/gst-xmlinspect.c: (print_element_properties):
6805 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6807 * gst/gstplugin.c: (gst_plugin_check_module),
6808 (gst_plugin_check_file), (gst_plugin_load_file):
6809 apply patch from #172526 to make register work on MacOSX
6811 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6813 * docs/gst/tmpl/gstconfig.sgml:
6814 * gst/gstconfig.h.in:
6815 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6816 * testsuite/debug/printf_extension.c: (main):
6817 Do not use GST_PTR_FORMAT on pointers to types with
6818 sizeof < sizeof(gpointer). Fixes test on 64-bit
6819 * testsuite/elements/property.h:
6820 use correct printf format
6822 2005-05-02 Wim Taymans <wim@fluendo.com>
6824 * docs/design/draft-push-pull.txt:
6825 * docs/design/draft-query.txt:
6826 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6827 (gst_basesrc_start):
6828 Added draft for new query API.
6829 Added draft for better selecting scheduling methods.
6830 Make basesrc ignore length if the subclass does not support
6833 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6836 possible fixes for automake-1.5 - _LIBADD is reserved
6838 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6840 * docs/faq/Makefile.am:
6841 * docs/manual/Makefile.am:
6843 * docs/pwg/Makefile.am:
6845 possible fixes for automake-1.5
6847 2005-04-28 Wim Taymans <wim@fluendo.com>
6849 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6850 (gst_basesink_pad_getcaps), (gst_basesink_init),
6851 (gst_basesink_do_sync):
6852 * gst/gstclock.c: (gst_clock_entry_new):
6853 * gst/gstevent.c: (gst_event_discont_get_value):
6854 * gst/gstpipeline.c: (pipeline_bus_handler),
6855 (gst_pipeline_change_state):
6856 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6857 Better debugging of clocking info.
6858 Allow NULL values when getting discont values.
6860 2005-04-27 Wim Taymans <wim@fluendo.com>
6862 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6863 * check/gst/gstpad.c: (gst_pad_suite):
6864 Increase timeout for checks.
6866 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6868 * check/Makefile.am:
6869 fix the broken rule for cleanup. Apparently this rule is
6870 only needed on FC2, so maybe this warrants further autotool
6873 2005-04-26 Wim Taymans <wim@fluendo.com>
6875 * gst/gsttrashstack.h:
6876 Ooohh. a nasty one! After having a failed pop() from the stack,
6877 it's possible that the stack is empty. In that case, don't
6878 follow the NULL pointer.
6880 2005-04-25 Wim Taymans <wim@fluendo.com>
6882 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6883 (gst_pad_set_checkgetrange_function),
6884 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6885 (gst_pad_check_pull_range), (gst_pad_pull_range),
6886 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6887 (gst_pad_pause_task), (gst_pad_stop_task):
6888 * gst/gstplugin.c: (gst_plugin_load):
6890 Remove gst_library_load as it does more harm than good with
6891 the new g_module flags.
6892 Revert bogus caps template check in pad linking, pad caps
6893 are important when linking not the template, which is more
6894 general than the current caps.
6896 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6898 * gst/autoplug/.cvsignore:
6899 * gst/autoplug/Makefile.am:
6900 * gst/autoplug/gstsearchfuncs.c:
6901 * gst/autoplug/gstsearchfuncs.h:
6902 * gst/autoplug/gstspider.c:
6903 * gst/autoplug/gstspider.h:
6904 * gst/autoplug/gstspideridentity.c:
6905 * gst/autoplug/gstspideridentity.h:
6906 * gst/autoplug/spidertest.c:
6909 2005-04-25 Wim Taymans <wim@fluendo.com>
6911 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6912 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6913 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6914 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6916 Added stubs for unimplemented functions.
6918 2005-04-24 David Schleef <ds@schleef.org>
6920 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6923 2005-04-24 David Schleef <ds@schleef.org>
6925 Convert everything from GstAtomicInt to g_atomic_int_*, and
6930 * gst/gstatomic_impl.h:
6938 * gst/gstdata_private.h:
6945 * gst/gststructure.c:
6946 * gst/gststructure.h:
6947 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6950 2005-04-24 David Schleef <ds@schleef.org>
6952 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6953 make the regressions tests work. Remove some code that is no
6955 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6956 Disable warning for pads without templates.
6958 2005-04-24 David Schleef <ds@schleef.org>
6960 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6961 functions that handle filtered links.
6962 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6964 * gst/gstutils.c: Fix/remove utility functions that handle
6967 * gst/gstvalue.c: Add serialization/deserialization of caps
6968 * gst/parse/grammar.y: Ignore filtered caps when linking. This
6969 requires fixing so that the filter caps notation creates
6970 a capsfilter element and sets the filter_caps property. I
6971 think everyone probably wants to keep the shorthand notation.
6972 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6973 * docs/gst/tmpl/gstpad.sgml:
6975 * gst/elements/gstelements.c: Register capsfilter element.
6976 * gst/Makefile.am: fix spacing
6977 * docs/random/ds/0.9-suggested-changes: random
6979 2005-04-23 David Schleef <ds@schleef.org>
6981 * gst/elements/Makefile.am:
6982 * gst/elements/gstcapsfilter.c: New element that acts like an
6983 identity, but filters caps. Will eventually replace filtered
6984 caps in pad linking.
6985 * gst/gstutils.c: (gst_element_create_all_pads): New function
6986 to create all the ALWAYS pads that are registered with an
6987 element class. This functionality should eventually be
6988 merged in with GstElement initialization.
6990 * testsuite/trigger/README: part of trigger test code that should
6991 have been checked in a long time ago.
6993 2005-04-23 David Schleef <ds@schleef.org>
6995 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
6996 needed with new versions of libtool (nobody will confirm this),
6997 and hard to carry around.
6998 * gst/autoplug/Makefile.am:
6999 * gst/base/Makefile.am:
7000 * gst/elements/Makefile.am:
7001 * gst/indexers/Makefile.am:
7002 * gst/schedulers/Makefile.am:
7003 * libs/gst/bytestream/Makefile.am:
7004 * libs/gst/control/Makefile.am:
7005 * libs/gst/dataprotocol/Makefile.am:
7006 * libs/gst/getbits/Makefile.am:
7008 2005-04-21 Wim Taymans <wim@fluendo.com>
7010 * docs/design/draft-push-pull.txt:
7011 * docs/design/part-MT-refcounting.txt:
7012 * docs/design/part-TODO.txt:
7013 * docs/design/part-caps.txt:
7014 * docs/design/part-events.txt:
7015 * docs/design/part-gstbus.txt:
7016 * docs/design/part-gstpipeline.txt:
7017 * docs/design/part-messages.txt:
7018 * docs/design/part-push-pull.txt:
7019 * docs/design/part-query.txt:
7022 2005-04-21 Wim Taymans <wim@fluendo.com>
7024 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7025 (gst_message_new), (gst_message_new_error),
7026 (gst_message_new_warning), (gst_message_new_tag),
7027 (gst_message_new_state_changed), (gst_message_new_application),
7028 (gst_message_get_structure):
7030 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7031 (gst_structure_copy_conditional):
7032 Use parent refcount in GstMessage to ensure GstStructure
7034 Cleaned up headers a bit.
7037 2005-04-20 Wim Taymans <wim@fluendo.com>
7039 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7040 (gst_basesink_pad_getcaps), (gst_basesink_init),
7041 (gst_basesink_chain_unlocked):
7042 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7043 (gst_type_find_helper):
7044 * gst/elements/gsttypefindelement.c:
7045 (gst_type_find_element_have_type), (gst_type_find_element_init),
7046 (stop_typefinding), (gst_type_find_element_handle_event),
7047 (find_suggest), (gst_type_find_element_chain),
7048 (gst_type_find_element_checkgetrange),
7049 (gst_type_find_element_getrange), (do_typefind),
7050 (gst_type_find_element_activate):
7051 * gst/gstbuffer.c: (_gst_buffer_sub_free),
7052 (gst_buffer_default_free), (gst_buffer_default_copy),
7053 (gst_buffer_set_caps):
7054 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7056 * gst/gstmessage.c: (gst_message_new),
7057 (gst_message_new_state_changed):
7058 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7059 (gst_pad_set_checkgetrange_function),
7060 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7061 (gst_pad_set_caps), (gst_pad_check_pull_range),
7062 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7064 * gst/gsttypefind.c: (gst_type_find_register):
7065 Make gst_caps_replace() work like other _replace() functions.
7066 Use _caps_replace() where possible.
7067 Make sure _message_new() initialises its field.
7068 Add gst_static_pad_template_get_caps()
7071 2005-04-18 Andy Wingo <wingo@pobox.com>
7073 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7074 on the peer, not the pad. I think that was a typo. Pass an extra
7075 arg to see if random access is possible. Activate the pads as
7076 PULL_RANGE if possible.
7078 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7080 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
7081 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7084 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7086 * docs/faq/using.xml:
7087 Add note on gstreamer-properties (#154996).
7089 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7091 * docs/random/bbb/optional-properties:
7092 Some analysis on optional properties.
7094 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7096 * docs/gst/tmpl/gstelementfactory.sgml:
7098 * gst/gstelementfactory.c: (gst_element_factory_init),
7099 (gst_element_factory_cleanup), (gst_element_register),
7100 (__gst_element_factory_add_static_pad_template),
7101 (gst_element_factory_get_static_pad_templates),
7102 (gst_element_factory_can_src_caps),
7103 (gst_element_factory_can_sink_caps):
7104 * gst/registries/Makefile.am:
7105 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7106 (gst_xml_registry_class_init), (gst_xml_registry_init),
7107 (gst_xml_registry_new), (gst_xml_registry_set_property),
7108 (gst_xml_registry_get_property), (get_time), (make_dir),
7109 (gst_xml_registry_get_perms_func),
7110 (plugin_times_older_than_recurse), (plugin_times_older_than),
7111 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7112 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7113 (add_to_char_array), (read_string), (read_uint), (read_enum),
7114 (load_pad_template), (load_feature), (load_plugin), (load_paths),
7115 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7116 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7117 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7118 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7119 (gst_xml_registry_rebuild):
7120 * gst/registries/gstlibxmlregistry.h:
7121 * tools/gst-compprep.c: (main):
7122 * tools/gst-inspect.c: (print_pad_templates_info):
7123 * tools/gst-xmlinspect.c: (print_element_info):
7124 Use libxml2 for registry parsing, use staticpadtemplates in
7125 elementfactories. Makes gst_init() +/- 10x faster.
7127 2005-04-12 Wim Taymans <wim@fluendo.com>
7129 * gst/base/Makefile.am:
7130 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7131 (gst_basesink_pad_getcaps), (gst_basesink_init),
7132 (gst_basesink_event), (gst_basesink_change_state):
7133 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7134 (gst_basesrc_init), (gst_basesrc_query),
7135 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7136 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7137 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7138 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7139 (gst_basesrc_stop), (gst_basesrc_activate),
7140 (gst_basesrc_change_state):
7141 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7142 (helper_find_suggest), (gst_type_find_helper):
7143 * gst/base/gsttypefindhelper.h:
7144 * gst/elements/Makefile.am:
7145 * gst/elements/gstelements.c:
7146 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7147 (gst_fakesink_get_times), (gst_fakesink_event),
7148 (gst_fakesink_preroll), (gst_fakesink_render):
7149 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7150 (gst_fakesrc_init), (gst_fakesrc_event_handler),
7151 (gst_fakesrc_get_property), (gst_fakesrc_create),
7152 (gst_fakesrc_start), (gst_fakesrc_stop):
7153 * gst/elements/gstfakesrc.h:
7154 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7155 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7156 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7157 (gst_filesrc_create_read), (gst_filesrc_create),
7158 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7159 (gst_filesrc_start):
7160 * gst/elements/gsttypefindelement.c:
7161 (gst_type_find_element_have_type), (gst_type_find_element_init),
7162 (start_typefinding), (stop_typefinding), (push_buffer_store),
7163 (gst_type_find_element_handle_event),
7164 (gst_type_find_element_chain),
7165 (gst_type_find_element_checkgetrange),
7166 (gst_type_find_element_getrange), (do_typefind),
7167 (gst_type_find_element_activate),
7168 (gst_type_find_element_change_state):
7169 * gst/elements/gsttypefindelement.h:
7170 * gst/gstpipeline.c: (pipeline_bus_handler):
7171 Added typefind helper.
7172 Small preroll fix in the base sink.
7173 Disable typefind code in basesrc.
7174 Crude port of typefindelement.
7178 2005-04-11 Wim Taymans <wim@fluendo.com>
7180 * check/gst/gstbus.c: (gstbus_suite):
7181 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7183 Fix up the timeout so that the test does not fail.
7185 2005-04-06 Wim Taymans <wim@fluendo.com>
7188 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7189 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7190 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7191 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7192 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7193 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7194 (gst_basesrc_stop), (gst_basesrc_activate),
7195 (gst_basesrc_change_state), (basesrc_find_peek),
7196 (basesrc_find_suggest), (gst_basesrc_type_find):
7197 * gst/base/gstbasesrc.h:
7198 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7199 (gst_filesrc_class_init), (gst_filesrc_init),
7200 (gst_filesrc_finalize), (gst_filesrc_set_location),
7201 (gst_filesrc_set_property), (gst_filesrc_get_property),
7202 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7203 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7204 (gst_filesrc_create_read), (gst_filesrc_create),
7205 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7206 * gst/elements/gstfilesrc.h:
7207 * gst/gstelement.c: (gst_element_get_state_func),
7208 (gst_element_lost_state), (gst_element_pads_activate):
7209 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7210 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7211 (gst_pad_pull_range):
7213 More work on the generic source base class, implement seeking,
7215 Make filesrc extend the base source class.
7216 Added gst_pad_set_checkgetrange_function to GstPad.
7218 2005-04-06 Andy Wingo <wingo@pobox.com>
7220 * pkgconfig/gstreamer-base.pc.in:
7221 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7223 * pkgconfig/Makefile.am:
7224 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7226 2005-04-04 Wim Taymans <wim@fluendo.com>
7228 * gst/base/Makefile.am:
7230 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7231 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7232 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7233 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7234 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7235 (gst_basesrc_base_init), (gst_basesrc_class_init),
7236 (gst_basesrc_init), (gst_basesrc_get_formats),
7237 (gst_basesrc_get_query_types), (gst_basesrc_query),
7238 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7239 (gst_basesrc_set_property), (gst_basesrc_get_property),
7240 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7241 (gst_basesrc_loop), (gst_basesrc_activate),
7242 (gst_basesrc_change_state):
7243 * gst/base/gstbasesrc.h:
7244 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7245 (gst_fakesrc_class_init), (gst_fakesrc_init),
7246 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7247 (gst_fakesrc_get_property), (gst_fakesrc_create):
7248 * gst/elements/gstfakesrc.h:
7249 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7250 (gst_filesrc_open_file), (gst_filesrc_loop),
7251 (gst_filesrc_activate), (filesrc_find_peek),
7252 (gst_filesrc_type_find):
7253 Made base source class, make fakesrc extend it.
7254 Add comments to basesink class.
7255 Some filesrc cleanup.
7257 2005-03-31 David Schleef <ds@schleef.org>
7259 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7260 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7261 expected to link against libgstreamer.
7262 * gst/base/Makefile.am: link against libgstreamer
7263 * gst/elements/Makefile.am: same
7265 2005-03-31 Andy Wingo <wingo@pobox.com>
7267 * tests/instantiate/Makefile.am:
7268 * tests/instantiate/caps.c: Add test to test speed of caps copy
7271 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7272 GMemChunk to be fair.
7274 * gst/gsttrashstack.h: Remove warning about using the fallback
7275 trash stack implementation, it's still faster than malloc.
7277 2005-03-30 Andy Wingo <wingo@pobox.com>
7279 * tests/complexity.c: Add a copyright.
7281 2005-03-31 Wim Taymans <wim@fluendo.com>
7283 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7284 (gst_base_transform_class_init), (gst_base_transform_init),
7285 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7286 (gst_base_transform_get_property),
7287 (gst_base_transform_sink_activate),
7288 (gst_base_transform_src_activate),
7289 (gst_base_transform_change_state):
7290 * gst/base/gstbasetransform.h:
7291 * gst/elements/gstidentity.c: (gst_identity_class_init),
7292 (gst_identity_event), (gst_identity_check_perfect),
7293 (gst_identity_transform), (gst_identity_start),
7294 (gst_identity_stop):
7295 Added start/stop methods to transform base class so subclasses
7296 don't need to deal with state changes even.
7298 2005-03-31 Wim Taymans <wim@fluendo.com>
7300 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7301 (gst_event_new_discontinuous), (gst_event_discont_get_value):
7303 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7304 (gst_pad_pull_range):
7305 Added rate to the discont event to prepare for variable speed
7306 and reverse playback.
7308 2005-03-29 David Schleef <ds@schleef.org>
7311 * testsuite/trigger/Makefile.am:
7312 * testsuite/trigger/trigger.c: A little example program to show
7313 how trigger-based elements can work.
7315 2005-03-29 Wim Taymans <wim@fluendo.com>
7317 * gst/base/Makefile.am:
7319 * gst/base/gstbasesink.c: (gst_basesink_get_type),
7320 (gst_basesink_base_init), (gst_basesink_class_init),
7321 (gst_basesink_pad_getcaps), (gst_basesink_init),
7322 (gst_basesink_activate), (gst_basesink_change_state):
7323 * gst/base/gstbasesink.h:
7324 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7325 (gst_base_transform_base_init), (gst_base_transform_finalize),
7326 (gst_base_transform_class_init), (gst_base_transform_init),
7327 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7328 (gst_base_transform_event), (gst_base_transform_getrange),
7329 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7330 (gst_base_transform_set_property),
7331 (gst_base_transform_get_property),
7332 (gst_base_transform_sink_activate),
7333 (gst_base_transform_src_activate),
7334 (gst_base_transform_change_state):
7335 * gst/base/gstbasetransform.h:
7336 * gst/elements/gstidentity.c: (gst_identity_finalize),
7337 (gst_identity_class_init), (gst_identity_init),
7338 (gst_identity_event), (gst_identity_check_perfect),
7339 (gst_identity_transform), (gst_identity_set_property),
7340 (gst_identity_get_property), (gst_identity_change_state):
7341 * gst/elements/gstidentity.h:
7342 * gst/gstelement.c: (gst_element_get_state_func),
7343 (gst_element_lost_state), (gst_element_pads_activate):
7344 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7345 (gst_pad_check_pull_range), (gst_pad_pull_range):
7347 Simplify pad activation.
7348 Added function to check if pull_range can be performed.
7349 Error out when pulling inactive or flushing pads.
7350 Removed const from refcounted types as it does not make sense.
7351 Simplify pad templates in basesink
7352 Added base class for simple 1-to-1 transforms.
7353 Make identity subclass the base transform.
7355 2005-03-29 Andy Wingo <wingo@pobox.com>
7357 * docs/libs/gstreamer-libs-overrides.txt:
7358 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7359 really don't understand what's going on, but like whatever. I want
7362 * docs/gst/Makefile.am:
7363 * docs/libs/Makefile.am: Dist the overrides files.
7365 * check/Makefile.am (clean-local): Remove .libs directories.
7367 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7368 elements to EXTRA_DIST, so po/ files are happy.
7370 * po/POTFILES.in: Er, remove it here.
7372 * po/POTFILES: Remove gstspider.c.
7374 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7376 * docs/libs/gstreamer-libs-docs.sgml:
7377 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7380 * tests/complexity.c (main): Set the length of the preroll queue
7381 on the sinks to prevent a lockup.
7383 * libs/gst/dataprotocol/Makefile.am:
7384 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7385 the same as the one in check/gst-libs/gdp.c.
7387 * po/, docs/gst/: Commit automatic changes to docs and po files.
7389 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7390 the versioned libgstbase.
7392 * check/Makefile.am: Depend on an unversioned gst-register, seems
7393 to make autoconf happier.
7395 * gst/base/Makefile.am: Make libgstbase a versioned lib.
7397 2005-03-28 Wim Taymans <wim@fluendo.com>
7400 * docs/design/part-gstelement.txt:
7401 * docs/design/part-negotiation.txt:
7402 * docs/design/part-preroll.txt:
7403 * docs/design/part-scheduling.txt:
7404 * docs/design/part-states.txt:
7406 * gst/base/Makefile.am:
7408 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7409 (gst_basesink_base_init), (gst_basesink_class_init),
7410 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7411 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7412 (gst_basesink_set_pad_functions),
7413 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7414 (gst_basesink_set_property), (gst_basesink_get_property),
7415 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7416 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7417 (gst_basesink_preroll_queue_push),
7418 (gst_basesink_preroll_queue_empty),
7419 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7420 (gst_basesink_event), (gst_basesink_get_times),
7421 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7422 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7423 (gst_basesink_loop), (gst_basesink_activate),
7424 (gst_basesink_change_state):
7425 * gst/base/gstbasesink.h:
7426 * gst/elements/Makefile.am:
7427 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7428 (gst_fakesink_class_init), (gst_fakesink_init),
7429 (gst_fakesink_set_property), (gst_fakesink_get_property),
7430 (gst_fakesink_get_times), (gst_fakesink_event),
7431 (gst_fakesink_preroll), (gst_fakesink_render),
7432 (gst_fakesink_change_state):
7433 * gst/elements/gstfakesink.h:
7434 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7435 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7436 * gst/gstelement.c: (gst_element_add_pad),
7437 (gst_element_get_state_func), (gst_element_abort_state),
7438 (gst_element_commit_state), (gst_element_lost_state),
7439 (gst_element_set_state), (gst_element_pads_activate):
7440 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7441 * gst/gstpipeline.c: (gst_pipeline_send_event),
7442 (gst_pipeline_change_state):
7443 Added state change code.
7445 Added sink base class, make fakesink extend the base class.
7446 Small cleanups in GstPipeline.
7448 2005-03-26 David Schleef <ds@schleef.org>
7450 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7451 is broken and should be implemented in a different library.
7452 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7453 * gst/gst.h: remove gstcpu.h
7454 * gst/gstcpu.c: remove
7455 * gst/gstcpu.h: remove
7456 * gst/Makefile.am.future: Remove this file. It's ancient.
7458 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7460 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7461 (gst_bin_send_event):
7462 Add default event/set_manager handlers. The set_manager handler
7463 takes care that the manager is distributed over kids that were
7464 already in the bin before the manager was set. The event handler
7465 is a utility virtual function that sends the event over all sinks,
7466 so that gst_element_send_event (bin, event); has the expected
7468 * gst/gstpad.c: (gst_pad_event_default):
7469 Re-install default event handling for discontinuities, so that
7470 seeking works without requiring hacks in applications or extra
7472 * gst/gstpipeline.c: (gst_pipeline_class_init),
7473 (gst_pipeline_send_event):
7474 Half hack, half utility: set a pipeline to PAUSED for seek events,
7475 since that is the only way we can guarantee a/v sync. Means that
7476 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7477 and it "just works".
7479 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7481 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7482 Lock/unlock mismatch.
7484 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7486 * docs/faq/gst-uninstalled:
7487 add gst-plugins-base
7488 * docs/gst/Makefile.am:
7489 don't error out until docs are fixed
7490 * docs/gst/gstreamer.types:
7493 2005-03-22 Wim Taymans <wim@fluendo.com>
7495 * check/Makefile.am:
7496 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7497 * gst/gststructure.c: (gst_structure_set_valist),
7498 (gst_structure_copy_conditional):
7499 Activated more tests.
7501 Added G_TYPE_POINTER to GstStructure.
7504 2005-03-22 Wim Taymans <wim@fluendo.com>
7506 * docs/design/part-TODO.txt:
7507 * docs/design/part-events.txt:
7508 * docs/design/part-gstbin.txt:
7509 * docs/design/part-gstbus.txt:
7510 * docs/design/part-gstpipeline.txt:
7511 * docs/design/part-messages.txt:
7516 2005-03-21 Wim Taymans <wim@fluendo.com>
7518 * gst/gstbus.c: (gst_bus_post):
7519 Fix copy-and-paste error.
7521 2005-03-21 Wim Taymans <wim@fluendo.com>
7523 * check/Makefile.am:
7525 * gst/elements/Makefile.am:
7526 * gst/elements/gstelements.c:
7527 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7528 (gst_fakesink_event), (gst_fakesink_chain):
7529 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7530 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7531 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7532 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7533 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7534 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7535 (gst_fakesrc_loop), (gst_fakesrc_activate),
7536 (gst_fakesrc_change_state):
7537 * gst/elements/gstfakesrc.h:
7538 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7539 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7540 (gst_filesrc_open_file), (gst_filesrc_loop),
7541 (gst_filesrc_activate), (gst_filesrc_change_state),
7542 (filesrc_find_peek), (filesrc_find_suggest),
7543 (gst_filesrc_type_find):
7544 * gst/elements/gstidentity.c: (gst_identity_finalize),
7545 (gst_identity_class_init), (gst_identity_init),
7546 (gst_identity_proxy_getcaps), (identity_queue_push),
7547 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7548 (gst_identity_getrange), (gst_identity_chain),
7549 (gst_identity_sink_loop), (gst_identity_src_loop),
7550 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7551 (gst_identity_set_property), (gst_identity_get_property),
7552 (gst_identity_change_state):
7553 * gst/elements/gstidentity.h:
7554 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7555 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7556 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7557 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7558 (gst_tee_sink_activate):
7559 * gst/elements/gsttee.h:
7560 * gst/gst.c: (gst_register_core_elements), (init_post):
7562 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7563 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7564 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7565 (gst_bin_change_state):
7567 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7568 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7569 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7570 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7571 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7572 (bus_watch_callback), (bus_watch_destroy),
7573 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7574 (poll_timeout), (gst_bus_poll):
7578 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7579 (gst_element_post_message), (gst_element_message_full),
7580 (gst_element_get_state_func), (gst_element_get_state),
7581 (gst_element_abort_state), (gst_element_commit_state),
7582 (gst_element_lost_state), (gst_element_set_state),
7583 (gst_element_pads_activate), (gst_element_change_state),
7584 (gst_element_dispose), (gst_element_set_manager_func),
7585 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7586 (gst_element_set_manager), (gst_element_get_manager),
7587 (gst_element_set_bus), (gst_element_get_bus),
7588 (gst_element_set_scheduler), (gst_element_get_scheduler):
7590 * gst/gstevent.c: (gst_event_new_segment_seek),
7591 (gst_event_new_flush):
7593 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7594 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7595 (gst_message_new_eos), (gst_message_new_error),
7596 (gst_message_new_warning), (gst_message_new_tag),
7597 (gst_message_new_state_changed), (gst_message_new_application),
7598 (gst_message_get_structure), (gst_message_parse_tag),
7599 (gst_message_parse_state_changed), (gst_message_parse_error),
7600 (gst_message_parse_warning):
7602 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7603 (gst_real_pad_set_property), (gst_pad_set_active),
7604 (gst_pad_is_active), (gst_pad_set_blocked_async),
7605 (gst_pad_set_blocked), (gst_pad_is_blocked),
7606 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7607 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7608 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7609 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7610 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7611 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7612 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7613 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7614 (gst_pad_set_caps), (gst_pad_configure_sink),
7615 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7616 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7617 (gst_real_pad_dispose), (gst_real_pad_finalize),
7618 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7619 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7620 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7622 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7623 (pipeline_bus_handler), (gst_pipeline_change_state),
7624 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7625 * gst/gstpipeline.h:
7627 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7628 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7629 (gst_queue_link_src), (gst_queue_bufferalloc),
7630 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7631 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7632 (gst_queue_loop), (gst_queue_handle_src_event),
7633 (gst_queue_handle_src_query), (gst_queue_src_activate),
7634 (gst_queue_change_state):
7636 * gst/gstscheduler.c: (gst_scheduler_init),
7637 (gst_scheduler_dispose), (gst_scheduler_create_task),
7638 (gst_scheduler_factory_create):
7639 * gst/gstscheduler.h:
7640 * gst/gststructure.c: (gst_structure_get_type),
7641 (gst_structure_copy_conditional):
7642 * gst/gststructure.h:
7643 * gst/gsttaginterface.h:
7644 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7645 (gst_task_init), (gst_task_dispose), (gst_task_create),
7646 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7652 * gst/schedulers/Makefile.am:
7653 * gst/schedulers/cothreads_compat.h:
7654 * gst/schedulers/entryscheduler.c:
7655 * gst/schedulers/faircothreads.c:
7656 * gst/schedulers/faircothreads.h:
7657 * gst/schedulers/fairscheduler.c:
7658 * gst/schedulers/gstbasicscheduler.c:
7659 * gst/schedulers/gstoptimalscheduler.c:
7660 * gst/schedulers/gthread-cothreads.h:
7661 * gst/schedulers/threadscheduler.c:
7662 (gst_thread_scheduler_task_get_type),
7663 (gst_thread_scheduler_task_class_init),
7664 (gst_thread_scheduler_task_init),
7665 (gst_thread_scheduler_task_start),
7666 (gst_thread_scheduler_task_stop),
7667 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7668 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7669 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7670 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7672 * libs/gst/Makefile.am:
7673 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7674 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7675 (gst_file_pad_parent_set):
7676 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7677 (gst_dp_event_from_packet):
7678 * tests/complexity.c: (main):
7679 * tests/mass_elements.c: (main):
7680 * testsuite/states/locked.c: (message_received), (main):
7681 * testsuite/states/parent.c: (main):
7682 * tools/gst-inspect.c: (print_element_flag_info),
7683 (print_implementation_info), (print_pad_info):
7684 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7686 * tools/gst-md5sum.c: (event_loop), (main):
7687 * tools/gst-typefind.c: (main):
7688 * tools/gst-xmlinspect.c: (print_element_info):
7690 Added GstBus for mainloop integration.
7691 Added GstMessage for sending notifications on the bus.
7692 Added GstTask as an abstraction for pipeline entry points.
7695 Simplified GstQueue for multithreaded core.
7696 Made _link threadsafe, removed old capsnego.
7697 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7698 Added pad blocking functions.
7699 Reworked scheduling functions in GstPad to prepare for
7700 scheduling updates soon.
7701 Moved events out of data stream.
7702 Simplified GstEvent types.
7703 Added return values to push/pull.
7704 Removed clocking from GstElement.
7705 Added prototypes for state change function for next merge.
7706 Removed iterate from bins and state change management.
7707 Fixed some elements, disabled others for now.
7708 Fixed -inspect and -launch.
7709 Added check for GstBus.
7711 2005-03-10 Wim Taymans <wim@fluendo.com>
7713 * docs/design/part-MT-refcounting.txt:
7714 * docs/design/part-clocks.txt:
7715 * docs/design/part-gstelement.txt:
7716 * docs/design/part-gstobject.txt:
7717 * docs/design/part-standards.txt:
7718 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7719 (gst_bin_remove_func), (gst_bin_remove):
7723 * testsuite/clock/clock1.c: (main):
7724 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7726 * testsuite/dlopen/loadgst.c: (do_test):
7727 * testsuite/refcounting/bin.c: (add_remove_test1),
7728 (add_remove_test2), (main):
7729 * testsuite/refcounting/element.c: (main):
7730 * testsuite/refcounting/element_pad.c: (main):
7731 * testsuite/refcounting/pad.c: (main):
7732 * tools/gst-launch.c: (sigint_handler_sighandler):
7733 * tools/gst-typefind.c: (main):
7735 Added doc about clock.
7736 removed gst_bin_iterate_recurse_up(), marked methods
7738 Fix more testsuites.
7740 2005-03-09 Wim Taymans <wim@fluendo.com>
7742 * gst/gstpad.c: (gst_pad_get_direction),
7743 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7744 (gst_pad_collect_valist):
7745 * testsuite/bins/interface.c: (main):
7746 * testsuite/caps/audioscale.c: (test_caps):
7747 * testsuite/caps/caps.c: (test1), (test2), (test3):
7748 * testsuite/caps/deserialize.c: (main):
7749 * testsuite/caps/enumcaps.c: (main):
7750 * testsuite/caps/filtercaps.c: (main):
7751 * testsuite/caps/intersect2.c: (main):
7752 * testsuite/caps/random.c: (main):
7753 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7754 * testsuite/caps/sets.c: (check_caps):
7755 * testsuite/caps/simplify.c: (check_caps), (main):
7756 * testsuite/caps/subtract.c: (check_caps):
7757 Fix _pad_get_direction wrt ghostpads.
7760 2005-03-09 Wim Taymans <wim@fluendo.com>
7762 * check/Makefile.am:
7763 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7764 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7765 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7766 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7767 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7768 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7769 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7770 (bin_element_is_sink), (gst_bin_iterate_sinks),
7771 (gst_bin_iterate_all_by_interface):
7773 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7774 (gst_element_change_state), (gst_element_dispose),
7775 (gst_element_finalize), (gst_element_set_loop_function):
7777 * gst/gstiterator.c: (find_custom_fold_func):
7778 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7779 (gst_pad_collectv), (gst_pad_collect_valist),
7780 (gst_pad_template_new):
7781 * gst/gstpipeline.c: (gst_pipeline_class_init),
7782 (gst_pipeline_dispose), (gst_pipeline_set_property),
7783 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7784 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7785 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7787 * gst/schedulers/entryscheduler.c:
7788 * gst/schedulers/gstbasicscheduler.c:
7789 (gst_basic_scheduler_cothreaded_chain),
7790 (gst_basic_scheduler_chain_add_element):
7791 * testsuite/bins/interface.c: (main):
7793 Added GstSystemClock test.
7794 Implemented clock distribution code in GstBin.
7795 Implemented iterate sinks method for future use.
7796 Rearranged gstelement.h
7797 Fix GstIterator comparison bug.
7798 Moved some code to GstPipeline, mostly clocking related.
7800 2005-03-09 Wim Taymans <wim@fluendo.com>
7803 * gst/gst_private.h:
7804 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7805 (gst_bin_remove_func), (gst_bin_remove),
7806 (gst_bin_get_by_name_recurse_up):
7807 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7808 (gst_clock_id_compare_func), (gst_clock_id_wait),
7809 (gst_clock_id_wait_async), (gst_clock_init),
7810 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7812 * gst/gstinfo.c: (_gst_debug_init):
7814 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7815 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7817 Bump version number, we're now 0.9.0
7818 Add future debugging category.
7819 Fix NULL _unref() in _get_by_name_recurse_up
7823 2005-03-08 Wim Taymans <wim@fluendo.com>
7825 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7826 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7827 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7828 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7829 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7830 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7831 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7832 * gst/elements/gstidentity.c: (gst_identity_class_init):
7833 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7834 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7835 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7836 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7837 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7839 * gst/gstelement.c: (gst_element_class_init),
7840 (gst_element_base_class_init), (gst_element_init),
7841 (gst_element_get_random_pad), (gst_element_wait_state_change),
7842 (gst_element_change_state), (gst_element_dispose),
7843 (gst_element_finalize), (gst_element_set_loop_function):
7845 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7846 * gst/gstthread.c: (gst_thread_class_init),
7847 (gst_thread_release_children_locks), (gst_thread_change_state):
7848 * gst/schedulers/gstbasicscheduler.c:
7849 (gst_basic_scheduler_loopfunc_wrapper),
7850 (gst_basic_scheduler_chain_wrapper),
7851 (gst_basic_scheduler_src_wrapper),
7852 (gst_basic_scheduler_remove_element):
7853 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7854 Remove threadsafe properties. Fix elements because GObject
7855 complains when installing a property before declaring a
7856 set/get_property handler.
7857 Rearrange gstelement.h file, use STATE macros for state locks.
7858 Free mutexes in the finalize method instead of dispose.
7860 2005-03-08 Wim Taymans <wim@fluendo.com>
7862 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7863 * gst/gstthread.c: (gst_thread_release_children_locks):
7864 Added parentage check.
7865 Fix build og GstThread again.
7867 2005-03-08 Wim Taymans <wim@fluendo.com>
7869 * docs/design/part-MT-refcounting.txt:
7870 * docs/design/part-conventions.txt:
7871 * docs/design/part-gstobject.txt:
7872 * docs/design/part-relations.txt:
7873 * docs/design/part-standards.txt:
7874 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7875 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7876 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7877 (gst_bin_iterate_all_by_interface):
7880 * gst/gstelement.c: (gst_element_class_init),
7881 (gst_element_change_state), (gst_element_set_loop_function):
7883 * gst/gstiterator.c:
7884 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7885 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7886 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7887 (gst_object_set_parent), (gst_object_unparent),
7888 (gst_object_check_uniqueness):
7890 Docs updates, clean up some headers.
7892 2005-03-07 Wim Taymans <wim@fluendo.com>
7895 * check/Makefile.am:
7896 * check/gst-libs/.cvsignore:
7897 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7898 * check/gst/.cvsignore:
7899 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7900 (START_TEST), (gstbus_suite), (main):
7901 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7902 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7903 (gst_data_suite), (main):
7904 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7905 (add_fold_func), (gstiterator_suite), (main):
7906 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7907 (thread_name_object), (thread_name_object_default),
7908 (gst_object_name_compare), (gst_object_suite), (main):
7909 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7910 (gst_pad_suite), (main):
7911 * check/gstcheck.c: (gst_check_log_message_func),
7912 (gst_check_log_critical_func), (gst_check_init):
7914 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7915 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7918 2005-03-07 Wim Taymans <wim@fluendo.com>
7920 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7921 (gst_list_iterator_next), (gst_list_iterator_resync),
7922 (gst_list_iterator_free), (gst_iterator_new_list),
7923 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7924 (gst_iterator_free), (gst_iterator_push), (filter_next),
7925 (filter_resync), (filter_uninit), (filter_free),
7926 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7927 (gst_iterator_foreach), (find_custom_fold_func),
7928 (gst_iterator_find_custom):
7929 * gst/gstiterator.h:
7930 Added missing files.
7932 2005-03-07 Wim Taymans <wim@fluendo.com>
7936 * docs/design/part-MT-refcounting.txt:
7937 * docs/design/part-conventions.txt:
7938 * docs/design/part-gstobject.txt:
7939 * docs/design/part-relations.txt:
7940 * examples/mixer/mixer.c: (main):
7941 * examples/thread/thread.c: (eos), (main):
7943 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7944 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7945 (gst_spider_plug_from_srcpad):
7946 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7947 (gst_spider_identity_change_state),
7948 (gst_spider_identity_sink_loop_type_finding):
7949 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7950 * gst/elements/gstidentity.c: (gst_identity_init):
7951 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7952 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7953 * gst/elements/gsttypefindelement.c: (free_entry):
7956 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7957 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7958 (gst_bin_set_index), (gst_bin_set_element_sched),
7959 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7960 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7961 (gst_bin_iterate_elements), (iterate_child_recurse),
7962 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7963 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7964 (compare_interface), (gst_bin_get_by_interface),
7965 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7967 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7968 (gst_buffer_default_free), (gst_buffer_default_copy),
7969 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7970 (gst_buffer_create_sub):
7972 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7973 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7974 (gst_caps_unref), (gst_static_caps_get),
7975 (gst_caps_remove_and_get_structure), (gst_caps_append),
7976 (gst_caps_append_structure), (gst_caps_remove_structure),
7977 (gst_caps_copy_nth), (gst_caps_set_simple),
7978 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
7979 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
7980 (gst_caps_structure_intersect_field), (gst_caps_intersect),
7981 (gst_caps_structure_subtract_field), (gst_caps_subtract),
7982 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
7983 (gst_caps_structure_figure_out_union),
7984 (gst_caps_switch_structures), (gst_caps_do_simplify),
7985 (gst_caps_replace), (gst_caps_from_string),
7986 (gst_caps_copy_conditional):
7988 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
7989 (_gst_clock_id_free), (gst_clock_id_unref),
7990 (gst_clock_id_compare_func), (gst_clock_id_wait),
7991 (gst_clock_id_wait_async), (gst_clock_class_init),
7992 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
7993 (gst_clock_get_time), (gst_clock_set_time_adjust),
7994 (gst_clock_set_property), (gst_clock_get_property):
7997 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
7998 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8000 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8001 (gst_element_requires_clock), (gst_element_provides_clock),
8002 (gst_element_set_clock), (gst_element_clock_wait),
8003 (gst_element_wait), (gst_element_set_time_delay),
8004 (gst_element_is_indexable), (gst_element_add_pad),
8005 (gst_element_add_ghost_pad), (gst_element_remove_pad),
8006 (pad_compare_name), (gst_element_get_static_pad),
8007 (gst_element_request_pad), (gst_element_get_request_pad),
8008 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8009 (gst_element_class_get_pad_template_list),
8010 (gst_element_class_get_pad_template), (gst_element_error_func),
8011 (gst_element_get_random_pad), (gst_element_get_event_masks),
8012 (gst_element_send_event), (gst_element_seek),
8013 (gst_element_get_query_types), (gst_element_query),
8014 (gst_element_get_formats), (gst_element_convert),
8015 (gst_element_is_locked_state), (gst_element_set_locked_state),
8016 (gst_element_sync_state_with_parent), (gst_element_change_state),
8017 (gst_element_finalize), (gst_element_yield),
8018 (gst_element_interrupt), (gst_element_set_scheduler),
8019 (gst_element_get_scheduler), (gst_element_set_loop_function):
8022 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8023 (gst_format_get_by_nick), (gst_format_get_details),
8024 (gst_format_iterate_definitions):
8026 * gst/gstindex.c: (gst_index_gtype_resolver):
8029 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8030 (gst_mem_chunk_free):
8031 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8032 (gst_object_ref), (gst_object_unref), (gst_object_sink),
8033 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8034 (gst_object_dispatch_properties_changed),
8035 (gst_object_set_name_default), (gst_object_set_name),
8036 (gst_object_get_name), (gst_object_set_name_prefix),
8037 (gst_object_get_name_prefix), (gst_object_set_parent),
8038 (gst_object_get_parent), (gst_object_unparent),
8039 (gst_object_check_uniqueness), (gst_object_save_thyself),
8040 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8041 (gst_object_set_property), (gst_object_get_property),
8042 (gst_object_get_path_string):
8044 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8045 (gst_real_pad_init), (gst_real_pad_get_property),
8046 (gst_pad_custom_new), (gst_pad_get_direction),
8047 (gst_pad_set_active), (gst_pad_is_active),
8048 (gst_pad_set_event_function), (gst_pad_is_linked),
8049 (gst_pad_link_free), (gst_pad_link_intersect),
8050 (gst_pad_link_fixate), (gst_pad_set_caps),
8051 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8052 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8053 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8054 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8055 (gst_pad_get_caps), (gst_pad_peer_get_caps),
8056 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8057 (gst_pad_realize), (gst_pad_get_allowed_caps),
8058 (gst_real_pad_dispose), (gst_real_pad_finalize),
8059 (gst_pad_collectv), (gst_pad_collect_valist),
8060 (gst_pad_template_dispose), (gst_pad_template_new),
8061 (gst_pad_get_internal_links):
8063 * gst/gstpipeline.c: (gst_pipeline_dispose),
8064 (gst_pipeline_change_state):
8065 * gst/gstpipeline.h:
8067 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8068 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8069 * gst/gstpluginfeature.h:
8070 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8071 * gst/gstquery.c: (_gst_query_type_initialize),
8072 (gst_query_type_register), (gst_query_type_get_by_nick),
8073 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8075 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8076 * gst/gstscheduler.c: (gst_scheduler_add_element),
8077 (gst_scheduler_factory_create):
8078 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8079 (gst_structure_free), (gst_structure_set_name),
8080 (gst_structure_id_set_value), (gst_structure_set_value),
8081 (gst_structure_set_valist), (gst_structure_remove_field),
8082 (gst_structure_remove_fields),
8083 (gst_structure_remove_fields_valist),
8084 (gst_structure_remove_all_fields), (gst_structure_foreach),
8085 (gst_structure_map_in_place),
8086 (gst_caps_structure_fixate_field_nearest_int),
8087 (gst_caps_structure_fixate_field_nearest_double):
8088 * gst/gststructure.h:
8089 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8090 (gst_system_clock_init), (gst_system_clock_dispose),
8091 (gst_system_clock_async_thread),
8092 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8093 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8094 * gst/gstsystemclock.h:
8095 * gst/gsttag.c: (gst_tag_list_add_value_internal),
8096 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8097 * gst/gsttaginterface.c:
8098 * gst/gstthread.c: (gst_thread_dispose),
8099 (gst_thread_release_children_locks), (gst_thread_change_state),
8100 (gst_thread_main_loop):
8101 * gst/gsttrashstack.h:
8102 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8104 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8105 (gst_element_request_pad), (gst_element_get_pad_from_template),
8106 (gst_element_request_compatible_pad),
8107 (gst_element_get_compatible_pad_filtered),
8108 (gst_element_get_compatible_pad), (gst_element_state_get_name),
8109 (gst_element_link_pads_filtered), (gst_element_link_filtered),
8110 (gst_element_link_many), (gst_element_link),
8111 (gst_element_link_pads), (gst_element_unlink_pads),
8112 (gst_element_unlink_many), (gst_element_unlink),
8113 (gst_pad_can_link_filtered), (gst_pad_can_link),
8114 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8115 (gst_object_default_error), (gst_bin_add_many),
8116 (gst_bin_remove_many), (gst_element_populate_std_props),
8117 (gst_element_class_install_std_props), (gst_buffer_merge),
8118 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8119 (link_fold_func), (gst_pad_proxy_setcaps):
8121 * gst/gstvalue.c: (gst_value_deserialize_string):
8122 * gst/parse/grammar.y:
8123 * gst/schedulers/gstbasicscheduler.c:
8124 (gst_basic_scheduler_cothreaded_chain),
8125 (gst_basic_scheduler_chain_recursive_add),
8126 (gst_basic_scheduler_pad_link):
8127 * gst/schedulers/gstoptimalscheduler.c:
8128 (get_group_schedule_function),
8129 (gst_opt_scheduler_state_transition),
8130 (gst_opt_scheduler_add_element), (element_get_reachables_func):
8131 * libs/gst/bytestream/bytestream.c:
8132 * libs/gst/dataprotocol/dataprotocol.c:
8133 (gst_dp_header_from_buffer):
8136 * tests/threadstate/threadstate2.c: (eos):
8137 * tools/gst-compprep.c: (main):
8138 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8139 (print_pad_info), (print_children_info):
8140 * tools/gst-launch.c: (idle_func), (main):
8141 * tools/gst-md5sum.c: (idle_func), (main):
8142 * tools/gst-xmlinspect.c: (print_element_info):
8143 First THREADED backport attempt, focusing on adding locks and
8144 making sure the API is threadsafe. Needs more work. More docs
8147 2005-02-24 Andy Wingo <wingo@pobox.com>
8149 * tests/bench-complexity.scm:
8150 * tests/complexity.gnuplot: New files, good for running complexity
8153 * tests/Makefile.am:
8154 * tests/complexity.c: New test, sets up N elements, at each level
8155 teeing into M streams per element. Eeeenteresting.
8157 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8158 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8159 running bench-mass_elements.scm.
8161 * tests/bench-mass_elements.scm: New script, runs mass_elements
8162 for various numbers of identities, outputting the results to a
8163 file. Requires guile 1.6. Just for testing.
8165 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
8167 * gst/schedulers/fairscheduler.c:
8168 compile with debug disabled
8170 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
8173 hunting season on 0.9 is now OPEN