1 2005-10-07 Andy Wingo <wingo@pobox.com>
3 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4 that setting a live fakesrc to PAUSED returns NO_PREROLL both
7 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
8 NO_PREROLL from gst_element_change_state to fall through.
10 2005-10-07 Wim Taymans <wim@fluendo.com>
12 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
13 (gst_ghost_pad_do_activate_push):
14 Activating a ghostpad with no internal pad in push mode
17 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
20 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21 Fixes compilation on Windows.
23 2005-10-07 Michael Smith <msmith@fluendo.com>
25 * tools/gst-inspect.c:
26 Print out feature and plugin count at the end when printing out
29 2005-10-04 Michael Smith <msmith@fluendo.com>
31 * gst/gsterror.c: (_gst_stream_errors_init):
32 Add another error string used in a few existing plugins.
35 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
36 * tools/gst-inspect.c: (print_element_info):
37 When a feature disappears from a plugin (and the feature exists in
38 the cached registry file), things went horribly wrong. This isn't a
39 complete fix, we should actually be removing the 'missing' features
40 from the features list when we load the actual plugin. That's not
43 2005-10-04 Johan Dahlin <johan@gnome.org>
45 * check/gst/gstiterator.c: (GST_START_TEST):
46 * gst/gstbin.c: (gst_bin_iterate_elements),
47 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
48 * gst/gstelement.c: (gst_element_iterate_pads):
49 * gst/gstformat.c: (gst_format_iterate_definitions):
50 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
51 (gst_iterator_new_list), (gst_iterator_filter):
53 * gst/gstquery.c: (gst_query_type_iterate_definitions):
54 Add a GType to GstIterator, update callsites and tests.
56 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
58 * gst/gstpad.c: (gst_pad_event_default_dispatch):
59 give events a chance to be handled by event probes when the pad
62 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
64 * gst/gstevent.c: (gst_event_type_get_name),
65 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
67 add string representations for event types
69 2005-10-06 Wim Taymans <wim@fluendo.com>
71 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
72 Don't use NULL pointers.
74 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
80 * gst/gstpluginfeature.c:
81 widen the debug category in output to fit the biggest one we have
82 add a bus category and use it
84 fix up some categories
86 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
88 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
89 add push activation of sink ghost pads.
92 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
94 * gst/gstutils.c: (gst_element_link_pads):
95 fix a bug in the case where neither element has a pad
96 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
97 add a test for that case
99 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
101 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
102 emit have-data before checking for peers. This allows
103 for probe handlers to connect elements. This helps autopluggers.
104 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
106 add six checks, linked/unlinked with no/true/false probe
108 2005-10-04 Wim Taymans <wim@fluendo.com>
110 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
111 (gst_fake_sink_event), (gst_fake_sink_preroll),
112 (gst_fake_sink_render), (gst_fake_sink_change_state):
113 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
114 (gst_fake_src_get_property), (gst_fake_src_create),
116 * gst/elements/gstidentity.c: (gst_identity_stop):
117 Protect last_message with lock.
119 2005-10-04 Edward Hervey <edward@fluendo.com>
122 Added precision in the comments for GST_FORMAT_DEFAULT
124 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
126 * tools/gst-launch.c: (main):
127 Don't try to run erroneous pipelines.
129 2005-10-04 Julien MOUTTE <julien@moutte.net>
131 * gst/gstbus.c: We don't need this header.
133 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
138 === release 0.9.3 ===
140 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
144 Releasing 0.9.3, "Unregistered"
146 2005-10-03 Andy Wingo <wingo@pobox.com>
148 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
149 whereby calling a pad's activatepush() function can start a thread
150 that starts to push or pull before the pad gets the FLUSHING flag
151 unset. Hack around it by holding the stream lock until the flag is
152 set. Need to replace this with a proper solution. Together with
153 the ghost pad fixes, this fixes mp3 playing/tagreading.
155 * docs/design/part-gstghostpad.txt: Add a note about activation of
156 proxy pads outside of ghost pads.
158 * gst/gstghostpad.c: Implement the ghost pad activation design.
160 2005-10-02 Andy Wingo <wingo@pobox.com>
162 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
163 It is volatile, after all.
165 * docs/design/part-gstghostpad.txt: Flesh out activation with
168 * gst/base/gstbasesrc.c (gst_base_src_init): Use
171 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
174 Fix (unused) AM_CONDITIONAL tests.
176 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
178 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
180 * gst/gstutils.c: (gst_pad_query_convert):
181 Add assertion that makes sure src_val is >=0, just like
182 gst_query_new_convert() has. (#315895)
184 2005-09-30 Edward Hervey <edward@fluendo.com>
186 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
187 Let's not iterate pads we're not interested in, it avoids getting
188 sky-high refcounts on sinkpad.
190 2005-09-30 Wim Taymans <wim@fluendo.com>
192 * gst/gstelement.c: (gst_element_set_state),
193 (gst_element_change_state):
194 Small tweak, element in ASYNC remains ASYNC.
196 2005-09-30 Wim Taymans <wim@fluendo.com>
198 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
199 Only error is an error.
201 * gst/gstbin.c: (gst_bin_change_state):
204 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
205 Also call pad_block in pad alloc.
207 * gst/gstutils.c: (gst_flow_get_name):
210 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
212 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
213 (gst_base_src_get_range):
214 Fix documentation typos. Add some more debug info.
216 2005-09-29 David Schleef <ds@schleef.org>
218 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
219 more end-user friendly.
220 * tools/gst-inspect.c: (main): Check if command-line argument is
221 a file and attempt to load that file as a plugin.
223 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
225 * check/gst/gstbin.c:
226 * check/states/sinks.c:
227 fix tests for the new warning
228 * check/gst/gstpipeline.c:
229 add a test for pipeline and bus interaction
231 elements should be NULL if they get disposed; add a warning if not
233 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
236 for 2.6 refcounting, make debug log more correct by printing
237 the actual refcounts at the time of swap (Wim)
239 2005-09-29 Andy Wingo <wingo@pobox.com>
241 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
242 removes signal watches previously added via
243 gst_bus_add_signal_watch.
244 (gst_bus_add_signal_watch): Don't return the source id, just store
245 it on the bus if there wasn't an id already.
247 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
248 add_signal_watch and remove_signal_watch.
250 2005-09-29 Edward Hervey <edward@fluendo.com>
252 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
253 Better if we actually iterate the list :)
255 2005-09-29 Wim Taymans <wim@fluendo.com>
257 * check/gst/gstbin.c: (GST_START_TEST):
258 Change for new bus API.
260 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
261 (send_messages), (GST_START_TEST), (gstbus_suite):
262 Change for new bus signal API.
264 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
265 (gst_bus_source_prepare), (gst_bus_source_check),
266 (gst_bus_create_watch), (gst_bus_add_watch_full),
267 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
268 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
270 Remove support for multiple GSources operating on different
271 message types as it is too complex and unneeded when using
273 Added support for receiving signals from the bus.
275 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
277 * docs/libs/tmpl/gstdataprotocol.sgml:
278 * docs/manual/advanced-dataaccess.xml:
279 * gst/elements/gstcapsfilter.c:
281 rename filter-caps to caps property
283 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
285 * gst/gstvalue.c: (gst_value_deserialize_fraction):
286 More robust fraction string parsing.
288 * docs/pwg/appendix-porting.xml:
289 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
291 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
293 * gst/gstcaps.c: (gst_caps_do_simplify):
294 Thou shalt not free a structure and then continue using it
295 in the next loop iteration.
297 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
299 Add test case for caps simplification.
301 2005-09-29 Wim Taymans <wim@fluendo.com>
303 * check/gst/gstbin.c: (GST_START_TEST):
306 2005-09-29 Wim Taymans <wim@fluendo.com>
308 * check/gst/gstbin.c: (GST_START_TEST):
311 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
312 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
313 (find_element), (gst_bin_sort_iterator_next),
314 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
315 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
316 (gst_bin_change_state), (gst_bin_dispose):
317 A bin does not have a bus, it gets the bus from the parent.
319 * gst/gstelement.c: (gst_element_requires_clock),
320 (gst_element_provides_clock), (gst_element_is_indexable),
321 (gst_element_is_locked_state), (gst_element_change_state),
322 (gst_element_set_bus_func):
325 * gst/gstpipeline.c: (gst_pipeline_class_init),
326 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
327 The pipeline provides a bus.
329 2005-09-28 Johan Dahlin <johan@gnome.org>
331 * gst/gstmessage.c (gst_message_parse_state_changed): Use
332 gst_structure_get_enum instead of gst_structure_get_int
334 * gst/gststructure.c (gst_structure_get_enum): Impl.
336 * gst/gststructure.h (gst_structure_get_enum): Add
338 * docs/gst/gstreamer-sections.txt: Ditto
340 * gst/gstmessage.c (gst_message_new_state_changed): Use
341 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
342 which does introspection.
343 Reviewed by Christian Schaller
345 2005-09-28 Stefan Kost <ensonic@users.sf.net>
347 * gst/gstinfo.c: (gst_debug_log_default):
348 don't do dummy g_strdup()s
349 * libs/gst/controller/gstcontroller.c:
350 (on_object_controlled_property_changed),
351 (gst_controlled_property_new), (gst_controller_new_valist),
352 (gst_controller_new_list),
353 (gst_controller_remove_properties_valist), (gst_controller_set),
354 (gst_controller_get), (gst_controller_sync_values),
355 (gst_controller_get_value_array), (_gst_controller_class_init),
356 (gst_controller_get_type):
357 * libs/gst/controller/gstcontroller.h:
358 * libs/gst/controller/gstinterpolation.c:
359 (gst_controlled_property_find_timed_value_node):
360 convert // to /**/ comments
362 2005-09-28 Wim Taymans <wim@fluendo.com>
364 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
365 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
366 (gst_bus_sync_signal_handler):
368 Added async-message and sync-message signals to the bus.
369 Added helper BusFunc to emit signals for all posted messages.
371 * gst/gstmessage.c: (gst_message_type_get_name),
372 (gst_message_type_to_quark), (gst_message_get_type):
374 Register quarks for message names.
376 2005-09-28 Stefan Kost <ensonic@users.sf.net>
378 * docs/libs/gstreamer-libs-sections.txt:
379 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
380 (gst_controller_new_list):
381 * libs/gst/controller/gstcontroller.h:
382 added another constructor for language bindings
384 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
386 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
390 * gst/gstinfo.c: (_gst_debug_init):
391 slightly more readable color for refcount debugging
393 2005-09-28 Wim Taymans <wim@fluendo.com>
395 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
396 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
397 (find_element), (gst_bin_sort_iterator_next),
398 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
399 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
400 (gst_bin_change_state), (gst_bin_dispose):
401 Small doc fixes. get_clock -> provide_clock.
403 * gst/gstelement.c: (gst_element_class_init),
404 (gst_element_provides_clock), (gst_element_provide_clock),
405 (gst_element_get_clock), (gst_element_commit_state),
406 (gst_element_lost_state):
408 Make get/set_clock() symetric. Add provide_clock vmethod since
409 that is actually what this function does.
411 * gst/gstpipeline.c: (gst_pipeline_class_init),
412 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
413 (gst_pipeline_get_clock):
414 get_clock -> provide_clock.
416 2005-09-28 Andy Wingo <wingo@pobox.com>
418 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
421 * gst/elements/gstfdsrc.c: Cleaned up a bit.
423 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
425 * gst/elements/gstcapsfilter.c:
426 * gst/elements/gstfakesink.c:
427 * gst/elements/gstfakesrc.c:
428 * gst/elements/gstfdsink.c:
429 * gst/elements/gstfdsrc.c:
430 * gst/elements/gstfilesink.c:
431 * gst/elements/gstfilesrc.c:
432 * gst/elements/gstidentity.c:
433 * gst/elements/gsttee.c:
434 * gst/elements/gsttypefindelement.c:
435 Make element details static.
437 2005-09-28 Wim Taymans <wim@fluendo.com>
439 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
440 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
441 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
442 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
443 (gst_bin_change_state), (gst_bin_dispose):
444 Some documentation updates.
445 Clean up dispose handlers.
447 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
448 * gst/gstpad.c: (gst_pad_dispose):
449 Clean up dispose handler.
451 * gst/gstpipeline.c: (gst_pipeline_change_state):
452 Removed spurious UNLOCK.
454 2005-09-27 Stefan Kost <ensonic@users.sf.net>
456 * docs/gst/gstreamer-sections.txt:
457 * gst/base/gstbasesrc.h:
466 added two new functions to the docs
467 documents all undocumented GstXXXFlags
468 completed some incomplete docs
470 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
472 * gst/gstbin.c: (gst_bin_dispose):
473 * gst/gstelement.c: (gst_element_dispose):
474 remove now useless and leaky resurrection code in dispose
475 * gst/base/gstbasesrc.c: (gst_base_src_init):
476 * gst/gstelementfactory.c: (gst_element_factory_create):
477 * gst/gstobject.c: (gst_object_set_parent):
480 2005-09-27 Wim Taymans <wim@fluendo.com>
482 * docs/design/part-TODO.txt:
485 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
486 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
487 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
488 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
489 (gst_bin_change_state):
491 Remove element variable, we keep element info in the iterator now.
493 2005-09-27 Andy Wingo <wingo@pobox.com>
495 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
498 2005-09-27 Wim Taymans <wim@fluendo.com>
500 * check/gst/gstbin.c: (GST_START_TEST):
501 Enable check that works now.
503 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
504 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
505 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
506 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
507 (gst_bin_change_state):
509 Redid the state change algorithm using a topological sort algo.
510 Handles all cases correctly.
511 Exposed iterator for state change order.
514 Temp storage for state changes. Need to get rid of this soon.
516 2005-09-27 Wim Taymans <wim@fluendo.com>
518 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
519 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
520 (link_fold_func), (gst_pad_proxy_setcaps):
521 Leak fixes, the fold functions need to unref the passed object and
522 _get_parent_*() returns ref to parent.
524 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
526 * check/gst/gstbuffer.c: (test_make_writable):
527 Plug leak in test case and fix 'make check-valgrind'
529 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
531 * gst/gstbuffer.c: (gst_subbuffer_init):
532 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
533 works correctly in all circumstances (we could have just copied
534 the parent buffer's readonly flag, but conceptually it seems
535 cleaner to mark all subbuffers as read-only). (based on patch
536 by Alessandro Decina, #314710).
538 * check/gst/gstbuffer.c: (create_read_only_buffer),
539 (test_make_writable), (test_subbuffer_make_writable),
541 Add some tests for gst_buffer_make_writable().
543 2005-09-27 Wim Taymans <wim@fluendo.com>
545 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
546 use gst_object_has_ancestor().
548 * gst/gstobject.c: (gst_object_has_ancestor):
550 gst_object_has_ancestor() copied from gstbin.c as it is a
553 * tests/instantiate/create.c: (create_all_elements):
554 * tests/lat.c: (handoff_src), (handoff_sink):
555 * tests/sched/runxml.c: (main):
556 * tests/seeking/seeking1.c: (main):
557 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
559 Fix compilation of some tests.
561 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
564 Remove comment. GST_TYPE_G_ERROR is here to stay,
565 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
568 2005-09-26 Wim Taymans <wim@fluendo.com>
570 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
571 Added check that shows error in state change order.
573 2005-09-26 Wim Taymans <wim@fluendo.com>
575 * gst/gstbin.c: (gst_bin_change_state):
576 Make state change function use 3 queues again, we were
577 adding elements in the wrong order.
579 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
582 * gst/gstpad.c: (gst_pad_dispose):
583 Added some debug info first.
585 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
587 * docs/design/draft-push-pull.txt:
588 * docs/design/part-events.txt:
589 * docs/design/part-overview.txt:
590 * docs/design/part-scheduling.txt:
591 Replace all _pull_region() with _pull_range()
593 2005-09-26 Andy Wingo <wingo@pobox.com>
595 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
597 * check/gst-libs/controller.c: Update for controller api change.
601 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
602 over by GLib bug 118439.
604 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
605 routines to a function.
607 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
609 * libs/gst/controller/gsthelper.c:
610 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
611 (gst_object_sync_values): Renamed from sink_values. Ugh.
613 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
615 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
616 Renamed from controller_key, as it is exported.
618 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
620 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
625 * gst/gstpadtemplate.h:
628 * gst/gstqueryutils.c:
629 * gst/gstqueryutils.h:
630 remove queryutils headers after moving the two used functions
631 to gstquery. also fixes build problem for gstsiddec
633 2005-09-26 Michael Smith <msmith@fluendo.com>
635 * tools/gst-launch.1.in:
636 Correct documentation in manpage of debug syntax
638 2005-09-26 Wim Taymans <wim@fluendo.com>
640 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
641 (gst_base_src_is_seekable), (gst_base_src_change_state):
642 Some more debugging info.
644 2005-09-25 Stefan Kost <ensonic@users.sf.net>
646 * docs/gst/gstreamer-sections.txt:
647 * gst/base/gstbasetransform.h:
651 2005-09-25 Stefan Kost <ensonic@users.sf.net>
653 * docs/gst/.cvsignore:
654 * docs/gst/tmpl/.cvsignore:
655 * docs/gst/tmpl/gstpipeline.sgml:
656 * docs/gst/tmpl/gstplugin.sgml:
660 inlined the last two docs files
661 removed the tmpl directory from cvs (no more conflicts here!)
663 2005-09-25 Stefan Kost <ensonic@users.sf.net>
665 * docs/gst/gstreamer-sections.txt:
666 * docs/gst/tmpl/.cvsignore:
667 * docs/gst/tmpl/gstpad.sgml:
668 * docs/gst/tmpl/gstpadtemplate.sgml:
670 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
671 (gst_pad_finalize), (gst_pad_set_pad_template):
673 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
674 (gst_pad_template_class_init), (gst_pad_template_init),
675 (gst_pad_template_dispose), (name_is_valid),
676 (gst_static_pad_template_get), (gst_pad_template_new),
677 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
678 (gst_pad_template_pad_created):
679 * gst/gstpadtemplate.h:
680 inlined two more docs
681 factored gstpadtemplate out of gstpad
683 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
685 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
686 (test_children_state_change_order_semi_sink):
687 Fix test case: we can't rely on a fixed state change order when
688 going from READY => PAUSED because the sink might commit its
689 new state first when the first buffer created by the source
690 reaches the sink before the source has finished its change state.
691 (Test case still fails at times, see #316856, comment 5 onwards)
693 2005-09-24 Wim Taymans <wim@fluendo.com>
695 * docs/design/part-events.txt:
696 * docs/design/part-gstbus.txt:
697 * docs/design/part-gstpipeline.txt:
698 * docs/design/part-messages.txt:
699 * docs/design/part-overview.txt:
700 * docs/design/part-segments.txt:
708 Various documentation updates.
710 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
713 Well, that's embarassing. Luckily we weren't using
714 GST_CLOCK_DIFF anywhere.
716 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
718 * common/gtk-doc.mak:
719 don't fail on building XML, FC4 slave shows a bunch of doc
720 missing bits that I don't get
723 * gst/gststructure.c:
726 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
728 * docs/design/part-gstbin.txt:
729 * docs/design/part-gstbus.txt:
731 Add blurb about how the bus goes into flushing mode and
732 drops all messages when its bin goes from READY into NULL
735 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
737 * docs/gst/gstreamer-sections.txt:
738 * gst/gststructure.c: (gst_structure_get_clock_time):
739 * gst/gststructure.h:
740 add a method to get a GstClockTime out of a structure
742 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
744 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
745 (test_children_state_change_order_semi_sink), (gst_bin_suite):
746 Added test to check state change order in bins (can still be made
747 to fail here under heavy disk load; bails out with 'Push on pad
748 fakesink:sink0, but it was not activated in push mode').
750 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
751 Fix state change order when there is only a semi sink (#316856)
753 * gst/gstbus.c: (gst_bus_class_init):
754 Use _class_peek_parent(), not _class_ref(); fix docs to say
755 'default main context' instead of 'mainloop' where that is
758 * gst/gstelement.c: (gst_element_commit_state),
759 (gst_element_set_state):
760 Fix typos in debug messages
762 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
765 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
766 * gst/gstpluginfeature.c:
769 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
770 change an assert into an error until it gets fixed properly
772 2005-09-23 Stefan Kost <ensonic@users.sf.net>
774 * docs/gst/gstreamer-sections.txt:
775 * docs/gst/tmpl/.cvsignore:
776 * docs/gst/tmpl/gstelement.sgml:
777 * docs/gst/tmpl/gstinfo.sgml:
778 * docs/gst/tmpl/gstobject.sgml:
783 * gst/gstobject.c: (gst_object_class_init):
785 inlined 3 more biiiig doc files and added some missing docs on the fly
787 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
789 * check/gst/.cvsignore:
790 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
791 * gst/gstregistryxml.c: (load_plugin),
792 (gst_registry_xml_save_plugin):
793 put back source in registry. add checks for find_plugin.
794 * testsuite/states/bin.c: (assert_state), (empty_bin),
795 (test_adding_one_element), (main):
796 * testsuite/states/locked.c: (main):
797 some compile/run fixes
799 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
801 * check/gst/gstvalue.c: (GST_START_TEST):
802 fix leaks in the test itself
804 2005-09-22 Wim Taymans <wim@fluendo.com>
806 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
807 (gst_base_sink_send_event), (gst_base_sink_peer_query),
808 (gst_base_sink_query):
809 Prepare for more accurate position reporting and query
812 * gst/gstelement.c: (gst_element_send_event),
813 (gst_element_set_state):
816 2005-09-22 Wim Taymans <wim@fluendo.com>
818 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
819 (gst_query_parse_segment):
822 Add segment query for future use.
824 2005-09-22 Wim Taymans <wim@fluendo.com>
826 * gst/gstbin.c: (gst_bin_add_func):
827 Some more debug info.
829 * gst/gstelement.c: (gst_element_send_event):
833 Don't know how flags got broken.
838 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
840 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
841 Add simplistic test suite for GST_TYPE_DATE serialisation and
844 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
846 * docs/gst/gstreamer-sections.txt:
847 * gst/gststructure.c: (gst_structure_set_valist),
848 (gst_structure_get_date):
849 * gst/gststructure.h:
850 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
851 (gst_date_copy), (gst_value_compare_date),
852 (gst_value_serialize_date), (gst_value_deserialize_date),
853 (gst_value_transform_date_string),
854 (gst_value_transform_string_date), (_gst_value_initialize):
856 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
857 bunch of utility functions along with a hack that checks that
858 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
859 is required. Part of the grand scheme in #170777.
861 2005-09-22 Andy Wingo <wingo@pobox.com>
863 * gst/gstconfig.h.in: Psych out gtk-doc.
865 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
867 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
869 * tools/gst-inspect.c (print_element_list): Plug some
870 inconsequential leaks.
872 * gst/gstregistry.c (gst_registry_get_default): Doc.
874 * check/gst/gstplugin.c:
875 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
876 * gst/gstelementfactory.c (gst_element_factory_create):
877 * gst/gstindexfactory.c (gst_index_factory_create): Update for
880 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
881 (gst_plugin_feature_load): Doc, don't eat refs.
883 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
884 (gst_plugin_list_free): Doc.
885 (gst_plugin_load_file): Doc updates.
887 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
888 accessors returning refcounted objects, return a ref.
890 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
891 accessor for caps. IDEMPOTENCE. Oh yes.
893 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
895 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
897 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
898 (_gst_debug_register_funcptr):
899 Add mutex to serialise access to the hash table with
900 the function pointer => function name string mapping;
901 make that hash table static scope (#316809).
903 * gst/registries/.cvsignore:
904 Remove left-over file.
906 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
908 * docs/pwg/appendix-porting.xml:
909 And something about newsegment events and caps-on-buffers to
910 the porting guide (feel free to improve).
912 2005-09-21 Andy Wingo <wingo@pobox.com>
914 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
915 data and event probes on the same pad.
916 (test_buffer_probe_once): Test that removing probes from within
917 the probe functions works.
919 2005-09-21 Andy Wingo <wingo@pobox.com>
921 * check/gst/gstutils.c: New file.
922 (test_buffer_probe_n_times): A simple buffer probe test. More to
925 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
926 have-data::buffer, not have-data.
927 (gst_pad_add_event_probe): Likewise for have-data::event.
928 (gst_pad_add_data_probe): More docs. The part about 'resolving the
929 peer' isn't quite right yet though.
930 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
931 (gst_pad_remove_data_probe): Change to take the guint handler_id
932 as their arg, not the function+data, which is more glib-like.
934 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
935 the signal emission to indicate if the data is a buffer or an
937 (gst_pad_get_type): Initialize buffer and event quarks.
938 (gst_pad_class_init): have-data is now a detailed signal, yes it
941 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
943 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
944 * gst/gstutils.c: (gst_util_set_value_from_string),
945 (gst_util_set_object_arg):
946 Don't put functional code in g_return_if_fail() or
947 g_return_val_if_fail() statements, otherwise things will
948 break when G_DISABLE_CHECKS is defined during compilation.
950 2005-09-21 Stefan Kost <ensonic@users.sf.net>
952 * docs/gst/tmpl/.cvsignore:
953 * docs/gst/tmpl/gstvalue.sgml:
956 inlied another one and added some obvious docs
958 2005-09-21 Wim Taymans <wim@fluendo.com>
960 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
961 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
962 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
963 (gst_fdsrc_get_property), (gst_fdsrc_create):
964 * gst/elements/gstfdsrc.h:
965 Properly implement fdsrc. Removed signal and timeout,
966 better implemented somewhere else.
968 2005-09-21 Stefan Kost <ensonic@users.sf.net>
970 * docs/gst/tmpl/.cvsignore:
971 * docs/gst/tmpl/gstimplementsinterface.sgml:
972 * gst/gstinterface.c:
975 2005-09-21 Stefan Kost <ensonic@users.sf.net>
977 * docs/gst/gstreamer-sections.txt:
978 * docs/gst/tmpl/.cvsignore:
979 * docs/gst/tmpl/gstenumtypes.sgml:
980 remove obsolete doc file
982 2005-09-21 David Schleef <ds@schleef.org>
984 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
985 little beer, fix a little leak.
987 2005-09-21 Stefan Kost <ensonic@users.sf.net>
989 * docs/gst/gstreamer-docs.sgml:
990 * docs/gst/gstreamer-sections.txt:
991 * docs/gst/tmpl/.cvsignore:
996 * gst/gstindex.c: (gst_index_class_init):
998 * gst/gstindexfactory.c: (gst_index_factory_get_type),
999 (gst_index_factory_class_init), (gst_index_factory_init),
1000 (gst_index_factory_finalize), (gst_index_factory_new),
1001 (gst_index_factory_destroy), (gst_index_factory_find),
1002 (gst_index_factory_create), (gst_index_factory_make):
1003 * gst/gstindexfactory.h:
1004 * gst/gstpluginfeature.c:
1005 * gst/gstpluginfeature.h:
1006 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1007 more docs inlined, splitted gstindex.{c,h}
1009 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1011 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1014 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1016 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1017 Set sync to FALSE by default.
1019 2005-09-20 Wim Taymans <wim@fluendo.com>
1021 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1022 (gst_base_sink_init):
1023 Make sync property settable from subclass.
1025 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1026 (gst_fake_sink_change_state):
1027 Set sync to FALSE by default.
1029 2005-09-20 Wim Taymans <wim@fluendo.com>
1031 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1032 * tools/gst-launch.c: (main):
1033 The timeout handler should have lower priority than the source
1034 so we don't timeout before popping a message with 0 timeout.
1035 Dump error messages after failed state change.
1037 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1039 * tools/gst-inspect.c: (print_element_properties_info):
1042 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1044 * check/gst/gstevent.c:
1045 * gst/elements/gstfakesink.c:
1046 * gst/elements/gstfakesink.h:
1047 remove the sync property from fakesink.
1048 has the side effect of setting sync TRUE
1049 for fakesink, which is a change. Anyone who knows how
1050 to fix this nicely in a GObject-y way, feel free.
1052 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1054 * docs/gst/gstreamer-docs.sgml:
1055 remove probe refsection
1057 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1059 * check/Makefile.am:
1060 disable valgrinding the controller test again
1061 * docs/gst/gstreamer-sections.txt:
1062 update for api-changes
1064 2005-09-20 Wim Taymans <wim@fluendo.com>
1066 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1067 (gst_base_sink_set_property), (gst_base_sink_get_property),
1068 (gst_base_sink_do_sync):
1069 * gst/base/gstbasesink.h:
1070 Added sync property to basesink to disable clock sync.
1072 2005-09-20 Andy Wingo <wingo@pobox.com>
1074 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1075 eating the caller's refcount.
1077 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
1078 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1081 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1082 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1083 of GLib 2.8 public, so we can know which refcount to check in
1086 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1087 (gst_object_init): Only set the gst refcount if we're going ahead
1088 with the refcount hack.
1090 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1092 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1093 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1094 more leaks plumbed, added more debug-logging
1098 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1101 remove include of gstmemchunk.h
1103 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1105 * gst/gstclock.c: (_gst_clock_id_free):
1106 Commit from the Political Party For More Atomic CVS Commits,
1107 so that people don't waste too much of their day fishing
1108 out obvious leaks out of massive commits.
1109 Oh, and fix a pretty damn obvious leak in the memchunk
1112 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1114 * check/Makefile.am:
1115 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1116 plug mem-leak, re-add to valgrindable tests
1118 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1121 unbreak the build for those who have chronic arthritis
1122 and typing "make check" is just too taxing on the hands
1124 2005-09-20 Andy Wingo <wingo@pobox.com>
1126 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1127 really want it out, you should fix plugins at the same time.
1129 2005-09-19 Stefan Kost <ensonic@users.sf.net>
1132 * docs/gst/gstreamer-sections.txt:
1134 added missing symbols to api docs
1135 disable ref-count hack if we have glib >= 2.8
1137 2005-09-19 David Schleef <ds@schleef.org>
1139 * docs/gst/Makefile.am: Ignore a few more internal headers
1140 * docs/gst/gstreamer-docs.sgml: Remove old sections
1141 * docs/gst/gstreamer-sections.txt: Remove old sections
1142 * docs/gst/tmpl/gstobject.sgml: update
1143 * docs/gst/tmpl/gstplugin.sgml: update
1144 * docs/gst/tmpl/gstpluginfeature.sgml: update
1145 * docs/random/ds/0.9-suggested-changes: update.
1146 * gst/Makefile.am: remove memchunk and trashstack, since they're
1148 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1149 * gst/gst.h: don't include some headers
1150 * gst/gstchildproxy.c: add gstmarshal.h
1151 * gst/gstclock.c: Don't use memchunks
1152 * gst/gstminiobject.c: Add some docs
1153 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1154 * gst/gstobject.h: same
1155 * gst/gstplugin.c: include gstmacros.h
1156 * gst/gstplugin.h: don't include gstmacros.h, since it's private
1157 * gst/gstquery.c: don't use memchunks
1158 * gst/gstregistry.c: rename gst_registry_deinit()
1159 * gst/gstregistry.h: same
1161 2005-09-19 David Schleef <ds@schleef.org>
1163 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1164 * docs/libs/gstreamer-libs-sections.txt:
1165 * docs/libs/tmpl/gstgetbits.sgml:
1166 * docs/libs/tmpl/gstputbits.sgml:
1168 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
1170 * win32/gstenumtypes.c:
1171 * win32/gstenumtypes.h:
1174 2005-09-19 Wim Taymans <wim@fluendo.com>
1176 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1177 Automatically PAUSE and RESUME a pipeline when a flushing seek
1180 2005-09-19 Andy Wingo <wingo@pobox.com>
1182 * gst/gstregistry.h: Spacing fixen.
1184 2005-09-19 Wim Taymans <wim@fluendo.com>
1186 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1187 Handle state change failure more correctly.
1189 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1191 * check/Makefile.am:
1192 * check/pipelines/cleanup.c: (run_pipeline):
1193 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1195 enable cleanup again after fixing the leak
1197 some more info on docs
1199 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1201 * check/Makefile.am:
1202 re-enable tests now that leaks are plugged
1204 * check/gst/gstbin.c:
1205 * check/gst/gstpipeline.c:
1206 add some more tests while fixing leaks
1208 make sure binaries are uptodate when valgrinding/gdbing
1210 * gst/gstelementfactory.c:
1211 remove a ref too many, and add a FIXME for when we get
1212 round to disposing of classes
1214 fix the refcounting when loading a plugin from a file and
1215 the code pretends that the pointer is the same even though
1216 of course it can change
1217 * gst/gstpluginfeature.c:
1218 unref plugins marked cached (a bit confusing as a name)
1219 as the docs state should be done
1220 various doc additions to explain refcounting
1221 * gst/gstregistry.c:
1222 * gst/gstregistryxml.c:
1225 2005-09-19 Wim Taymans <wim@fluendo.com>
1227 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1228 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1229 (send_messages), (GST_START_TEST), (gstbus_suite):
1230 * check/gst/gstpipeline.c: (GST_START_TEST):
1231 * check/pipelines/cleanup.c: (run_pipeline):
1232 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1234 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1235 (gst_bus_source_check), (gst_bus_source_dispatch),
1236 (gst_bus_create_watch), (gst_bus_add_watch_full),
1237 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1239 * tools/gst-launch.c: (event_loop):
1240 * tools/gst-md5sum.c: (event_loop):
1241 GstBusHandler -> GstBusFunc, return value has the same meaning as
1242 any other GSource (FALSE == remove source).
1243 _add_watch() and _add_watch_full() now take a MessageType mask to
1244 only handle specific types of messages.
1245 _poll() returns the GstMessage instead of the message type to avoid
1247 _have_pending() takes a MessageType mask now too.
1248 Added testsuite for multiple bus watches.
1249 Fix testsuites and applications for new bus API.
1251 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1253 * check/Makefile.am:
1254 mark a bunch of the tests as to fix until we fix them
1256 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1259 use GST_PLUGIN settings for valgrind tests as well, so we're
1260 valgrinding the correct thing
1261 * gst/gst.c: (init_post):
1264 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1266 * gst/gst.c: (init_post), (gst_deinit):
1267 * gst/gstelementfactory.c: (gst_element_factory_class_init),
1268 (gst_element_factory_finalize), (gst_element_factory_cleanup):
1269 * gst/gstindex.c: (gst_index_factory_class_init),
1270 (gst_index_factory_finalize):
1271 * gst/gstobject.c: (gst_object_dispose):
1272 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1273 (gst_plugin_load_file), (gst_plugin_desc_free):
1274 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1275 (gst_plugin_feature_finalize):
1276 * gst/gstregistry.c: (gst_registry_class_init),
1277 (gst_registry_init), (gst_registry_finalize),
1278 (gst_registry_get_default), (gst_registry_deinit):
1279 * gst/gstregistry.h:
1280 * gst/gstregistryxml.c: (load_feature), (load_plugin):
1281 various cleanups and memleak plugging. make valgrind is happy now.
1283 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1286 add a check-valgrind target
1288 2005-09-18 David Schleef <ds@schleef.org>
1290 * tools/gst-inspect.c: Revert the GOption code.
1292 2005-09-17 David Schleef <ds@schleef.org>
1294 * check/Makefile.am: Fix environment variables.
1295 * check/gst/gstplugin.c: Fix for API changes.
1296 * tools/gst-inspect.c: Fix for API changes.
1297 * tools/gst-xmlinspect.c: Fix for API changes.
1298 * gst/gstelementfactory.c:
1301 * gst/gstpluginfeature.c:
1302 * gst/gstpluginfeature.h:
1303 * gst/gstregistry.c:
1304 * gst/gstregistry.h:
1305 * gst/gstregistryxml.c:
1306 * gst/gsttypefind.c:
1307 * gst/gsttypefindfactory.c:
1308 * gst/indexers/gstfileindex.c:
1309 * gst/indexers/gstmemindex.c:
1310 * gst/schedulers/Makefile.am:
1311 Change registry to keep track of both plugins and features,
1312 removing the feature tracking from plugins themselves.
1314 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1316 * check/Makefile.am:
1317 * tools/gst-register.1.in:
1320 2005-09-15 David Schleef <ds@schleef.org>
1322 * check/gst/gstplugin.c:
1323 * gst/gstelementfactory.c:
1325 * gst/gstpluginfeature.c:
1326 * gst/gstregistry.c:
1327 Getting tired of debugging. Disabled all the unreffing of
1328 plugins and features, which fixes the segfaults, but of
1329 course leaks like crazy. At least playbin works.
1331 2005-09-15 David Schleef <ds@schleef.org>
1333 * check/gst/gstplugin.c: (register_check_elements),
1334 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1336 * gst/elements/gsttypefindelement.c: Fix refcounting.
1337 * gst/gsttypefind.c:
1338 * gst/gsttypefindfactory.c:
1339 * gst/gsttypefindfactory.h:
1341 2005-09-15 David Schleef <ds@schleef.org>
1343 * gst/gstindex.c: get refcounting correct.
1344 * gst/gstregistry.c: Handle the case where a feature/plugin is
1347 2005-09-15 David Schleef <ds@schleef.org>
1349 * check/Makefile.am:
1350 * check/gst/gstplugin.c: Add test
1351 * gst/gstplugin.c: Fix problems noticed by testsuite
1353 * gst/gstregistry.c:
1354 * gst/gstregistry.h:
1356 2005-09-15 David Schleef <ds@schleef.org>
1358 * gst/gstplugin.c: Implement semi-decent recounting and locking
1359 in plugins and plugin features.
1361 * gst/gstpluginfeature.c:
1362 * gst/gstpluginfeature.h:
1363 * gst/gstregistry.c:
1365 2005-09-15 Michael Smith <msmith@fluendo.com>
1367 * gst/gstregistry.c: (gst_registry_get_feature_list):
1368 Implement this. Makes oggdemux work; decodebin still broken.
1370 2005-09-14 David Schleef <ds@schleef.org>
1372 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1374 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1375 * gst/check/Makefile.am:
1376 * libs/gst/controller/Makefile.am:
1377 * libs/gst/dataprotocol/Makefile.am:
1379 2005-09-14 David Schleef <ds@schleef.org>
1381 * configure.ac: Remove getbits library. Nothing uses it, and
1382 it should be in something like liboil if someone did want
1384 * libs/gst/Makefile.am:
1385 * libs/gst/getbits/Makefile.am:
1386 * libs/gst/getbits/gbtest.c:
1387 * libs/gst/getbits/getbits.c:
1388 * libs/gst/getbits/getbits.h:
1389 * libs/gst/getbits/gstgetbits_generic.c:
1390 * libs/gst/getbits/gstgetbits_i386.s:
1391 * libs/gst/getbits/gstgetbits_inl.h:
1393 2005-09-14 David Schleef <ds@schleef.org>
1395 * gst/Makefile.am: Dist glib-compat.h
1397 2005-09-14 David Schleef <ds@schleef.org>
1399 * configure.ac: Remove gst/registries, since it's no longer used.
1400 * gst/registries/Makefile.am:
1401 * gst/registries/gstlibxmlregistry.c:
1402 * gst/registries/gstlibxmlregistry.h:
1403 * gst/registries/gstxmlregistry.c:
1404 * gst/registries/gstxmlregistry.h:
1405 * gst/registries/registrytest.c:
1407 2005-09-14 David Schleef <ds@schleef.org>
1409 * gst/glib-compat.h:
1410 * gst/gstregistryxml.c:
1411 Convergence is near. Seriously.
1413 2005-09-14 David Schleef <ds@schleef.org>
1415 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1416 * gst/glib-compat.h:
1417 Attempt #4 to appease the buildbots.
1419 2005-09-14 David Schleef <ds@schleef.org>
1421 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1424 2005-09-14 David Schleef <ds@schleef.org>
1426 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1429 2005-09-14 David Schleef <ds@schleef.org>
1431 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1434 2005-09-14 David Schleef <ds@schleef.org>
1436 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1437 * gst/glib-compat.h: Add some functions that are in newer versions
1438 of glib than we care to require.
1439 * gst/gstregistryxml.c: Use them.
1441 2005-09-14 David Schleef <ds@schleef.org>
1443 * po/POTFILES.in: remove gst-register.c
1445 2005-09-14 David Schleef <ds@schleef.org>
1447 * docs/gst/gstreamer-docs.sgml:
1448 * docs/gst/gstreamer-sections.txt:
1449 * docs/gst/gstreamer.types:
1450 * docs/gst/tmpl/gstelement.sgml:
1451 * docs/gst/tmpl/gstplugin.sgml:
1452 * docs/gst/tmpl/gstpluginfeature.sgml:
1453 Documentation updates for registry changes.
1455 2005-09-14 David Schleef <ds@schleef.org>
1457 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1458 because we don't require glib-2.8.
1460 2005-09-14 David Schleef <ds@schleef.org>
1462 * gst/gstregistryxml.c: Added. Essentially moved out of the
1463 registries directory.
1465 2005-09-14 David Schleef <ds@schleef.org>
1467 * check/Makefile.am:
1468 * check/generic/states.c:
1472 * gst/gst_private.h:
1473 * gst/gstelementfactory.c:
1478 * gst/gstpluginfeature.c:
1479 * gst/gstpluginfeature.h:
1480 * gst/gstregistry.c:
1481 * gst/gstregistry.h:
1482 * gst/gstregistrypool.c: remove
1483 * gst/gstregistrypool.h: remove
1484 * gst/gsttypefind.c:
1485 * gst/gsttypefindfactory.c:
1487 * tools/Makefile.am:
1488 * tools/gst-compprep.c:
1489 * tools/gst-inspect.c:
1490 * tools/gst-register.c: remove
1491 * tools/gst-xmlinspect.c:
1492 Registry rewrite. Changes registry from being a file created
1493 by a tool into a simple cache file created automatically by
1494 libgstreamer. Removed gst-register (because it's no longer
1495 needed). Remove registry pools, because we only have one
1496 registry implementation (XML). Fix up other subsystems as
1499 2005-09-13 Michael Smith <msmith@fluendo.com>
1501 * gst/gstconfig.h.in:
1502 Don't Use windows linking attributes for MinGW. Fixes #316157
1504 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1506 * gst/gstutils.c: (set_state_async_thread_func),
1507 (gst_element_set_state_async):
1508 Apparently people think it's better if this function doesn't
1509 try to set the state to whatever state was asked for on the first
1510 call to this function for any object. Seriously.
1512 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1514 * check/gst/gstpipeline.c: (GST_START_TEST):
1515 * docs/gst/gstreamer-sections.txt:
1516 * gst/gstutils.c: (set_state_async_thread_func),
1517 (gst_element_set_state_async):
1519 add a "gst_element_set_state_async" method that
1520 sets the state and starts a thread to make sure the state
1521 change completes as best as it can
1523 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1525 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1526 codify design+behaviour in testsuite after discussion
1528 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1530 * docs/gst/tmpl/gstelement.sgml:
1531 * docs/manual/appendix-quotes.xml:
1533 * gst/gstelement.c: (gst_element_set_state):
1536 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1538 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1539 (gst_base_transform_prepare_output_buf),
1540 (gst_base_transform_handle_buffer):
1541 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1542 (gst_capsfilter_prepare_buf):
1543 Remove the requirement for sub-classes to call the parent
1544 implementation of prepare_output_buffer with a wrapper function.
1547 * gst/gsttagsetter.h:
1550 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1552 * docs/gst/gstreamer-sections.txt:
1555 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1557 * docs/gst/gstreamer-sections.txt:
1558 * docs/gst/tmpl/gstelement.sgml:
1559 * docs/gst/tmpl/gstplugin.sgml:
1560 * gst/gstminiobject.c:
1562 docs now stop throwing warnings
1564 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1566 * docs/gst/gstreamer-sections.txt:
1567 * docs/gst/gstreamer.types:
1568 * docs/gst/tmpl/gstpad.sgml:
1569 * docs/gst/tmpl/gsttypes.sgml:
1570 * gst/base/gstadapter.h:
1571 * gst/base/gstbasesink.h:
1572 * gst/base/gstbasesrc.h:
1582 * gst/gststructure.c:
1583 * gst/registries/gstlibxmlregistry.h:
1584 various documentation fixes
1586 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1588 * docs/gst/gstreamer-sections.txt:
1589 * docs/gst/tmpl/gstvalue.sgml:
1590 rearrange gstvalue section
1591 * gst/gstutils.c: (gst_element_state_get_name):
1593 * gst/gstvalue.c: (_gst_value_initialize):
1597 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1599 * check/gst-libs/controller.c:
1601 * gst/base/gstbasetransform.c:
1602 (gst_base_transform_default_prepare_buf),
1603 (gst_base_transform_handle_buffer):
1604 * gst/base/gstbasetransform.h:
1605 Some more basetransform changes and fixes to enable sub-classes
1606 that modify buffer metadata only.
1607 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1608 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1609 (gst_capsfilter_prepare_buf):
1610 If the output pad has fixed allowed caps and input buffers
1611 don't have any, set the fixed caps on outgoing buffers.
1613 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1614 * check/elements/identity.c: (GST_START_TEST):
1615 Make the error a little clearer when the test fails because
1616 identity made a copy of the buffer.
1617 * docs/gst/gstreamer-sections.txt:
1618 New symbols in gstbasetransform.h
1619 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1620 (gst_base_transform_init), (gst_base_transform_transform_size),
1621 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1622 (gst_base_transform_default_prepare_buf),
1623 (gst_base_transform_get_unit_size),
1624 (gst_base_transform_buffer_alloc),
1625 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1626 (gst_base_transform_change_state),
1627 (gst_base_transform_set_passthrough),
1628 (gst_base_transform_set_in_place),
1629 (gst_base_transform_is_in_place):
1630 * gst/base/gstbasetransform.h:
1631 Change BaseTransform to separate in_place operate from same_caps
1632 output. in_place implies that the element can perform the transform
1633 on incoming buffers in-place, even if the caps on the output are
1635 Sub-class elements can now implement special buffer allocation
1636 methods for outgoing buffers if they wish to.
1637 Big documentation addition.
1638 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1639 * gst/elements/gstelements.c:
1640 Changes for basetransform modifications.
1641 * gst/elements/Makefile.am:
1642 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1643 Compile fix. Extra debug output.
1645 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1647 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1649 add tests for valid pad naming
1650 * gst/check/gstcheck.c: (gst_check_log_message_func),
1651 (gst_check_log_critical_func):
1653 remove printing of code, it is fragile when the code contains
1654 % and the line number is enough info
1655 * gst/check/gstcheck.h:
1656 * gst/gstpad.c: (gst_pad_template_new):
1659 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1662 say what CHECK flags we use
1663 * docs/libs/gstreamer-libs.types:
1664 * libs/gst/controller/Makefile.am:
1665 * libs/gst/controller/gst-controller.c:
1666 * libs/gst/controller/gst-controller.h:
1667 * libs/gst/controller/gst-helper.c:
1668 * libs/gst/controller/gst-interpolation.c:
1669 * libs/gst/controller/gstcontroller.c:
1670 * libs/gst/controller/gsthelper.c:
1671 * libs/gst/controller/gstinterpolation.c:
1672 * tools/gst-inspect.c: (print_plugin_info):
1673 we don't use dashes in header names
1675 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1677 * check/Makefile.am:
1678 * check/gst/.cvsignore:
1679 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1680 (gst_pipeline_suite), (main):
1681 adding a test for pipelines and state changes
1682 * gst/gstutils.c: (get_state_func):
1684 * gstreamer.spec.in:
1687 2005-09-08 Michael Smith <msmith@fluendo.com>
1689 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1690 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1691 (gst_file_src_is_seekable), (gst_file_src_get_size),
1692 (gst_file_src_start):
1693 * gst/elements/gstfilesrc.h:
1694 Various fixes for unseekable, unmmapable, and non-normal files, so
1695 that fallback to read() rather than mmap() works.
1696 * gst/gstevent.c: (gst_event_new_newsegment):
1697 Allow newsegment events with segment_start == segment_end, as will
1698 correctly happen if you use filesrc on a zero-size file, for
1701 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1703 * gst/gstplugin.c: (gst_plugin_load_file):
1704 Call g_module_close when we don't load the module
1706 * gst/registries/gstlibxmlregistry.c:
1707 (gst_xml_registry_get_property):
1708 Port leak fix from 0.8
1710 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1712 * docs/gst/gstreamer-docs.sgml:
1713 * docs/gst/tmpl/.cvsignore:
1714 * docs/gst/tmpl/gsttrace.sgml:
1715 * docs/gst/tmpl/gsttrashstack.sgml:
1724 * gst/gsttaginterface.c:
1725 * gst/gsttaginterface.h:
1728 * gst/gsttagsetter.c:
1729 * gst/gsttagsetter.h:
1732 * gst/gsttrashstack.c:
1733 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1734 inlined docs for gsttrace, gsttrashstack
1736 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1739 * gst/elements/gstbufferstore.h:
1740 * gst/elements/gsttypefindelement.c:
1741 * gst/elements/gsttypefindelement.h:
1743 * gst/gsttypefind.c:
1744 * gst/gsttypefind.h:
1745 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1746 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1747 (gst_type_find_factory_dispose),
1748 (gst_type_find_factory_unload_thyself),
1749 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1750 (gst_type_find_factory_get_caps),
1751 (gst_type_find_factory_get_extensions),
1752 (gst_type_find_factory_call_function):
1753 * gst/gsttypefindfactory.h:
1754 * gst/registries/gstlibxmlregistry.c:
1755 * gst/registries/gstxmlregistry.c:
1756 splitted gsttypefind into gsttypefind, gsttypefindfactory
1758 2005-09-07 Andy Wingo <wingo@pobox.com>
1760 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1761 condition whereby the pad's task function is entered before the
1762 pad_mode variable was set.
1764 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1766 * gst/gstpad.c: (gst_pad_alloc_buffer):
1767 Catch misbehaving pad_alloc functions that don't
1768 set up caps and do it for them.
1770 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1772 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1774 * docs/gst/tmpl/.cvsignore:
1775 * docs/gst/tmpl/gstmemchunk.sgml:
1776 * docs/gst/tmpl/gstparse.sgml:
1777 * docs/gst/tmpl/gsttaglist.sgml:
1778 * docs/gst/tmpl/gsttagsetter.sgml:
1779 * docs/gst/tmpl/gsttypefind.sgml:
1780 * docs/gst/tmpl/gsttypefindfactory.sgml:
1781 * gst/gstmemchunk.c:
1784 * gst/gsttaginterface.c:
1785 * gst/gsttypefind.c:
1786 * gst/gsttypefind.h:
1789 === release 0.9.2 ===
1791 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1796 releasing 0.9.2, "South"
1798 2005-09-05 Andy Wingo <wingo@pobox.com>
1800 * gst/registries/gstxmlregistry.h:
1801 * gst/registries/gstxmlregistry.c: Um... resurrect...
1803 * gst/registries/gstxmlregistry.h:
1804 * gst/registries/gstxmlregistry.c: and update to newer API.
1805 Incidentally they should be a bit faster now that they don't have
1808 2005-09-05 Andy Wingo <wingo@pobox.com>
1810 * gst/registries/gstxmlregistry.h:
1811 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1812 replaced by the libxml registry a while back
1814 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1816 * docs/gst/tmpl/gstplugin.sgml:
1817 * gst/elements/gstelements.c:
1819 * gst/gstplugin.c: (gst_plugin_register_func),
1820 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1821 (gst_plugin_get_source):
1823 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1824 (gst_xml_registry_save_plugin):
1825 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1826 (gst_xml_registry_save_plugin):
1827 * tools/gst-inspect.c: (print_plugin_info):
1828 add a "source" plugin description field, to represent the source
1829 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1830 will set it to PACKAGE, which is automake's idea of the name of
1833 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1839 * docs/faq/Makefile.am:
1840 * docs/gst/tmpl/gstelement.sgml:
1841 * docs/gst/tmpl/gsttypes.sgml:
1842 * docs/htmlinstall.mak:
1843 * docs/manual/Makefile.am:
1844 * docs/pwg/Makefile.am:
1845 reorganize doc build a little
1846 split out docbook and gtk-doc stuff
1847 have two separate --enable's and enable them through autogen
1848 but disable by default in configure (to be similar to other
1850 * gstreamer.spec.in:
1851 clean up docs install
1871 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
1873 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1876 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1877 (gst_fake_sink_change_state):
1878 Make state change function thread-safe.
1880 * gst/gstpad.c: (gst_pad_alloc_buffer):
1881 Set offset on generic buffer allocated by fallback.
1883 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1885 * docs/gst/gstreamer-sections.txt:
1886 * docs/gst/tmpl/gstelement.sgml:
1888 * libs/gst/controller/gst-controller.c:
1889 (gst_controlled_property_set_interpolation_mode),
1890 (gst_controlled_property_new),
1891 (gst_controller_find_controlled_property):
1892 run the wingo-magic script against the docs
1894 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1896 * docs/gst/gstreamer-docs.sgml:
1897 * docs/gst/gstreamer-sections.txt:
1898 * docs/gst/tmpl/.cvsignore:
1899 * docs/gst/tmpl/gstelementdetails.sgml:
1900 * docs/gst/tmpl/gstelementfactory.sgml:
1903 * gst/gstelementfactory.c:
1904 * gst/gstelementfactory.h:
1905 merged elementdetails docs into elementfactory docs
1908 2005-09-02 Andy Wingo <wingo@pobox.com>
1910 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1911 consider this enum an enum and not a flags.
1913 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1915 * docs/gst/gstreamer-docs.sgml:
1916 * docs/gst/tmpl/.cvsignore:
1917 * docs/gst/tmpl/gstghostpad.sgml:
1918 * docs/gst/tmpl/gstiterator.sgml:
1919 * docs/gst/tmpl/gstmacros.sgml:
1920 * docs/gst/tmpl/gstrealpad.sgml:
1921 * docs/gst/tmpl/gstregistry.sgml:
1922 * docs/gst/tmpl/gstregistrypool.sgml:
1923 * docs/gst/tmpl/gststructure.sgml:
1924 * docs/gst/tmpl/gstsystemclock.sgml:
1925 * docs/gst/tmpl/gsttrace.sgml:
1926 * gst/gstghostpad.c:
1928 * gst/gstmemchunk.c:
1929 * gst/gstmemchunk.h:
1931 * gst/gstregistry.c:
1932 * gst/gstregistrypool.c:
1933 * gst/gststructure.c:
1934 * gst/gstsystemclock.c:
1937 2005-09-02 Andy Wingo <wingo@pobox.com>
1939 * gst/gstelement.h (GstState): Renamed from GstElementState,
1940 changed to be a normal enum instead of flags.
1941 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1942 munged to be GST_STATE_CHANGE_*.
1943 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1944 work with the new state representation.
1945 (GstStateChange): New enumeration of possible state transitions.
1946 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1947 (GstElementClass::change_state): Pass the GstStateChange along as
1948 an argument. Helps language bindings, so they don't have to use
1949 tricky lock-needing macros like GST_STATE_CHANGE ().
1951 * scripts/update-states (file): New script. Run it on a file to
1952 update it for state naming and API changes. Updates files in
1955 * All files updated for the new API.
1957 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1959 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1960 * gst/gstutils.c: (gst_util_set_value_from_string),
1961 (gst_util_set_object_arg):
1962 fix a bunch of unchecked return values
1963 * tools/gst-complete.c: (main):
1964 * gstreamer.spec.in:
1967 2005-09-01 Wim Taymans <wim@fluendo.com>
1969 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1970 (gst_base_sink_event), (gst_base_sink_do_sync),
1971 (gst_base_sink_handle_event):
1972 * gst/base/gstbasesink.h:
1973 Handle newsegments more correctly.
1978 * gst/gstevent.c: (gst_event_new_newsegment):
1979 A newsegment cannot have a start_time of -1
1981 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
1983 * win32/gstenumtypes.c:
1984 * win32/gstenumtypes.h:
1987 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1989 * libs/gst/controller/gst-controller.c:
1990 (gst_controlled_property_set_interpolation_mode),
1991 (gst_controlled_property_new):
1994 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
1996 * docs/faq/gst-uninstalled:
2001 * gst/gstutils.c: (gst_element_link_filtered):
2003 add gst_element_link_filtered
2005 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2007 * docs/gst/gstreamer-docs.sgml:
2008 * docs/gst/gstreamer-sections.txt:
2009 * docs/gst/tmpl/.cvsignore:
2010 * docs/gst/tmpl/gsterror.sgml:
2011 * docs/gst/tmpl/gstfilter.sgml:
2012 * docs/gst/tmpl/gsturihandler.sgml:
2013 * docs/gst/tmpl/gsturitype.sgml:
2014 * docs/gst/tmpl/gstutils.sgml:
2015 * docs/gst/tmpl/gstxml.sgml:
2023 inlined more docs, fixed double id-ref
2025 2005-08-31 Wim Taymans <wim@fluendo.com>
2027 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2028 (gst_base_transform_handle_buffer):
2029 Passthrough elements don't need the caps as they don't care.
2031 2005-08-31 Wim Taymans <wim@fluendo.com>
2033 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2034 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2035 Don't leak refcounts on buffers.
2037 2005-08-31 Wim Taymans <wim@fluendo.com>
2039 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2040 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2041 (gst_base_transform_chain), (gst_base_transform_change_state):
2042 * gst/base/gstbasetransform.h:
2043 Handle the case where we are not negotiated more gracefully.
2045 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
2047 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2048 (gst_file_src_map_region):
2049 Set READONLY flag on mmap'ed buffers, otherwise
2050 gst_buffer_make_writable() won't work properly (#314708).
2052 2005-08-31 Wim Taymans <wim@fluendo.com>
2054 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2055 passthrough elements can even do inplace on non writable
2056 buffers (as they don't touch them).
2058 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2060 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2061 (gst_test_mono_source_set_property),
2062 (gst_test_mono_source_class_init), (GST_START_TEST),
2063 (gst_controller_suite):
2064 more tests (hehe I have the most)
2066 describe popping messages whenusing mulltiple sources
2067 * libs/gst/controller/gst-controller.c:
2068 (gst_controlled_property_set_interpolation_mode),
2069 (gst_controlled_property_new):
2070 * libs/gst/controller/gst-controller.h:
2071 * libs/gst/controller/gst-interpolation.c:
2072 implement boolean properties
2074 2005-08-31 Wim Taymans <wim@fluendo.com>
2076 * gst/gstminiobject.c: (gst_mini_object_ref):
2077 Cannot assert that the refcount has to be positive
2078 since a disposed object can be resurrected.
2080 2005-08-31 Wim Taymans <wim@fluendo.com>
2082 * gst/gstpad.c: (gst_pad_init):
2083 Revert change, need to first fix badly behaving
2086 2005-08-30 Wim Taymans <wim@fluendo.com>
2088 * check/elements/fakesrc.c: (setup_fakesrc):
2089 * check/elements/identity.c: (setup_identity):
2090 Activate pads before using them.
2092 2005-08-30 Wim Taymans <wim@fluendo.com>
2094 * gst/base/gstadapter.c: (gst_adapter_flush):
2095 Flushing out 0 bytes is ok for this function.
2097 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2098 no newsegment gives a warning and sets the start/stop to
2101 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2102 (gst_base_transform_set_passthrough):
2105 * gst/gstminiobject.c: (gst_mini_object_ref):
2106 Check refcount here too.
2108 * gst/gstpad.c: (gst_pad_init):
2109 Pads are initially flushing and refusing data.
2111 * gst/gstutils.c: (gst_element_link_pads_filtered):
2112 When adding a capsfilter element make sure it has the
2113 same state as the parent bin.
2115 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2117 * docs/gst/tmpl/.cvsignore:
2118 * docs/gst/tmpl/gstformat.sgml:
2119 * docs/gst/tmpl/gstversion.sgml:
2123 * gst/gstversion.h.in:
2124 more docs and two more inlined
2126 2005-08-30 Wim Taymans <wim@fluendo.com>
2128 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2129 Don't sync to clock.
2131 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2133 * docs/gst/gstreamer-sections.txt:
2134 ultral33t func10ns deserve to appear in the docs actually
2135 * docs/gst/tmpl/.cvsignore:
2136 * docs/gst/tmpl/gstcompat.sgml:
2137 * docs/gst/tmpl/gstconfig.sgml:
2138 * gst/check/gstcheck.c:
2140 * gst/gstconfig.h.in:
2143 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2145 * docs/gst/tmpl/.cvsignore:
2146 * docs/gst/tmpl/gstquery.sgml:
2147 * docs/gst/tmpl/gstutils.sgml:
2150 inlined and extended docs
2152 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2154 * check/gst-libs/controller.c: (GST_START_TEST),
2155 (gst_controller_suite):
2157 * docs/gst/tmpl/gstutils.sgml:
2158 * docs/libs/gstreamer-libs-sections.txt:
2159 * docs/libs/tmpl/gstdataprotocol.sgml:
2161 * examples/controller/audio-example.c: (main):
2162 controller example works now
2165 * tools/gst-inspect.c: (print_element_properties_info):
2166 show param spec flags
2168 2005-08-29 Andy Wingo <wingo@pobox.com>
2170 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2172 2005-08-28 Andy Wingo <wingo@pobox.com>
2174 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2175 as having two arguments instead of just one. Allows superclasses
2176 to access information on subclasses -- see the terrible for() loop
2177 in gtype.c:g_type_create_instance for the reason why. All callers
2180 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2182 * docs/design/part-messages.txt:
2184 * docs/gst/tmpl/.cvsignore:
2185 * docs/gst/tmpl/gstcaps.sgml:
2186 * docs/gst/tmpl/gstclock.sgml:
2193 added descriptions for bus and message
2194 inline caps and clock docs
2196 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2202 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2204 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2207 2005-08-26 Andy Wingo <wingo@pobox.com>
2209 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2210 element_set_state's return val.
2211 (test_2_elements): Add test that's been disabled for months.
2213 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2214 can-activate-pull properties.
2216 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2217 can-activate-pull properties. Implement is_seekable so fakesrc can
2218 operate in pull mode.
2220 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2222 (gst_base_sink_activate, gst_base_sink_activate_pull)
2223 (gst_base_sink_activate_push): Make activation mode choosing work.
2225 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2226 is right. Make pull mode work. Post an eos before pausing in pull
2228 (gst_base_sink_change_state): Pay attention to the core's
2229 change_state() return val.
2231 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2232 has-getrange properties. Cleanups.
2234 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2235 has_getrange and replace with can_activate_pull and
2238 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2239 locking comments. Remove has_loop, has_chain and replace with
2240 can_activate_pull and can_activate_push.
2242 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
2245 * examples/Makefile.am:
2246 * examples/metadata/Makefile.am:
2247 * examples/metadata/read-metadata.c: (message_loop),
2248 (have_pad_handler), (make_pipeline), (print_tag), (main):
2249 Add metadata reading example that loops over a list of filenames,
2250 dumping any tags found.
2252 * gst/gstbus.c: (gst_bus_dispose):
2253 * gst/gstelement.c: (gst_element_dispose):
2254 Release a few potentially-held references in dispose.
2256 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2258 * docs/gst/tmpl/gstminiobject.sgml:
2259 do *not* add tmpl/*.sgml files to CVS!
2261 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2263 * libs/gst/bytestream/.cvsignore:
2264 * libs/gst/bytestream/Makefile.am:
2265 * libs/gst/bytestream/adapter.c:
2266 * libs/gst/bytestream/adapter.h:
2267 * libs/gst/bytestream/bytestream.c:
2268 * libs/gst/bytestream/bytestream.h:
2269 * libs/gst/bytestream/filepad.c:
2270 * libs/gst/bytestream/filepad.h:
2271 removing obsolete files
2273 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2275 * docs/gst/gstreamer-docs.sgml:
2276 * docs/libs/gstreamer-libs-docs.sgml:
2277 disabed additional index entries again, as this makes docs-gen just
2278 slow and they aren't useful yet
2279 * docs/libs/gstreamer-libs-sections.txt:
2280 little -section.txt cleanup for libs
2282 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
2284 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2285 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2286 fix up some debugging
2287 (gst_base_transform_get_unit_size),
2288 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2289 (gst_base_transform_handle_buffer):
2290 * gst/base/gstbasetransform.h:
2291 handle and store timed NEWSEGMENT events so that subclasses that
2292 calculate time by counting samples have a segment_start time they
2293 need to add to their timestamps - see audioresample
2295 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2298 removed ';' from the end of macro defs
2299 * docs/gst/gstreamer-docs.sgml:
2300 * docs/gst/gstreamer-sections.txt:
2301 * docs/gst/tmpl/.cvsignore:
2303 * gst/gstelement.c: (gst_element_class_init),
2304 (gst_element_set_state), (activate_pads),
2305 (gst_element_save_thyself):
2306 * gst/gstevent.c: (gst_event_new_newsegment):
2308 * gst/gstiterator.c:
2309 * gst/gstiterator.h:
2312 * gst/gstutils.c: (gst_pad_query_convert):
2314 fixed parameter name mismatches between source, header and docs
2315 added some more docs, resolved the last batch of unused elements in
2316 docs (now someone needs to doc them)
2318 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2320 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2321 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2322 don't walk through the plugins backwards. Where is all this
2323 reversed logic coming from ?
2325 2005-08-25 Wim Taymans <wim@fluendo.com>
2327 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2328 (gst_base_transform_transform_size),
2329 (gst_base_transform_configure_caps),
2330 (gst_base_transform_get_unit_size),
2331 (gst_base_transform_buffer_alloc),
2332 (gst_base_transform_change_state):
2333 * gst/base/gstbasetransform.h:
2334 Cache caps unit_size.
2335 Make sure we cannot negotiate up and downstream at the
2338 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2340 * gst/gst.c: (init_pre), (init_post):
2341 register the installed plugin path after the env var
2342 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2343 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2344 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2345 directories, so the tests can prefer uninstalled over installed
2347 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2349 * gst/base/gstbasetransform.h:
2354 2005-08-25 Wim Taymans <wim@fluendo.com>
2356 * gst/gstbin.c: (bin_bus_handler):
2357 Be a bit more conservative about the posted message.
2359 * gst/gstbus.c: (gst_bus_post):
2360 Some cleanups, warn wrong return values.
2362 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
2364 * check/gst/gstbin.c: (GST_START_TEST):
2365 * gst/gstbin.c: (bin_bus_handler):
2366 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2367 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2368 (gst_message_new_warning), (gst_message_new_tag),
2369 (gst_message_new_state_changed), (gst_message_new_segment_start),
2370 (gst_message_new_segment_done), (gst_message_new_custom):
2372 * tools/gst-launch.c: (event_loop):
2373 * tools/gst-md5sum.c: (event_loop):
2374 Revert unpopular change for GST_MESSAGE_SRC to GObject.
2376 2005-08-25 Wim Taymans <wim@fluendo.com>
2378 * check/generic/states.c: (GST_START_TEST):
2379 Cleanup can be done at the end.
2381 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2382 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2383 (gst_task_get_state), (gst_task_start), (gst_task_pause):
2384 Oh boy.. Thanks for finding this, Thomas.
2386 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2388 * docs/gst/gstreamer.types:
2391 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2393 * docs/gst/gstreamer-docs.sgml:
2394 * docs/gst/gstreamer-sections.txt:
2395 * docs/gst/tmpl/.cvsignore:
2397 * gst/gstiterator.c:
2399 * gst/registries/gstxmlregistry.h:
2400 added missing classes and symbols (123 more to go)
2401 removed removed symbols from section file
2402 fixed many doc-comments
2404 2005-08-24 Wim Taymans <wim@fluendo.com>
2406 * check/generic/states.c: (GST_START_TEST):
2407 Make sure all tasks are stopped.
2409 * check/gst/gstbin.c: (GST_START_TEST):
2410 Unref after usage for proper valgrinding.
2412 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2413 Really wait for the task to stop before destroying the
2416 * gst/gstqueue.c: (gst_queue_sink_activate_push),
2417 (gst_queue_src_activate_push):
2418 Small cleanups. Don't stop the task when we did not start
2421 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2422 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2423 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2426 Protect the stream lock with the object lock.
2427 Disallow setting the stream lock when running.
2428 Add cleanup_all to wait for the threadpool to finish.
2429 Remove code to autoallocate a mutex if none was provided.
2430 Add _join() to wait for a task to stop.
2431 Protect the thread pool with a global lock.
2433 2005-08-24 Wim Taymans <wim@fluendo.com>
2435 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2436 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2437 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2438 * gst/base/gstbasesink.h:
2439 Handle newsegment events correctly.
2440 Drop buffers out of the segment range.
2442 2005-08-22 Andy Wingo <wingo@pobox.com>
2444 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2445 macro, implements an interface and gstimplementsinterface for a
2448 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2450 * check/Makefile.am:
2451 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2452 add a test that does a bunch of state changes on elements
2453 needs some fixing for valgrind
2454 * check/states/sinks.c: (gst_object_suite):
2457 add prototype for gst_caps_is_equal_fixed
2459 * gst/gstregistrypool.c:
2462 2005-08-24 Andy Wingo <wingo@pobox.com>
2464 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2465 convert a negative value. Doesn't make much sense. Mostly this is
2466 here to force callers to ensure -1 maps to -1.
2468 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2470 * docs/pwg/advanced-types.xml:
2471 Well done to Michael for catching my deliberate introduction
2472 of this spelling mistake.
2473 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2475 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2476 unlink pads before removing the element from the bin.
2478 2005-08-24 Andy Wingo <wingo@pobox.com>
2480 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2481 the same thing as GST_DEBUG=*:4.
2482 (parse_debug_level, parse_debug_category): New helper parsers.
2484 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2486 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2487 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2488 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2489 (gst_base_transform_buffer_alloc),
2490 (gst_base_transform_handle_buffer):
2491 use gboolean return values and pointers to size so we can use the
2492 full GST_BUFFER_SIZE range (guint) for buffer sizes
2493 use GstPadDirection for transform_caps
2494 * gst/base/gstbasetransform.h:
2495 rename get_size to get_unit_size since that's what it is
2496 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2497 use GstPadDirection for transform_caps
2498 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2500 cleanup and debugging
2502 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2504 * gst/gstelement.c: (gst_element_class_init),
2505 (gst_element_set_state), (activate_pads),
2506 (gst_element_save_thyself):
2507 * tools/gst-compprep.c: (main):
2508 * tools/gst-inspect.c: (print_element_properties_info):
2509 * tools/gst-xmlinspect.c: (print_element_properties):
2510 Fixed long standing mem-leak
2512 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2514 * check/gst/gstbin.c: (GST_START_TEST):
2515 * gst/gstbin.c: (bin_bus_handler):
2516 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2517 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2518 (gst_message_new_warning), (gst_message_new_tag),
2519 (gst_message_new_state_changed), (gst_message_new_segment_start),
2520 (gst_message_new_segment_done), (gst_message_new_custom):
2522 * tools/gst-launch.c: (event_loop):
2523 * tools/gst-md5sum.c: (event_loop):
2524 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2525 that applications can sensibly post custom messages with references
2526 to their own objects.
2528 2005-08-24 Andy Wingo <wingo@pobox.com>
2530 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2533 2005-08-24 Wim Taymans <wim@fluendo.com>
2535 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2536 (gst_base_transform_transform_caps),
2537 (gst_base_transform_transform_size),
2538 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2539 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2540 (gst_base_transform_handle_buffer):
2541 * gst/base/gstbasetransform.h:
2542 Many fixes and new features added by Thomas. Can now also do
2543 transforms with variable sizes and a custom fixate_caps function.
2545 2005-08-24 Wim Taymans <wim@fluendo.com>
2547 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2551 Cast to ClockTime before formatting to time.
2556 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2558 * check/gst-libs/controller.c: (GST_START_TEST),
2559 (gst_controller_suite):
2560 * docs/gst/tmpl/gstcaps.sgml:
2561 * docs/gst/tmpl/gstghostpad.sgml:
2562 * docs/gst/tmpl/gstquery.sgml:
2563 * docs/gst/tmpl/gstutils.sgml:
2564 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2565 (gst_object_sink_values), (gst_object_get_value_arrays),
2566 (gst_object_get_value_array):
2567 gracefully handle helper method calls to objects that are not beeing
2568 controlled, added test case for that
2570 2005-08-23 Wim Taymans <wim@fluendo.com>
2572 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2573 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2574 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2575 (gst_event_parse_qos), (gst_event_new_seek),
2576 (gst_event_parse_seek):
2578 Some more debugging output and doc cleanups.
2580 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2581 Fix possible deadlock.
2583 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2585 * docs/gst/gstreamer-docs.sgml:
2586 * docs/gst/gstreamer-sections.txt:
2587 * docs/gst/gstreamer.types:
2588 * docs/gst/tmpl/.cvsignore:
2593 added 100 symbols from gstreamer-unused.txt to the right sections
2594 fixed more broken comments
2595 added GstBus to docs
2597 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2599 * docs/gst/gstreamer-sections.txt:
2600 * docs/gst/tmpl/.cvsignore:
2601 * docs/gst/tmpl/gstbin.sgml:
2602 * docs/gst/tmpl/gstbuffer.sgml:
2603 * gst/base/gstbasesrc.c:
2604 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2607 * tools/gst-launch.1.in:
2608 inlined more doc comments, added missing comments and fixed comments
2611 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2613 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2617 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2619 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2620 * gst/gststructure.h:
2621 add a fixate function for booleans; add a FIXME that these func
2622 names should probably be gst_structure_fixate_*
2624 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2626 * docs/gst/gstreamer-docs.sgml:
2627 * docs/gst/gstreamer-sections.txt:
2629 * gst/gstbin.c: (gst_bin_get_type),
2630 (gst_bin_child_proxy_get_child_by_index),
2631 (gst_bin_child_proxy_get_children_count),
2632 (gst_bin_child_proxy_init):
2633 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2634 (gst_child_proxy_get_child_by_index),
2635 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2636 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2637 (gst_child_proxy_get), (gst_child_proxy_set_property),
2638 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2639 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2640 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2641 * gst/gstchildproxy.h:
2642 * gst/parse/grammar.y:
2643 * tools/gst-inspect.c: (print_interfaces),
2644 (print_element_properties_info), (print_element_info):
2645 ported gstchildproxy over from 0.8
2646 ported gst-inspect fixes and enhancements over from 0.8
2648 2005-08-22 Wim Taymans <wim@fluendo.com>
2650 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2651 (gst_base_transform_handle_buffer):
2652 Also call the transform function if we have ANY caps.
2654 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2657 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2659 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2660 Don't pretend to handle seek events if the source is not seekable
2662 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2664 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2665 Remove extra parameter to debug output
2667 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2668 (gst_base_src_do_seek), (gst_base_src_activate_push):
2669 Fix seek event handling.
2671 * gst/gstpipeline.c: (gst_pipeline_change_state):
2672 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2673 (gst_queue_src_activate_push):
2674 Don't start the src pad task on FLUSH_STOP if the pad
2678 2005-08-22 Wim Taymans <wim@fluendo.com>
2680 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2681 Added check for gst_static_caps_get() refcounting.
2683 2005-08-22 Wim Taymans <wim@fluendo.com>
2685 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2686 Make _static_caps_get() refcounting sane.
2688 * gst/gstelement.c: (gst_element_set_state):
2689 Add g_return_val_if_fail() to protect against segfaults.
2691 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2693 * docs/gst/tmpl/gstevent.sgml:
2696 inlined remaining docs, added missing doc comments
2698 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2700 * check/gst/gstbin.c: (GST_START_TEST):
2701 since we don't know when preroll is done, use refcount range
2703 * gst/check/gstcheck.h:
2704 add macro for checking refcount range
2706 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2708 * check/Makefile.am:
2709 clean up environment for when registry gets built versus
2710 when actual tests are run; valgrind seems to not report
2711 leaks if GST_PLUGIN_PATH is set to some specific values
2712 * check/gst/gstbin.c: (GST_START_TEST):
2713 add more refcounting checks; maybe this exposes a
2716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2717 * gst/check/gstcheck.h:
2718 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2719 (gst_bin_change_state):
2720 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2721 add/fix debugging/whitespace
2723 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2725 * check/gst/gstevent.c: (event_probe), (test_event),
2727 Er, don't call gst_bin_watch_for_state_change you idiot.
2729 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2731 * check/Makefile.am:
2732 Use CHECK_CFLAGS and CHECK_LIBS
2733 * check/gst/gstevent.c: (event_probe), (test_event),
2736 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2737 (gst_base_src_start), (gst_base_src_stop),
2738 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2739 (gst_base_src_change_state):
2740 Sprinkle gst_base_src_stop liberally around error paths to fix
2741 problems reusing a source after failed state changes.
2742 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2743 (helper_find_suggest), (gst_type_find_helper):
2744 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2746 * docs/gst/tmpl/gstevent.sgml:
2747 Migrate part of the docs from the SGML file. Wait for ensonic to
2748 tell me how I did it wrong ;)
2749 * tools/gst-typefind.c: (main):
2750 Extra robustness to state changes between files.
2752 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2754 * check/Makefile.am:
2755 don't valgrind the controller test - it's leaking - Stefan, HELP
2756 * gst/check/gstcheck.c: (gst_check_message_error),
2757 (gst_check_chain_func), (gst_check_setup_element),
2758 (gst_check_teardown_element), (gst_check_setup_src_pad),
2759 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2760 (gst_check_teardown_sink_pad):
2761 * gst/check/gstcheck.h:
2762 add a bunch of methods to set up elements, and src and sink pads
2763 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2764 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2769 whitespace/doc fixes
2771 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2774 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2775 be handled by the application and not always printed as well
2777 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2779 * check/Makefile.am:
2781 * gst/check/gstcheck.c: (gst_check_message_error):
2782 * gst/check/gstcheck.h:
2783 add a fail_unless_equals_int
2784 add fail_unless for error messages
2786 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2788 * check/Makefile.am:
2790 * common/Makefile.am:
2793 factor out some of the common stuff so we can use it
2795 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2797 * check/Makefile.am:
2798 * check/gst/gstiterator.c: (GST_START_TEST):
2799 * check/gst/gstsystemclock.c: (GST_START_TEST),
2800 (gst_systemclock_suite):
2801 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2805 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2807 * check/elements/.cvsignore:
2808 * check/elements/gstfakesrc.c:
2809 rename to name of element
2810 * check/elements/identity.c: (chain_func), (event_func),
2811 (setup_identity), (cleanup_identity), (GST_START_TEST),
2812 (identity_suite), (main):
2813 add a test for identity
2814 * check/Makefile.am:
2815 * pkgconfig/Makefile.am:
2816 * pkgconfig/gstreamer-check.pc.in:
2817 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2821 move the check stuff to a library that gets installed
2822 * check/gst-libs/controller.c: (GST_START_TEST):
2823 * check/gst-libs/gdp.c:
2824 * check/gst/gst.c: (GST_START_TEST):
2825 * check/gst/gstbin.c:
2826 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2827 * check/gst/gstbus.c:
2828 * check/gst/gstcaps.c: (GST_START_TEST):
2829 * check/gst/gstelement.c:
2830 * check/gst/gstghostpad.c:
2831 * check/gst/gstiterator.c:
2832 * check/gst/gstmessage.c:
2833 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2834 * check/gst/gstobject.c:
2835 * check/gst/gstpad.c: (GST_START_TEST):
2836 * check/gst/gststructure.c: (GST_START_TEST):
2837 * check/gst/gstsystemclock.c: (GST_START_TEST),
2838 (gst_systemclock_suite):
2839 * check/gst/gsttag.c: (gst_tag_suite):
2840 * check/gst/gstvalue.c:
2841 * check/pipelines/cleanup.c:
2842 * check/pipelines/simple_launch_lines.c:
2843 * check/states/sinks.c:
2844 change include statement
2846 * docs/gst/gstreamer-sections.txt:
2847 * docs/gst/tmpl/gstpad.sgml:
2848 document more pad stuff
2849 * gst/gstminiobject.c: (gst_mini_object_ref),
2850 (gst_mini_object_unref):
2853 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2855 * docs/gst/tmpl/gst.sgml:
2857 eliminate another tmpl file, fix spelling in the long-description
2859 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2861 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2862 (test_event), (timediff), (gstevents_suite):
2863 Should fix build on 64-bit arch's
2865 2005-08-18 Andy Wingo <wingo@pobox.com>
2867 Make sure that when a pipeline goes to PLAYING, that data has
2868 actually hit the sink.
2870 * check/states/sinks.c (test_sink): A sink that doesn't get any
2871 data shouldn't return SUCCESS for going to either PLAYING or
2872 PAUSED. Test also the return values on the way back down.
2874 * gst/gstelement.c (gst_element_set_state): When changing the
2875 state of an element currently changing state asynchronously, go to
2876 lost-state after commiting the pending state. Makes future calls
2877 to get_state continue to return ASYNC.
2879 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2880 ASYNC when going to PLAYING if we still don't have preroll, as can
2881 happen with live sources.
2883 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2885 * docs/pwg/advanced-types.xml:
2886 Hack long paragraph into 2 chunks as a workaround for buggy
2887 jadetex version in sid and breezy that loops infinitely and
2890 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2892 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2893 (test_event), (timediff), (gstevents_suite):
2894 Provide more error margin in clock measurements to allow for
2895 g_get_current_time inaccuracies.
2897 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2899 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2900 (test_event), (timediff), (gstevents_suite):
2901 Fix error message output so I might be able to tell why the
2902 test works here but fails on the build farm.
2904 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2906 * check/Makefile.am:
2907 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2908 (test_event), (timediff), (gstevents_suite), (main):
2911 * docs/design/part-seeking.txt:
2914 * docs/gst/tmpl/gstevent.sgml:
2915 * docs/gst/tmpl/gstfakesrc.sgml:
2918 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2919 Treat a buffer-without-newsegment the same as a receiving
2920 a newsegment not in time format, and disable syncing to the clock
2923 * gst/gstbus.c: (gst_bus_set_sync_handler):
2924 Assert if anyone tries to replace the existing sync_handler for bus,
2925 as only the owner should be setting it.
2928 Have a fixed set of custom event enums with events identified by
2929 their structure name (as in 0.8), rather than a free-for-all
2930 allowing collisions between enum values from different plugins.
2932 * gst/gstpad.c: (gst_pad_class_init):
2935 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2936 Handle out-of-band downstream events from the sending thread.
2938 2005-08-17 Andy Wingo <wingo@pobox.com>
2940 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2941 play-timeout==0 to mean no timeout at all. In that case, don't
2942 bother with a get_state or a warning, just return directly, even
2945 * gst/base/gstbasetransform.c: Debug changes.
2948 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2949 ensure bins post state change messages. A bit of a hack but I can't
2950 think of a way to avoid it.
2952 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2954 2005-08-16 Andy Wingo <wingo@pobox.com>
2956 * gst/base/gstadapter.h:
2957 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2958 peek() but you own the data. Not terribly efficient atm.
2960 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2962 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2963 (gst_element_found_tags):
2965 Add two utility functions for tag handling.
2967 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2969 * docs/manual/advanced-dataaccess.xml:
2970 * docs/manual/basics-helloworld.xml:
2971 Fix docs to use _bin_add() before _link(), which fixes the examples
2972 with recent core versions (reported by Madhan Raj M
2973 <raj_madan@rediffmail.com>, #313199).
2975 2005-08-16 Wim Taymans <wim@fluendo.com>
2977 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2978 Added subtract checks.
2980 * docs/design/part-events.txt:
2981 Some more docs about newsegment
2983 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2986 * gst/gstcaps.c: (gst_caps_to_string):
2987 Add comments, cleanups.
2989 * gst/gstelement.c: (gst_element_save_thyself):
2992 * gst/gstvalue.c: (gst_value_collect_int_range),
2993 (gst_string_unwrap), (gst_value_union_int_int_range),
2994 (gst_value_union_int_range_int_range),
2995 (gst_value_intersect_int_int_range),
2996 (gst_value_intersect_int_range_int_range),
2997 (gst_value_intersect_double_double_range),
2998 (gst_value_intersect_double_range_double_range),
2999 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3000 (gst_value_subtract_int_range_int),
3001 (gst_value_subtract_double_range_double),
3002 (gst_value_subtract_double_range_double_range),
3003 (gst_value_subtract_from_list), (gst_value_subtract_list),
3004 (gst_value_can_compare), (gst_value_compare_fraction):
3005 Cleanups, add comments, remove unneeded asserts.
3007 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3009 * tools/gst-launch.c: (event_loop):
3010 don't convert NULL structures to strings
3012 2005-08-15 Stefan Kost <ensonic@users.sf.net>
3014 * docs/gst/gstreamer-sections.txt:
3015 made some defines private
3016 * docs/gst/tmpl/gstconfig.sgml:
3017 * docs/gst/tmpl/gstqueue.sgml:
3018 * docs/gst/tmpl/gsttaglist.sgml:
3019 * docs/gst/tmpl/gsttypes.sgml:
3020 * docs/gst/tmpl/gstutils.sgml:
3021 * docs/pwg/appendix-porting.xml:
3022 * gst/base/gstbasesink.h:
3023 * gst/base/gstbasesrc.c:
3024 * gst/base/gstbasesrc.h:
3025 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3026 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3027 * gst/gstelement.c: (gst_element_class_init):
3028 * gst/gstpad.c: (gst_pad_class_init):
3029 * gst/gstqueue.c: (gst_queue_class_init):
3030 * gst/gstxml.c: (gst_xml_class_init):
3031 documented all undocumented signal inline
3032 * libs/gst/controller/gst-controller.h:
3035 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3037 * docs/pwg/appendix-porting.xml:
3038 Document _set_link_function -> _set_setcaps_function.
3040 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3042 * check/Makefile.am:
3043 add a .check target for running the check
3044 * check/gst-libs/controller.c: (GST_START_TEST):
3046 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3047 complete checks for gstbuffer; would be nice if I could get the
3048 gcov stuff to work so I can see if I actually completed gstbuffer.c
3050 add ASSERT_BUFFER_REFCOUNT
3052 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
3054 * docs/gst/gstreamer-sections.txt:
3055 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3057 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3058 spew out a warning if a tag that is already registered
3059 is re-registered, unless it is re-registered with a
3060 different type (#308438).
3062 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
3064 * docs/pwg/appendix-porting.xml:
3065 * docs/pwg/building-state.xml:
3066 Add some paragraphs about state changes in 0.9 to the PWG
3067 and the porting guide, in particular about the new meaning
3068 of GST_STATE_PAUSED and how to write state change functions
3069 with concurrent access by multiple threads in mind.
3071 2005-08-11 Stefan Kost <ensonic@users.sf.net>
3073 * docs/gst/gstreamer-docs.sgml:
3074 * docs/libs/gstreamer-libs-docs.sgml:
3075 added deprecation and since indexes
3076 * libs/gst/controller/gst-controller.c:
3077 * libs/gst/controller/gst-helper.c:
3081 2005-08-11 Wim Taymans <wim@fluendo.com>
3083 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3084 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3085 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3086 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3087 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3088 (gst_ghost_pad_set_target):
3089 Actually implement (re)setting the target on a ghostpad
3090 as described in the docs.
3092 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3094 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3095 Check whether GST_DEBUG_NO_COLOR environment variable is
3096 set and disable coloured debug output if that is the case.
3098 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3100 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3101 (gst_type_find_helper):
3102 The memory returned by gst_type_find_peek() needs to
3103 stay valid until the end of a typefind function, and
3104 typefind functions may keep results from different
3105 offsets around, so we can't just unref the buffer from
3106 the previous _peek(), but have to save all buffers
3107 returned by _peek() until typefinding is done and only
3110 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
3112 * docs/gst/gstreamer-sections.txt:
3114 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3116 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3118 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3119 Fix a pretty good memleak.
3121 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3123 * gst/gstiterator.h:
3124 Fix wrong include and 'make distcheck'.
3126 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3128 * gst/gstbin.c: (bin_bus_handler):
3129 Use gst_element_post_message() instead.
3131 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3133 * gst/base/gstadapter.h:
3134 * gst/base/gstbasesink.h:
3135 * gst/base/gstbasesrc.h:
3136 * gst/base/gstbasetransform.h:
3137 * gst/base/gstcollectpads.h:
3138 * gst/base/gstpushsrc.h:
3139 * gst/gstiterator.h:
3140 Add padding to our base elements' class and instance structs and
3141 to GstIterator (you will need to rebuild all plugins and apps!)
3143 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3145 * gst/gstbin.c: (bin_bus_handler):
3146 Make default message forwarding from child->bus to bin->bus
3147 threadsafe and make it not emit warnings if the parent has no bus.
3149 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3151 * gst/gstelement.c: (activate_pads):
3152 On paused->ready, set pad->caps to NULL, as is the documented
3153 behaviour in this state change. Fixes playback of series of
3154 media files when visualization is enabled in Totem.
3156 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3158 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3159 Allow NULL as filter-caps (which means "any").
3161 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3163 * docs/libs/gstreamer-libs-sections.txt:
3164 * libs/gst/controller/gst-controller.c:
3165 * libs/gst/controller/gst-controller.h:
3166 * libs/gst/controller/gst-helper.c:
3167 adding more entries to the docs and fix small doc-bugs
3169 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3171 * docs/gst/gstreamer-docs.sgml:
3172 * docs/gst/gstreamer-sections.txt:
3173 * docs/gst/gstreamer.types:
3174 * docs/gst/tmpl/gstbasesink.sgml:
3175 * docs/gst/tmpl/gstbasesrc.sgml:
3176 * docs/gst/tmpl/gstbasetransform.sgml:
3177 * docs/gst/tmpl/gstfakesrc.sgml:
3178 * gst/base/gstcollectpads.c:
3179 * gst/base/gstcollectpads.h:
3180 * libs/gst/controller/gst-controller.c:
3181 * libs/gst/controller/gst-controller.h:
3182 * libs/gst/controller/gst-helper.c:
3183 * libs/gst/controller/gst-interpolation.c:
3184 * libs/gst/controller/lib.c:
3185 added long/short desc for controller docs
3186 added collectpads base class docs
3187 added correct includes to base-class docs
3189 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3191 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3192 (gst_test_mono_source_set_property),
3193 (gst_test_mono_source_class_init), (GST_START_TEST),
3194 (gst_controller_suite):
3195 * docs/gst/gstreamer-docs.sgml:
3196 * docs/gst/gstreamer-sections.txt:
3197 * docs/gst/gstreamer.types:
3198 * docs/libs/gstreamer-libs-docs.sgml:
3199 * docs/libs/gstreamer-libs-sections.txt:
3200 * gst/base/gstadapter.c:
3201 * libs/gst/controller/gst-controller.c:
3202 (gst_controlled_property_new), (gst_controlled_property_free),
3203 (gst_controller_new_valist),
3204 (gst_controller_remove_properties_valist),
3205 (gst_controller_sink_values), (_gst_controller_finalize):
3206 * libs/gst/controller/gst-controller.h:
3207 * libs/gst/controller/gst-helper.c:
3208 (gst_object_control_properties), (gst_object_uncontrol_properties),
3209 (gst_object_get_controller), (gst_object_set_controller),
3210 (gst_object_sink_values), (gst_object_get_value_arrays),
3211 (gst_object_get_value_array):
3212 more tests (and fixes) for the controller
3213 more docs for the controller
3214 integrated companies docs for the adapter
3216 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
3218 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3219 (GST_START_TEST), (fakesrc_suite):
3220 add tests for sizetype
3222 2005-08-04 Andy Wingo <wingo@pobox.com>
3224 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3225 fixes buffer_alloc proxying among other things.
3227 * gst/base/gstbasetransform.c:
3228 * gst/base/gstbasetransform.h:
3229 Revert patch to gstbasetransform from 7-28 removing
3232 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3233 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3234 Semantics changed, should return not the size of the output buffer
3235 but the byte size of a buffer with a given caps.
3237 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3239 (gst_base_transform_configure_caps): Don't set out_size here: (in,
3240 out) are not the pad caps until setcaps finishes.
3241 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3242 not-in-place case as well. Deal with changing from in-place to
3243 not-in-place within calling pad_alloc_buffer. Still a bit
3244 concerned about the overhead here...
3246 2005-08-03 Andy Wingo <wingo@pobox.com>
3248 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3249 fixating is an error.
3251 2005-08-04 Edward Hervey <edward@fluendo.com>
3253 * gst/base/gstadapter.h:
3254 Added gst_adapter_get_type() to the header
3256 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3258 * check/Makefile.am:
3259 * check/gst-libs/controller.c:
3260 * libs/gst/controller/gst-controller.c:
3261 (gst_controller_new_valist):
3262 added check test suite for the controller
3263 * gst/base/gstpushsrc.c:
3266 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3268 * docs/gst/Makefile.am:
3269 * docs/gst/gstreamer-docs.sgml:
3270 * docs/gst/gstreamer-sections.txt:
3271 * docs/gst/gstreamer.types:
3272 * docs/gst/tmpl/gstfakesrc.sgml:
3274 * gst/base/gstbasesink.c:
3275 * gst/base/gstbasesink.h:
3276 * gst/base/gstbasesrc.c:
3277 * gst/base/gstbasesrc.h:
3278 * gst/base/gstbasetransform.c:
3279 * gst/base/gstpushsrc.c:
3280 * gst/base/gstpushsrc.h:
3281 add short/long description docs to base classes
3282 add pushsrc to the docs
3283 remove consolidated doc fragments
3285 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3288 * docs/libs/Makefile.am:
3289 * docs/libs/gstreamer-libs-docs.sgml:
3290 * docs/libs/gstreamer-libs-sections.txt:
3291 * docs/libs/gstreamer-libs.types:
3292 * examples/Makefile.am:
3293 * examples/controller/.cvsignore:
3294 * examples/controller/Makefile.am:
3295 * examples/controller/audio-example.c: (main):
3296 * libs/gst/Makefile.am:
3297 * libs/gst/controller/.cvsignore:
3298 * libs/gst/controller/Makefile.am:
3299 * libs/gst/controller/gst-controller.c:
3300 (on_object_controlled_property_changed), (gst_timed_value_compare),
3301 (gst_timed_value_find),
3302 (gst_controlled_property_set_interpolation_mode),
3303 (gst_controlled_property_new), (gst_controlled_property_free),
3304 (gst_controller_find_controlled_property),
3305 (gst_controller_new_valist), (gst_controller_new),
3306 (gst_controller_remove_properties_valist),
3307 (gst_controller_remove_properties), (gst_controller_set),
3308 (gst_controller_set_from_list), (gst_controller_unset),
3309 (gst_controller_get), (gst_controller_get_all),
3310 (gst_controller_sink_values), (gst_controller_get_value_arrays),
3311 (gst_controller_get_value_array),
3312 (gst_controller_set_interpolation_mode),
3313 (_gst_controller_finalize), (_gst_controller_init),
3314 (_gst_controller_class_init), (gst_controller_get_type):
3315 * libs/gst/controller/gst-controller.h:
3316 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3317 (g_object_uncontrol_properties), (g_object_get_controller),
3318 (g_object_set_controller), (g_object_sink_values),
3319 (g_object_get_value_arrays), (g_object_get_value_array):
3320 * libs/gst/controller/gst-interpolation.c:
3321 (gst_controlled_property_find_timed_value_node),
3322 (interpolate_none_get), (interpolate_trigger_get),
3323 (interpolate_trigger_get_value_array):
3324 * libs/gst/controller/lib.c: (gst_controller_init):
3325 * pkgconfig/Makefile.am:
3326 * pkgconfig/gstreamer-control-uninstalled.pc.in:
3327 * pkgconfig/gstreamer-control.pc.in:
3328 * testsuite/Makefile.am:
3329 * testsuite/controller/.cvsignore:
3330 * testsuite/controller/Makefile.am:
3331 * testsuite/controller/interpolator.c: (main):
3332 added controller code
3333 removed dparam pc files
3335 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3336 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3337 (gst_collectpads_stop):
3338 Broadcast the condition when shutting down, to make sure we wake all
3339 threads up. Shut down pads on finalize, for safety.
3341 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3342 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3343 (gst_base_transform_handle_buffer),
3344 (gst_base_transform_change_state):
3345 Handle PAUSED->READY->PAUSED transition after negotiation
3347 * gst/gstmessage.c: (gst_message_init):
3348 Extra piece of debug for new messages.
3350 2005-08-01 Stefan Kost <ensonic@users.sf.net>
3353 * docs/gst/tmpl/gstbasesrc.sgml:
3354 * docs/gst/tmpl/gstelement.sgml:
3355 * docs/gst/tmpl/gstevent.sgml:
3356 * docs/gst/tmpl/gstfakesrc.sgml:
3357 * docs/gst/tmpl/gstformat.sgml:
3358 * docs/gst/tmpl/gstghostpad.sgml:
3359 * docs/gst/tmpl/gstpad.sgml:
3360 * docs/gst/tmpl/gstquery.sgml:
3361 * docs/gst/tmpl/gststructure.sgml:
3362 * docs/gst/tmpl/gsttaglist.sgml:
3363 * docs/gst/tmpl/gstvalue.sgml:
3364 * docs/libs/gstreamer-libs-docs.sgml:
3365 * docs/libs/gstreamer-libs-sections.txt:
3366 * docs/libs/gstreamer-libs.types:
3367 * libs/gst/Makefile.am:
3368 * libs/gst/control/.cvsignore:
3369 * libs/gst/control/Makefile.am:
3370 * libs/gst/control/control.c:
3371 * libs/gst/control/control.h:
3372 * libs/gst/control/dparam.c:
3373 * libs/gst/control/dparam.h:
3374 * libs/gst/control/dparam_smooth.c:
3375 * libs/gst/control/dparam_smooth.h:
3376 * libs/gst/control/dparamcommon.h:
3377 * libs/gst/control/dparammanager.c:
3378 * libs/gst/control/dparammanager.h:
3379 * libs/gst/control/dplinearinterp.c:
3380 * libs/gst/control/dplinearinterp.h:
3381 * libs/gst/control/unitconvert.c:
3382 * libs/gst/control/unitconvert.h:
3383 * testsuite/Makefile.am:
3384 * testsuite/dynparams/.cvsignore:
3385 * testsuite/dynparams/Makefile.am:
3386 * testsuite/dynparams/dparamstest.c:
3387 * tools/Makefile.am:
3388 * tools/gst-inspect.c: (print_element_info), (main):
3389 * tools/gst-xmlinspect.c: (print_element_info), (main):
3390 deactivate and remove dparams (libgstcontrol)
3392 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3394 * gst/elements/gsttypefindelement.c:
3395 (gst_type_find_element_have_type), (gst_type_find_element_init),
3396 (stop_typefinding), (gst_type_find_element_handle_event),
3397 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3398 * gst/elements/gsttypefindelement.h:
3399 Set caps on all outgoing buffers, not just the first one.
3401 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3403 * gst/elements/gsttypefindelement.c:
3404 (gst_type_find_element_have_type),
3405 (gst_type_find_element_check_set_buffer_caps),
3406 (gst_type_find_element_init), (stop_typefinding),
3407 (gst_type_find_element_handle_event),
3408 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3409 * gst/elements/gsttypefindelement.h:
3410 Set caps on first outgoing buffer when we've found the type.
3412 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3414 * docs/gst/gstreamer-docs.sgml:
3415 * docs/gst/gstreamer-sections.txt:
3416 * docs/gst/tmpl/gstscheduler.sgml:
3417 * docs/gst/tmpl/gstschedulerfactory.sgml:
3418 Remove some old cruft from docs.
3420 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
3423 Fix inline docs for GstPadLinkReturn.
3425 * gst/gststructure.c: (gst_structure_has_name):
3426 * gst/gststructure.h:
3427 * docs/gst/gstreamer-sections.txt:
3428 New API: gst_structure_has_name().
3430 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
3433 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3434 and _LARGEFILE_SOURCE in config.h as required. Do not
3435 export those flags in our .pc files any longer (#142209).
3437 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3439 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3440 (gst_file_sink_do_seek), (gst_file_sink_event),
3441 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3442 Redo seek/tell calls with large file support in mind; add some
3443 debugging messages; add log message that tells us when large
3444 file support is unavailable or not enabled for some reason.
3446 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3447 Add log message that tells us when large file support
3448 is unavailable or not enabled for some reason.
3450 2005-07-29 Wim Taymans <wim@fluendo.com>
3452 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3453 Added test for removing an element with ghostpad from a bin.
3454 Fixed test as current implementation does the right thing.
3456 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3457 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3458 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3459 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3460 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3461 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3462 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3463 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3464 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3465 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3466 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3467 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3468 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3469 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3470 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3471 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3472 * gst/gstghostpad.h:
3473 Clean up ghostpads, remove properties for internal stuff.
3476 Prepare for switching targets, not all use cases work yet.
3478 2005-07-29 Wim Taymans <wim@fluendo.com>
3480 * docs/design/part-gstghostpad.txt:
3483 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3484 (gst_bin_remove_func):
3485 Unlinking pads while holding the bin LOCK is not a good
3488 * gst/gstpad.c: (gst_pad_class_init),
3489 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3490 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3491 No prob setting template after creating the pad.
3493 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3495 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3496 (gst_bus_peek), (gst_bus_source_dispatch),
3497 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3498 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3499 gst_bus_poll may be called from other threads. Handle
3500 this nicely by not making poll_data disappear off the
3501 stack once gst_bus_poll returns.
3502 gst_bus_peek now increments the refcount on the returned
3505 2005-07-29 Wim Taymans <wim@fluendo.com>
3507 * docs/design/part-gstghostpad.txt:
3508 Overview of current GhostPad datastructures and use
3509 cases for changing the target.
3511 2005-07-28 Wim Taymans <wim@fluendo.com>
3513 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3514 Added checks for hierarchy consistency whan adding linked
3517 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3518 Added check to test element scheduling without bin/pipeline.
3520 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3521 First add elements to bin, then link.
3523 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3524 (gst_bin_remove_func):
3525 Unlink pads from elements added/removed from bin to maintain
3526 hierarchy consistency.
3528 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3530 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3531 (gst_base_transform_handle_buffer):
3532 * gst/base/gstbasetransform.h:
3533 Remove broken delay_configure (fixes renegotiation of software
3534 scaling pipelines); remove some leftover printf()s.
3536 2005-07-28 Wim Taymans <wim@fluendo.com>
3538 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3539 Added some more tests for wrong hierarchy
3541 * docs/design/part-overview.txt:
3544 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3547 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3548 (gst_element_dispose):
3551 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3552 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3553 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3554 (gst_pad_set_caps), (gst_pad_send_event):
3555 Check for correct hierarchy when linking pads. Moving to
3556 strict requirement for ghostpads when linking elements in
3560 Clean ups. Added WRONG_HIERARCHY return value.
3562 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3564 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3565 Better debug if no transform is possible.
3567 2005-07-27 Wim Taymans <wim@fluendo.com>
3569 * docs/random/wtay/network-transp:
3572 2005-07-27 Wim Taymans <wim@fluendo.com>
3574 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3575 (gst_dp_event_from_packet):
3576 Fix serialization of seek events.
3578 2005-07-27 Wim Taymans <wim@fluendo.com>
3580 * check/gst-libs/gdp.c: (GST_START_TEST):
3581 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3582 Fix compilation and fix event serialization.
3584 2005-07-27 Wim Taymans <wim@fluendo.com>
3587 * docs/design/part-TODO.txt:
3588 * docs/design/part-events.txt:
3591 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3592 (gst_base_sink_event), (gst_base_sink_do_sync),
3593 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3594 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3595 (gst_base_src_do_seek), (gst_base_src_event_handler),
3596 (gst_base_src_loop):
3597 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3598 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3599 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3600 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3601 (gst_base_transform_set_passthrough),
3602 (gst_base_transform_is_passthrough):
3603 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3604 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3610 * gst/gstelement.c: (gst_element_seek):
3612 Update gst_element_seek.
3614 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3615 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3616 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3617 (gst_event_new_eos), (gst_event_new_newsegment),
3618 (gst_event_parse_newsegment), (gst_event_new_tag),
3619 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3620 (gst_event_parse_qos), (gst_event_new_seek),
3621 (gst_event_parse_seek), (gst_event_new_navigation):
3623 Make GstEvent use GstStructure. Add parsing code, make sure the
3624 API is sufficiently generic.
3625 Mark possible directions of events and serialization.
3627 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3628 (_gst_message_copy), (gst_message_new_segment_start),
3629 (gst_message_new_segment_done), (gst_message_new_custom),
3630 (gst_message_parse_segment_start),
3631 (gst_message_parse_segment_done):
3634 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3635 (gst_pad_set_caps), (gst_pad_send_event):
3636 Update for new events.
3637 Catch events sent in wrong directions.
3639 * gst/gstqueue.c: (gst_queue_link_src),
3640 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3641 (gst_queue_handle_src_query):
3646 Remove event code from this file.
3648 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3649 (gst_dp_event_from_packet):
3652 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3654 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3655 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3656 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3657 Make debugging actually useful.
3659 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3661 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3662 (gst_pad_fixate_caps):
3663 Implement default fixation once again, so that gst_pad_fixate()
3664 actually does anything at all. This probably needs to be some
3665 sort of a last resort, and use profile-based fixation first, but
3666 since that doesn't exist yet, this is the best we have. Fixes
3667 visualization in Totem.
3669 2005-07-22 Wim Taymans <wim@fluendo.com>
3671 * docs/design/part-events.txt:
3674 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3675 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3676 (gst_base_sink_activate_pull):
3679 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3680 (gst_fake_src_create):
3681 Fix handoff marshall.
3683 * gst/elements/gstidentity.c: (gst_identity_class_init),
3684 (gst_identity_transform_ip):
3685 We're a real inplace element.
3687 * gst/gstbus.c: (gst_bus_post):
3688 Added some comments.
3690 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3691 * tests/muxing/case1.c: (main):
3692 * tests/sched/dynamic-pipeline.c: (main):
3693 * tests/sched/interrupt1.c: (main):
3694 * tests/sched/interrupt2.c: (main):
3695 * tests/sched/interrupt3.c: (main):
3696 * tests/sched/runxml.c: (main):
3697 * tests/sched/sched-stress.c: (main):
3698 * tests/seeking/seeking1.c: (event_received), (main):
3699 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3701 * tests/threadstate/threadstate3.c: (main):
3702 * tests/threadstate/threadstate4.c: (main):
3703 * tests/threadstate/threadstate5.c: (main):
3706 2005-07-21 Wim Taymans <wim@fluendo.com>
3708 * docs/design/part-seeking.txt:
3709 Some small additions.
3711 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3712 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3713 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3714 * gst/base/gstbasesink.h:
3715 discont values are gint64, handle the math correctly.
3717 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3718 Make the basesrc report error if the source pad is not linked.
3720 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3721 (gst_queue_loop), (gst_queue_handle_src_query),
3722 (gst_queue_src_activate_push):
3723 Make queue collect data even if the srcpad is not linked.
3724 Start pushing out data as soon as it is linked.
3726 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3728 Added gst_flow_get_name() to ease error reporting.
3730 2005-07-20 Wim Taymans <wim@fluendo.com>
3732 * gst/gstmessage.c: (gst_message_new_segment_start),
3733 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3734 (gst_message_parse_segment_done):
3736 Added a bunch of messages for advanced seeking.
3738 * gst/parse/grammar.y:
3739 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3740 (gst_dpman_state_changed):
3741 Fix some new-pad -> pad-added signals
3743 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3745 * docs/manual/appendix-porting.xml:
3746 * docs/pwg/appendix-porting.xml:
3747 Document new-pad/state-change signal renames and the FixedList
3750 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3752 * docs/manual/advanced-autoplugging.xml:
3753 * docs/manual/basics-helloworld.xml:
3754 * docs/manual/basics-pads.xml:
3755 * docs/random/ds/0.9-suggested-changes:
3756 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3761 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3762 (gst_structure_parse_array), (gst_structure_parse_value):
3763 * gst/gstvalue.c: (gst_type_is_fixed),
3764 (gst_value_list_prepend_value), (gst_value_list_append_value),
3765 (gst_value_list_get_size), (gst_value_list_get_value),
3766 (gst_value_transform_array_string), (gst_value_serialize_array),
3767 (gst_value_deserialize_array), (gst_value_intersect_array),
3768 (gst_value_is_fixed), (_gst_value_initialize):
3770 GstElement::new-pad -> pad-added, GstElement::state-change ->
3771 state-changed, GstValueFixedList -> GstValueArray, add format and
3772 flags as their own arguments in gst_element_seek() (should improve
3773 "bindeability"), remove function generators since they don't work
3774 under a whole bunch of compilers (they were deprecated already
3777 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3779 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3780 (_gst_debug_register_funcptr):
3782 Fix illegal cast on some platforms (#309253).
3784 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3786 * gst/gstmessage.c: (gst_message_new_custom):
3788 Add _new_custom, make _new_application a macro to _new_custom.
3790 2005-07-20 Wim Taymans <wim@fluendo.com>
3792 * gst/base/gstbasesrc.c: (gst_base_src_init),
3793 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3794 * gst/base/gstbasesrc.h:
3795 Add a gboolean to decide when to push out a discont.
3797 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3798 (gst_queue_loop), (gst_queue_handle_src_query),
3799 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3800 (gst_queue_set_property), (gst_queue_get_property):
3803 * tests/threadstate/threadstate1.c: (main):
3804 Make a thread test compile and run... very silly..
3807 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3809 * docs/manual/appendix-porting.xml:
3810 Mention removal of libgstgconf-0.9.la and existence of gconf
3813 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3815 * docs/pwg/advanced-clock.xml:
3816 * docs/pwg/appendix-porting.xml:
3817 * docs/pwg/intro-preface.xml:
3818 * docs/pwg/other-base.xml:
3819 * docs/pwg/other-manager.xml:
3820 * docs/pwg/other-nton.xml:
3821 * docs/pwg/other-ntoone.xml:
3822 * docs/pwg/other-oneton.xml:
3824 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3825 demuxer), remove n-to-n (was never written), fix some code examples
3826 and links and update the porting section to include all this.
3828 2005-07-19 Wim Taymans <wim@fluendo.com>
3830 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3831 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3832 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3833 (gst_queue_src_activate_push), (gst_queue_change_state),
3834 (gst_queue_get_property):
3836 Propagate GstFlowReturn more intelligently upstream and output
3837 an ERROR/EOS when streaming stopped due to fatal error.
3839 2005-07-19 Wim Taymans <wim@fluendo.com>
3841 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3842 Don't block forever for the state change to complete, the
3843 pipeline already did with a sensible timeout.
3845 2005-07-19 Wim Taymans <wim@fluendo.com>
3847 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3848 Make sure we never call the create function is we
3851 2005-07-19 Andy Wingo <wingo@pobox.com>
3853 * gst/parse/parse.l: Attempt to solve bug #172815.
3855 2005-07-19 Wim Taymans <wim@fluendo.com>
3857 * docs/design/part-clocks.txt:
3858 * docs/design/part-events.txt:
3859 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3861 Only update the seeking values when we are not
3864 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3866 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3867 Oops, ignore the result of gst_pad_push_event here.
3869 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3871 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3872 (gst_base_src_activate_push):
3873 Send discont event from the loop function, as pads
3874 aren't activated yet in the activate_push handler.
3876 * gst/gstbin.c: (bin_bus_handler):
3877 Don't leak element name.
3879 2005-07-18 Andy Wingo <wingo@pobox.com>
3881 * configure.ac: Use AS_LIBTOOL_TAGS.
3883 2005-07-18 Wim Taymans <wim@fluendo.com>
3885 * docs/gst/gstreamer.types:
3886 Remove deleted types.
3888 2005-07-18 Wim Taymans <wim@fluendo.com>
3890 * check/elements/gstfakesrc.c: (GST_START_TEST):
3893 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3894 (init_popt_callback):
3896 * gst/gst_private.h:
3897 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3898 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3901 * gst/gstconfig.h.in:
3902 * gst/gstelement.c: (gst_element_class_init),
3903 (gst_element_set_base_time), (gst_element_get_base_time),
3904 (iterator_fold_with_resync), (gst_element_change_state),
3905 (gst_element_dispose), (gst_element_get_bus):
3907 * gst/gstelementfactory.h:
3908 * gst/gsterror.c: (_gst_core_errors_init):
3911 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3913 * gst/gstinfo.c: (_gst_debug_init):
3914 * gst/gstmessage.c: (_gst_message_copy):
3916 * gst/gstminiobject.h:
3919 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3920 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3923 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3924 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3925 (gst_pipeline_get_last_stream_time):
3926 * gst/gstpipeline.h:
3927 * gst/gstpluginfeature.h:
3929 * gst/gstscheduler.c:
3930 * gst/gstscheduler.h:
3931 * gst/gststructure.h:
3932 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3933 (gst_task_finalize), (gst_task_func), (gst_task_create),
3934 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3935 (gst_task_stop), (gst_task_pause):
3937 * gst/gsttypefind.h:
3939 * gst/registries/gstlibxmlregistry.c: (load_feature),
3940 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3941 * gst/registries/gstxmlregistry.c:
3942 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3943 * gst/schedulers/threadscheduler.c:
3944 * libs/gst/control/dparammanager.h:
3945 * tools/gst-inspect.c: (print_element_list),
3946 (print_plugin_features), (print_element_features):
3947 * tools/gst-xmlinspect.c: (print_element_list),
3948 (print_plugin_info), (main):
3949 Removed plugable schedulers.
3950 Removed Scheduler/Manager from elements.
3951 Removed gsttypes.h, rearranged includes.
3952 Removed dependency pad<->element, element<>pipeline, and
3953 various others, fix includes.
3954 implement gst_pad_get_parent() with gst_object_get_parent()
3955 Make GstTask sefcontained.
3956 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3958 Fix endless loop in iterator_fold_with_resync.
3961 2005-07-18 Wim Taymans <wim@fluendo.com>
3967 2005-07-18 Wim Taymans <wim@fluendo.com>
3972 2005-07-18 Wim Taymans <wim@fluendo.com>
3978 2005-07-18 Wim Taymans <wim@fluendo.com>
3980 * docs/design/part-dynamic.txt:
3981 * docs/design/part-events.txt:
3982 * docs/design/part-seeking.txt:
3983 Some more docs in the works.
3985 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3986 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3987 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3988 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3989 (gst_base_transform_handle_buffer),
3990 (gst_base_transform_sink_activate_push),
3991 (gst_base_transform_src_activate_pull),
3992 (gst_base_transform_set_passthrough),
3993 (gst_base_transform_is_passthrough):
3996 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3999 * gst/gstevent.c: (gst_event_finalize):
4002 * gst/gstutils.c: (gst_element_unlink),
4003 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4004 (gst_pad_proxy_setcaps):
4006 Add _get_parent_element() to get a pads parent as an element.
4008 2005-07-18 Wim Taymans <wim@fluendo.com>
4010 * check/gst/gstbin.c: (GST_START_TEST):
4013 2005-07-18 Wim Taymans <wim@fluendo.com>
4015 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4016 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4017 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4018 (gst_base_sink_event), (gst_base_sink_do_sync),
4019 (gst_base_sink_chain), (gst_base_sink_loop),
4020 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4021 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4023 Fix logic for returning ASYNC when not prerolled.
4025 2005-07-18 Wim Taymans <wim@fluendo.com>
4027 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4028 Fix nasty refcount bug.
4030 2005-07-16 Philippe Khalaf <burger@speedy.org>
4032 * gst/elements/gstfdsrc.c:
4033 * gst/elements/gstfdsrc.h:
4034 * gst/elements/gstelements.c:
4035 * gst/elements/Makefile.am:
4036 Ported fdsrc to 0.9.
4038 2005-07-16 Wim Taymans <wim@fluendo.com>
4040 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4041 (gst_base_sink_do_sync):
4044 2005-07-16 Wim Taymans <wim@fluendo.com>
4046 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4047 (gst_base_sink_event), (gst_base_sink_get_times),
4048 (gst_base_sink_do_sync), (gst_base_sink_change_state):
4049 * gst/base/gstbasesink.h:
4050 Store and use discont values when syncing buffers as described
4053 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4054 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4055 (gst_base_src_activate_push):
4056 Push discont event when starting.
4058 * gst/elements/gstidentity.c: (gst_identity_transform):
4061 * gst/gstbin.c: (gst_bin_change_state):
4062 Small cleanups in base_time distribution.
4064 * gst/gstelement.c: (gst_element_set_base_time),
4065 (gst_element_get_base_time), (gst_element_change_state):
4067 Added methods for the base_time of the element.
4070 * gst/gstpipeline.c: (gst_pipeline_send_event),
4071 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4072 (gst_pipeline_get_last_stream_time):
4073 * gst/gstpipeline.h:
4075 Handle seeking as described in design doc, remove stream_time
4077 Cleanups clock and stream_time selection code. Added accessors
4078 for the stream_time.
4081 2005-07-16 Andy Wingo <wingo@pobox.com>
4083 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4086 2005-07-16 Wim Taymans <wim@fluendo.com>
4088 * check/gst/gstbin.c: (GST_START_TEST):
4089 Make elements silent as the deep_notify refs the
4090 parent, which might make the test fail.
4092 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4093 Don't hold the lock for too long.
4095 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
4097 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4098 Don't unref the caps we passed to gst_caps_make_writable() after
4099 passing them. gst_caps_make_writable() will do that for us.
4101 2005-07-15 Andy Wingo <wingo@pobox.com>
4103 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4106 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4107 own marshalling function for the handoff signal. Properly type the
4108 buffer as a buffer. Fixes some warnings. Should do a more general
4110 (gst_identity_class_init): Plug into the right marshaller.
4112 2005-07-15 Wim Taymans <wim@fluendo.com>
4114 * docs/design/part-TODO.txt:
4115 * docs/design/part-clocks.txt:
4116 * docs/design/part-element-sink.txt:
4117 * docs/design/part-events.txt:
4118 * docs/design/part-gstpipeline.txt:
4119 Updated docs, mostly DISCONT related.
4121 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
4123 * docs/pwg/building-pads.xml:
4124 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4126 2005-07-15 Andy Wingo <wingo@pobox.com>
4128 * tools/gst-typefind.c: Update, add copyright block.
4130 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4131 Normalize and truncate caps before fixation.
4134 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4135 discards all but the first structure from its argument.
4137 2005-07-15 Wim Taymans <wim@fluendo.com>
4139 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4140 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4141 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4142 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4143 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4144 (gst_base_transform_chain), (gst_base_transform_change_state),
4145 (gst_base_transform_set_passthrough),
4146 (gst_base_transform_is_passthrough):
4147 * gst/base/gstbasetransform.h:
4148 Make passthrough work using the bufferpools.
4149 Changed API a bit, subclasses have to write into a buffer
4150 provided by the base class.
4151 More debug info in nego functions.
4153 * gst/elements/gstidentity.c: (gst_identity_init),
4154 (gst_identity_transform):
4155 Port to new base class.
4157 2005-07-15 Wim Taymans <wim@fluendo.com>
4159 * gst/gstmessage.c: (gst_message_new_state_changed):
4160 * tools/gst-launch.c: (event_loop), (main):
4161 Totally dump messages in -launch with the -m option.
4162 Fix message name for State messages,
4164 2005-07-14 Wim Taymans <wim@fluendo.com>
4166 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4167 Post error messages on errors.
4169 2005-07-14 Wim Taymans <wim@fluendo.com>
4171 * gst/gstcaps.c: (gst_caps_do_simplify):
4175 Define error for stream stopped.
4177 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4178 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4179 Do proper return values.
4181 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4182 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4183 (gst_pad_get_range):
4184 Better return values.
4187 Reorganise return values, add macro to check for fatal errors.
4189 * gst/gstqueue.c: (gst_queue_chain):
4190 Return proper GstFlowReturn values,
4192 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
4194 * docs/gst/gstreamer-sections.txt:
4195 * docs/gst/gstreamer.types:
4196 * docs/gst/tmpl/gst.sgml:
4197 * docs/gst/tmpl/gstbasesink.sgml:
4198 * docs/gst/tmpl/gstbasesrc.sgml:
4199 * docs/gst/tmpl/gstbasetransform.sgml:
4200 * docs/gst/tmpl/gstbin.sgml:
4201 * docs/gst/tmpl/gstbuffer.sgml:
4202 * docs/gst/tmpl/gstcaps.sgml:
4203 * docs/gst/tmpl/gstclock.sgml:
4204 * docs/gst/tmpl/gstcompat.sgml:
4205 * docs/gst/tmpl/gstconfig.sgml:
4206 * docs/gst/tmpl/gstelement.sgml:
4207 * docs/gst/tmpl/gstelementdetails.sgml:
4208 * docs/gst/tmpl/gstelementfactory.sgml:
4209 * docs/gst/tmpl/gstenumtypes.sgml:
4210 * docs/gst/tmpl/gsterror.sgml:
4211 * docs/gst/tmpl/gstevent.sgml:
4212 * docs/gst/tmpl/gstfakesink.sgml:
4213 * docs/gst/tmpl/gstfakesrc.sgml:
4214 * docs/gst/tmpl/gstfilesink.sgml:
4215 * docs/gst/tmpl/gstfilesrc.sgml:
4216 * docs/gst/tmpl/gstfilter.sgml:
4217 * docs/gst/tmpl/gstformat.sgml:
4218 * docs/gst/tmpl/gstghostpad.sgml:
4219 * docs/gst/tmpl/gstimplementsinterface.sgml:
4220 * docs/gst/tmpl/gstindex.sgml:
4221 * docs/gst/tmpl/gstindexfactory.sgml:
4222 * docs/gst/tmpl/gstinfo.sgml:
4223 * docs/gst/tmpl/gstiterator.sgml:
4224 * docs/gst/tmpl/gstmacros.sgml:
4225 * docs/gst/tmpl/gstmemchunk.sgml:
4226 * docs/gst/tmpl/gstminiobject.sgml:
4227 * docs/gst/tmpl/gstobject.sgml:
4228 * docs/gst/tmpl/gstpad.sgml:
4229 * docs/gst/tmpl/gstpadtemplate.sgml:
4230 * docs/gst/tmpl/gstparse.sgml:
4231 * docs/gst/tmpl/gstpipeline.sgml:
4232 * docs/gst/tmpl/gstplugin.sgml:
4233 * docs/gst/tmpl/gstpluginfeature.sgml:
4234 * docs/gst/tmpl/gstquery.sgml:
4235 * docs/gst/tmpl/gstqueue.sgml:
4236 * docs/gst/tmpl/gstregistry.sgml:
4237 * docs/gst/tmpl/gstregistrypool.sgml:
4238 * docs/gst/tmpl/gstscheduler.sgml:
4239 * docs/gst/tmpl/gstschedulerfactory.sgml:
4240 * docs/gst/tmpl/gststructure.sgml:
4241 * docs/gst/tmpl/gstsystemclock.sgml:
4242 * docs/gst/tmpl/gsttaglist.sgml:
4243 * docs/gst/tmpl/gsttagsetter.sgml:
4244 * docs/gst/tmpl/gsttrace.sgml:
4245 * docs/gst/tmpl/gsttrashstack.sgml:
4246 * docs/gst/tmpl/gsttypefind.sgml:
4247 * docs/gst/tmpl/gsttypefindfactory.sgml:
4248 * docs/gst/tmpl/gsttypes.sgml:
4249 * docs/gst/tmpl/gsturihandler.sgml:
4250 * docs/gst/tmpl/gsturitype.sgml:
4251 * docs/gst/tmpl/gstutils.sgml:
4252 * docs/gst/tmpl/gstvalue.sgml:
4253 * docs/gst/tmpl/gstversion.sgml:
4254 * docs/gst/tmpl/gstxml.sgml:
4255 * docs/libs/tmpl/gstcontrol.sgml:
4256 * docs/libs/tmpl/gstdataprotocol.sgml:
4257 * docs/libs/tmpl/gstdparam.sgml:
4258 * docs/libs/tmpl/gstdplinint.sgml:
4259 * docs/libs/tmpl/gstdpman.sgml:
4260 * docs/libs/tmpl/gstdpsmooth.sgml:
4261 * docs/libs/tmpl/gstgetbits.sgml:
4262 * docs/libs/tmpl/gstunitconvert.sgml:
4263 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4264 (gst_push_src_base_init), (gst_push_src_class_init),
4265 (gst_push_src_init), (gst_push_src_create):
4266 * gst/base/gstpushsrc.h:
4267 * gst/elements/gstelements.c:
4268 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4269 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4270 (gst_fake_sink_init), (gst_fake_sink_set_property),
4271 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4272 (gst_fake_sink_event), (gst_fake_sink_preroll),
4273 (gst_fake_sink_render), (gst_fake_sink_change_state):
4274 * gst/elements/gstfakesink.h:
4275 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4276 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4277 (gst_fake_src_base_init), (gst_fake_src_class_init),
4278 (gst_fake_src_init), (gst_fake_src_event_handler),
4279 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4280 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4281 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4282 (gst_fake_src_create_buffer), (gst_fake_src_create),
4283 (gst_fake_src_start), (gst_fake_src_stop):
4284 * gst/elements/gstfakesrc.h:
4285 * gst/elements/gstfilesink.c: (_do_init),
4286 (gst_file_sink_base_init), (gst_file_sink_class_init),
4287 (gst_file_sink_init), (gst_file_sink_dispose),
4288 (gst_file_sink_set_location), (gst_file_sink_set_property),
4289 (gst_file_sink_get_property), (gst_file_sink_open_file),
4290 (gst_file_sink_close_file), (gst_file_sink_query),
4291 (gst_file_sink_event), (gst_file_sink_render),
4292 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4293 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4294 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4295 * gst/elements/gstfilesink.h:
4296 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4297 (gst_file_src_class_init), (gst_file_src_init),
4298 (gst_file_src_finalize), (gst_file_src_set_location),
4299 (gst_file_src_set_property), (gst_file_src_get_property),
4300 (gst_file_src_map_region), (gst_file_src_map_small_region),
4301 (gst_file_src_create_mmap), (gst_file_src_create_read),
4302 (gst_file_src_create), (gst_file_src_is_seekable),
4303 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4304 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4305 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4306 (gst_file_src_uri_handler_init):
4307 * gst/elements/gstfilesrc.h:
4308 more autistic cleanliness in functions/names/defines
4310 2005-07-13 Andy Wingo <wingo@pobox.com>
4312 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4313 source couldn't negotiate.
4315 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4319 * gst/gstutils.c (gst_element_link_pads_filtered): New old
4320 function. I am channeling Hades. Put your boots on suckers!!!
4322 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4324 * testsuite/caps/Makefile.am:
4325 * testsuite/caps/value_compare.c:
4326 * testsuite/caps/value_intersect.c:
4327 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4328 move two testsuite apps over to the check dir
4330 2005-07-12 Wim Taymans <wim@fluendo.com>
4332 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4333 Added more debug info in the negotiate process.
4336 Prepare for segment playback.
4338 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4344 * tools/gst-launch.c: (main):
4345 NULL pipeline on errors.
4347 2005-07-12 Andy Wingo <wingo@pobox.com>
4349 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4350 not it comes from a malloc region. Make sure our copy gets freed.
4352 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4354 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4355 * check/gst/gstmessage.c: (GST_START_TEST):
4356 * check/gst/gststructure.c: (GST_START_TEST),
4357 (gst_structure_suite), (main):
4359 * gst/gstelement.c: (gst_element_message_full):
4360 clean up GError and debug string now that they get copied
4361 * gst/gstmessage.c: (gst_message_new_error),
4362 (gst_message_new_warning), (gst_message_parse_error),
4363 (gst_message_parse_warning):
4364 use GST_TYPE_G_ERROR for structure_new, and take copies of
4365 arguments, so that we don't mess up refcounting
4367 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4369 * check/Makefile.am:
4370 add per-test valgrind targets
4371 * check/gst-libs/gdp.c: (GST_START_TEST),
4372 (gst_data_protocol_suite), (main):
4375 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4377 * check/Makefile.am:
4378 instate more valgrindable tests
4379 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4380 (GST_START_TEST), (fakesrc_suite):
4381 * check/gst/gstpad.c: (GST_START_TEST):
4382 * check/gst/gststructure.c: (GST_START_TEST):
4384 * docs/gst/tmpl/gstminiobject.sgml:
4385 * gst/gstpad.c: (gst_pad_finalize):
4386 fix the static mutex leak
4388 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4390 * check/Makefile.am:
4391 add two more tests for valgrinding
4392 * check/gst/gstvalue.c: (GST_START_TEST):
4393 test refcount of deserialized buffer, found a leak
4394 * docs/gst/gstreamer-docs.sgml:
4395 * docs/gst/gstreamer-sections.txt:
4396 * docs/gst/gstreamer.types:
4397 * docs/gst/tmpl/gstminiobject.sgml:
4398 add miniobject to docs
4399 * gst/gstminiobject.c:
4401 * gst/gstvalue.c: (gst_value_deserialize_buffer),
4402 (gst_string_unwrap):
4403 fix a hard-to-find invalid write for one of the tests
4404 fix a leak for deserialized buffers
4406 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4408 * docs/pwg/advanced-events.xml:
4409 * docs/pwg/advanced-request.xml:
4410 * docs/pwg/advanced-scheduling.xml:
4411 * docs/pwg/appendix-porting.xml:
4412 * docs/pwg/building-boiler.xml:
4413 * docs/pwg/intro-preface.xml:
4414 * docs/pwg/other-ntoone.xml:
4415 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4416 of example code and explanation for pad activation, loop() and
4417 getrange() functions and a bit more. Remove old comments pointing
4419 * examples/pwg/Makefile.am:
4420 Add loop/getrange examples.
4422 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4425 check for valgrind binary + some fixes
4427 valgrind suppressions for the tests
4428 * check/Makefile.am:
4429 add a valgrind: target that valgrinds the unit tests
4430 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4431 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4432 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4433 * check/gst/gstghostpad.c:
4435 * check/gst/gstdata.c:
4437 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4438 (thread_unref), (gst_mini_object_suite), (main):
4440 * gst/gst.c: (gst_deinit):
4442 add a method to clean up.
4443 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4444 (gst_system_clock_obtain):
4445 allow for disposing the system clock.
4446 * tools/gst-launch.c: (main):
4449 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4451 * docs/gst/tmpl/gstbasesrc.sgml:
4452 * docs/gst/tmpl/gstfakesrc.sgml:
4453 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4454 (gst_base_src_init), (gst_base_src_set_property),
4455 (gst_base_src_get_property), (gst_base_src_get_range),
4456 (gst_base_src_start):
4457 * gst/base/gstbasesrc.h:
4458 add num-buffers property
4459 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4460 (gst_fakesrc_init), (gst_fakesrc_set_property),
4461 (gst_fakesrc_get_property), (gst_fakesrc_create),
4462 (gst_fakesrc_start):
4463 remove num-buffers property
4465 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4467 * docs/gst/gstreamer-sections.txt:
4468 * docs/gst/tmpl/gstbasesink.sgml:
4469 * docs/gst/tmpl/gstbasesrc.sgml:
4470 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4471 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4472 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4473 (gst_base_sink_set_property), (gst_base_sink_get_property),
4474 (gst_base_sink_handle_object), (gst_base_sink_event),
4475 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4476 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4477 (gst_base_sink_loop), (gst_base_sink_deactivate),
4478 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4479 (gst_base_sink_change_state):
4480 * gst/base/gstbasesink.h:
4481 * gst/base/gstbasesrc.h:
4482 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4483 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4484 (gst_filesink_init):
4485 more macro splitting
4487 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4489 * gst/gstelement.c: (gst_element_get_bus):
4491 * tools/gst-launch.c: (check_intr), (event_loop):
4494 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4496 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4499 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4501 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4502 (gst_base_src_finalize):
4503 add finalize method and clean up properly
4504 * gst/gstpipeline.c: (gst_pipeline_dispose):
4507 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4509 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4511 add more things to check
4512 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4516 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4518 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4519 (GST_START_TEST), (fakesrc_suite):
4520 * check/gst-libs/gdp.c: (GST_START_TEST):
4521 * check/gst/gst.c: (GST_START_TEST):
4522 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4523 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4524 * check/gst/gstbus.c: (GST_START_TEST):
4525 * check/gst/gstcaps.c: (GST_START_TEST):
4526 * check/gst/gstdata.c: (GST_START_TEST):
4527 * check/gst/gstelement.c: (GST_START_TEST):
4528 * check/gst/gstghostpad.c: (GST_START_TEST):
4529 * check/gst/gstiterator.c: (GST_START_TEST):
4530 * check/gst/gstmessage.c: (GST_START_TEST):
4531 * check/gst/gstobject.c: (GST_START_TEST):
4532 * check/gst/gstpad.c: (GST_START_TEST):
4533 * check/gst/gststructure.c: (GST_START_TEST):
4534 * check/gst/gstsystemclock.c: (GST_START_TEST),
4535 (gst_systemclock_suite):
4536 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4537 * check/gst/gstvalue.c: (GST_START_TEST):
4538 * check/pipelines/cleanup.c: (GST_START_TEST):
4539 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4540 * check/states/sinks.c: (GST_START_TEST):
4541 * check/gstcheck.c: (gst_check_init):
4543 add debugging category
4544 use GST_START_TEST now, so we add a debug line
4546 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4548 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4549 add test for state change message on a bin
4550 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4552 * gst/gstbin.c: (gst_bin_init):
4553 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4554 * gst/gstelement.c: (gst_element_post_message),
4555 (gst_element_set_state):
4556 * gst/gstelementfactory.c: (gst_element_factory_create):
4557 * gst/gstmessage.c: (gst_message_new):
4558 * gst/gstscheduler.c:
4559 various debugging additions and cleanups
4561 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4563 * check/Makefile.am:
4564 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4566 adding tests for elements
4567 * gst/gstelement.c: (gst_element_dispose):
4569 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4571 * gst/registries/gstlibxmlregistry.c: (load_feature):
4572 plug more leaks. A simple gst_init() now is leakfree, yay.
4574 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4576 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4577 (gst_xml_registry_load):
4578 plug another memleak
4580 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4583 use GST_SET_ERROR_CFLAGS
4585 change to ERROR_CFLAGS
4587 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4590 make GST_ERROR_CFLAGS overridable and re-enable Werror
4592 add a note about error CFLAGS
4593 * docs/gst/tmpl/gstfakesrc.sgml:
4594 * gst/elements/gstfakesrc.c:
4595 comment out some unused code
4596 * gst/gst.c: (split_and_iterate):
4597 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4601 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4603 * common/Makefile.am:
4604 * common/gtk-doc.mak:
4605 * docs/gst/Makefile.am:
4606 factor out gtk-doc.mak
4608 2005-07-07 Wim Taymans <wim@fluendo.com>
4610 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4611 (gst_thread_scheduler_dispose):
4612 Unlock the STREAM_LOCK completely.
4614 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4616 * check/Makefile.am:
4617 * check/elements/.cvsignore:
4618 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4619 (START_TEST), (fakesrc_suite), (main):
4620 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4621 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4622 (gst_fakesrc_create), (gst_fakesrc_start):
4623 * gst/elements/gstfakesrc.h:
4624 adding a first element test
4626 2005-07-07 Andy Wingo <wingo@pobox.com>
4628 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4631 2005-07-07 Wim Taymans <wim@fluendo.com>
4637 2005-07-07 Wim Taymans <wim@fluendo.com>
4639 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4640 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4641 Allow subclasses to implement their own negotiation.
4643 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4645 * docs/design/part-gstbin.txt:
4646 * docs/design/part-gstpipeline.txt:
4647 Update design notes to reflect the movement of
4648 responsibility for bus handling from GstPipeline to
4651 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4654 Remove unnecessary queue2/3/4 examples.
4656 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4658 * examples/Makefile.am:
4659 * examples/helloworld/helloworld.c: (event_loop), (main):
4660 * examples/queue/queue.c: (event_loop), (main):
4661 * examples/queue2/queue2.c: (main):
4662 Update a couple of the examples to work again.
4664 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4665 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4666 Spelling corrections and extra debug.
4668 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4669 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4670 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4672 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4673 (gst_pipeline_change_state):
4674 * gst/gstpipeline.h:
4675 Move the bus handler for children to the GstBin, and create a
4676 separate bus for receiving messages from children to the one the
4677 bus sends 'upwards' on.
4679 2005-07-06 Wim Taymans <wim@fluendo.com>
4682 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4683 (gst_base_sink_handle_object), (gst_base_sink_loop),
4684 (gst_base_sink_change_state):
4685 * gst/base/gstbasesink.h:
4686 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4687 (gst_base_src_init), (gst_base_src_setcaps),
4688 (gst_base_src_getcaps), (gst_base_src_loop),
4689 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4690 (gst_base_src_start), (gst_base_src_change_state):
4691 * gst/base/gstbasesrc.h:
4692 Make basesrc negotiate.
4693 Handle the case where preroll fails in basesink.
4696 2005-07-06 Wim Taymans <wim@fluendo.com>
4698 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4699 Implement the fixate function.
4700 Clean up acceptcaps.
4702 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4704 * docs/pwg/building-filterfactory.xml:
4706 Remove never-written filter-factory chapter; I'll add the various
4707 base classes to part 4 ("other element types") later on.
4709 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4711 * docs/pwg/advanced-negotiation.xml:
4712 * docs/pwg/building-boiler.xml:
4713 * docs/pwg/building-pads.xml:
4715 * examples/pwg/Makefile.am:
4716 Add a chapter on caps negotiation, simplify the original code
4717 samples a bit w.r.t. caps negotiation, add link to the advanced
4718 section. Add a bunch of examples showing different use cases of
4719 different types of caps negotiation. Upstream renegotiation isn't
4720 fully documented yet since nobody knows how that works.
4722 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4724 * check/gst/gstpad.c:
4726 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4727 if pad has no parent, return NULL as list of internal links
4729 2005-07-05 Andy Wingo <wingo@pobox.com>
4731 * gst/elements/gstfilesrc.c:
4732 * gst/elements/gstfakesrc.c:
4733 * gst/base/gstpushsrc.c:
4734 * gst/base/gstbasesrc.h:
4735 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4737 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4740 better report generation target (lcov needs a patch)
4742 2005-07-05 Andy Wingo <wingo@pobox.com>
4744 * gst/elements, testsuite: Null if we got it...
4746 2005-07-05 Wim Taymans <wim@fluendo.com>
4749 * libs/gst/dataprotocol/Makefile.am:
4750 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4751 * libs/gst/dataprotocol/dataprotocol.h:
4752 * pkgconfig/Makefile.am:
4753 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4754 * pkgconfig/gstreamer-dataprotocol.pc.in:
4755 Ported dataprotol to 0.9.
4756 Added pkgconfig files.
4758 2005-07-05 Andy Wingo <wingo@pobox.com>
4760 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4761 Default to returning TRUE for the case when tranform_caps returns
4762 a fixed caps, like for identity or volume.
4764 * check/gst/gstbus.c (pound_bus_with_messages):
4765 * check/gst/gstmessage.c (START_TEST):
4766 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4769 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4770 logic weaks here: always run transform_caps, trying passthrough
4771 operation only if the original caps intersects with the transform.
4773 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4774 source and sink caps.
4776 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4777 Intersect the peer caps with the pad template before going into
4779 (gst_base_transform_transform_caps): More debugging.
4781 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4784 2005-07-04 Edward Hervey <edward@fluendo.com>
4788 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4791 2005-07-04 Andy Wingo <wingo@pobox.com>
4793 * check/gst/gstpad.c: Only set explicit caps on pads.
4795 2005-07-01 Andy Wingo <wingo@pobox.com>
4797 * tests/network-clock.scm: Commentary update.
4799 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4800 Didn't really make sense, not implementable with basetransform,
4802 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4803 attempt at implementing the sync property, needs an unlock method.
4805 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4806 New func, by default returns the same caps (the identity
4808 (gst_base_transform_getcaps): Uses transform_caps to return
4810 (gst_base_transform_setcaps): Complicated logic to get caps on
4811 both pads, even if they are different, and to call set_caps once
4812 for every time both pads get their caps set.
4813 (gst_base_transform_handle_buffer): Give the ref to the transform
4814 function. Allows in-place modification of the buffer.
4816 * gst/base/gstbasetransform.h (transform_caps): New class method.
4817 Given caps on one side, what can I do on the other.
4818 (set_caps): Take two caps, one for each side of the element.
4821 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4822 caps in place. This is safe because we can check the mutability of
4823 the caps, and a good idea because fixate functions are just called
4824 as a matter of last resort. (Not actually implemented.)
4825 (gst_pad_set_caps): If the caps we're setting is actually the same
4826 as the existing pad caps, just update the pointer without calling
4827 setcaps. Assert that caps is either NULL or fixed, as per the
4830 * gst/gstghostpad.c: Update for fixate changes.
4832 2005-07-02 Andy Wingo <wingo@pobox.com>
4835 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4836 two refcounts makes it immutable, which is enough. Doc more.
4838 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4840 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4841 Put the mini_object into GValue as a mini_object,
4842 not a gpointer, since that's how we declared
4845 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4847 * examples/pwg/Makefile.am:
4850 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4852 * docs/pwg/building-testapp.xml:
4854 * examples/pwg/Makefile.am:
4857 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4860 * examples/Makefile.am:
4861 * examples/pwg/Makefile.am:
4862 * examples/pwg/extract.pl:
4863 Enable building the PWG examples.
4864 * docs/pwg/advanced-interfaces.xml:
4865 Add URI interface stub.
4866 * docs/pwg/advanced-types.xml:
4867 * docs/pwg/other-autoplugger.xml:
4868 * docs/pwg/appendix-porting.xml:
4870 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4871 * docs/pwg/building-boiler.xml:
4872 * docs/pwg/building-chainfn.xml:
4873 * docs/pwg/building-pads.xml:
4874 * docs/pwg/building-props.xml:
4875 * docs/pwg/building-state.xml:
4876 * docs/pwg/building-testapp.xml:
4877 Update the building-*.xml parts for 0.9 changes. All examples
4878 code blocks compile in examples/pwg/*.
4880 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4882 * docs/manual/advanced-autoplugging.xml:
4883 * docs/manual/appendix-checklist.xml:
4884 * docs/manual/appendix-integration.xml:
4885 * docs/manual/highlevel-components.xml:
4886 Fix playbin/decodebin examples, update docs a bit, mention bus
4887 instead of signals in various places, mention kmplayer and
4888 kaffeine since they have a working GStreamer backend in the KDE
4891 2005-06-30 Wim Taymans <wim@fluendo.com>
4894 * docs/design/draft-ghostpads.txt:
4895 * docs/design/draft-push-pull.txt:
4896 * docs/design/draft-query.txt:
4897 * docs/design/part-TODO.txt:
4898 * docs/design/part-query.txt:
4899 Added CHANGES-0.9 doc, updated status of other docs.
4904 2005-06-30 Wim Taymans <wim@fluendo.com>
4906 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4907 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4908 (gst_base_sink_change_state):
4909 * gst/base/gstbasesink.h:
4910 Some tweaks, only EOS and a buffer complete a preroll.
4912 2005-06-30 Andy Wingo <wingo@pobox.com>
4914 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4915 activate_push down to the internal pad as well.
4917 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4919 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4921 * gst/gsttaginterface.c:
4922 Some documentation fixes (#307394 and #307397).
4924 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4926 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4928 * gst/gstvalue.c: (gst_value_intersect_list):
4929 Fix memleak (#309125).
4931 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4933 * docs/manual/advanced-dataaccess.xml:
4934 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4935 * docs/manual/basics-pads.xml:
4936 Add reference for filtered caps to above chapter.
4938 2005-06-30 Wim Taymans <wim@fluendo.com>
4940 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4941 (gst_bin_change_state):
4943 Lame attempt at making the state change function a bit
4946 2005-06-30 Wim Taymans <wim@fluendo.com>
4948 * docs/design/part-clocks.txt:
4949 * docs/design/part-element-sink.txt:
4950 * docs/design/part-events.txt:
4951 * docs/design/part-preroll.txt:
4952 * docs/design/part-states.txt:
4953 Some more tweeks and additions to the docs.
4955 2005-06-30 Wim Taymans <wim@fluendo.com>
4957 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4958 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4959 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4960 (gst_pad_check_pull_range), (gst_pad_get_range),
4961 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4963 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4964 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4965 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4966 (gst_pad_remove_buffer_probe):
4967 Removed atomic operations, use existing LOCK.
4968 Move exception handling out of main code path.
4970 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4972 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4973 (silly_return_true_function), (gst_pad_class_init),
4974 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4975 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4976 (gst_pad_send_event):
4977 Fix accumulator, add default value by using _emitv() instead
4978 of _emit() for signal emission.
4980 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4982 * docs/manual/advanced-dataaccess.xml:
4983 * examples/manual/Makefile.am:
4985 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4988 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
4990 * gst/elements/gstfilesink.c: (gst_filesink_render):
4991 Simplify code so that we don't have to handle short
4992 writes and return GST_FLOW_ERROR if an error occured.
4994 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4996 * docs/gst/gstreamer-docs.sgml:
4999 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5001 * docs/gst/gstreamer-sections.txt:
5002 * docs/gst/tmpl/gstpad.sgml:
5003 * docs/gst/tmpl/gstprobe.sgml:
5005 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5006 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5007 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5008 (gst_pad_push_event), (gst_pad_send_event):
5010 * gst/gstutils.c: (gst_pad_add_data_probe),
5011 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5012 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5013 (gst_pad_remove_buffer_probe):
5015 Remove old probes, add new g-signal-based probes and some utility
5018 2005-06-29 Edward Hervey <edward@fluendo.com>
5020 * gst/gstelementfactory.c:
5023 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5024 the definition to the header file.
5026 2005-06-29 Andy Wingo <wingo@pobox.com>
5028 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5029 plugins from the source directory.
5031 2005-06-29 Wim Taymans <wim@fluendo.com>
5033 * docs/gst/tmpl/gstbuffer.sgml:
5034 * docs/gst/tmpl/gstclock.sgml:
5035 Some fixings for blantently wrong text.
5037 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5039 * check/Makefile.am:
5040 * gst/gst.c: (add_path_func), (init_pre):
5041 * gst/gstregistry.c: (gst_registry_add_path):
5042 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5043 only scan the GST_PLUGIN_PATH locations, and not add
5046 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5048 * docs/gst/gstreamer-sections.txt:
5049 * docs/gst/tmpl/gstbasesrc.sgml:
5056 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5058 * docs/manual/advanced-autoplugging.xml:
5059 Fix autoplugging example.
5061 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5063 * docs/manual/advanced-autoplugging.xml:
5064 * docs/manual/mime-world.fig:
5065 Try to get autoplugging working, fix type detection. Fix text
5066 in hello-world image.
5068 2005-06-29 Wim Taymans <wim@fluendo.com>
5070 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5071 (gst_base_sink_change_state):
5075 map SIGNAL and BROADCAST to the right function.
5078 Remove redundant braces.
5080 * gst/gstpad.c: (gst_pad_set_caps):
5081 Don't call setcaps function when reseting caps to NULL.
5083 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5084 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5085 (gst_system_clock_id_unschedule):
5086 Use BROADCAST as this is what we do.
5088 2005-06-29 Wim Taymans <wim@fluendo.com>
5090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5091 We are actually prerolling before commiting the state
5094 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5096 * docs/manual/advanced-clocks.xml:
5097 * docs/manual/advanced-interfaces.xml:
5098 * docs/manual/advanced-metadata.xml:
5099 * docs/manual/advanced-position.xml:
5100 * docs/manual/advanced-schedulers.xml:
5101 * docs/manual/advanced-threads.xml:
5102 * docs/manual/appendix-porting.xml:
5103 * docs/manual/basics-bins.xml:
5104 * docs/manual/basics-bus.xml:
5105 * docs/manual/basics-elements.xml:
5106 * docs/manual/basics-helloworld.xml:
5107 * docs/manual/basics-pads.xml:
5108 * docs/manual/highlevel-components.xml:
5109 * docs/manual/manual.xml:
5110 * docs/manual/thread.fig:
5111 Update (until threads/scheduling) Application Development Manual;
5112 remove GstThread, add GstBus, add simple porting checklist, add
5113 documentation for tag writing, clocks, make all examples until this
5114 part compile and run.
5115 * examples/manual/Makefile.am:
5116 Update from changes to Application Development Manual; add bus
5117 example, remove thread example.
5119 2005-06-28 Wim Taymans <wim@fluendo.com>
5121 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5122 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5123 (gst_bus_source_dispatch):
5124 Add debugging messages.
5125 Make internal methods static.
5126 Handle the case where the bus is flushed in the handler.
5128 * gst/gstelement.c: (gst_element_get_bus):
5129 Fix refcount in _get_bus();
5131 * gst/gstpipeline.c: (gst_pipeline_change_state),
5132 (gst_pipeline_get_clock_func):
5133 Clock refcounting fixes.
5134 Handle the case where preroll timed out more gracefully.
5136 * gst/gstsystemclock.c: (gst_system_clock_dispose):
5137 Clean up the internal thread in dispose. This is needed
5138 for subclasses that actually get disposed.
5140 * gst/schedulers/threadscheduler.c:
5141 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5142 (gst_thread_scheduler_dispose):
5143 Free thread pool in dispose.
5145 2005-06-28 Andy Wingo <wingo@pobox.com>
5147 * tests/network-clock-utils.scm (debug, print-event): New utils.
5149 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5150 (*packet-loss*): Unified loss probability.
5151 (network-time): Report out-of-band events.
5153 * tests/plot-data: Add support for out-of-band events. Hack it
5154 into this script instead of passing it down the pipe; should fix
5157 2005-06-28 Wim Taymans <wim@fluendo.com>
5159 * docs/gst/gstreamer.types:
5160 * docs/gst/tmpl/gstbasesrc.sgml:
5161 * docs/gst/tmpl/gstpad.sgml:
5164 2005-06-28 Wim Taymans <wim@fluendo.com>
5166 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5167 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5168 (gst_proxy_pad_do_fixatecaps):
5169 Correctly proxy the check_pull_range function.
5171 2005-06-28 Andy Wingo <wingo@pobox.com>
5173 * tests/network-clock.scm: Removed need for slib.
5175 2005-06-28 Wim Taymans <wim@fluendo.com>
5177 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5178 (gst_basesink_preroll_queue_flush):
5179 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5180 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5181 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5182 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5183 (gst_proxy_pad_set_property):
5186 * gst/gstqueue.c: (gst_queue_init):
5187 The deprecated pad loop function is removed now.
5189 2005-06-28 Andy Wingo <wingo@pobox.com>
5191 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5192 New parameters, simulate network packet loss.
5194 * tests/network-clock-utils.scm: Initialize the RNG.
5196 2005-06-28 Wim Taymans <wim@fluendo.com>
5198 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5199 (gst_basesink_event), (gst_basesink_deactivate):
5200 Flushing the preroll queue always needs to unlock the waiters.
5202 2005-06-28 Edward Hervey <edward@fluendo.com>
5204 * gst/gstpipeline.c: (gst_pipeline_send_event):
5205 Wheen a seek was successful on a pipeline, set the stream_time to the
5206 seek offset in order to have a synchronized stream_time.
5208 2005-06-28 Wim Taymans <wim@fluendo.com>
5210 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5211 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5212 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5213 (gst_proxy_pad_do_fixatecaps):
5214 Call wrapper function instead of just calling the function
5215 pointers. This takes care of any locking and whatmore.
5217 2005-06-28 Wim Taymans <wim@fluendo.com>
5219 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5220 (gst_pad_pull_range):
5222 CONNECTED -> LINKED.
5224 2005-06-28 Andy Wingo <wingo@pobox.com>
5226 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5227 source-munging commit!!!
5229 * gst/gstobject.c (gst_object_unref, gst_object_ref)
5230 (gst_object_sink): Take gpointer arguments, not GstObject --
5231 avoids casts. Like GLib.
5233 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5236 2005-06-27 Andy Wingo <wingo@pobox.com>
5238 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5241 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5242 returns a sorted copy of the trace list.
5243 (gst_alloc_trace_print_live): New API, only prints traces with
5244 live objects. Sort the list.
5245 (gst_alloc_trace_print_all): Sort the list.
5246 (gst_alloc_trace_print): Align columns.
5248 * gst/elements/gstttypefindelement.c:
5249 * gst/elements/gsttee.c:
5250 * gst/base/gstbasesrc.c:
5251 * gst/base/gstbasesink.c:
5252 * gst/base/gstbasetransform.c:
5253 * gst/gstqueue.c: Adapt for pad activation changes.
5255 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5257 (gst_pipeline_dispose): Drop ref on sched.
5259 * gst/gstpad.c (gst_pad_init): Set the default activate func.
5260 (gst_pad_activate_default): Push mode by default.
5261 (pre_activate_switch, post_activate_switch): New stubs, things to
5262 do before and after switching activation modes on pads.
5263 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5264 the pad's activate function to choose which mode to activate.
5265 Shortcut on deactivation and call the right function directly.
5266 (gst_pad_activate_pull): New API, (de)activates a pad in pull
5268 (gst_pad_activate_push): New API, same for push mode.
5269 (gst_pad_set_activate_function)
5270 (gst_pad_set_activatepull_function)
5271 (gst_pad_set_activatepush_function): Setters for new API.
5273 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5274 Trace all miniobjects.
5275 (gst_mini_object_make_writable): Unref the arg if we copy, like
5276 gst_caps_make_writable.
5278 * gst/gstmessage.c (_gst_message_initialize): No trace init.
5280 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
5281 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5282 Adapt for new pad API.
5284 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5287 * gst/gstelement.c (gst_element_iterate_src_pads)
5288 (gst_element_iterate_sink_pads): New API functions.
5290 * gst/gstelement.c (iterator_fold_with_resync): New utility,
5291 should fold into gstiterator.c in some form.
5292 (gst_element_pads_activate): Simplified via use of fold and
5293 delegation of decisions to gstpad->activate.
5295 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5298 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5299 class once in init, like gstmessage. Didn't run into this issue
5300 but it seems correct. Don't initialize a trace, gstminiobject does
5303 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5304 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5306 (assert_live_count): New util function, uses alloc traces to check
5309 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5310 To be modified when unlink drops the internal pad.
5312 2005-06-27 Wim Taymans <wim@fluendo.com>
5314 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5315 (gst_bin_change_state):
5316 Cleanup the get_state() function a little, make sure it
5317 iterates the same set of elements.
5318 Added stub iterate_state_order().
5320 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
5322 * docs/gst/gstreamer-docs.sgml:
5323 * docs/gst/gstreamer-sections.txt:
5324 * docs/gst/gstreamer.types:
5325 * docs/gst/tmpl/gstbasesink.sgml:
5326 * docs/gst/tmpl/gstbasesrc.sgml:
5327 * docs/gst/tmpl/gstbasetransform.sgml:
5328 * docs/gst/tmpl/gstelement.sgml:
5329 * docs/gst/tmpl/gstiterator.sgml:
5330 * gst/base/gstbasesrc.c:
5331 * gst/base/gstbasesrc.h:
5332 * gst/base/gstbasetransform.h:
5334 * gst/gstiterator.h:
5335 adding basetransform and iterator docs
5337 2005-06-27 Andy Wingo <wingo@pobox.com>
5339 * docs/design/part-activation.txt: Notes on how activation should
5340 work -- not quite implemented yet.
5342 2005-06-25 Wim Taymans <wim@fluendo.com>
5344 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5345 At least get the chain function correct, needs more
5348 2005-06-25 Wim Taymans <wim@fluendo.com>
5350 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5351 (gst_basesink_handle_object), (gst_basesink_event),
5352 (gst_basesink_do_sync), (gst_basesink_handle_event),
5353 (gst_basesink_change_state):
5355 Right, two problems here: ghostpads don't take locks and
5356 glib _rec_mutex_lock_full() with depth==0 still locks.
5357 Catch illegal locking and g_warn them.
5359 2005-06-25 Wim Taymans <wim@fluendo.com>
5361 * check/states/sinks.c: (START_TEST), (gst_object_suite):
5362 Have to check for completion now...
5364 2005-06-25 Wim Taymans <wim@fluendo.com>
5366 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5367 (gst_basesink_handle_object), (gst_basesink_event),
5368 (gst_basesink_do_sync), (gst_basesink_handle_event),
5369 (gst_basesink_change_state):
5371 Unlock STREAM_LOCK whatever the recursion was.
5373 2005-06-25 Wim Taymans <wim@fluendo.com>
5375 * gst/base/gstbasesink.c: (gst_basesink_set_property),
5376 (gst_basesink_preroll_queue_empty),
5377 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5378 (gst_basesink_event), (gst_basesink_do_sync),
5379 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5380 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5381 (gst_basesink_change_state):
5382 Reworked the base sink, handle event and buffer serialisation
5383 correctly and removed possible deadlock.
5384 Handle EOS correctly.
5386 2005-06-25 Wim Taymans <wim@fluendo.com>
5388 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5389 (gst_pipeline_change_state):
5390 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5391 Allow elements to post EOS in the state change function.
5392 Fix up -launch, make it exit the poll loop when the
5393 pipeline actually changed state.
5394 Fix up warning parsing in -launch.
5396 2005-06-25 Wim Taymans <wim@fluendo.com>
5398 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5399 (gst_tee_sink_activate):
5400 Core takes STREAM_LOCK for us now.
5402 2005-06-25 Wim Taymans <wim@fluendo.com>
5404 * gst/gstelement.c: (gst_element_get_state_func),
5405 (gst_element_set_state):
5407 * gst/gstmessage.c: (gst_message_parse_error),
5408 (gst_message_parse_warning):
5409 Keep track of current target state while performing a state
5410 change so that subclasses can do something interesting.
5411 Fix parsing of warning/error messages when GError is NULL.
5413 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5415 * docs/gst/Makefile.am:
5416 * docs/gst/gstreamer-docs.sgml:
5417 * docs/gst/gstreamer-sections.txt:
5418 * docs/gst/gstreamer.types:
5419 * docs/gst/tmpl/gstbasesink.sgml:
5420 * docs/gst/tmpl/gstbasesrc.sgml:
5421 * docs/gst/tmpl/gstbin.sgml:
5422 * docs/gst/tmpl/gstcompat.sgml:
5423 * docs/gst/tmpl/gstfakesink.sgml:
5424 * docs/gst/tmpl/gstfakesrc.sgml:
5425 * docs/gst/tmpl/gstfilesink.sgml:
5426 * docs/gst/tmpl/gstfilesrc.sgml:
5427 * docs/gst/tmpl/gstindex.sgml:
5428 * docs/manual/appendix-quotes.xml:
5429 * gst/base/gstbasesrc.h:
5430 * gst/elements/gstfakesrc.h:
5432 start pulling in base classes and elements in our docs
5434 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5436 * docs/gst/Makefile.am:
5437 * docs/libs/Makefile.am:
5438 fixed make distcheck with gtk-doc 1.3
5440 2005-06-23 Wim Taymans <wim@fluendo.com>
5442 * gst/gstelement.c: (gst_element_get_state_func),
5443 (gst_element_set_state), (gst_element_change_state):
5444 When the state did not change, also report NO_PREROLL
5447 2005-06-23 Wim Taymans <wim@fluendo.com>
5449 * gst/gstpad.c: (gst_pad_event_default):
5450 * gst/gstqueue.c: (gst_queue_loop):
5451 No unsafe task pausing please.
5453 2005-06-23 Wim Taymans <wim@fluendo.com>
5455 * gst/schedulers/threadscheduler.c:
5456 (gst_thread_scheduler_task_start),
5457 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5458 Ref the task before pushing it on the threadpool. This
5459 makes sure that we have a ref when the threadfunction is
5462 2005-06-23 Andy Wingo <wingo@pobox.com>
5464 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5465 offset is greater than the file's size.
5467 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5468 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5469 * gst/gstobject.c (gst_object_class_init): Make the class lock
5470 recursive. Wim won't let me drop deep_notify. Decodebin works
5473 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5474 internal pad, and hacks accordingly. Doesn't do it on the target
5475 pad because we change its caps. Probably catches all cases of
5477 (gst_ghost_pad_set_property): Connect to notify::caps as
5480 * tests/network-clock.scm (plot-simulation): Pipe data to the
5481 elite python skript.
5483 * tests/network-clock-utils.scm (define-parameter): New macro,
5484 defines a parameter that can be set via the command line.
5485 (set-parameter!, parse-parameter-arguments): Command line args
5488 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5491 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5493 * gst/elements/gsttypefindelement.c:
5494 (gst_type_find_element_handle_event):
5495 Don't restart typefinding on a discont.
5496 * gst/gstelement.c: (gst_element_set_state):
5498 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5499 Allow changing mode of an active pad.
5501 * gst/registries/gstlibxmlregistry.c: (load_feature):
5502 Don't cast a static pad template to a normal pad template.
5504 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5506 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5507 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5508 remove gst_strtoll completely, since it didn't actually do
5509 anything more than what g_ascii_strtoull already does.
5510 check for range errors when deserializing
5511 do a cast for the unsigned cases; but further fixing needs
5512 a decision on what the interpretation of "(int)" and
5513 deserialization should be for values that fall outside the
5514 type's boundaries (ie, refuse, or interpret as casting)
5516 2005-06-23 Wim Taymans <wim@fluendo.com>
5518 * check/Makefile.am:
5519 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5520 * docs/design/part-live-source.txt:
5521 * docs/design/part-states.txt:
5522 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5523 (gst_basesrc_set_live), (gst_basesrc_is_live),
5524 (gst_basesrc_get_range), (gst_basesrc_activate),
5525 (gst_basesrc_change_state):
5526 * gst/base/gstbasesrc.h:
5527 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5528 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5529 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5530 * gst/gstelement.c: (gst_element_get_state_func),
5531 (gst_element_set_state):
5534 * tools/gst-launch.c: (event_loop), (main):
5535 Added support for live sources and other elements that
5537 Updated design docs, added live-source design doc.
5538 Implemented live source functionality in basesrc
5539 Fix error condition in _bin_get_state()
5540 Implement live source handling in -launch.
5541 Added check for live sources.
5542 Fixed case in GstBin where elements were changed state
5546 2005-06-23 Andy Wingo <wingo@pobox.com>
5548 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5551 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5552 gst_caps_replace takes care of this for us.
5554 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5555 gst_pad_set_caps on the target, not just its setcaps() function.
5557 * tests/network-clock.scm:
5558 * tests/network-clock-utils.scm: A network clock simulator.
5559 Something of an algorithmic testbed before doing something in C.
5561 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5563 * check/Makefile.am:
5564 * check/gst/capslist.h:
5565 copy over from 0.8, and add two with bitmasks specified with
5567 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5568 add test to parse everything from capslist.h
5569 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5571 add test for structure deserialization
5572 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5573 add tests for deserialization of strings to int types
5574 * gst/gststructure.c: (gst_structure_nth_field_name):
5575 * gst/gststructure.h:
5576 add a way to get the name of a field referenced by index
5577 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5578 instead of checking if the resulting long long lies between
5579 min and max, we check if the long long would fit into
5580 a number of bytes for the final type.
5581 This fixes cases where a string represents 2^32 - 1, which
5582 when cast to int would be the (valid) -1, but is bigger than
5585 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5587 * gst/parse/grammar.y:
5588 add a log line for type deserialization
5590 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5592 * check/gst/gstvalue.c: (START_TEST):
5593 * gst/gstvalue.c: (gst_value_deserialize):
5594 return long long, not int, so gint64 deserialization actually
5595 works. Is there any flag that makes the compiler check this ?
5598 2005-06-22 Wim Taymans <wim@fluendo.com>
5601 Added convenience macros for setting buffers in GValue.
5603 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5605 * check/gst/.cvsignore:
5606 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5607 add a test deserializing int64, and comment part out because
5610 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5612 * check/Makefile.am:
5613 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5614 * testsuite/Makefile.am:
5615 * testsuite/caps/Makefile.am:
5616 * testsuite/caps/value_serialize.c:
5617 * testsuite/test_gst_init.c:
5618 move a value_serialize test over
5620 2005-06-20 Wim Taymans <wim@fluendo.com>
5625 * gst/gstvalue.c: (gst_value_compare_buffer),
5626 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5627 (gst_value_compare_flags), (gst_value_serialize_flags),
5628 (gst_value_deserialize_flags), (_gst_value_initialize):
5629 Fix serialisation of buffers, they are not boxed types anymore
5631 2005-06-20 Wim Taymans <wim@fluendo.com>
5633 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5634 Testcase to show error in buffer-on-caps serialisation.
5636 2005-06-20 Andy Wingo <wingo@pobox.com>
5638 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5639 will be adding to later.
5641 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5642 if its socks fill with rocks.
5643 (gst_system_clock_obtain): Set the name on object construction.
5644 Avoid double-checked locking.
5646 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
5648 * gst/gsturi.c: (gst_element_make_from_uri):
5649 Fix potential endless loop.
5651 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5653 * check/Makefile.am:
5655 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5657 move over from testsuite dir and clean up
5660 * testsuite/Makefile.am:
5661 * testsuite/tags/.cvsignore:
5662 * testsuite/tags/Makefile.am:
5663 * testsuite/tags/merge.c:
5664 remove testsuite/tags
5666 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5668 * docs/gst/gstreamer-sections.txt:
5669 * docs/gst/tmpl/gstenumtypes.sgml:
5670 * win32/gstenumtypes.c:
5671 clean up documentation build a little
5673 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5676 add macros for checking refcounts on objects and caps
5677 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5678 add some more unit tests
5679 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5680 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5681 fix leaked refcounts (I hope :)) so unittest works
5685 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5687 * configure.ac: back to HEAD
5689 === release 0.9.1 ===
5691 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5697 2005-06-17 Andy Wingo <wingo@pobox.com>
5699 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5700 assert; it's always possible that the pad gets deactivated in
5701 between the checks in gstpad.c and the implementation. Rely on
5702 finish_preroll() to return a FLUSHING or similar instead of on the
5705 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5706 clock and post an EOS message if we come out of finish_preroll in
5709 2005-06-16 David Schleef <ds@schleef.org>
5711 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5712 (gst_capsfilter_set_property): Allow NULL as possible value
5713 for filter_caps property, indicating GST_CAPS_ANY.
5715 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5717 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5719 * gst/schedulers/Makefile.am:
5721 * gstreamer.spec.in:
5724 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5726 * gstreamer.spec.in:
5729 2005-06-08 Andy Wingo <wingo@pobox.com>
5731 * gst/gstutils.c: RPAD fixes all around.
5732 (gst_element_link_pads): Refcounting fixes.
5734 * tools/gst-inspect.c:
5735 * tools/gst-xmlinspect.c:
5737 * gst/base/gsttypefindhelper.c:
5738 * gst/base/gstbasesink.c:
5739 * gst/gstqueue.c: RPAD fixes.
5741 * gst/gstghostpad.h:
5742 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5743 pads. The tricky thing is they provide both source and sink
5744 interfaces, since they proxy the internal pad for the external
5745 pad, and vice versa. Implement with lower-level ProxyPad objects,
5746 with the interior proxy pad as a child of the exterior ghost pad.
5747 Should write a doc on this.
5749 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5750 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5753 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5754 pads are real pads. No ghost pads in this file. Not documenting
5755 the myriad s/RPAD/PAD/ and REALIZE fixes.
5756 (gst_pad_class_init): Add properties for "direction" and
5757 "template". Both are construct-only, so they can't change during
5758 the life of the pad. Fixes properly deriving from GstPad.
5759 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5760 derived objects, just set properties when creating the objects via
5762 (gst_pad_get_parent): Implement as a function, return NULL if the
5763 parent is not an element.
5764 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5765 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5767 * gst/gstobject.c (gst_object_class_init): Make name a construct
5768 property. Don't set it in the object init.
5770 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5771 with UNKNOWN direction.
5772 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5773 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5774 (gst_element_remove_pad): Remove ghost-pad special cases.
5775 (gst_element_pads_activate): Remove rpad cruft.
5777 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5778 catch the pad's-parent-not-an-element case.
5780 * gst/gst.h: Include gstghostpad.h.
5782 * gst/gst.c (init_post): No more real, ghost pads.
5784 * gst/Makefile.am: Add gstghostpad.[ch].
5786 * check/Makefile.am:
5787 * check/gst/gstbin.c:
5788 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5789 into a bin creates ghost pads, and that the refcounts are right.
5790 Partly moved from gstbin.c.
5792 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5794 * check/gst-libs/.cvsignore:
5795 * check/gst/.cvsignore:
5796 * check/pipelines/.cvsignore:
5798 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5799 (START_TEST), (cleanup_suite), (main):
5800 add some tests related to cleanup after running pipelines
5802 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5804 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5805 add a testsuite for GstBuffer
5807 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5809 * gst/gstminiobject.h:
5810 add defines for accessing the refcount
5812 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5814 * Makefile.am: added support for html unit test coverage reports
5816 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5818 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5819 Free existing caps if the capsfilter changes. Add a FIXME about
5820 setting those caps on the pads.
5822 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5823 Before adding a ghost pad to a parent bin, check that there isn't
5824 already one for the element on the bin. Prevents infinite recursion
5825 when using decodebin in parse pipelines. Andy says he'll rewrite the
5826 way this works anyway, so ignore the hack.
5828 2005-06-02 Andy Wingo <wingo@pobox.com>
5830 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5831 file size, pass it on to the type find helper.
5833 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5834 segment_start and segment_end properly according to the seek
5835 method. Segment_end is still a bit flaky because offset can be
5836 negative for CUR and END cases, but it takes -1 as an "unset"
5839 2005-06-02 Wim Taymans <wim@fluendo.com>
5841 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5842 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5843 (gst_basesink_activate):
5844 * gst/base/gstbasesink.h:
5845 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5846 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5847 (gst_pad_query), (gst_pad_start_task):
5849 * gst/gstqueue.c: (gst_queue_bufferalloc),
5850 (gst_queue_handle_sink_event), (gst_queue_chain):
5851 Bufferalloc: return GstFlowReturn to more accuratly report
5852 why allocation failed.
5854 2005-06-02 Wim Taymans <wim@fluendo.com>
5856 * gst/gstpipeline.c: (gst_pipeline_send_event):
5857 Take snapshot of state without blocking.
5859 2005-06-02 Wim Taymans <wim@fluendo.com>
5861 * docs/design/part-TODO.txt:
5862 * docs/design/part-caps.txt:
5863 * docs/design/part-clocks.txt:
5864 * docs/design/part-negotiation.txt:
5865 * docs/design/part-preroll.txt:
5868 2005-05-30 Wim Taymans <wim@fluendo.com>
5870 * gst/elements/gstidentity.c: (gst_identity_event),
5871 (gst_identity_transform), (gst_identity_get_property):
5872 Protect last_message property as it is accessed from
5875 2005-05-30 Wim Taymans <wim@fluendo.com>
5877 * gst/gstelement.c: (gst_element_init),
5878 (gst_element_pads_activate), (gst_element_change_state):
5879 Slicker pad activation code.
5881 2005-05-30 Wim Taymans <wim@fluendo.com>
5885 * gst/gstelementfactory.h:
5887 Move elementfactory methods to separate .h file.
5889 2005-05-30 Wim Taymans <wim@fluendo.com>
5891 * docs/design/part-overview.txt:
5892 * gst/gstsystemclock.h:
5893 Small typo fixes, doc updates.
5895 2005-05-30 Wim Taymans <wim@fluendo.com>
5897 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5898 (init_popt_callback):
5899 Remove cpu-opt flag.
5901 2005-05-30 Wim Taymans <wim@fluendo.com>
5903 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5904 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5906 Avoid typechecking in places where not needed.
5907 Added accessor for malloc_data.
5909 2005-05-30 Wim Taymans <wim@fluendo.com>
5911 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5912 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5913 (gst_pad_configure_sink), (gst_pad_configure_src),
5914 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5915 (gst_pad_start_task):
5916 Propagate errors from _set_caps() in configure_src/sink
5917 functions instead of returning TRUE.
5918 FLUSH events can travel up and downstream
5921 2005-05-30 Wim Taymans <wim@fluendo.com>
5923 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5924 (gst_basesink_activate):
5925 Handle EOS in preroll.
5927 2005-05-30 Wim Taymans <wim@fluendo.com>
5929 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5930 (gst_queue_loop), (gst_queue_handle_src_event):
5931 Remove old pieces of code
5932 Flushing the queue in an upstream event is a very bad idea.
5934 2005-05-26 Andy Wingo <wingo@pobox.com>
5936 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5937 gst_value_set_mini_object so as to add a ref on the object (which
5938 will be removed when the value is unset).
5940 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5941 arg type in ::handoff.
5943 * gst/gstelement.c (gst_element_change_state): Also deactivate
5944 pads in READY->NULL, just in case the element didn't make it to
5945 PAUSED. Wingo tested, Wim approved.
5947 2005-05-26 Wim Taymans <wim@fluendo.com>
5949 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5950 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5951 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5952 A flushing pad cannot be used to alloc_buffer from.
5954 2005-05-26 Wim Taymans <wim@fluendo.com>
5956 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5957 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5958 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5959 (gst_bus_create_watch), (gst_bus_add_watch_full):
5961 Implement a real GSource and use g_main_context_wakeup() to
5962 signal new messages instead of the socketpair.
5964 2005-05-25 Wim Taymans <wim@fluendo.com>
5966 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5967 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5968 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5969 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5970 (gst_pad_send_event), (gst_pad_start_task):
5971 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5972 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5973 (gst_queue_sink_activate), (gst_queue_src_activate),
5974 (gst_queue_change_state):
5976 Fix state changes for non sinks. We now change sinks, then elements
5977 with unconnected srcpads, then the rest.
5978 More efficient queue unlocking in flush and state changes.
5979 Set the pad activate mode even if it does not have an activate
5982 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5984 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5985 Don't go in pull mode for non-seekable sources.
5986 * gst/elements/gsttypefindelement.h:
5987 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5988 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5989 (free_entry), (stop_typefinding),
5990 (gst_type_find_element_handle_event), (find_peek),
5991 (gst_type_find_element_chain), (do_pull_typefind),
5992 (gst_type_find_element_change_state):
5993 Allow typefinding (w/o seeking) in push-mode, simplified version
5995 * gst/gstutils.c: (gst_buffer_join):
5997 gst_buffer_join() from 0.8.
5999 2005-05-25 Wim Taymans <wim@fluendo.com>
6001 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6002 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6003 (gst_pad_send_event), (gst_pad_start_task):
6004 Disable attempt at mode switching until it is figured out.
6006 2005-05-25 Wim Taymans <wim@fluendo.com>
6008 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6009 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6010 (gst_basesink_finish_preroll), (gst_basesink_chain),
6011 (gst_basesink_loop), (gst_basesink_activate),
6012 (gst_basesink_change_state):
6013 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6014 (gst_basesrc_get_range), (gst_basesrc_loop),
6015 (gst_basesrc_activate):
6016 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6017 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6018 (gst_real_pad_init), (gst_real_pad_set_property),
6019 (gst_real_pad_get_property), (gst_pad_set_active),
6020 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6021 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6022 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6023 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6024 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6025 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6026 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6027 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6028 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6029 (gst_pad_stop_task):
6031 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6032 (gst_queue_loop), (gst_queue_src_activate):
6033 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6034 (gst_task_get_state):
6036 * gst/schedulers/threadscheduler.c:
6037 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6038 Implement gst_pad_pause/start/stop_task(), take STREAM lock
6040 Remove ACTIVE pad flag, use FLUSHING everywhere
6041 Added _pad_chain(), _pad_get_range() to call chain/getrange
6043 Add locks around IS_FLUSHING when reading.
6044 Take STREAM lock in chain(), get_range() functions so plugins
6045 don't need to take it anymore.
6049 2005-05-25 Wim Taymans <wim@fluendo.com>
6051 * tools/gst-launch.c: (event_loop):
6052 Unref message after using its contents instead of
6055 2005-05-24 Wim Taymans <wim@fluendo.com>
6057 * docs/design/draft-ghostpads.txt:
6058 * docs/design/draft-push-pull.txt:
6059 * docs/design/draft-query.txt:
6060 * docs/design/part-overview.txt:
6061 Docs updates, added general overview doc.
6063 2005-05-21 David Schleef <ds@schleef.org>
6065 * docs/gst/tmpl/old/GstBin.sgml:
6066 * docs/gst/tmpl/old/GstBuffer.sgml:
6067 * docs/gst/tmpl/old/GstCaps.sgml:
6068 * docs/gst/tmpl/old/GstClock.sgml:
6069 * docs/gst/tmpl/old/GstCompat.sgml:
6070 * docs/gst/tmpl/old/GstData.sgml:
6071 * docs/gst/tmpl/old/GstElement.sgml:
6072 * docs/gst/tmpl/old/GstEvent.sgml:
6073 * docs/gst/tmpl/old/GstIndex.sgml:
6074 * docs/gst/tmpl/old/GstStructure.sgml:
6075 * docs/gst/tmpl/old/GstTag.sgml:
6076 * docs/gst/tmpl/old/cothreads.sgml:
6077 * docs/gst/tmpl/old/cothreads_compat.sgml:
6078 * docs/gst/tmpl/old/gettext.sgml:
6079 * docs/gst/tmpl/old/gobject2gtk.sgml:
6080 * docs/gst/tmpl/old/grammar.tab.sgml:
6081 * docs/gst/tmpl/old/gst-i18n-app.sgml:
6082 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6083 * docs/gst/tmpl/old/gst_private.sgml:
6084 * docs/gst/tmpl/old/gstaggregator.sgml:
6085 * docs/gst/tmpl/old/gstarch.sgml:
6086 * docs/gst/tmpl/old/gstatomic_impl.sgml:
6087 * docs/gst/tmpl/old/gstbufferstore.sgml:
6088 * docs/gst/tmpl/old/gstdata_private.sgml:
6089 * docs/gst/tmpl/old/gstdisksink.sgml:
6090 * docs/gst/tmpl/old/gstdisksrc.sgml:
6091 * docs/gst/tmpl/old/gstelementfactory.sgml:
6092 * docs/gst/tmpl/old/gstextratypes.sgml:
6093 * docs/gst/tmpl/old/gstfakesink.sgml:
6094 * docs/gst/tmpl/old/gstfakesrc.sgml:
6095 * docs/gst/tmpl/old/gstfdsink.sgml:
6096 * docs/gst/tmpl/old/gstfdsrc.sgml:
6097 * docs/gst/tmpl/old/gstfilesink.sgml:
6098 * docs/gst/tmpl/old/gstfilesrc.sgml:
6099 * docs/gst/tmpl/old/gsthttpsrc.sgml:
6100 * docs/gst/tmpl/old/gstidentity.sgml:
6101 * docs/gst/tmpl/old/gstindexfactory.sgml:
6102 * docs/gst/tmpl/old/gstmarshal.sgml:
6103 * docs/gst/tmpl/old/gstmd5sink.sgml:
6104 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6105 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6106 * docs/gst/tmpl/old/gstpadtemplate.sgml:
6107 * docs/gst/tmpl/old/gstpipefilter.sgml:
6108 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6109 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6110 * docs/gst/tmpl/old/gstshaper.sgml:
6111 * docs/gst/tmpl/old/gstspider.sgml:
6112 * docs/gst/tmpl/old/gstspideridentity.sgml:
6113 * docs/gst/tmpl/old/gststatistics.sgml:
6114 * docs/gst/tmpl/old/gsttee.sgml:
6115 * docs/gst/tmpl/old/gsttimecache.sgml:
6116 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6117 * docs/gst/tmpl/old/gstxmlregistry.sgml:
6118 * docs/gst/tmpl/old/gthread-cothreads.sgml:
6119 * docs/gst/tmpl/old/types.sgml:
6120 I didn't intend to add these or check them in.
6122 2005-05-19 David Schleef <ds@schleef.org>
6124 * configure.ac: Use -no-common everywhere. In a sane world, it
6125 would be the default in libtool, because without it, you can't
6126 build DLLs on Windows.
6127 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6128 * docs/gst/gstreamer-sections.txt:
6129 * docs/gst/tmpl/gstcpu.sgml:
6130 * docs/gst/tmpl/gstdata.sgml:
6131 * docs/gst/tmpl/gstthread.sgml:
6133 2005-05-19 David Schleef <ds@schleef.org>
6135 * gst/gstminiobject.c: (gst_value_set_mini_object),
6136 (gst_value_take_mini_object), (gst_value_get_mini_object):
6137 * gst/gstminiobject.h: Add GValue set/get functions.
6139 2005-05-19 Wim Taymans <wim@fluendo.com>
6141 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6142 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6143 (gst_subbuffer_init), (gst_buffer_is_span_fast):
6145 * gst/gstbus.c: (gst_bus_post):
6146 * gst/gstelement.c: (gst_element_get_random_pad):
6147 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6148 Make subbufer unref the parent in finalize.
6149 some more debugging info.
6152 2005-05-19 Wim Taymans <wim@fluendo.com>
6154 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6155 (gst_basesink_init), (gst_basesink_finalize),
6156 (gst_basesink_activate), (gst_basesink_change_state):
6157 Don't free preroll queue too early.
6159 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6163 Hi, I'm outdated. Please shoot me.
6165 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6167 * gst/gstpipeline.c: (gst_pipeline_send_event):
6168 Do not access variables after they have been deleted.
6170 2005-05-19 Wim Taymans <wim@fluendo.com>
6172 * tools/gst-inspect.c: (print_plugin_features):
6173 A plugin feature does unfortunatly not use the
6176 2005-05-18 Wim Taymans <wim@fluendo.com>
6178 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6179 Port _span() functions to new subbuffers.
6181 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6183 * gst/gstbin.c: (gst_bin_add_func):
6184 Fix clock settery in bins when adding kids after the clock has
6187 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6189 * gst/elements/gstidentity.c: (gst_identity_class_init):
6190 Workaround until signals support GstMiniObject.
6192 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6195 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6197 2005-05-18 Wim Taymans <wim@fluendo.com>
6199 * gst/base/Makefile.am:
6200 * gst/base/gstadapter.c: (gst_adapter_base_init),
6201 (gst_adapter_class_init), (gst_adapter_init),
6202 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6203 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6204 (gst_adapter_flush), (gst_adapter_available),
6205 (gst_adapter_available_fast):
6206 * gst/base/gstadapter.h:
6207 Ported and added adapter to the base classes.
6209 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6213 Make sure the class is reffed/unreffed once before threads can be
6214 used. Fixes #304551.
6216 2005-05-17 Wim Taymans <wim@fluendo.com>
6218 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6219 (gst_basesink_chain_unlocked), (gst_basesink_activate):
6220 * gst/gstminiobject.c: (gst_mini_object_get_type),
6221 (gst_mini_object_free):
6222 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6223 (gst_pad_push), (gst_pad_push_event):
6224 * gst/gstqueue.c: (gst_queue_change_state):
6225 Don't queue buffers in basesink when we are flushing.
6226 Unref buffer when flushing in basesink.
6227 Flush queue when going to READY
6228 Unref buffer when _push() returns an error.
6229 Don't free MiniObject instance when refcount is incremented
6230 in _finalize() so that we can recover objects.
6232 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
6234 * docs/manual/advanced-schedulers.xml:
6235 * docs/manual/appendix-checklist.xml:
6236 * docs/pwg/advanced-clock.xml:
6237 * docs/pwg/advanced-interfaces.xml:
6238 * docs/pwg/advanced-request.xml:
6239 * docs/pwg/advanced-types.xml:
6240 * docs/pwg/intro-preface.xml:
6241 * examples/plugins/example.c: (gst_example_get_type),
6242 (gst_example_class_init), (gst_example_chain),
6243 (gst_example_set_property), (gst_example_get_property),
6244 (gst_example_change_state), (plugin_init):
6245 * examples/plugins/example.h:
6248 2005-05-17 Wim Taymans <wim@fluendo.com>
6250 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6251 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6252 * gst/gstqueue.c: (gst_queue_change_state):
6253 Clear queue when going to READY.
6254 Remove IN_SETCAPS flag too.
6256 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
6258 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6259 Remove implicit cast from gboolean to GstElementStateReturn;
6260 make sure we still return failure in paused => ready case if
6261 the parent class fails to change state and our own stop
6264 2005-05-17 Wim Taymans <wim@fluendo.com>
6266 * tools/gst-launch.c: (event_loop):
6267 Message was unreffed too soon.
6269 2005-05-16 Andy Wingo <wingo@pobox.com>
6271 * gst/gstbin.c (sink_iterator_filter): Err... um...
6273 * check/gst/gstbin.c (test_ghost_pads): New test for the
6274 ghosting-if-elements-not-in-same-bin behavior.
6276 2005-05-16 David Schleef <ds@schleef.org>
6278 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6279 accessing refcount directly.
6281 2005-05-15 David Schleef <ds@schleef.org>
6283 * check/Makefile.am: remove GstData checks
6284 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6285 * gst/Makefile.am: add miniobject, remove data
6286 * gst/gst.h: add miniobject, remove data
6287 * gst/gstdata.c: remove
6288 * gst/gstdata.h: remove
6289 * gst/gstdata_private.h: remove
6290 * gst/gsttypes.h: remove GstEvent and GstMessage
6291 * gst/gstelement.c: (gst_element_post_message): fix for API changes
6292 * gst/gstmarshal.list: change BOXED -> OBJECT
6294 Implement GstMiniObject.
6295 * gst/gstminiobject.c:
6296 * gst/gstminiobject.h:
6298 Modify to be subclasses of GstMiniObject.
6299 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6300 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6301 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6302 (gst_subbuffer_get_type), (gst_subbuffer_init),
6303 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6306 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6307 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6308 (_gst_event_copy), (gst_event_new):
6310 * gst/gstmessage.c: (_gst_message_initialize),
6311 (gst_message_get_type), (gst_message_class_init),
6312 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6313 (gst_message_new), (gst_message_new_error),
6314 (gst_message_new_warning), (gst_message_new_tag),
6315 (gst_message_new_state_changed), (gst_message_new_application):
6317 * gst/gstprobe.c: (gst_probe_perform),
6318 (gst_probe_dispatcher_dispatch):
6320 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6321 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6322 (_gst_query_copy), (gst_query_new):
6324 Update elements for GstData -> GstMiniObject changes
6326 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6327 (gst_queue_chain), (gst_queue_loop):
6328 * gst/elements/gstbufferstore.c:
6329 (gst_buffer_store_add_buffer_func),
6330 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6331 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6332 (gst_fakesink_render):
6333 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6334 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6335 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6336 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6337 (gst_filesrc_create_read):
6338 * gst/elements/gstidentity.c: (gst_identity_class_init):
6339 * gst/elements/gsttypefindelement.c:
6340 (gst_type_find_element_src_event), (free_entry_buffers),
6341 (gst_type_find_element_handle_event):
6342 * libs/gst/dataprotocol/dataprotocol.c:
6343 (gst_dp_header_from_buffer):
6344 * libs/gst/dataprotocol/dataprotocol.h:
6345 * libs/gst/dataprotocol/dp-private.h:
6347 2005-05-15 David Schleef <ds@schleef.org>
6349 * gst/elements/gstelements.c: Don't include headers that were
6352 2005-05-15 David Schleef <ds@schleef.org>
6354 * gst/elements/Makefile.am: Remove some elements that don't
6355 need to be in the core (or even exist at all).
6356 * gst/elements/gstaggregator.c:
6357 * gst/elements/gstaggregator.h:
6358 * gst/elements/gstmd5sink.c:
6359 * gst/elements/gstmd5sink.h:
6360 * gst/elements/gstmultifilesrc.c:
6361 * gst/elements/gstmultifilesrc.h:
6362 * gst/elements/gstpipefilter.c:
6363 * gst/elements/gstpipefilter.h:
6364 * gst/elements/gstshaper.c:
6365 * gst/elements/gstshaper.h:
6366 * gst/elements/gststatistics.c:
6367 * gst/elements/gststatistics.h:
6368 * po/POTFILES.in: Remove above files.
6370 2005-05-14 Andy Wingo <wingo@pobox.com>
6372 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6373 so as to get the refs right.
6374 (sink_iterator_filter): New function, wraps bin_element_is_sink,
6375 unreffing objects that don't pass the filter.
6377 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6378 gst_element_set_bus.
6379 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6380 normal cases, this will destroy the bus.
6382 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6385 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6388 2005-05-13 Andy Wingo <wingo@pobox.com>
6390 * gst/gstutils.c (gst_element_link_pads): Instead of calling
6391 gst_pad_link, call pad_link_maybe_ghosting,
6392 (pad_link_maybe_ghosting): Links pads, making sure that the
6393 elements being linked are in the same bin.
6394 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6395 Helpers for pad_link_maybe_ghosting.
6397 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6400 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6402 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6404 * docs/design/part-element-source.txt:
6407 2005-05-12 Wim Taymans <wim@fluendo.com>
6409 * gst/base/gstbasesink.c: (gst_basesink_init),
6410 (gst_basesink_activate):
6411 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6412 (gst_basesrc_is_seekable):
6413 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6414 (bin_element_is_sink), (gst_bin_change_state):
6415 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6417 Identify sinks by their flag to avoid overly complicated
6419 Do state changes even for elements not reachable from the
6421 BaseSink is a sink now :)
6422 Some more debugging info in the basesrc.
6425 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6427 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6428 Implement _query on a bin, similar to _send_event.
6430 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
6432 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6433 Discont event offset format should be GST_FORMAT_BYTES,
6434 not GST_FORMAT_TIME.
6436 2005-05-12 Wim Taymans <wim@fluendo.com>
6438 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6439 Same fix as Ronald's but without the signal.
6441 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6443 * gst/gstutils.c: (gst_element_query_position):
6444 No, an element is not a pad.
6446 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6448 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6449 (gst_bin_get_state):
6450 If a child is removed from a bin while we remove the child from
6451 the bin and while we're retrieving its state, signal this to the
6452 get_state function so we abort the wait (instead of waiting for
6453 a timeout) and can immediately re-iterate over all other elements.
6455 2005-05-12 Wim Taymans <wim@fluendo.com>
6457 * gst/base/Makefile.am:
6458 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6459 (gst_basesrc_start):
6460 * gst/base/gstbasesrc.h:
6461 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6462 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6463 (gst_pushsrc_init), (gst_pushsrc_create):
6464 * gst/base/gstpushsrc.h:
6465 Added is_seekable to BaseSrc
6466 Added simple PushSrc.
6468 2005-05-11 Wim Taymans <wim@fluendo.com>
6470 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6471 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6472 (gst_element_link_pads), (gst_element_query_position),
6473 (gst_element_query_convert), (intersect_caps_func),
6474 (gst_pad_query_position), (gst_pad_query_convert):
6475 Fix refcounting in utils function.
6476 No point in trying to activate a pad when it's added, it could
6477 be added from the state change function and then we deadlock, the
6478 element has to decide what to do.
6480 2005-05-10 Andy Wingo <wingo@pobox.com>
6482 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6483 *all* the arguments.
6485 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6486 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6487 lock (according to the docs -- if this is wrong change the docs).
6489 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6490 flush messages in the NULL state.
6492 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6493 message immediately and return.
6494 (gst_bus_set_flushing): New function. If a bus is flushing, it
6495 flushes out any queued messages and immediately unrefs new
6496 messages. This is so when an element goes to NULL, all of the
6497 unhandled messages coming from it can be freed, and their
6498 references to the element dropped. In other words: message source
6499 ref considered harmful :P
6501 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6502 we're finished with it.
6504 * gst/gstmessage.c (gst_message_new_state_changed):
6506 2005-05-10 Wim Taymans <wim@fluendo.com>
6508 * gst/gstvalue.c: (gst_value_compare_flags),
6509 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6510 (_gst_value_initialize):
6511 Added flags serialize/deserialize/compare code.
6513 2005-05-09 Andy Wingo <wingo@pobox.com>
6515 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6516 Intersect the peer's caps with our caps.
6518 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6520 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6521 * gst/elements/gsttypefindelement.c: (find_peek):
6522 Handle negative offsets better. Fixes decodebin.
6524 2005-05-09 Wim Taymans <wim@fluendo.com>
6526 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6527 (gst_base_transform_event):
6528 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6529 Implement accept_caps.
6530 Fix silly lock/unlock mismatch in base class.
6532 2005-05-09 Wim Taymans <wim@fluendo.com>
6534 * docs/design/draft-push-pull.txt:
6535 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6536 * gst/elements/gstfilesink.c: (gst_filesink_init),
6537 (gst_filesink_query):
6538 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6539 (gst_type_find_handle_src_query), (find_element_get_length):
6540 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6544 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6545 (gst_real_pad_get_caps_unlocked),
6546 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6547 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6548 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6549 (gst_real_pad_dispose), (gst_real_pad_finalize),
6550 (gst_pad_load_and_link), (gst_pad_save_thyself),
6551 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6552 (gst_pad_check_pull_range), (gst_pad_pull_range),
6553 (gst_pad_template_get_type), (gst_pad_template_class_init),
6554 (gst_pad_template_init), (gst_pad_template_dispose),
6555 (name_is_valid), (gst_static_pad_template_get),
6556 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6557 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6558 (gst_pad_get_element_private), (gst_pad_start_task),
6559 (gst_pad_pause_task), (gst_pad_stop_task),
6560 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6561 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6562 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6563 (gst_ghost_pad_new):
6565 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6566 (gst_query_new_position), (gst_query_set_position),
6567 (gst_query_parse_position), (gst_query_new_convert),
6568 (gst_query_set_convert), (gst_query_parse_convert):
6570 * gst/gstqueryutils.c:
6571 * gst/gstqueryutils.h:
6572 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6573 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6574 (gst_queue_handle_src_query):
6575 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6576 (gst_element_query_position), (gst_element_query_convert),
6577 (intersect_caps_func), (gst_pad_query_position),
6578 (gst_pad_query_convert):
6580 * tools/gst-inspect.c: (print_pad_info):
6581 * tools/gst-xmlinspect.c: (print_element_info):
6582 Remove old query functions. Ported old code.
6583 Added position/convert helper functions to gstutils.
6584 Reordered gstpad.c code, grouping relevant things.
6585 Remove gst_message_new(), always need to speficy a specific
6589 2005-05-09 Andy Wingo <wingo@pobox.com>
6591 * gst/gstiterator.h: Add some includes.
6593 * gst/gstqueryutils.h: Include more headers.
6596 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6597 some uses of gst_pad_query.
6599 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6600 NULL out parameters.
6601 (gst_query_new_position): New proc, allocates a new position
6604 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6605 gstqueryutils.c to the build.
6607 * gst/gststructure.c (gst_structure_set_valist): Implement with
6608 the generic G_VALUE_COLLECT.
6610 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6612 * gst/Makefile.am: (gst_headers):
6613 Added gstqueryutils.h to the list of headers to install, that was
6614 a 'nachty' move wingo :)
6616 2005-05-06 Andy Wingo <wingo@pobox.com>
6619 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6620 GstData, init a memchunk.
6621 (standard_definitions): Add a few query types, deprecate a few.
6622 (gst_query_get_type): New proc.
6623 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6625 (gst_query_new_application, gst_query_get_structure): New public
6628 * docs/design/draft-query.txt: Removed LINKS from the query types,
6629 because all the rest can be dispatched to other pads -- seemed
6630 ugly to have a query that couldn't be dispatched. internal_links
6631 is fine as a pad method.
6633 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6634 in gstpad.c, but maintain binary compatibility for the moment.
6635 Will fix before 0.9 is out.
6637 * gst/gstqueryutils.c:
6638 * gst/gstqueryutils.h: New files, implement 3 methods for each
6639 query type: parse_query, parse_response, and set. Probably need an
6642 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6644 * gst/elements/gstfilesink.c (gst_filesink_query2):
6645 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6646 query_types, and formats methods.
6648 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6649 (gst_pad_set_query2_function): New functions.
6650 (gst_real_pad_init): Set query2_default as the default query2
6651 function. Basically just dispatches to internally linked pads.
6655 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6656 without using the atomic operations. Only one thread can possibly
6657 be accessing the data at this point. Changed so as to avoid
6658 gst_atomic operations.
6660 2005-05-06 Wim Taymans <wim@fluendo.com>
6662 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6663 Also set caps if we use the fallback buffer alloc.
6665 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
6667 * docs/gst/Makefile.am:
6668 * docs/gst/gstreamer-docs.sgml:
6669 * docs/gst/gstreamer-sections.txt:
6670 * docs/gst/tmpl/gstatomic.sgml:
6671 * docs/gst/tmpl/gstmemchunk.sgml:
6672 * testsuite/elements/struct_i386.h:
6673 * win32/GStreamer.vcproj:
6675 Purge GstAtomic stuff from docs and win32 makefiles as well
6677 2005-05-06 Wim Taymans <wim@fluendo.com>
6679 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6680 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6681 * gst/gstpad.c: (gst_pad_peer_get_caps):
6682 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6683 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6684 (gst_queue_src_activate), (gst_queue_change_state):
6686 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6687 (intersect_caps_func):
6688 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6689 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6690 Some fixes for the peer_get_caps() change.
6692 2005-05-06 Wim Taymans <wim@fluendo.com>
6694 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6695 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6696 (gst_basesink_activate):
6697 Actually do something with error codes returned from the push
6700 2005-05-06 Wim Taymans <wim@fluendo.com>
6702 * docs/design/part-element-sink.txt:
6703 * docs/design/part-element-source.txt:
6704 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6705 (gst_basesink_event), (gst_basesink_activate):
6706 * gst/base/gstbasesink.h:
6707 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6708 (gst_basesrc_activate):
6709 * gst/base/gstbasesrc.h:
6710 * gst/gstelement.c: (gst_element_pads_activate):
6711 Some more documentation.
6712 Fixed scheduling decision in _pads_activate().
6714 2005-05-05 Andy Wingo <wingo@pobox.com>
6716 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6719 2005-05-05 Wim Taymans <wim@fluendo.com>
6721 * gst/base/Makefile.am:
6722 * gst/base/gstbasesink.h:
6723 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6724 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6725 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6726 (gst_collectpads_class_init), (gst_collectpads_init),
6727 (gst_collectpads_finalize), (gst_collectpads_new),
6728 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6729 (find_pad), (gst_collectpads_remove_pad),
6730 (gst_collectpads_is_active), (gst_collectpads_collect),
6731 (gst_collectpads_collect_range), (gst_collectpads_start),
6732 (gst_collectpads_stop), (gst_collectpads_peek),
6733 (gst_collectpads_pop), (gst_collectpads_available),
6734 (gst_collectpads_read), (gst_collectpads_flush),
6735 (gst_collectpads_chain):
6736 * gst/base/gstcollectpads.h:
6737 * gst/elements/Makefile.am:
6738 * gst/elements/gstelements.c:
6739 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6740 (gst_fakesink_get_times), (gst_fakesink_event),
6741 (gst_fakesink_preroll), (gst_fakesink_render):
6742 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6743 (gst_filesink_init), (gst_filesink_set_location),
6744 (gst_filesink_open_file), (gst_filesink_close_file),
6745 (gst_filesink_pad_query), (gst_filesink_event),
6746 (gst_filesink_render), (gst_filesink_change_state):
6747 * gst/elements/gstfilesink.h:
6748 Added object to help in making collect pad based elements.
6750 Make event function in sink baseclass return gboolean.
6752 2005-05-05 Wim Taymans <wim@fluendo.com>
6754 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6755 (gst_bin_get_by_name):
6757 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6758 (gst_clock_finalize):
6759 * gst/gstdata.c: (gst_data_replace):
6761 * gst/gstelement.c: (gst_element_request_pad),
6762 (gst_element_pads_activate):
6763 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6765 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6766 (gst_pad_set_checkgetrange_function),
6767 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6768 (gst_pad_check_pull_range), (gst_pad_pull_range),
6769 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6770 (gst_pad_pause_task), (gst_pad_stop_task):
6771 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6772 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6773 Fix name lookup in GstBin.
6774 Added _data_replace() function and _buffer_replace()
6775 Use finalize method to clean up clock.
6776 Fix refcounting on request pads.
6777 Fix pad schedule mode error.
6778 Some more object refcounting debug info,
6781 2005-05-04 Andy Wingo <wingo@pobox.com>
6783 * check/Makefile.am:
6784 * docs/gst/tmpl/gstatomic.sgml:
6785 * docs/gst/tmpl/gstplugin.sgml:
6786 * gst/base/gstbasesink.c: (gst_basesink_activate):
6787 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6788 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6789 (gst_basesrc_query), (gst_basesrc_set_property),
6790 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6791 (gst_basesrc_activate):
6792 * gst/base/gstbasesrc.h:
6793 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6794 (gst_base_transform_src_activate):
6795 * gst/elements/gstelements.c:
6796 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6797 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6798 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6799 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6800 (gst_type_find_element_checkgetrange),
6801 (gst_type_find_element_activate):
6802 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6803 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6804 (gst_caps_load_thyself):
6805 * gst/gstelement.c: (gst_element_pads_activate),
6806 (gst_element_save_thyself), (gst_element_restore_thyself):
6807 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6808 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6810 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6811 (gst_xml_parse_file), (gst_xml_parse_memory),
6812 (gst_xml_get_element), (gst_xml_make_element):
6813 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6814 (_file_index_id_save_xml), (gst_file_index_commit):
6815 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6816 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6818 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6819 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6820 * tools/gst-complete.c: (main):
6821 * tools/gst-compprep.c: (main):
6822 * tools/gst-inspect.c: (print_element_properties_info):
6823 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6824 * tools/gst-xmlinspect.c: (print_element_properties):
6827 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6829 * gst/gstplugin.c: (gst_plugin_check_module),
6830 (gst_plugin_check_file), (gst_plugin_load_file):
6831 apply patch from #172526 to make register work on MacOSX
6833 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6835 * docs/gst/tmpl/gstconfig.sgml:
6836 * gst/gstconfig.h.in:
6837 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6838 * testsuite/debug/printf_extension.c: (main):
6839 Do not use GST_PTR_FORMAT on pointers to types with
6840 sizeof < sizeof(gpointer). Fixes test on 64-bit
6841 * testsuite/elements/property.h:
6842 use correct printf format
6844 2005-05-02 Wim Taymans <wim@fluendo.com>
6846 * docs/design/draft-push-pull.txt:
6847 * docs/design/draft-query.txt:
6848 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6849 (gst_basesrc_start):
6850 Added draft for new query API.
6851 Added draft for better selecting scheduling methods.
6852 Make basesrc ignore length if the subclass does not support
6855 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6858 possible fixes for automake-1.5 - _LIBADD is reserved
6860 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6862 * docs/faq/Makefile.am:
6863 * docs/manual/Makefile.am:
6865 * docs/pwg/Makefile.am:
6867 possible fixes for automake-1.5
6869 2005-04-28 Wim Taymans <wim@fluendo.com>
6871 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6872 (gst_basesink_pad_getcaps), (gst_basesink_init),
6873 (gst_basesink_do_sync):
6874 * gst/gstclock.c: (gst_clock_entry_new):
6875 * gst/gstevent.c: (gst_event_discont_get_value):
6876 * gst/gstpipeline.c: (pipeline_bus_handler),
6877 (gst_pipeline_change_state):
6878 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6879 Better debugging of clocking info.
6880 Allow NULL values when getting discont values.
6882 2005-04-27 Wim Taymans <wim@fluendo.com>
6884 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6885 * check/gst/gstpad.c: (gst_pad_suite):
6886 Increase timeout for checks.
6888 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6890 * check/Makefile.am:
6891 fix the broken rule for cleanup. Apparently this rule is
6892 only needed on FC2, so maybe this warrants further autotool
6895 2005-04-26 Wim Taymans <wim@fluendo.com>
6897 * gst/gsttrashstack.h:
6898 Ooohh. a nasty one! After having a failed pop() from the stack,
6899 it's possible that the stack is empty. In that case, don't
6900 follow the NULL pointer.
6902 2005-04-25 Wim Taymans <wim@fluendo.com>
6904 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6905 (gst_pad_set_checkgetrange_function),
6906 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6907 (gst_pad_check_pull_range), (gst_pad_pull_range),
6908 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6909 (gst_pad_pause_task), (gst_pad_stop_task):
6910 * gst/gstplugin.c: (gst_plugin_load):
6912 Remove gst_library_load as it does more harm than good with
6913 the new g_module flags.
6914 Revert bogus caps template check in pad linking, pad caps
6915 are important when linking not the template, which is more
6916 general than the current caps.
6918 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6920 * gst/autoplug/.cvsignore:
6921 * gst/autoplug/Makefile.am:
6922 * gst/autoplug/gstsearchfuncs.c:
6923 * gst/autoplug/gstsearchfuncs.h:
6924 * gst/autoplug/gstspider.c:
6925 * gst/autoplug/gstspider.h:
6926 * gst/autoplug/gstspideridentity.c:
6927 * gst/autoplug/gstspideridentity.h:
6928 * gst/autoplug/spidertest.c:
6931 2005-04-25 Wim Taymans <wim@fluendo.com>
6933 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6934 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6935 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6936 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6938 Added stubs for unimplemented functions.
6940 2005-04-24 David Schleef <ds@schleef.org>
6942 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6945 2005-04-24 David Schleef <ds@schleef.org>
6947 Convert everything from GstAtomicInt to g_atomic_int_*, and
6952 * gst/gstatomic_impl.h:
6960 * gst/gstdata_private.h:
6967 * gst/gststructure.c:
6968 * gst/gststructure.h:
6969 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6972 2005-04-24 David Schleef <ds@schleef.org>
6974 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6975 make the regressions tests work. Remove some code that is no
6977 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6978 Disable warning for pads without templates.
6980 2005-04-24 David Schleef <ds@schleef.org>
6982 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6983 functions that handle filtered links.
6984 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6986 * gst/gstutils.c: Fix/remove utility functions that handle
6989 * gst/gstvalue.c: Add serialization/deserialization of caps
6990 * gst/parse/grammar.y: Ignore filtered caps when linking. This
6991 requires fixing so that the filter caps notation creates
6992 a capsfilter element and sets the filter_caps property. I
6993 think everyone probably wants to keep the shorthand notation.
6994 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6995 * docs/gst/tmpl/gstpad.sgml:
6997 * gst/elements/gstelements.c: Register capsfilter element.
6998 * gst/Makefile.am: fix spacing
6999 * docs/random/ds/0.9-suggested-changes: random
7001 2005-04-23 David Schleef <ds@schleef.org>
7003 * gst/elements/Makefile.am:
7004 * gst/elements/gstcapsfilter.c: New element that acts like an
7005 identity, but filters caps. Will eventually replace filtered
7006 caps in pad linking.
7007 * gst/gstutils.c: (gst_element_create_all_pads): New function
7008 to create all the ALWAYS pads that are registered with an
7009 element class. This functionality should eventually be
7010 merged in with GstElement initialization.
7012 * testsuite/trigger/README: part of trigger test code that should
7013 have been checked in a long time ago.
7015 2005-04-23 David Schleef <ds@schleef.org>
7017 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
7018 needed with new versions of libtool (nobody will confirm this),
7019 and hard to carry around.
7020 * gst/autoplug/Makefile.am:
7021 * gst/base/Makefile.am:
7022 * gst/elements/Makefile.am:
7023 * gst/indexers/Makefile.am:
7024 * gst/schedulers/Makefile.am:
7025 * libs/gst/bytestream/Makefile.am:
7026 * libs/gst/control/Makefile.am:
7027 * libs/gst/dataprotocol/Makefile.am:
7028 * libs/gst/getbits/Makefile.am:
7030 2005-04-21 Wim Taymans <wim@fluendo.com>
7032 * docs/design/draft-push-pull.txt:
7033 * docs/design/part-MT-refcounting.txt:
7034 * docs/design/part-TODO.txt:
7035 * docs/design/part-caps.txt:
7036 * docs/design/part-events.txt:
7037 * docs/design/part-gstbus.txt:
7038 * docs/design/part-gstpipeline.txt:
7039 * docs/design/part-messages.txt:
7040 * docs/design/part-push-pull.txt:
7041 * docs/design/part-query.txt:
7044 2005-04-21 Wim Taymans <wim@fluendo.com>
7046 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7047 (gst_message_new), (gst_message_new_error),
7048 (gst_message_new_warning), (gst_message_new_tag),
7049 (gst_message_new_state_changed), (gst_message_new_application),
7050 (gst_message_get_structure):
7052 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7053 (gst_structure_copy_conditional):
7054 Use parent refcount in GstMessage to ensure GstStructure
7056 Cleaned up headers a bit.
7059 2005-04-20 Wim Taymans <wim@fluendo.com>
7061 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7062 (gst_basesink_pad_getcaps), (gst_basesink_init),
7063 (gst_basesink_chain_unlocked):
7064 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7065 (gst_type_find_helper):
7066 * gst/elements/gsttypefindelement.c:
7067 (gst_type_find_element_have_type), (gst_type_find_element_init),
7068 (stop_typefinding), (gst_type_find_element_handle_event),
7069 (find_suggest), (gst_type_find_element_chain),
7070 (gst_type_find_element_checkgetrange),
7071 (gst_type_find_element_getrange), (do_typefind),
7072 (gst_type_find_element_activate):
7073 * gst/gstbuffer.c: (_gst_buffer_sub_free),
7074 (gst_buffer_default_free), (gst_buffer_default_copy),
7075 (gst_buffer_set_caps):
7076 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7078 * gst/gstmessage.c: (gst_message_new),
7079 (gst_message_new_state_changed):
7080 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7081 (gst_pad_set_checkgetrange_function),
7082 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7083 (gst_pad_set_caps), (gst_pad_check_pull_range),
7084 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7086 * gst/gsttypefind.c: (gst_type_find_register):
7087 Make gst_caps_replace() work like other _replace() functions.
7088 Use _caps_replace() where possible.
7089 Make sure _message_new() initialises its field.
7090 Add gst_static_pad_template_get_caps()
7093 2005-04-18 Andy Wingo <wingo@pobox.com>
7095 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7096 on the peer, not the pad. I think that was a typo. Pass an extra
7097 arg to see if random access is possible. Activate the pads as
7098 PULL_RANGE if possible.
7100 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7102 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
7103 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7106 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7108 * docs/faq/using.xml:
7109 Add note on gstreamer-properties (#154996).
7111 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7113 * docs/random/bbb/optional-properties:
7114 Some analysis on optional properties.
7116 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7118 * docs/gst/tmpl/gstelementfactory.sgml:
7120 * gst/gstelementfactory.c: (gst_element_factory_init),
7121 (gst_element_factory_cleanup), (gst_element_register),
7122 (__gst_element_factory_add_static_pad_template),
7123 (gst_element_factory_get_static_pad_templates),
7124 (gst_element_factory_can_src_caps),
7125 (gst_element_factory_can_sink_caps):
7126 * gst/registries/Makefile.am:
7127 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7128 (gst_xml_registry_class_init), (gst_xml_registry_init),
7129 (gst_xml_registry_new), (gst_xml_registry_set_property),
7130 (gst_xml_registry_get_property), (get_time), (make_dir),
7131 (gst_xml_registry_get_perms_func),
7132 (plugin_times_older_than_recurse), (plugin_times_older_than),
7133 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7134 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7135 (add_to_char_array), (read_string), (read_uint), (read_enum),
7136 (load_pad_template), (load_feature), (load_plugin), (load_paths),
7137 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7138 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7139 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7140 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7141 (gst_xml_registry_rebuild):
7142 * gst/registries/gstlibxmlregistry.h:
7143 * tools/gst-compprep.c: (main):
7144 * tools/gst-inspect.c: (print_pad_templates_info):
7145 * tools/gst-xmlinspect.c: (print_element_info):
7146 Use libxml2 for registry parsing, use staticpadtemplates in
7147 elementfactories. Makes gst_init() +/- 10x faster.
7149 2005-04-12 Wim Taymans <wim@fluendo.com>
7151 * gst/base/Makefile.am:
7152 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7153 (gst_basesink_pad_getcaps), (gst_basesink_init),
7154 (gst_basesink_event), (gst_basesink_change_state):
7155 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7156 (gst_basesrc_init), (gst_basesrc_query),
7157 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7158 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7159 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7160 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7161 (gst_basesrc_stop), (gst_basesrc_activate),
7162 (gst_basesrc_change_state):
7163 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7164 (helper_find_suggest), (gst_type_find_helper):
7165 * gst/base/gsttypefindhelper.h:
7166 * gst/elements/Makefile.am:
7167 * gst/elements/gstelements.c:
7168 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7169 (gst_fakesink_get_times), (gst_fakesink_event),
7170 (gst_fakesink_preroll), (gst_fakesink_render):
7171 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7172 (gst_fakesrc_init), (gst_fakesrc_event_handler),
7173 (gst_fakesrc_get_property), (gst_fakesrc_create),
7174 (gst_fakesrc_start), (gst_fakesrc_stop):
7175 * gst/elements/gstfakesrc.h:
7176 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7177 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7178 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7179 (gst_filesrc_create_read), (gst_filesrc_create),
7180 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7181 (gst_filesrc_start):
7182 * gst/elements/gsttypefindelement.c:
7183 (gst_type_find_element_have_type), (gst_type_find_element_init),
7184 (start_typefinding), (stop_typefinding), (push_buffer_store),
7185 (gst_type_find_element_handle_event),
7186 (gst_type_find_element_chain),
7187 (gst_type_find_element_checkgetrange),
7188 (gst_type_find_element_getrange), (do_typefind),
7189 (gst_type_find_element_activate),
7190 (gst_type_find_element_change_state):
7191 * gst/elements/gsttypefindelement.h:
7192 * gst/gstpipeline.c: (pipeline_bus_handler):
7193 Added typefind helper.
7194 Small preroll fix in the base sink.
7195 Disable typefind code in basesrc.
7196 Crude port of typefindelement.
7200 2005-04-11 Wim Taymans <wim@fluendo.com>
7202 * check/gst/gstbus.c: (gstbus_suite):
7203 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7205 Fix up the timeout so that the test does not fail.
7207 2005-04-06 Wim Taymans <wim@fluendo.com>
7210 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7211 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7212 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7213 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7214 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7215 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7216 (gst_basesrc_stop), (gst_basesrc_activate),
7217 (gst_basesrc_change_state), (basesrc_find_peek),
7218 (basesrc_find_suggest), (gst_basesrc_type_find):
7219 * gst/base/gstbasesrc.h:
7220 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7221 (gst_filesrc_class_init), (gst_filesrc_init),
7222 (gst_filesrc_finalize), (gst_filesrc_set_location),
7223 (gst_filesrc_set_property), (gst_filesrc_get_property),
7224 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7225 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7226 (gst_filesrc_create_read), (gst_filesrc_create),
7227 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7228 * gst/elements/gstfilesrc.h:
7229 * gst/gstelement.c: (gst_element_get_state_func),
7230 (gst_element_lost_state), (gst_element_pads_activate):
7231 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7232 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7233 (gst_pad_pull_range):
7235 More work on the generic source base class, implement seeking,
7237 Make filesrc extend the base source class.
7238 Added gst_pad_set_checkgetrange_function to GstPad.
7240 2005-04-06 Andy Wingo <wingo@pobox.com>
7242 * pkgconfig/gstreamer-base.pc.in:
7243 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7245 * pkgconfig/Makefile.am:
7246 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7248 2005-04-04 Wim Taymans <wim@fluendo.com>
7250 * gst/base/Makefile.am:
7252 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7253 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7254 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7255 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7256 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7257 (gst_basesrc_base_init), (gst_basesrc_class_init),
7258 (gst_basesrc_init), (gst_basesrc_get_formats),
7259 (gst_basesrc_get_query_types), (gst_basesrc_query),
7260 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7261 (gst_basesrc_set_property), (gst_basesrc_get_property),
7262 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7263 (gst_basesrc_loop), (gst_basesrc_activate),
7264 (gst_basesrc_change_state):
7265 * gst/base/gstbasesrc.h:
7266 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7267 (gst_fakesrc_class_init), (gst_fakesrc_init),
7268 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7269 (gst_fakesrc_get_property), (gst_fakesrc_create):
7270 * gst/elements/gstfakesrc.h:
7271 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7272 (gst_filesrc_open_file), (gst_filesrc_loop),
7273 (gst_filesrc_activate), (filesrc_find_peek),
7274 (gst_filesrc_type_find):
7275 Made base source class, make fakesrc extend it.
7276 Add comments to basesink class.
7277 Some filesrc cleanup.
7279 2005-03-31 David Schleef <ds@schleef.org>
7281 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7282 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7283 expected to link against libgstreamer.
7284 * gst/base/Makefile.am: link against libgstreamer
7285 * gst/elements/Makefile.am: same
7287 2005-03-31 Andy Wingo <wingo@pobox.com>
7289 * tests/instantiate/Makefile.am:
7290 * tests/instantiate/caps.c: Add test to test speed of caps copy
7293 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7294 GMemChunk to be fair.
7296 * gst/gsttrashstack.h: Remove warning about using the fallback
7297 trash stack implementation, it's still faster than malloc.
7299 2005-03-30 Andy Wingo <wingo@pobox.com>
7301 * tests/complexity.c: Add a copyright.
7303 2005-03-31 Wim Taymans <wim@fluendo.com>
7305 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7306 (gst_base_transform_class_init), (gst_base_transform_init),
7307 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7308 (gst_base_transform_get_property),
7309 (gst_base_transform_sink_activate),
7310 (gst_base_transform_src_activate),
7311 (gst_base_transform_change_state):
7312 * gst/base/gstbasetransform.h:
7313 * gst/elements/gstidentity.c: (gst_identity_class_init),
7314 (gst_identity_event), (gst_identity_check_perfect),
7315 (gst_identity_transform), (gst_identity_start),
7316 (gst_identity_stop):
7317 Added start/stop methods to transform base class so subclasses
7318 don't need to deal with state changes even.
7320 2005-03-31 Wim Taymans <wim@fluendo.com>
7322 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7323 (gst_event_new_discontinuous), (gst_event_discont_get_value):
7325 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7326 (gst_pad_pull_range):
7327 Added rate to the discont event to prepare for variable speed
7328 and reverse playback.
7330 2005-03-29 David Schleef <ds@schleef.org>
7333 * testsuite/trigger/Makefile.am:
7334 * testsuite/trigger/trigger.c: A little example program to show
7335 how trigger-based elements can work.
7337 2005-03-29 Wim Taymans <wim@fluendo.com>
7339 * gst/base/Makefile.am:
7341 * gst/base/gstbasesink.c: (gst_basesink_get_type),
7342 (gst_basesink_base_init), (gst_basesink_class_init),
7343 (gst_basesink_pad_getcaps), (gst_basesink_init),
7344 (gst_basesink_activate), (gst_basesink_change_state):
7345 * gst/base/gstbasesink.h:
7346 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7347 (gst_base_transform_base_init), (gst_base_transform_finalize),
7348 (gst_base_transform_class_init), (gst_base_transform_init),
7349 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7350 (gst_base_transform_event), (gst_base_transform_getrange),
7351 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7352 (gst_base_transform_set_property),
7353 (gst_base_transform_get_property),
7354 (gst_base_transform_sink_activate),
7355 (gst_base_transform_src_activate),
7356 (gst_base_transform_change_state):
7357 * gst/base/gstbasetransform.h:
7358 * gst/elements/gstidentity.c: (gst_identity_finalize),
7359 (gst_identity_class_init), (gst_identity_init),
7360 (gst_identity_event), (gst_identity_check_perfect),
7361 (gst_identity_transform), (gst_identity_set_property),
7362 (gst_identity_get_property), (gst_identity_change_state):
7363 * gst/elements/gstidentity.h:
7364 * gst/gstelement.c: (gst_element_get_state_func),
7365 (gst_element_lost_state), (gst_element_pads_activate):
7366 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7367 (gst_pad_check_pull_range), (gst_pad_pull_range):
7369 Simplify pad activation.
7370 Added function to check if pull_range can be performed.
7371 Error out when pulling inactive or flushing pads.
7372 Removed const from refcounted types as it does not make sense.
7373 Simplify pad templates in basesink
7374 Added base class for simple 1-to-1 transforms.
7375 Make identity subclass the base transform.
7377 2005-03-29 Andy Wingo <wingo@pobox.com>
7379 * docs/libs/gstreamer-libs-overrides.txt:
7380 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7381 really don't understand what's going on, but like whatever. I want
7384 * docs/gst/Makefile.am:
7385 * docs/libs/Makefile.am: Dist the overrides files.
7387 * check/Makefile.am (clean-local): Remove .libs directories.
7389 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7390 elements to EXTRA_DIST, so po/ files are happy.
7392 * po/POTFILES.in: Er, remove it here.
7394 * po/POTFILES: Remove gstspider.c.
7396 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7398 * docs/libs/gstreamer-libs-docs.sgml:
7399 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7402 * tests/complexity.c (main): Set the length of the preroll queue
7403 on the sinks to prevent a lockup.
7405 * libs/gst/dataprotocol/Makefile.am:
7406 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7407 the same as the one in check/gst-libs/gdp.c.
7409 * po/, docs/gst/: Commit automatic changes to docs and po files.
7411 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7412 the versioned libgstbase.
7414 * check/Makefile.am: Depend on an unversioned gst-register, seems
7415 to make autoconf happier.
7417 * gst/base/Makefile.am: Make libgstbase a versioned lib.
7419 2005-03-28 Wim Taymans <wim@fluendo.com>
7422 * docs/design/part-gstelement.txt:
7423 * docs/design/part-negotiation.txt:
7424 * docs/design/part-preroll.txt:
7425 * docs/design/part-scheduling.txt:
7426 * docs/design/part-states.txt:
7428 * gst/base/Makefile.am:
7430 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7431 (gst_basesink_base_init), (gst_basesink_class_init),
7432 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7433 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7434 (gst_basesink_set_pad_functions),
7435 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7436 (gst_basesink_set_property), (gst_basesink_get_property),
7437 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7438 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7439 (gst_basesink_preroll_queue_push),
7440 (gst_basesink_preroll_queue_empty),
7441 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7442 (gst_basesink_event), (gst_basesink_get_times),
7443 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7444 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7445 (gst_basesink_loop), (gst_basesink_activate),
7446 (gst_basesink_change_state):
7447 * gst/base/gstbasesink.h:
7448 * gst/elements/Makefile.am:
7449 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7450 (gst_fakesink_class_init), (gst_fakesink_init),
7451 (gst_fakesink_set_property), (gst_fakesink_get_property),
7452 (gst_fakesink_get_times), (gst_fakesink_event),
7453 (gst_fakesink_preroll), (gst_fakesink_render),
7454 (gst_fakesink_change_state):
7455 * gst/elements/gstfakesink.h:
7456 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7457 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7458 * gst/gstelement.c: (gst_element_add_pad),
7459 (gst_element_get_state_func), (gst_element_abort_state),
7460 (gst_element_commit_state), (gst_element_lost_state),
7461 (gst_element_set_state), (gst_element_pads_activate):
7462 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7463 * gst/gstpipeline.c: (gst_pipeline_send_event),
7464 (gst_pipeline_change_state):
7465 Added state change code.
7467 Added sink base class, make fakesink extend the base class.
7468 Small cleanups in GstPipeline.
7470 2005-03-26 David Schleef <ds@schleef.org>
7472 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7473 is broken and should be implemented in a different library.
7474 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7475 * gst/gst.h: remove gstcpu.h
7476 * gst/gstcpu.c: remove
7477 * gst/gstcpu.h: remove
7478 * gst/Makefile.am.future: Remove this file. It's ancient.
7480 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7482 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7483 (gst_bin_send_event):
7484 Add default event/set_manager handlers. The set_manager handler
7485 takes care that the manager is distributed over kids that were
7486 already in the bin before the manager was set. The event handler
7487 is a utility virtual function that sends the event over all sinks,
7488 so that gst_element_send_event (bin, event); has the expected
7490 * gst/gstpad.c: (gst_pad_event_default):
7491 Re-install default event handling for discontinuities, so that
7492 seeking works without requiring hacks in applications or extra
7494 * gst/gstpipeline.c: (gst_pipeline_class_init),
7495 (gst_pipeline_send_event):
7496 Half hack, half utility: set a pipeline to PAUSED for seek events,
7497 since that is the only way we can guarantee a/v sync. Means that
7498 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7499 and it "just works".
7501 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7503 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7504 Lock/unlock mismatch.
7506 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7508 * docs/faq/gst-uninstalled:
7509 add gst-plugins-base
7510 * docs/gst/Makefile.am:
7511 don't error out until docs are fixed
7512 * docs/gst/gstreamer.types:
7515 2005-03-22 Wim Taymans <wim@fluendo.com>
7517 * check/Makefile.am:
7518 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7519 * gst/gststructure.c: (gst_structure_set_valist),
7520 (gst_structure_copy_conditional):
7521 Activated more tests.
7523 Added G_TYPE_POINTER to GstStructure.
7526 2005-03-22 Wim Taymans <wim@fluendo.com>
7528 * docs/design/part-TODO.txt:
7529 * docs/design/part-events.txt:
7530 * docs/design/part-gstbin.txt:
7531 * docs/design/part-gstbus.txt:
7532 * docs/design/part-gstpipeline.txt:
7533 * docs/design/part-messages.txt:
7538 2005-03-21 Wim Taymans <wim@fluendo.com>
7540 * gst/gstbus.c: (gst_bus_post):
7541 Fix copy-and-paste error.
7543 2005-03-21 Wim Taymans <wim@fluendo.com>
7545 * check/Makefile.am:
7547 * gst/elements/Makefile.am:
7548 * gst/elements/gstelements.c:
7549 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7550 (gst_fakesink_event), (gst_fakesink_chain):
7551 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7552 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7553 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7554 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7555 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7556 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7557 (gst_fakesrc_loop), (gst_fakesrc_activate),
7558 (gst_fakesrc_change_state):
7559 * gst/elements/gstfakesrc.h:
7560 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7561 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7562 (gst_filesrc_open_file), (gst_filesrc_loop),
7563 (gst_filesrc_activate), (gst_filesrc_change_state),
7564 (filesrc_find_peek), (filesrc_find_suggest),
7565 (gst_filesrc_type_find):
7566 * gst/elements/gstidentity.c: (gst_identity_finalize),
7567 (gst_identity_class_init), (gst_identity_init),
7568 (gst_identity_proxy_getcaps), (identity_queue_push),
7569 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7570 (gst_identity_getrange), (gst_identity_chain),
7571 (gst_identity_sink_loop), (gst_identity_src_loop),
7572 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7573 (gst_identity_set_property), (gst_identity_get_property),
7574 (gst_identity_change_state):
7575 * gst/elements/gstidentity.h:
7576 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7577 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7578 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7579 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7580 (gst_tee_sink_activate):
7581 * gst/elements/gsttee.h:
7582 * gst/gst.c: (gst_register_core_elements), (init_post):
7584 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7585 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7586 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7587 (gst_bin_change_state):
7589 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7590 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7591 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7592 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7593 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7594 (bus_watch_callback), (bus_watch_destroy),
7595 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7596 (poll_timeout), (gst_bus_poll):
7600 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7601 (gst_element_post_message), (gst_element_message_full),
7602 (gst_element_get_state_func), (gst_element_get_state),
7603 (gst_element_abort_state), (gst_element_commit_state),
7604 (gst_element_lost_state), (gst_element_set_state),
7605 (gst_element_pads_activate), (gst_element_change_state),
7606 (gst_element_dispose), (gst_element_set_manager_func),
7607 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7608 (gst_element_set_manager), (gst_element_get_manager),
7609 (gst_element_set_bus), (gst_element_get_bus),
7610 (gst_element_set_scheduler), (gst_element_get_scheduler):
7612 * gst/gstevent.c: (gst_event_new_segment_seek),
7613 (gst_event_new_flush):
7615 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7616 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7617 (gst_message_new_eos), (gst_message_new_error),
7618 (gst_message_new_warning), (gst_message_new_tag),
7619 (gst_message_new_state_changed), (gst_message_new_application),
7620 (gst_message_get_structure), (gst_message_parse_tag),
7621 (gst_message_parse_state_changed), (gst_message_parse_error),
7622 (gst_message_parse_warning):
7624 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7625 (gst_real_pad_set_property), (gst_pad_set_active),
7626 (gst_pad_is_active), (gst_pad_set_blocked_async),
7627 (gst_pad_set_blocked), (gst_pad_is_blocked),
7628 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7629 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7630 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7631 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7632 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7633 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7634 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7635 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7636 (gst_pad_set_caps), (gst_pad_configure_sink),
7637 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7638 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7639 (gst_real_pad_dispose), (gst_real_pad_finalize),
7640 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7641 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7642 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7644 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7645 (pipeline_bus_handler), (gst_pipeline_change_state),
7646 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7647 * gst/gstpipeline.h:
7649 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7650 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7651 (gst_queue_link_src), (gst_queue_bufferalloc),
7652 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7653 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7654 (gst_queue_loop), (gst_queue_handle_src_event),
7655 (gst_queue_handle_src_query), (gst_queue_src_activate),
7656 (gst_queue_change_state):
7658 * gst/gstscheduler.c: (gst_scheduler_init),
7659 (gst_scheduler_dispose), (gst_scheduler_create_task),
7660 (gst_scheduler_factory_create):
7661 * gst/gstscheduler.h:
7662 * gst/gststructure.c: (gst_structure_get_type),
7663 (gst_structure_copy_conditional):
7664 * gst/gststructure.h:
7665 * gst/gsttaginterface.h:
7666 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7667 (gst_task_init), (gst_task_dispose), (gst_task_create),
7668 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7674 * gst/schedulers/Makefile.am:
7675 * gst/schedulers/cothreads_compat.h:
7676 * gst/schedulers/entryscheduler.c:
7677 * gst/schedulers/faircothreads.c:
7678 * gst/schedulers/faircothreads.h:
7679 * gst/schedulers/fairscheduler.c:
7680 * gst/schedulers/gstbasicscheduler.c:
7681 * gst/schedulers/gstoptimalscheduler.c:
7682 * gst/schedulers/gthread-cothreads.h:
7683 * gst/schedulers/threadscheduler.c:
7684 (gst_thread_scheduler_task_get_type),
7685 (gst_thread_scheduler_task_class_init),
7686 (gst_thread_scheduler_task_init),
7687 (gst_thread_scheduler_task_start),
7688 (gst_thread_scheduler_task_stop),
7689 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7690 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7691 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7692 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7694 * libs/gst/Makefile.am:
7695 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7696 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7697 (gst_file_pad_parent_set):
7698 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7699 (gst_dp_event_from_packet):
7700 * tests/complexity.c: (main):
7701 * tests/mass_elements.c: (main):
7702 * testsuite/states/locked.c: (message_received), (main):
7703 * testsuite/states/parent.c: (main):
7704 * tools/gst-inspect.c: (print_element_flag_info),
7705 (print_implementation_info), (print_pad_info):
7706 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7708 * tools/gst-md5sum.c: (event_loop), (main):
7709 * tools/gst-typefind.c: (main):
7710 * tools/gst-xmlinspect.c: (print_element_info):
7712 Added GstBus for mainloop integration.
7713 Added GstMessage for sending notifications on the bus.
7714 Added GstTask as an abstraction for pipeline entry points.
7717 Simplified GstQueue for multithreaded core.
7718 Made _link threadsafe, removed old capsnego.
7719 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7720 Added pad blocking functions.
7721 Reworked scheduling functions in GstPad to prepare for
7722 scheduling updates soon.
7723 Moved events out of data stream.
7724 Simplified GstEvent types.
7725 Added return values to push/pull.
7726 Removed clocking from GstElement.
7727 Added prototypes for state change function for next merge.
7728 Removed iterate from bins and state change management.
7729 Fixed some elements, disabled others for now.
7730 Fixed -inspect and -launch.
7731 Added check for GstBus.
7733 2005-03-10 Wim Taymans <wim@fluendo.com>
7735 * docs/design/part-MT-refcounting.txt:
7736 * docs/design/part-clocks.txt:
7737 * docs/design/part-gstelement.txt:
7738 * docs/design/part-gstobject.txt:
7739 * docs/design/part-standards.txt:
7740 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7741 (gst_bin_remove_func), (gst_bin_remove):
7745 * testsuite/clock/clock1.c: (main):
7746 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7748 * testsuite/dlopen/loadgst.c: (do_test):
7749 * testsuite/refcounting/bin.c: (add_remove_test1),
7750 (add_remove_test2), (main):
7751 * testsuite/refcounting/element.c: (main):
7752 * testsuite/refcounting/element_pad.c: (main):
7753 * testsuite/refcounting/pad.c: (main):
7754 * tools/gst-launch.c: (sigint_handler_sighandler):
7755 * tools/gst-typefind.c: (main):
7757 Added doc about clock.
7758 removed gst_bin_iterate_recurse_up(), marked methods
7760 Fix more testsuites.
7762 2005-03-09 Wim Taymans <wim@fluendo.com>
7764 * gst/gstpad.c: (gst_pad_get_direction),
7765 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7766 (gst_pad_collect_valist):
7767 * testsuite/bins/interface.c: (main):
7768 * testsuite/caps/audioscale.c: (test_caps):
7769 * testsuite/caps/caps.c: (test1), (test2), (test3):
7770 * testsuite/caps/deserialize.c: (main):
7771 * testsuite/caps/enumcaps.c: (main):
7772 * testsuite/caps/filtercaps.c: (main):
7773 * testsuite/caps/intersect2.c: (main):
7774 * testsuite/caps/random.c: (main):
7775 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7776 * testsuite/caps/sets.c: (check_caps):
7777 * testsuite/caps/simplify.c: (check_caps), (main):
7778 * testsuite/caps/subtract.c: (check_caps):
7779 Fix _pad_get_direction wrt ghostpads.
7782 2005-03-09 Wim Taymans <wim@fluendo.com>
7784 * check/Makefile.am:
7785 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7786 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7787 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7788 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7789 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7790 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7791 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7792 (bin_element_is_sink), (gst_bin_iterate_sinks),
7793 (gst_bin_iterate_all_by_interface):
7795 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7796 (gst_element_change_state), (gst_element_dispose),
7797 (gst_element_finalize), (gst_element_set_loop_function):
7799 * gst/gstiterator.c: (find_custom_fold_func):
7800 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7801 (gst_pad_collectv), (gst_pad_collect_valist),
7802 (gst_pad_template_new):
7803 * gst/gstpipeline.c: (gst_pipeline_class_init),
7804 (gst_pipeline_dispose), (gst_pipeline_set_property),
7805 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7806 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7807 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7809 * gst/schedulers/entryscheduler.c:
7810 * gst/schedulers/gstbasicscheduler.c:
7811 (gst_basic_scheduler_cothreaded_chain),
7812 (gst_basic_scheduler_chain_add_element):
7813 * testsuite/bins/interface.c: (main):
7815 Added GstSystemClock test.
7816 Implemented clock distribution code in GstBin.
7817 Implemented iterate sinks method for future use.
7818 Rearranged gstelement.h
7819 Fix GstIterator comparison bug.
7820 Moved some code to GstPipeline, mostly clocking related.
7822 2005-03-09 Wim Taymans <wim@fluendo.com>
7825 * gst/gst_private.h:
7826 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7827 (gst_bin_remove_func), (gst_bin_remove),
7828 (gst_bin_get_by_name_recurse_up):
7829 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7830 (gst_clock_id_compare_func), (gst_clock_id_wait),
7831 (gst_clock_id_wait_async), (gst_clock_init),
7832 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7834 * gst/gstinfo.c: (_gst_debug_init):
7836 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7837 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7839 Bump version number, we're now 0.9.0
7840 Add future debugging category.
7841 Fix NULL _unref() in _get_by_name_recurse_up
7845 2005-03-08 Wim Taymans <wim@fluendo.com>
7847 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7848 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7849 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7850 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7851 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7852 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7853 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7854 * gst/elements/gstidentity.c: (gst_identity_class_init):
7855 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7856 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7857 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7858 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7859 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7861 * gst/gstelement.c: (gst_element_class_init),
7862 (gst_element_base_class_init), (gst_element_init),
7863 (gst_element_get_random_pad), (gst_element_wait_state_change),
7864 (gst_element_change_state), (gst_element_dispose),
7865 (gst_element_finalize), (gst_element_set_loop_function):
7867 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7868 * gst/gstthread.c: (gst_thread_class_init),
7869 (gst_thread_release_children_locks), (gst_thread_change_state):
7870 * gst/schedulers/gstbasicscheduler.c:
7871 (gst_basic_scheduler_loopfunc_wrapper),
7872 (gst_basic_scheduler_chain_wrapper),
7873 (gst_basic_scheduler_src_wrapper),
7874 (gst_basic_scheduler_remove_element):
7875 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7876 Remove threadsafe properties. Fix elements because GObject
7877 complains when installing a property before declaring a
7878 set/get_property handler.
7879 Rearrange gstelement.h file, use STATE macros for state locks.
7880 Free mutexes in the finalize method instead of dispose.
7882 2005-03-08 Wim Taymans <wim@fluendo.com>
7884 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7885 * gst/gstthread.c: (gst_thread_release_children_locks):
7886 Added parentage check.
7887 Fix build og GstThread again.
7889 2005-03-08 Wim Taymans <wim@fluendo.com>
7891 * docs/design/part-MT-refcounting.txt:
7892 * docs/design/part-conventions.txt:
7893 * docs/design/part-gstobject.txt:
7894 * docs/design/part-relations.txt:
7895 * docs/design/part-standards.txt:
7896 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7897 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7898 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7899 (gst_bin_iterate_all_by_interface):
7902 * gst/gstelement.c: (gst_element_class_init),
7903 (gst_element_change_state), (gst_element_set_loop_function):
7905 * gst/gstiterator.c:
7906 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7907 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7908 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7909 (gst_object_set_parent), (gst_object_unparent),
7910 (gst_object_check_uniqueness):
7912 Docs updates, clean up some headers.
7914 2005-03-07 Wim Taymans <wim@fluendo.com>
7917 * check/Makefile.am:
7918 * check/gst-libs/.cvsignore:
7919 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7920 * check/gst/.cvsignore:
7921 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7922 (START_TEST), (gstbus_suite), (main):
7923 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7924 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7925 (gst_data_suite), (main):
7926 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7927 (add_fold_func), (gstiterator_suite), (main):
7928 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7929 (thread_name_object), (thread_name_object_default),
7930 (gst_object_name_compare), (gst_object_suite), (main):
7931 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7932 (gst_pad_suite), (main):
7933 * check/gstcheck.c: (gst_check_log_message_func),
7934 (gst_check_log_critical_func), (gst_check_init):
7936 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7937 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7940 2005-03-07 Wim Taymans <wim@fluendo.com>
7942 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7943 (gst_list_iterator_next), (gst_list_iterator_resync),
7944 (gst_list_iterator_free), (gst_iterator_new_list),
7945 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7946 (gst_iterator_free), (gst_iterator_push), (filter_next),
7947 (filter_resync), (filter_uninit), (filter_free),
7948 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7949 (gst_iterator_foreach), (find_custom_fold_func),
7950 (gst_iterator_find_custom):
7951 * gst/gstiterator.h:
7952 Added missing files.
7954 2005-03-07 Wim Taymans <wim@fluendo.com>
7958 * docs/design/part-MT-refcounting.txt:
7959 * docs/design/part-conventions.txt:
7960 * docs/design/part-gstobject.txt:
7961 * docs/design/part-relations.txt:
7962 * examples/mixer/mixer.c: (main):
7963 * examples/thread/thread.c: (eos), (main):
7965 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7966 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7967 (gst_spider_plug_from_srcpad):
7968 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7969 (gst_spider_identity_change_state),
7970 (gst_spider_identity_sink_loop_type_finding):
7971 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7972 * gst/elements/gstidentity.c: (gst_identity_init):
7973 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7974 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7975 * gst/elements/gsttypefindelement.c: (free_entry):
7978 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7979 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7980 (gst_bin_set_index), (gst_bin_set_element_sched),
7981 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7982 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7983 (gst_bin_iterate_elements), (iterate_child_recurse),
7984 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7985 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7986 (compare_interface), (gst_bin_get_by_interface),
7987 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7989 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7990 (gst_buffer_default_free), (gst_buffer_default_copy),
7991 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7992 (gst_buffer_create_sub):
7994 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7995 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7996 (gst_caps_unref), (gst_static_caps_get),
7997 (gst_caps_remove_and_get_structure), (gst_caps_append),
7998 (gst_caps_append_structure), (gst_caps_remove_structure),
7999 (gst_caps_copy_nth), (gst_caps_set_simple),
8000 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8001 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8002 (gst_caps_structure_intersect_field), (gst_caps_intersect),
8003 (gst_caps_structure_subtract_field), (gst_caps_subtract),
8004 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8005 (gst_caps_structure_figure_out_union),
8006 (gst_caps_switch_structures), (gst_caps_do_simplify),
8007 (gst_caps_replace), (gst_caps_from_string),
8008 (gst_caps_copy_conditional):
8010 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8011 (_gst_clock_id_free), (gst_clock_id_unref),
8012 (gst_clock_id_compare_func), (gst_clock_id_wait),
8013 (gst_clock_id_wait_async), (gst_clock_class_init),
8014 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8015 (gst_clock_get_time), (gst_clock_set_time_adjust),
8016 (gst_clock_set_property), (gst_clock_get_property):
8019 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8020 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8022 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8023 (gst_element_requires_clock), (gst_element_provides_clock),
8024 (gst_element_set_clock), (gst_element_clock_wait),
8025 (gst_element_wait), (gst_element_set_time_delay),
8026 (gst_element_is_indexable), (gst_element_add_pad),
8027 (gst_element_add_ghost_pad), (gst_element_remove_pad),
8028 (pad_compare_name), (gst_element_get_static_pad),
8029 (gst_element_request_pad), (gst_element_get_request_pad),
8030 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8031 (gst_element_class_get_pad_template_list),
8032 (gst_element_class_get_pad_template), (gst_element_error_func),
8033 (gst_element_get_random_pad), (gst_element_get_event_masks),
8034 (gst_element_send_event), (gst_element_seek),
8035 (gst_element_get_query_types), (gst_element_query),
8036 (gst_element_get_formats), (gst_element_convert),
8037 (gst_element_is_locked_state), (gst_element_set_locked_state),
8038 (gst_element_sync_state_with_parent), (gst_element_change_state),
8039 (gst_element_finalize), (gst_element_yield),
8040 (gst_element_interrupt), (gst_element_set_scheduler),
8041 (gst_element_get_scheduler), (gst_element_set_loop_function):
8044 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8045 (gst_format_get_by_nick), (gst_format_get_details),
8046 (gst_format_iterate_definitions):
8048 * gst/gstindex.c: (gst_index_gtype_resolver):
8051 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8052 (gst_mem_chunk_free):
8053 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8054 (gst_object_ref), (gst_object_unref), (gst_object_sink),
8055 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8056 (gst_object_dispatch_properties_changed),
8057 (gst_object_set_name_default), (gst_object_set_name),
8058 (gst_object_get_name), (gst_object_set_name_prefix),
8059 (gst_object_get_name_prefix), (gst_object_set_parent),
8060 (gst_object_get_parent), (gst_object_unparent),
8061 (gst_object_check_uniqueness), (gst_object_save_thyself),
8062 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8063 (gst_object_set_property), (gst_object_get_property),
8064 (gst_object_get_path_string):
8066 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8067 (gst_real_pad_init), (gst_real_pad_get_property),
8068 (gst_pad_custom_new), (gst_pad_get_direction),
8069 (gst_pad_set_active), (gst_pad_is_active),
8070 (gst_pad_set_event_function), (gst_pad_is_linked),
8071 (gst_pad_link_free), (gst_pad_link_intersect),
8072 (gst_pad_link_fixate), (gst_pad_set_caps),
8073 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8074 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8075 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8076 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8077 (gst_pad_get_caps), (gst_pad_peer_get_caps),
8078 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8079 (gst_pad_realize), (gst_pad_get_allowed_caps),
8080 (gst_real_pad_dispose), (gst_real_pad_finalize),
8081 (gst_pad_collectv), (gst_pad_collect_valist),
8082 (gst_pad_template_dispose), (gst_pad_template_new),
8083 (gst_pad_get_internal_links):
8085 * gst/gstpipeline.c: (gst_pipeline_dispose),
8086 (gst_pipeline_change_state):
8087 * gst/gstpipeline.h:
8089 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8090 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8091 * gst/gstpluginfeature.h:
8092 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8093 * gst/gstquery.c: (_gst_query_type_initialize),
8094 (gst_query_type_register), (gst_query_type_get_by_nick),
8095 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8097 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8098 * gst/gstscheduler.c: (gst_scheduler_add_element),
8099 (gst_scheduler_factory_create):
8100 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8101 (gst_structure_free), (gst_structure_set_name),
8102 (gst_structure_id_set_value), (gst_structure_set_value),
8103 (gst_structure_set_valist), (gst_structure_remove_field),
8104 (gst_structure_remove_fields),
8105 (gst_structure_remove_fields_valist),
8106 (gst_structure_remove_all_fields), (gst_structure_foreach),
8107 (gst_structure_map_in_place),
8108 (gst_caps_structure_fixate_field_nearest_int),
8109 (gst_caps_structure_fixate_field_nearest_double):
8110 * gst/gststructure.h:
8111 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8112 (gst_system_clock_init), (gst_system_clock_dispose),
8113 (gst_system_clock_async_thread),
8114 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8115 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8116 * gst/gstsystemclock.h:
8117 * gst/gsttag.c: (gst_tag_list_add_value_internal),
8118 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8119 * gst/gsttaginterface.c:
8120 * gst/gstthread.c: (gst_thread_dispose),
8121 (gst_thread_release_children_locks), (gst_thread_change_state),
8122 (gst_thread_main_loop):
8123 * gst/gsttrashstack.h:
8124 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8126 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8127 (gst_element_request_pad), (gst_element_get_pad_from_template),
8128 (gst_element_request_compatible_pad),
8129 (gst_element_get_compatible_pad_filtered),
8130 (gst_element_get_compatible_pad), (gst_element_state_get_name),
8131 (gst_element_link_pads_filtered), (gst_element_link_filtered),
8132 (gst_element_link_many), (gst_element_link),
8133 (gst_element_link_pads), (gst_element_unlink_pads),
8134 (gst_element_unlink_many), (gst_element_unlink),
8135 (gst_pad_can_link_filtered), (gst_pad_can_link),
8136 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8137 (gst_object_default_error), (gst_bin_add_many),
8138 (gst_bin_remove_many), (gst_element_populate_std_props),
8139 (gst_element_class_install_std_props), (gst_buffer_merge),
8140 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8141 (link_fold_func), (gst_pad_proxy_setcaps):
8143 * gst/gstvalue.c: (gst_value_deserialize_string):
8144 * gst/parse/grammar.y:
8145 * gst/schedulers/gstbasicscheduler.c:
8146 (gst_basic_scheduler_cothreaded_chain),
8147 (gst_basic_scheduler_chain_recursive_add),
8148 (gst_basic_scheduler_pad_link):
8149 * gst/schedulers/gstoptimalscheduler.c:
8150 (get_group_schedule_function),
8151 (gst_opt_scheduler_state_transition),
8152 (gst_opt_scheduler_add_element), (element_get_reachables_func):
8153 * libs/gst/bytestream/bytestream.c:
8154 * libs/gst/dataprotocol/dataprotocol.c:
8155 (gst_dp_header_from_buffer):
8158 * tests/threadstate/threadstate2.c: (eos):
8159 * tools/gst-compprep.c: (main):
8160 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8161 (print_pad_info), (print_children_info):
8162 * tools/gst-launch.c: (idle_func), (main):
8163 * tools/gst-md5sum.c: (idle_func), (main):
8164 * tools/gst-xmlinspect.c: (print_element_info):
8165 First THREADED backport attempt, focusing on adding locks and
8166 making sure the API is threadsafe. Needs more work. More docs
8169 2005-02-24 Andy Wingo <wingo@pobox.com>
8171 * tests/bench-complexity.scm:
8172 * tests/complexity.gnuplot: New files, good for running complexity
8175 * tests/Makefile.am:
8176 * tests/complexity.c: New test, sets up N elements, at each level
8177 teeing into M streams per element. Eeeenteresting.
8179 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8180 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8181 running bench-mass_elements.scm.
8183 * tests/bench-mass_elements.scm: New script, runs mass_elements
8184 for various numbers of identities, outputting the results to a
8185 file. Requires guile 1.6. Just for testing.
8187 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
8189 * gst/schedulers/fairscheduler.c:
8190 compile with debug disabled
8192 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
8195 hunting season on 0.9 is now OPEN