1 2005-11-10 Wim Taymans <wim@fluendo.com>
3 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4 * gst/base/gstbasesrc.c: (gst_base_src_wait),
5 (gst_base_src_do_sync), (gst_base_src_get_range):
6 Implement clock sync in base class.
8 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
10 patch by: Tim-Philipp Müller <tim at centricular dot net>
12 * gst/gststructure.c: (gst_structure_parse_field),
13 (gst_structure_from_string):
14 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15 so that gst_parse_launch() can deal with spaces in filtered link
17 * check/gst/capslist.h:
18 * check/gst/gststructure.c: (GST_START_TEST):
19 add unit tests for this change
21 2005-11-10 Wim Taymans <wim@fluendo.com>
23 * docs/gst/gstreamer-sections.txt:
26 Fix docs, move some STATE macros to private.
28 2005-11-10 Wim Taymans <wim@fluendo.com>
30 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
31 Added check for bug #317341
35 Some more spiffifying.
37 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
38 Call peer linkfunction if we are a source pad. Totally fixes
42 Update docs, source pads should call the peer linkfunction
43 so they can atomically perform the pad link.
45 2005-11-09 Wim Taymans <wim@fluendo.com>
49 Uber-spiffy-spiffify some more.
51 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
53 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
54 * gst/elements/gstfilesink.c: (gst_file_sink_init):
55 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
56 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
57 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
58 * gst/gstpad.c: (gst_pad_init):
59 Use GST_DEBUG_FUNCPTR() more extensively.
61 2005-11-09 Wim Taymans <wim@fluendo.com>
63 * gst/gstobject.c: (gst_object_class_init):
67 2005-11-09 Edward Hervey <edward@fluendo.com>
69 * gst/gsttypefindfactory.c:
72 2005-11-09 Edward Hervey <edward@fluendo.com>
74 * gst/base/gsttypefindhelper.c:
79 2005-11-09 Wim Taymans <wim@fluendo.com>
88 2005-11-09 Wim Taymans <wim@fluendo.com>
94 2005-11-09 Wim Taymans <wim@fluendo.com>
96 * docs/gst/gstreamer-sections.txt:
97 Moved the message async delivery private lock and cond
98 to the private section.
104 2005-11-09 Edward Hervey <edward@fluendo.com>
106 * docs/gst/gstreamer-sections.txt:
109 Document GstURIHandler
111 2005-11-09 Wim Taymans <wim@fluendo.com>
113 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
114 (gst_iterator_find_custom):
118 2005-11-09 Wim Taymans <wim@fluendo.com>
121 Document another field.
123 * gst/gststructure.c:
124 * gst/gststructure.h:
127 2005-11-09 Wim Taymans <wim@fluendo.com>
132 2005-11-09 Wim Taymans <wim@fluendo.com>
134 * docs/gst/gstreamer-sections.txt:
135 Added some new macros.
142 2005-11-09 Wim Taymans <wim@fluendo.com>
144 * docs/design/part-TODO.txt:
145 Some more items for the TODO
151 2005-11-09 Andy Wingo <wingo@pobox.com>
153 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
154 to work on something else now tho...
156 * gst/base/gstadapter.c: More adapter docs.
158 * gst/elements/gstfilesink.c (gst_file_sink_start)
159 (gst_file_sink_stop): New functions, replace the state change
161 (gst_file_sink_class_init): Hook up the start and stop functions.
162 (gst_file_sink_base_init): Don't set the state change handler any
163 more. It was a bit ugly too, being set from here...
164 (gst_file_sink_get_property, gst_file_sink_set_property):
166 (gst_file_sink_set_location): More robust check that doesn't call
169 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
171 * gst/base/gstbasetransform.c: (gst_base_transform_event):
172 Hold STREAM_LOCK while pushing newsegment or tag events as well.
174 2005-11-08 Wim Taymans <wim@fluendo.com>
176 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
177 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
178 (gst_base_sink_chain), (gst_base_sink_change_state):
179 * gst/base/gstbasesink.h:
180 * gst/base/gstbasesrc.h:
183 Avoid excessive typechecking in macros.
185 * gst/gstminiobject.c: (gst_mini_object_get_type),
186 (gst_mini_object_init), (gst_mini_object_new),
187 (gst_mini_object_free):
188 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
189 (gst_object_finalize):
190 Remove cruft code, optimize alloc_trace.
192 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
194 * docs/faq/gst-uninstalled:
195 fix up PS1 for systems that try to reset it
197 2005-11-07 Wim Taymans <wim@fluendo.com>
199 * gst/base/gstbasesrc.c: (gst_base_src_init),
200 (gst_base_src_get_range):
201 Set the segment_end to -1 initially. Fixed typefind.
203 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
205 * gst/base/gstadapter.c:
206 Debug category should be 'adapter', not 'GstAdapter'.
208 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
209 (gst_collectpads_class_init), (gst_collectpads_init),
210 (gst_collectpads_peek), (gst_collectpads_pop),
211 (gst_collectpads_event), (gst_collectpads_chain):
212 Add debug category and some debugging output. Use boilerplate
213 macros. Remove some extraneous words from docs.
215 2005-11-05 Andy Wingo <wingo@pobox.com>
217 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
220 2005-11-04 Stefan Kost <ensonic@users.sf.net>
222 * docs/gst/gstreamer-sections.txt:
225 * gst/gstminiobject.h:
230 2005-11-04 Wim Taymans <wim@fluendo.com>
232 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
233 Small update to stop at the configured segment_end
236 2005-11-04 Stefan Kost <ensonic@users.sf.net>
242 2005-11-04 Edward Hervey <edward@fluendo.com>
244 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
245 Check if we are doing a segment seek and have arrived at the
248 2005-11-04 Wim Taymans <wim@fluendo.com>
250 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
251 Don't leak a mutex unlock in case of an error.
256 2005-11-04 Wim Taymans <wim@fluendo.com>
258 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
260 Get the context to wake up only once.
262 2005-11-03 Wim Taymans <wim@fluendo.com>
264 * check/states/sinks.c: (GST_START_TEST):
265 Uncomment fixed check.
267 * docs/design/part-TODO.txt:
270 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
271 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
272 (gst_base_sink_get_position):
273 If we are going to PLAYING, post the right pending state
274 when we post the intermediate paused message.
276 * gst/gstelement.c: (gst_element_continue_state),
277 (gst_element_set_state_func), (gst_element_change_state):
278 Don't post state changes that were between the same state
281 2005-11-03 Stefan Kost <ensonic@users.sf.net>
283 * docs/gst/gstreamer-sections.txt:
286 * gst/gstminiobject.h:
289 more docs and doc style fixes
291 2005-11-03 Stefan Kost <ensonic@users.sf.net>
293 * docs/gst/gstreamer-sections.txt:
295 * gst/gstminiobject.c:
298 2005-11-03 Andy Wingo <wingo@pobox.com>
300 * check/states/sinks.c (test_livesrc_sink): Add checks that the
301 state-changed messages actually have the right order and the right
304 2005-11-03 Wim Taymans <wim@fluendo.com>
306 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
307 Added some more checks. Specifically the case where NO_PREROLL
308 elements are in the pipeline.
310 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
311 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
312 (gst_base_sink_get_position):
313 Post READY->PAUSED state change messages too.
314 Fix bug where VOID was posted as pending state...
316 * gst/gstbin.c: (gst_bin_recalc_state):
317 use _element_continue_state() to continue the state change.
319 * gst/gstelement.c: (gst_element_continue_state),
320 (gst_element_commit_state), (gst_element_set_state_func),
321 (gst_element_change_state), (gst_element_change_state_func):
322 Lots of state change cleanups, assign the STATE_RETURN in
323 a new continue_state() function that also propagates the
324 last return value from a state change to the app.
325 Update some debug statements with proper category.
327 2005-11-03 Wim Taymans <wim@fluendo.com>
329 * docs/design/part-events.txt:
330 * docs/design/part-gstpipeline.txt:
331 * docs/design/part-messages.txt:
332 * docs/design/part-overview.txt:
333 * docs/design/part-seeking.txt:
334 * docs/design/part-states.txt:
335 * docs/design/part-trickmodes.txt:
336 * docs/manual/advanced-position.xml:
340 People think !! is ugly, this looks better.
342 * gst/gstpad.c: (gst_pad_set_blocked_async):
343 Remove !! since it's fixed elsewhere now.
345 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
347 * gst/gstminiobject.h:
349 Add !! to _FLAG_IS_SET macros to make the result boolean.
351 2005-11-03 Edward Hervey <edward@fluendo.com>
353 * gst/gstpad.c: (gst_pad_set_blocked_async):
354 comparing a flag and a gboolean rarely returns coherent results...
355 Added two characters (!!) to make that work correctly.
357 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
359 * gst/gstbus.c: (gst_bus_class_init):
362 * gst/gstqueue.c: (gst_queue_loop):
363 Don't assume a miniobject that isn't a buffer is an
364 event (it could be that there is a refcounting
365 problem somewhere and the pointer is stale and
366 refers to an already destroyed miniobject).
368 2005-11-03 Julien MOUTTE <julien@moutte.net>
370 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
372 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
374 * docs/manual/advanced-position.xml:
375 Update seek example and explanations to current 0.9 API.
377 * gst/elements/gsttypefindelement.c:
378 (gst_type_find_element_activate):
379 Remove FIXME comment now that the found caps
382 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
384 * gst/gstregistryxml.c: (load_feature):
385 Add another GST_STR_NULL instance
387 2005-11-02 Edward Hervey <edward@fluendo.com>
389 * gst/gstpad.c: (handle_pad_block):
390 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
392 2005-11-02 Wim Taymans <wim@fluendo.com>
397 * gst/gstelement.c: (gst_element_commit_state):
401 Mention that the returned element is reffed in the docs.
403 2005-11-02 Wim Taymans <wim@fluendo.com>
405 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
406 (gst_pad_push), (gst_pad_push_event):
407 Unlock blocked pads when they are flushed.
409 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
412 * docs/gst/gstreamer-sections.txt:
415 * gst/gstregistry.c: (gst_registry_scan_path_level):
416 fix for a nasty little missed situation where an installed plug-in
417 which was in the cache did not get overridden by an uninstalled one
418 which was earlier in the plugin path because the newly created plugin
419 for the uninstalled one (not in the registry) didn't get its
420 ->registered set to TRUE
422 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
424 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
425 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
426 (gst_collectpads_is_active), (gst_collectpads_collect),
427 (gst_collectpads_collect_range), (gst_collectpads_start),
428 (gst_collectpads_stop), (gst_collectpads_peek),
429 (gst_collectpads_pop), (gst_collectpads_available),
430 (gst_collectpads_read), (gst_collectpads_flush):
431 Guard public API with assertions.
434 Fix docs for gst_pad_set_link_function().
436 2005-11-02 Johan Dahlin <johan@gnome.org>
438 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
439 Unref found_caps after we used it.
441 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
443 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
444 Don't try to ref NULL.
446 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
448 * win32/common/config.h.in:
449 provide a GST_FUNCTION that just gives a string for now
451 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
453 * win32/common/gstenumtypes.c: (register_gst_object_flags),
454 (gst_object_flags_get_type), (register_gst_bin_flags),
455 (gst_bin_flags_get_type), (register_gst_buffer_flag),
456 (gst_buffer_flag_get_type), (register_gst_bus_flags),
457 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
458 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
459 (gst_clock_return_get_type), (register_gst_clock_entry_type),
460 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
461 (gst_clock_flags_get_type), (register_gst_state),
462 (gst_state_get_type), (register_gst_state_change_return),
463 (gst_state_change_return_get_type), (register_gst_state_change),
464 (gst_state_change_get_type), (register_gst_element_flags),
465 (gst_element_flags_get_type), (register_gst_core_error),
466 (gst_core_error_get_type), (register_gst_library_error),
467 (gst_library_error_get_type), (register_gst_resource_error),
468 (gst_resource_error_get_type), (register_gst_stream_error),
469 (gst_stream_error_get_type), (register_gst_event_type),
470 (gst_event_type_get_type), (register_gst_seek_type),
471 (gst_seek_type_get_type), (register_gst_seek_flags),
472 (gst_seek_flags_get_type), (register_gst_format),
473 (gst_format_get_type), (register_gst_index_certainty),
474 (gst_index_certainty_get_type), (register_gst_index_entry_type),
475 (gst_index_entry_type_get_type),
476 (register_gst_index_lookup_method),
477 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
478 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
479 (gst_index_resolver_method_get_type), (register_gst_index_flags),
480 (gst_index_flags_get_type), (register_gst_debug_level),
481 (gst_debug_level_get_type), (register_gst_debug_color_flags),
482 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
483 (gst_iterator_result_get_type), (register_gst_iterator_item),
484 (gst_iterator_item_get_type), (register_gst_message_type),
485 (gst_message_type_get_type), (register_gst_mini_object_flags),
486 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
487 (gst_pad_link_return_get_type), (register_gst_flow_return),
488 (gst_flow_return_get_type), (register_gst_activate_mode),
489 (gst_activate_mode_get_type), (register_gst_pad_direction),
490 (gst_pad_direction_get_type), (register_gst_pad_flags),
491 (gst_pad_flags_get_type), (register_gst_pad_presence),
492 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
493 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
494 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
495 (gst_plugin_error_get_type), (register_gst_plugin_flags),
496 (gst_plugin_flags_get_type), (register_gst_rank),
497 (gst_rank_get_type), (register_gst_query_type),
498 (gst_query_type_get_type), (register_gst_tag_merge_mode),
499 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
500 (gst_tag_flag_get_type), (register_gst_task_state),
501 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
502 (gst_alloc_trace_flags_get_type),
503 (register_gst_type_find_probability),
504 (gst_type_find_probability_get_type), (register_gst_uri_type),
505 (gst_uri_type_get_type), (register_gst_parse_error),
506 (gst_parse_error_get_type):
507 * win32/common/gstversion.h:
510 2005-11-01 Luca Ognibene <luogni@tin.it>
513 fix docs. popt is dead, long live GOption.
515 2005-10-31 Wim Taymans <wim@fluendo.com>
520 2005-10-31 Andy Wingo <wingo@pobox.com>
524 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
526 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
527 need to serialize property notifications on GLib 2.8. GLib 2.6 has
528 the possibility of deadlocks here if code calling notify() or
529 set() has a lock that can be taken in another notify handler (ABBA
530 with class lock and e.g. python GIL state lock).
532 2005-10-28 Julien MOUTTE <julien@moutte.net>
534 * gst/gstbus.c: Doc updates.
536 2005-10-28 Wim Taymans <wim@fluendo.com>
538 * docs/design/part-TODO.txt:
540 * gst/gstsystemclock.c:
541 * gst/gstsystemclock.h:
544 2005-10-28 Edward Hervey <edward@fluendo.com>
546 * docs/gst/gstreamer-docs.sgml:
547 * docs/gst/gstreamer-sections.txt:
548 the GstURIType documentation page is private, it only defines GstURIType
549 which should be defined in the GstURIHandler page
551 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
553 * gst/gstbin.c: (gst_bin_class_init):
556 Documentation updates.
558 2005-10-28 Wim Taymans <wim@fluendo.com>
560 * docs/gst/gstreamer-sections.txt:
563 Documented the clocks.
565 2005-10-28 Stefan Kost <ensonic@users.sf.net>
567 * docs/gst/gstreamer-sections.txt:
568 move some macros to private sections
569 * gst/gstminiobject.c:
570 * gst/gstminiobject.h:
571 add descriptions provided by ds and some more
573 mark macro as to be removed
575 2005-10-28 Wim Taymans <wim@fluendo.com>
577 * docs/design/part-TODO.txt:
580 * gst/gstiterator.c: (gst_iterator_fold),
581 (gst_iterator_find_custom):
585 2005-10-28 Wim Taymans <wim@fluendo.com>
587 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
588 (gst_base_transform_init):
591 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
592 An EOS event marks the queue as completely filled.
594 2005-10-27 Wim Taymans <wim@fluendo.com>
596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
597 (gst_base_sink_do_sync), (gst_base_sink_get_position):
600 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
601 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
602 (gst_base_transform_event), (gst_base_transform_getrange),
603 (gst_base_transform_chain):
604 * gst/base/gstbasetransform.h:
606 Protect transform and concurrent buffer alloc with a new lock.
607 Try not to break ABI/API.
609 2005-10-27 Wim Taymans <wim@fluendo.com>
611 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
612 (gst_base_src_init), (gst_base_src_query),
613 (gst_base_src_default_newsegment),
614 (gst_base_src_configure_segment), (gst_base_src_do_seek),
615 (gst_base_src_send_event), (gst_base_src_event_handler),
616 (gst_base_src_pad_get_range), (gst_base_src_loop),
617 (gst_base_src_unlock), (gst_base_src_default_negotiate),
618 (gst_base_src_start), (gst_base_src_deactivate),
619 (gst_base_src_activate_push), (gst_base_src_change_state):
620 Move some stuff around and cleanup things.
622 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
624 * gst/base/gstbasesrc.c: (gst_base_src_query):
625 Add missing break statements.
627 2005-10-27 Wim Taymans <wim@fluendo.com>
629 * check/gst/gstbin.c: (GST_START_TEST):
630 An extra refcount is taken in basesrc.
632 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
633 (gst_base_src_get_range), (gst_base_src_pad_get_range),
635 Small cleanups, check for flushing after being unlocked from the
636 LIVE_LOCK. take refcounts correctly (not yet everywhere).
637 Don't send out EOS when going to READY.
639 2005-10-27 Wim Taymans <wim@fluendo.com>
641 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
642 (gst_base_sink_get_position):
645 * gst/gstbin.c: (message_check), (bin_replace_message),
646 (bin_remove_messages), (is_eos), (gst_bin_add_func),
647 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
648 (bin_query_duration_init), (bin_query_duration_fold),
649 (bin_query_duration_done), (bin_query_generic_fold),
651 * tools/gst-launch.c: (main):
654 2005-10-26 Stefan Kost <ensonic@users.sf.net>
656 * examples/controller/audio-example.c: (main):
657 * examples/queue/queue.c: (event_loop):
658 * gst/base/gstbasetransform.h:
659 * gst/gstelement.c: (gst_element_send_event):
661 * gst/gstpad.c: (gst_pad_send_event):
664 changing log priority in error situations
666 2005-10-25 Wim Taymans <wim@fluendo.com>
668 * gst/gstbin.c: (message_check), (bin_replace_message),
669 (bin_remove_messages), (is_eos), (gst_bin_add_func),
670 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
671 (bin_query_duration_init), (bin_query_duration_fold),
672 (bin_query_duration_done), (bin_query_generic_fold),
674 Some doc and debug updates.
675 Cache previously requested query DURATION for speed. invalidate
676 cached duration if element posts a DURATION message.
678 2005-10-25 Wim Taymans <wim@fluendo.com>
680 * docs/design/part-TODO.txt:
683 * gst/gstbin.c: (message_check), (bin_replace_message),
684 (bin_remove_messages), (is_eos), (gst_bin_add_func),
685 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
686 (bin_query_duration_init), (bin_query_duration_fold),
687 (bin_query_duration_done), (bin_query_generic_fold),
689 Handle SEGMENT_START/DONE messages correctly.
690 More evolved query algorithm that handles duration queries
693 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
694 (gst_element_get_state_func), (gst_element_abort_state),
695 (gst_element_commit_state), (gst_element_lost_state):
701 2005-10-25 Wim Taymans <wim@fluendo.com>
703 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
704 Don't use invalid stream_time.
706 * gst/gstevent.c: (gst_event_new_newsegment):
707 stream_time in newsegment cannot be undefined.
709 2005-10-24 Wim Taymans <wim@fluendo.com>
714 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
716 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
718 2005-10-24 Stefan Kost <ensonic@users.sf.net>
720 * docs/libs/tmpl/gstdparam.sgml:
721 * docs/libs/tmpl/gstdplinint.sgml:
722 * docs/libs/tmpl/gstdpman.sgml:
723 * docs/libs/tmpl/gstdpsmooth.sgml:
724 * docs/libs/tmpl/gstunitconvert.sgml:
727 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
732 === release 0.9.4 ===
734 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
737 releasing 0.9.4, "Tyrannosaurus Rex"
739 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
741 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
742 (gst_file_sink_get_current_offset):
743 Use fseeko() and ftello() if available. When falling back on
744 lseek() to get the current offset, fflush() first to make sure
745 everything is up-to-date and we get the right offset.
747 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
749 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
750 * gst/base/gstbasesrc.c: (gst_base_src_loop):
751 * gst/gsterror.c: (_gst_stream_errors_init):
753 * gst/gstqueue.c: (gst_queue_loop):
755 remove prematurely added error category and clean up the instances
757 2005-10-21 Wim Taymans <wim@fluendo.com>
759 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
760 (gst_base_sink_get_position), (gst_base_sink_query),
761 (gst_base_sink_change_state):
762 Simply set the right flag when going to playing, that's all
763 we need to do instead of calling a function inside the object
764 lock (that could take the lock as well and deadlock)
766 2005-10-21 Wim Taymans <wim@fluendo.com>
768 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
770 Don't warn, the peer element knows what to do best when
771 the seek failed, it might try something else.
773 2005-10-21 Wim Taymans <wim@fluendo.com>
775 * gst/base/gstbasesrc.c: (gst_base_src_init),
776 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
779 2005-10-21 Wim Taymans <wim@fluendo.com>
781 * docs/design/part-segments.txt:
784 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
785 Correctly set caps, even on the subbufer.
787 2005-10-21 Wim Taymans <wim@fluendo.com>
789 * docs/gst/gstreamer-docs.sgml:
790 * docs/gst/gstreamer-sections.txt:
797 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
801 And 2% more doc coverage.
803 2005-10-21 Andy Wingo <wingo@pobox.com>
805 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
808 2005-10-20 Wim Taymans <wim@fluendo.com>
810 * gst/gsterror.c: (gst_error_get_message):
813 * gst/gststructure.c:
818 2005-10-20 Wim Taymans <wim@fluendo.com>
823 Another 1% more coverage.
825 2005-10-20 Wim Taymans <wim@fluendo.com>
827 * docs/gst/gstreamer-sections.txt:
828 * gst/gstelement.c: (gst_element_get_state_func),
829 (gst_element_abort_state), (gst_element_commit_state),
830 (gst_element_lost_state):
832 * gst/gstquery.c: (gst_query_set_position),
833 (gst_query_parse_position), (gst_query_set_duration),
834 (gst_query_parse_duration), (gst_query_new_convert):
836 Yay! 1% more docs coverage.
838 2005-10-20 Wim Taymans <wim@fluendo.com>
841 * gst/gstquery.c: (gst_query_set_position),
842 (gst_query_parse_position), (gst_query_set_duration),
843 (gst_query_parse_duration), (gst_query_new_convert):
845 * gst/gstutils.c: (gst_element_query_convert):
847 Docs and consistency fixes.
849 2005-10-20 Wim Taymans <wim@fluendo.com>
855 2005-10-20 Wim Taymans <wim@fluendo.com>
857 * gst/gstbin.c: (message_check), (bin_replace_message),
858 (bin_remove_messages), (is_eos), (gst_bin_add_func),
859 (update_degree), (gst_bin_sort_iterator_next),
860 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
861 Reworked the message handling a bit, cache the messages instead of
862 only the senders. alows us to do more in the future.
864 2005-10-20 Wim Taymans <wim@fluendo.com>
866 * docs/design/part-TODO.txt:
869 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
870 (gst_base_sink_query):
871 Don't use clock time to report position when in EOS.
873 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
875 * tools/gst-inspect.c: (print_interfaces),
876 (print_element_properties_info), (print_element_info):
877 Fix interface output with gst-inspect -a; don't print
878 newlines after double/float properties.
880 2005-10-20 Wim Taymans <wim@fluendo.com>
882 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
883 (gst_base_sink_query):
884 Speed up current position calculation.
886 * gst/base/gstbasesrc.c: (gst_base_src_query),
887 (gst_base_src_default_newsegment):
888 Correctly set stream position in newsegment.
890 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
891 (update_degree), (gst_bin_sort_iterator_next),
892 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
893 * gst/gstmessage.c: (gst_message_new_custom):
894 Clean up debugging info
896 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
897 (gst_queue_loop), (gst_queue_handle_src_query):
900 2005-10-19 Wim Taymans <wim@fluendo.com>
902 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
903 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
904 Fix query handling again.
906 2005-10-19 Wim Taymans <wim@fluendo.com>
908 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
909 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
910 * gst/base/gstbasesrc.c: (gst_base_src_query):
911 * gst/elements/gstfilesink.c: (gst_file_sink_query):
912 * gst/elements/gsttypefindelement.c:
913 (gst_type_find_handle_src_query), (find_element_get_length),
914 (gst_type_find_element_activate):
917 * gst/gstquery.c: (gst_query_new_position),
918 (gst_query_set_position), (gst_query_parse_position),
919 (gst_query_new_duration), (gst_query_set_duration),
920 (gst_query_parse_duration), (gst_query_set_segment),
921 (gst_query_parse_segment):
923 Bundling query position/duration is not a good idea since duration
924 does not change much and we don't want to recalculate it for every
925 position query, so they are separated again..
926 Base value in segment query is not needed.
928 * gst/gstqueue.c: (gst_queue_handle_src_query):
929 * gst/gstutils.c: (gst_element_query_position),
930 (gst_element_query_duration), (gst_pad_query_position),
931 (gst_pad_query_duration):
933 Updates for query API change.
934 Added some docs here and there.
936 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
938 * check/gst/gstbin.c: (GST_START_TEST):
939 * check/gst/gstghostpad.c: (GST_START_TEST):
940 * check/pipelines/cleanup.c: (GST_START_TEST):
941 wait on thread to die so we can check refcount correctly
943 2005-10-18 Wim Taymans <wim@fluendo.com>
945 * check/pipelines/stress.c: (GST_START_TEST):
946 Make check a little more time consuming.
948 2005-10-18 Wim Taymans <wim@fluendo.com>
951 * check/pipelines/stress.c: (GST_START_TEST),
952 (simple_launch_lines_suite), (main):
953 Small state change torture test.
955 * docs/design/part-states.txt:
956 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
957 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
958 (gst_base_sink_change_state):
959 Never take state lock from streaming thread, clean up ugly
960 hacks. Unfortunatly core does not yet support nice ways to
963 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
965 Start state recalc if a STATE_DIRTY message is posted, but only
968 * gst/gstelement.c: (gst_element_sync_state_with_parent),
969 (gst_element_get_state_func), (gst_element_abort_state),
970 (gst_element_commit_state), (gst_element_lost_state),
971 (gst_element_set_state_func), (gst_element_change_state):
973 State variables are now protected with the LOCK, the state
974 lock is only used to serialize _set_state().
976 2005-10-18 Wim Taymans <wim@fluendo.com>
978 * check/gst/gstbin.c: (GST_START_TEST):
979 * check/gst/gstmessage.c: (GST_START_TEST):
980 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
981 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
983 * gst/gstelement.c: (gst_element_abort_state),
984 (gst_element_commit_state), (gst_element_lost_state):
985 * gst/gstmessage.c: (gst_message_new_state_changed),
986 (gst_message_new_state_dirty), (gst_message_new_segment_start),
987 (gst_message_new_segment_done), (gst_message_new_duration),
988 (gst_message_parse_state_changed),
989 (gst_message_parse_segment_start),
990 (gst_message_parse_segment_done), (gst_message_parse_duration):
992 * tools/gst-launch.c: (event_loop):
993 Seriously, this is better than a previous commit as we only need
994 to notify the fact that an element changed state in a streaming
995 thread, marking the state of the parents dirty, hence the
996 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
999 2005-10-18 Wim Taymans <wim@fluendo.com>
1001 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1002 (gst_bin_recalc_func):
1003 * gst/gstelement.c: (gst_element_set_clock),
1004 (gst_element_abort_state), (gst_element_lost_state):
1005 Cleanups, prepare for state change fixes.
1007 2005-10-18 Wim Taymans <wim@fluendo.com>
1010 * gst/gstelement.c: (gst_element_class_init),
1011 (gst_element_set_state), (gst_element_set_state_func):
1013 Pending ABI changes.
1014 GThreadPool in GstBinClass to monitor async state changes.
1015 state_cookie in GstElement to detect concurrent gst/set state.
1016 set_state is now virtual too in case a very complicated element
1017 has to be constructed.
1019 2005-10-18 Wim Taymans <wim@fluendo.com>
1021 * check/gst/gstbin.c: (GST_START_TEST):
1022 * check/gst/gstmessage.c: (GST_START_TEST):
1023 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1024 * gst/gstbin.c: (bin_bus_handler):
1025 * gst/gstelement.c: (gst_element_commit_state),
1026 (gst_element_lost_state):
1027 * gst/gstmessage.c: (gst_message_new_state_changed),
1028 (gst_message_new_segment_start), (gst_message_new_segment_done),
1029 (gst_message_new_duration), (gst_message_parse_state_changed),
1030 (gst_message_parse_segment_start),
1031 (gst_message_parse_segment_done), (gst_message_parse_duration):
1033 * tools/gst-launch.c: (event_loop):
1034 Make messages future proof.
1035 state-change gets a flag if it was a message comming from the
1037 segment-start/stop can also be specified in other formats.
1038 A message to notify an app that a pipeline changed playback
1040 Also fix a GstMessage leak in -launch
1042 2005-10-18 Andy Wingo <wingo@pobox.com>
1044 * gst/gstelement.c (gst_element_dispose): More helpful message.
1046 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1048 * gst/gstregistry.c: (gst_registry_scan_path_level):
1049 unref a plug-in we get that was already initialized
1051 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1053 * docs/gst/gstreamer-sections.txt:
1054 * docs/libs/gstreamer-libs-sections.txt:
1059 2005-10-17 Andy Wingo <wingo@pobox.com>
1061 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1064 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1066 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1068 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1069 (gst_element_get_state_func): Better debug message.
1070 (gst_element_commit_state): s/INFO/DEBUG/.
1071 (gst_element_lost_state, gst_element_change_state):
1073 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1074 (gst_message_new_custom): s/INFO/LOG/.
1076 2005-10-17 Michael Smith <msmith@fluendo.com>
1078 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1079 Check if end time is valid using end time, not start time.
1081 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1083 * check/gst-libs/controller.c: (GST_START_TEST),
1084 (gst_controller_suite):
1085 * libs/gst/controller/gstcontroller.c:
1086 (gst_controlled_property_set_interpolation_mode):
1087 * libs/gst/controller/gstcontroller.h:
1088 * libs/gst/controller/gstinterpolation.c:
1089 * testsuite/controller/.cvsignore:
1090 * testsuite/controller/Makefile.am:
1091 * testsuite/controller/interpolator.c:
1092 merge controller testsuites
1094 remove mem-chunk from docs
1096 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1098 * gst/gstmemchunk.c:
1099 * gst/gstmemchunk.h:
1100 * gst/gsttrashstack.c:
1101 * gst/gsttrashstack.h:
1102 out. get out. you're fired. to the Attic !
1104 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1106 * gst/gstcaps.c: (gst_caps_intersect):
1107 fix signedness issues in a (hopefully) correct way
1108 * gst/gstelement.c: (gst_element_pads_activate):
1110 * gst/gstobject.c: (gst_object_set_parent):
1113 2005-10-17 Julien MOUTTE <julien@moutte.net>
1115 * gst/gstvalue.h: Fix prototypes.
1117 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1119 * docs/gst/gstreamer-sections.txt:
1120 * gst/gst.c: (gst_version_string):
1122 * gst/gstversion.h.in:
1123 * win32/common/libgstreamer.def:
1124 add gst_version_string ()
1126 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1130 * gst/gst.c: (init_post):
1131 * win32/common/config.h.in:
1133 * gst/gstcaps.c: (gst_caps_intersect):
1134 use gint64, the range could be bigger than a guint
1136 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1139 document potential problem in 2038
1141 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1143 * gst/gstcaps.c: (gst_caps_intersect):
1144 Fix guint j diving under 0
1146 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1149 * win32/common/config.h:
1150 * win32/common/config.h.in:
1151 check for process.h, declares getpid() on Windows
1153 include process.h if we have it
1154 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1155 * gst/gstmemchunk.h:
1156 fix signedness issues
1157 * win32/common/libgstreamer.def:
1160 2005-10-16 Julien MOUTTE <julien@moutte.net>
1162 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1163 fix. Because of unsigned ints, caps intersection was going nuts and
1164 trying to access structures with G_MAXUINT index. That fixes
1165 videotestsrc ! ffmpegcolorspace ! fakesink
1166 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1169 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1172 use the gettext macro
1173 * gst/elements/gstelements.c:
1175 * gst/indexers/gstindexers.c:
1176 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1177 * win32/common/config.h:
1179 * win32/common/config.h.in:
1180 add the template to generate config.h
1181 * win32/common/gstenumtypes.c:
1182 * win32/common/gstversion.h:
1185 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1187 * gst/gst.c: (gst_version):
1188 * gst/gstversion.h.in:
1191 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1194 Oops, add missing closing bracket.
1196 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1199 use common m4's for argument checking
1201 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1203 * docs/gst/gstreamer-sections.txt:
1205 Add GST_EVENT_TYPE_NAME() macro.
1207 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1210 * gst/gstpluginfeature.c:
1212 privatize more symbols
1214 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1217 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1218 everything that uses GStreamer API should have the includes
1220 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1222 * docs/gst/gstreamer-sections.txt:
1223 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1225 give each value a _get_type, removes the DATA exports
1227 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1231 remove _gst_registry_auto_load, not used anymore
1232 * gst/gstbin.c: (gst_bin_get_type):
1234 * gst/gstelement.c: (gst_element_get_type):
1236 * gst/gstobject.c: (gst_object_get_type):
1238 * gst/gstpad.c: (gst_pad_get_type):
1240 make _get_type functions similar, fixes data export from library
1242 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1245 correctly make conditionals
1246 * gst/elements/Makefile.am:
1247 * gst/elements/gstelements.c:
1248 fix typo causing fdsrc not to build
1250 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1252 * testsuite/Makefile.am:
1253 * testsuite/bytestream/.cvsignore:
1254 * testsuite/bytestream/Makefile.am:
1255 * testsuite/bytestream/filepadsink.c:
1256 * testsuite/bytestream/gstbstest.c:
1257 * testsuite/bytestream/test1.c:
1258 * testsuite/bytestream/testfile1:
1259 * testsuite/caps/normalisation.c:
1260 * testsuite/caps/random.c: (main):
1261 * testsuite/cleanup/.cvsignore:
1262 * testsuite/cleanup/Makefile.am:
1263 * testsuite/cleanup/cleanup1.c:
1264 * testsuite/cleanup/cleanup2.c:
1265 * testsuite/cleanup/cleanup3.c:
1266 * testsuite/cleanup/cleanup4.c:
1267 * testsuite/cleanup/cleanup5.c:
1268 * testsuite/controller/interpolator.c:
1269 * testsuite/debug/printf_extension.c: (main):
1270 * testsuite/elements/tee.c:
1271 * testsuite/negotiation/.cvsignore:
1272 * testsuite/negotiation/Makefile.am:
1273 * testsuite/negotiation/pad_link.c:
1274 * testsuite/pad/Makefile.am:
1275 * testsuite/pad/chainnopull.c:
1276 * testsuite/pad/getnopush.c:
1277 * testsuite/pad/link.c:
1278 * testsuite/refcounting/sched.c: (create_pipeline):
1279 * testsuite/registry/Makefile.am:
1280 * testsuite/registry/gst-print-formats.c:
1281 * testsuite/schedulers/.cvsignore:
1282 * testsuite/schedulers/142183-2.c:
1283 * testsuite/schedulers/142183.c:
1284 * testsuite/schedulers/143777-2.c:
1285 * testsuite/schedulers/143777.c:
1286 * testsuite/schedulers/147713.c:
1287 * testsuite/schedulers/147819.c:
1288 * testsuite/schedulers/147894-2.c:
1289 * testsuite/schedulers/147894.c:
1290 * testsuite/schedulers/Makefile.am:
1291 * testsuite/schedulers/group_link.c:
1292 * testsuite/schedulers/queue_link.c:
1293 * testsuite/schedulers/relink.c:
1294 * testsuite/schedulers/unlink.c:
1295 * testsuite/schedulers/unref.c:
1296 * testsuite/schedulers/useless_iteration.c:
1297 * testsuite/states/bin.c:
1298 clean out/remove some stuff from the testsuite directories
1300 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1303 check for some headers
1304 * gst/elements/Makefile.am:
1305 * gst/elements/gstelements.c:
1306 don't compile fdsrc without sys/socket.h
1307 * gst/indexers/Makefile.am:
1308 * gst/indexers/gstindexers.c: (plugin_init):
1309 don't compile fileindex without mmap
1311 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1318 * check/Makefile.am:
1319 * docs/gst/Makefile.am:
1320 * examples/helloworld/Makefile.am:
1322 * gst/base/Makefile.am:
1323 * gst/check/Makefile.am:
1324 * gst/elements/Makefile.am:
1325 * gst/indexers/Makefile.am:
1326 * gst/parse/Makefile.am:
1327 * libs/gst/controller/Makefile.am:
1328 * libs/gst/dataprotocol/Makefile.am:
1329 * examples/helloworld/helloworld.c: (event_loop):
1330 compile fixes, though it's not being compiled currently
1332 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1334 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1335 Add some simple tests for the new taglist date API.
1337 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1339 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1340 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1341 Beautify 'last-message' output: print 'none' for buffer timestamps
1342 and durations if none is set; improve alignment with next messages.
1344 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1346 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1347 * gst/gstpluginfeature.h:
1348 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1349 * gst/gstregistry.h:
1350 * docs/gst/gstreamer-sections.txt:
1351 Add new API to check plugin feature version requirements.
1353 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1354 Some basic tests for the above.
1356 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1358 * gst/gststructure.c: (gst_structure_to_string):
1359 guard against NULL printf - happens when for example
1360 a message structure with GstClock gets serialized
1362 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1364 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1365 Fix presumable copy'n'pasto.
1367 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1369 * gst/elements/gstfakesrc.h:
1370 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1371 * gst/elements/gsttypefindelement.c:
1373 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1374 I wonder if this could actually write +2GB files before
1376 2005-10-13 Andy Wingo <wingo@pobox.com>
1378 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1379 Fix Timmeke Waymans bug.
1380 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1381 string of the proper length to gst_caps_from_string. There's a
1382 potential for, before this fix, that this could cause someone
1383 connecting over the network to cause a segfault if the payload is
1386 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1388 * docs/design/draft-push-pull.txt:
1389 * docs/design/part-overview.txt:
1390 * docs/random/TODO-pre-0.9:
1391 * docs/random/old/ChangeLog.gstreamer:
1392 * gst/base/gstpushsrc.c:
1396 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1398 * gst/glib-compat.c: (gst_flags_get_first_value):
1399 * gst/glib-compat.h:
1400 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1401 (gst_value_compare_double), (gst_value_serialize_flags):
1402 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1405 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1408 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1410 * tools/gst-launch.c: (event_loop):
1411 print out clock nicely
1413 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1415 * docs/gst/gstreamer-sections.txt:
1417 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1418 (gst_tag_list_get_date_index):
1419 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1420 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1422 2005-10-13 Julien MOUTTE <julien@moutte.net>
1424 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1425 (gst_collectpads_chain):
1426 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1429 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1431 * docs/gst/gstreamer-sections.txt:
1434 * tools/gst-inspect.c: (main):
1435 * tools/gst-launch.c: (main):
1436 * tools/gst-run.c: (main):
1437 * tools/gst-xmlinspect.c: (main):
1438 fix GOption context leaks
1441 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1445 * win32/common/config.h:
1447 * win32/vs6/grammar.dsp:
1448 * win32/vs6/libgstelements.dsp:
1449 * win32/vs6/libgstreamer.dsp:
1452 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1454 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1455 * gst/base/gstbasesrc.c: (gst_base_src_query):
1456 fix more guint64<->gdouble conversions
1458 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1461 add win32-update target
1462 * win32/common/gstconfig.h:
1463 * win32/common/gstenumtypes.c:
1464 * win32/common/gstenumtypes.h:
1465 * win32/common/gstversion.h:
1466 add files that visual studio can't generate
1468 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1471 add a win32-update target
1474 2005-10-12 Wim Taymans <wim@fluendo.com>
1476 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1477 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1478 * gst/gstelement.c: (gst_element_commit_state),
1479 (gst_element_set_state):
1480 Protect flags with proper lock.
1481 unref provided cached clock in dispose.
1483 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1486 * gst/gstminiobject.h:
1488 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1489 removed unused flags from miniobject
1492 2005-10-12 Wim Taymans <wim@fluendo.com>
1494 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1495 (gst_file_sink_event), (gst_file_sink_render):
1496 Flush before seeking.
1498 2005-10-12 Andy Wingo <wingo@pobox.com>
1500 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1501 always been the case.
1503 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1505 * check/gst/gstbin.c: (GST_START_TEST):
1506 * docs/gst/gstreamer-sections.txt:
1507 * gst/base/gstbasesink.c: (gst_base_sink_init):
1508 * gst/base/gstbasesrc.c: (gst_base_src_init),
1509 (gst_base_src_get_range), (gst_base_src_check_get_range),
1510 (gst_base_src_start), (gst_base_src_stop):
1511 * gst/base/gstbasesrc.h:
1512 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1513 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1514 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1518 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1520 * gst/gstelement.c: (gst_element_is_locked_state),
1521 (gst_element_set_locked_state), (gst_element_commit_state),
1522 (gst_element_set_state):
1524 * gst/gstindex.c: (gst_index_init):
1526 * gst/gstminiobject.h:
1527 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1528 (gst_object_set_parent):
1530 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1531 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1533 * gst/gstpadtemplate.h:
1534 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1535 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1536 * gst/gstpipeline.h:
1537 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1538 (gst_file_index_commit):
1539 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1540 * testsuite/pad/link.c: (gst_test_src_init),
1541 (gst_test_filter_init), (gst_test_sink_init):
1542 * testsuite/states/locked.c: (main):
1543 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1544 moved bitshift from macro to enum definition
1546 2005-10-12 Wim Taymans <wim@fluendo.com>
1548 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1549 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1550 (gst_file_sink_render):
1551 Some more debugging info.
1553 2005-10-12 Wim Taymans <wim@fluendo.com>
1555 * docs/design/part-states.txt:
1556 * tools/gst-launch.c: (main):
1558 Revert non-intentional change.
1560 2005-10-12 Wim Taymans <wim@fluendo.com>
1562 * check/gst/gstbin.c: (GST_START_TEST):
1563 * check/gst/gstelement.c: (GST_START_TEST):
1564 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1565 * check/gst/gstghostpad.c: (GST_START_TEST):
1566 * check/gst/gstpipeline.c: (GST_START_TEST):
1567 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1568 * check/states/sinks.c: (GST_START_TEST):
1569 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1570 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1571 (gst_bin_remove_func), (gst_bin_get_state_func),
1572 (gst_bin_recalc_state), (gst_bin_change_state_func),
1574 * gst/gstelement.c: (gst_element_get_state_func),
1575 (gst_element_get_state), (gst_element_abort_state),
1576 (gst_element_commit_state), (gst_element_set_state),
1577 (gst_element_change_state), (gst_element_change_state_func):
1579 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1580 (gst_pipeline_provide_clock_func):
1581 * gst/gstutils.c: (gst_element_link_pads_filtered):
1582 * tools/gst-launch.c: (main):
1583 * tools/gst-typefind.c: (main):
1584 Use GstClockTime in _get_state() instead of GTimeVal.
1585 Remove old code in gstutils.c
1587 2005-10-12 Andy Wingo <wingo@pobox.com>
1589 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1592 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1593 there is no task. Shouldn't affect any code, as nothing in our
1594 plugins checks this return value.
1595 (gst_pad_stop_task): Also take the stream lock if the pad has no
1598 2005-10-12 Wim Taymans <wim@fluendo.com>
1600 * gst/gstpad.c: (pre_activate), (post_activate),
1601 (gst_pad_activate_pull), (gst_pad_activate_push):
1602 Cleanup activation code. Reset old state if
1605 2005-10-12 Wim Taymans <wim@fluendo.com>
1607 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1608 (gst_base_sink_change_state):
1609 No need to prerol after receiving EOS.
1611 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1612 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1613 * gst/elements/gstidentity.c: (gst_identity_event):
1614 Print events more verbosely.
1616 2005-10-12 Wim Taymans <wim@fluendo.com>
1618 * check/Makefile.am:
1619 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1620 * check/states/sinks2.c:
1621 Moved sinks2 testcode in sinks check.
1623 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1624 (gst_bin_remove_func), (gst_bin_recalc_state),
1625 (gst_bin_change_state_func), (bin_bus_handler):
1626 Fix potential race condition when _get_state() iterated over an
1627 ASYNC element right before it posted a state completion.
1630 Do proper cast here.
1632 * gst/gstevent.c: (gst_event_new_newsegment),
1633 (gst_event_parse_newsegment):
1634 A playback rate of 0.0 is not allowed.
1636 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1638 * win32/common/config.h:
1639 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1640 (_trewinddir), (_ttelldir), (_tseekdir):
1641 * win32/common/dirent.h:
1642 * win32/common/gtchar.h:
1643 * win32/common/libgstbase.def:
1644 * win32/common/libgstreamer.def:
1645 * win32/vs6/grammar.dsp:
1646 * win32/vs6/gst_inspect.dsp:
1647 * win32/vs6/gst_launch.dsp:
1648 * win32/vs6/gstreamer.dsw:
1649 * win32/vs6/libgstbase.dsp:
1650 * win32/vs6/libgstelements.dsp:
1651 * win32/vs6/libgstreamer.dsp:
1652 Visual Studio 6 project files, and a new common directory.
1655 2005-10-11 Wim Taymans <wim@fluendo.com>
1657 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1658 (gst_base_sink_do_sync), (gst_base_sink_query),
1659 (gst_base_sink_change_state):
1660 * gst/base/gstbasesink.h:
1661 Correctly parse newsegment info.
1663 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1665 * gst/gst.c: (init_post):
1666 split plugin paths correctly
1668 2005-10-11 Wim Taymans <wim@fluendo.com>
1670 * check/gst/gstevent.c: (GST_START_TEST):
1671 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1672 (gst_base_sink_change_state):
1673 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1674 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1675 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1676 * gst/gstevent.c: (gst_event_new_newsegment),
1677 (gst_event_parse_newsegment):
1679 Added extra flag to newsegment for future API freeze.
1680 Updated check and base elements.
1682 2005-10-11 Julien MOUTTE <julien@moutte.net>
1684 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1685 (gst_collectpads_add_pad), (gst_collectpads_pop),
1686 (gst_collectpads_event), (gst_collectpads_chain):
1687 * gst/base/gstcollectpads.h: Handle EOS correctly.
1689 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1691 * tools/gst-launch.c: (main):
1692 more null protecting
1694 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1696 * gst/gst-i18n-lib.h:
1697 check for ENABLE_NLS, not GETTEXT_PACKAGE
1698 * gst/gstregistry.c: (gst_registry_add_plugin),
1699 (gst_registry_scan_path_level),
1700 (_gst_registry_remove_cache_plugins):
1701 protect possibly NULL strings
1702 * gst/parse/types.h:
1703 config.h already included before
1704 * tools/gst-inspect.c: (main):
1705 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1706 check for ENABLE_NLS, not GETTEXT_PACKAGE
1707 * tools/gst-launch.c: (main):
1708 check for ENABLE_NLS, not GETTEXT_PACKAGE
1710 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1713 if we don't have glib, fail before testing 2.8
1714 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1715 fix a leak, should fix plugins-base testsuite
1717 2005-10-11 Andy Wingo <wingo@pobox.com>
1719 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1720 take the mode we're going to as an arg. Go head and set the mode
1721 and flushing flags now, so that if the activate function starts a
1722 thread all the flags will be in the right state.
1723 (post_activate): Renamed also. Just handle making sure streaming
1724 finishes for the deactivation case, and setting the deactivated
1726 (gst_pad_set_active): Complain loudly if deactivation fails.
1727 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1728 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1729 remove the terrible hack.
1731 2005-10-11 Wim Taymans <wim@fluendo.com>
1733 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1734 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1735 (gst_bin_recalc_state), (gst_bin_change_state_func),
1736 (gst_bin_dispose), (bin_bus_handler):
1738 Prepare to make current EOS message queue more generic.
1741 * gst/gstevent.c: (gst_event_new_newsegment),
1742 (gst_event_parse_newsegment):
1744 Rename base to stream_time.
1749 2005-10-11 Wim Taymans <wim@fluendo.com>
1751 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1752 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1753 (gst_bin_change_state_func), (bin_bus_handler):
1755 Work on proper clock selection.
1757 2005-10-11 Edward Hervey <edward@fluendo.com>
1759 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1760 * libs/gst/controller/gstcontroller.h:
1761 Added GList* version of _remove_properties() in order to be able to wrap
1764 2005-10-11 Wim Taymans <wim@fluendo.com>
1766 * docs/design/part-states.txt:
1769 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1770 (gst_bin_change_state_func), (bin_bus_handler):
1771 Doc updates. Don't distribute the same clock over and over again.
1777 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1778 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1779 (gst_pad_send_event):
1781 Make probe emission threadsafe again.
1782 Register quarks and move _get_name() from utils.
1785 * gst/gstpipeline.c: (gst_pipeline_class_init),
1786 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1787 Only redistribute the clock of it changed.
1789 * gst/gstsystemclock.h:
1794 Moved the _flow_get_name() to GstPad.
1796 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1798 * check/gst-libs/gdp.c: (GST_START_TEST):
1799 * check/gst/gstcaps.c: (GST_START_TEST):
1800 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1801 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1802 (gst_dp_packet_from_caps):
1803 fix more valgrind warnings before turning up the heat
1805 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1807 * gst/parse/grammar.y:
1808 some cleanup before the hacking
1810 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1812 * gst/base/gstbasesrc.c: (gst_base_src_query):
1814 * gst/gstutils.c: (gst_guint64_to_gdouble),
1815 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1817 externalize, basesrc uses it
1818 obviously the implementation needs testing
1820 2005-10-10 Wim Taymans <wim@fluendo.com>
1822 * tests/sched/Makefile.am:
1823 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1824 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1826 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1828 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1829 apparently converting from guint64 to double is not implemented
1832 2005-10-10 Wim Taymans <wim@fluendo.com>
1834 * check/Makefile.am:
1835 * check/generic/states.c: (GST_START_TEST):
1836 * check/gst/gstbin.c: (GST_START_TEST):
1837 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1838 * check/states/sinks.c: (GST_START_TEST):
1839 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1841 Check fixes, use API as stated in design docs, remove hacks.
1843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1844 (gst_base_sink_change_state):
1845 Catch stopping our task while we're shutting down.
1847 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1848 (gst_bin_remove_func), (gst_bin_get_state_func),
1849 (gst_bin_recalc_state), (gst_bin_change_state_func),
1852 * gst/gstelement.c: (gst_element_init),
1853 (gst_element_get_state_func), (gst_element_abort_state),
1854 (gst_element_commit_state), (gst_element_lost_state),
1855 (gst_element_set_state), (gst_element_change_state),
1856 (gst_element_change_state_func):
1858 New state change algorithm (see #318116)
1860 * gst/gstpipeline.c: (gst_pipeline_class_init),
1861 (gst_pipeline_init), (gst_pipeline_set_property),
1862 (gst_pipeline_get_property), (do_pipeline_seek),
1863 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1864 * gst/gstpipeline.h:
1865 Remove crude state change hacks.
1870 * tools/gst-launch.c: (main):
1871 Fixes for state change. Needs some more work to fully use the
1874 2005-10-10 Andy Wingo <wingo@pobox.com>
1876 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1878 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1879 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1882 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1884 * gst/gstiterator.c: (gst_iterator_new):
1885 Fix my previous commit: GTypes passed to gst_iterator_new()
1886 can be fundamental types.
1888 2005-10-10 Wim Taymans <wim@fluendo.com>
1890 * gst/gstelement.c: (gst_element_iterate_pad_list),
1891 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1892 (gst_element_iterate_sink_pads):
1893 Use src/sink pads lists for the respective iterators instead
1896 2005-10-10 Andy Wingo <wingo@pobox.com>
1898 Merged in popt removal + GOption addition patch from Ronald, bug
1901 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1902 GstElement macros around, remove popt-related symbols, add goption
1905 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1907 * docs/gst/Makefile.am:
1908 * docs/libs/Makefile.am: No POPT_CFLAGS.
1910 * examples/manual/Makefile.am:
1911 * docs/manual/basics-init.xml: Doc updates with an example.
1913 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1914 (gst_init), (parse_one_option), (parse_goption_arg):
1915 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1916 bit of hand merging and debugging to get the GOption stuff working
1919 * tests/Makefile.am:
1920 * tools/Makefile.am:
1921 * tools/gst-inspect.c: (main):
1922 * tools/gst-launch.c: (main):
1923 * tools/gst-run.c: (main):
1924 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1926 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1928 * gst/gstiterator.c: (gst_iterator_new):
1929 Add assertions to make sure passed GType is likely to really
1930 be a GType (as the compiler won't catch it if the size and
1931 GType arguments get mixed up, see #318447).
1933 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1935 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1937 * gst/gstbin.c: (gst_bin_iterate_sorted):
1938 Pass GType and size arguments to gst_iterator_new() in the right
1939 order (maybe we should make _new() take the GType as first argument
1940 just like _new_list()?) (#318447).
1943 2005-10-10 Wim Taymans <wim@fluendo.com>
1945 * gst/gstelement.c: (gst_element_finalize):
1946 And free the GStaticRecMutex too
1948 2005-10-10 Andy Wingo <wingo@pobox.com>
1950 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1951 Allocate and free the mutex properly.
1953 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1955 (GstElement): The state_lock is now recursive. Rebuild your
1956 plugins, suckers. Old macros adapted.
1958 * docs/gst/gstreamer-sections.txt: Doc updates.
1961 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1962 (g_static_rec_cond_wait): Ported from state changes patch, while
1963 we wait on bug #317802 to be solved in a well-distributed GLib.
1965 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1966 gst_element_change_state, variable name changes.
1967 (gst_element_change_state): Split out of gst_element_set_state in
1968 preparation for the state change merge. Doesn't pay attention to
1969 the 'transition' argument.
1970 (gst_element_set_state): Updates, hopefully purely cosmetic.
1971 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1973 (gst_element_get_state_func): Renamed from get_state, cosmetic
1976 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1978 * gst/elements/gstelements.c:
1979 * win32/GStreamer.vcproj:
1981 * win32/dirent.c: (_tseekdir):
1982 * win32/gst-inspect.vcproj:
1983 * win32/gst-launch.vcproj:
1984 * win32/gstconfig.h:
1985 * win32/gstelements.vcproj:
1986 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1987 * win32/gstreamer.def:
1989 updates for the win32 build (patch from Sebastien Moutte)
1991 2005-10-10 Andy Wingo <wingo@pobox.com>
1993 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1994 gst_bin_get_state, cleaned up (but no logic changes).
1995 (bin_element_is_sink): Comment updates.
1996 (sink_iterator_filter): Remove needless cast.
1997 (gst_bin_iterate_sinks): Doc update.
1998 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1999 cleaned up (but no logic changes).
2001 * check/states/sinks.c (test_src_sink): Cleanups from the state
2003 (test_livesrc_sink): Sync on the state.
2005 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2006 the state change patch.
2008 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2011 * check/gst/gstbin.c: Merge in some style fixes and additional
2012 checks from Wim's state change patch.
2014 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2016 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2017 (gst_type_find_helper):
2018 Check whether we have the requested data already in our list of
2019 cached buffers before pulling a new buffer; also make the buffer
2020 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2022 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2027 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2028 don't use long long, it's not portable. Replacing with
2029 gint64 seems to work; let's hope no skeletons fall out of the closet.
2031 2005-10-10 Andy Wingo <wingo@pobox.com>
2033 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2035 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2037 * docs/gst/gstreamer-sections.txt:
2042 * gst/gstmessage.c: (gst_message_parse_state_changed):
2045 more docs, fix compilation
2047 2005-10-09 Philippe Khalaf <burger@speedy.org>
2049 Fixed a few forgotten variables on previous commit
2051 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2053 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2054 Fix evil typefind crasher: getrange() might return a short
2055 buffer at the end of a file, but gst_type_find_peek() must
2056 either return the full data as requested or NULL, but
2057 never a short buffer.
2059 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2061 * gst/gstmessage.c: (gst_message_new_state_changed),
2062 (gst_message_parse_state_changed):
2064 don't use "new", it's a C++ keyword
2066 2005-10-08 Wim Taymans <wim@fluendo.com>
2068 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2069 * gst/gstelement.c: (gst_element_post_message):
2070 * gst/gstpipeline.c: (gst_pipeline_change_state):
2071 Small docs and debug updates.
2073 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2075 * docs/gst/gstreamer-sections.txt:
2076 * gst/gstelementfactory.c:
2081 2005-10-08 Wim Taymans <wim@fluendo.com>
2083 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2084 (gst_bin_dispose), (bin_bus_handler):
2085 Fix typos, add comments.
2086 Clear EOS list when going to PAUSED from any direction and do it
2087 in a threadsafe way.
2088 Get base time in a threadsafe way too.
2089 Fix confusing debug in the change_state function.
2090 Various other small cleanups.
2092 * gst/gstelement.c: (gst_element_post_message):
2093 Fix very verbose bus posting code.
2095 * gst/gstpipeline.c: (gst_pipeline_class_init),
2096 (gst_pipeline_set_property), (gst_pipeline_get_property),
2097 (gst_pipeline_change_state):
2098 Small ARG_ -> PROP_ cleanup
2100 2005-10-08 Wim Taymans <wim@fluendo.com>
2102 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2103 Do a less CPU demanding EOS check because we can.
2105 2005-10-08 Wim Taymans <wim@fluendo.com>
2107 * libs/gst/dataprotocol/dataprotocol.c:
2108 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2109 (gst_dp_packet_from_event):
2110 * libs/gst/dataprotocol/dataprotocol.h:
2111 * libs/gst/dataprotocol/dp-private.h:
2112 It's about time we bump the version number.
2113 Since event types don't fit in the guint8 anymore describing
2114 the payload type, make payload type 16 bits wide.
2116 2005-10-08 Wim Taymans <wim@fluendo.com>
2118 * docs/design/part-TODO.txt:
2119 * docs/design/part-clocks.txt:
2120 * docs/design/part-events.txt:
2121 * docs/design/part-gstbin.txt:
2122 * docs/design/part-gstelement.txt:
2123 * docs/design/part-gstpipeline.txt:
2124 * docs/design/part-live-source.txt:
2125 * docs/design/part-messages.txt:
2126 * docs/design/part-overview.txt:
2127 * docs/design/part-states.txt:
2130 2005-10-08 Wim Taymans <wim@fluendo.com>
2134 Fix event quark registration.
2135 Add some space between events so we can insert them in the
2138 2005-10-08 Wim Taymans <wim@fluendo.com>
2140 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2141 (gst_base_sink_handle_buffer):
2148 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2149 (gst_queue_set_property), (gst_queue_get_property):
2151 Remove old unused properties.
2153 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2154 * docs/gst/gstreamer-sections.txt:
2157 * gst/gstminiobject.c:
2158 * gst/gstminiobject.h:
2162 lots of new docs and doc fixes
2164 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2166 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2168 * gst/gstregistry.c: (gst_registry_lookup_locked),
2169 (gst_registry_scan_path_level):
2170 * gst/gstregistryxml.c: (load_plugin):
2171 Only ever load one plugin for a given plugin basename.
2172 This ensures correct overriding of GST_PLUGIN_PATH over
2173 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2174 system installed plugins.
2176 2005-10-08 Wim Taymans <wim@fluendo.com>
2178 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2179 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2180 Prepare for doing QOS.
2182 2005-10-08 Wim Taymans <wim@fluendo.com>
2184 * check/gst/gstbin.c: (GST_START_TEST):
2185 * check/pipelines/cleanup.c: (GST_START_TEST):
2186 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2187 Allow new clock message too.
2189 2005-10-08 Wim Taymans <wim@fluendo.com>
2191 * gst/gstmessage.c: (gst_message_new_error),
2192 (gst_message_new_warning), (gst_message_new_tag),
2193 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2194 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2195 (gst_message_new_segment_start), (gst_message_new_segment_done),
2196 (gst_message_parse_state_changed),
2197 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2198 (gst_message_parse_new_clock):
2200 Also carry the clock in question.
2202 2005-10-08 Wim Taymans <wim@fluendo.com>
2204 * gst/gstmessage.c: (gst_message_new_custom),
2205 (gst_message_new_eos), (gst_message_new_error),
2206 (gst_message_new_warning), (gst_message_new_tag),
2207 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2208 (gst_message_new_new_clock), (gst_message_new_segment_start),
2209 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2210 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2213 Added clock related messages.
2215 * gst/gstpipeline.c: (gst_pipeline_change_state):
2216 Post message when the clock changed.
2218 * tools/gst-launch.c: (event_loop):
2221 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2223 * tools/gst-inspect.c: (print_element_properties_info):
2224 Can't pass NULL strings to g_print() on windows.
2226 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2229 * docs/gst/Makefile.am:
2230 * docs/gst/gstreamer-docs.sgml:
2231 * docs/gst/running.xml:
2232 * docs/version.entities.in:
2233 add a chapter on running GStreamer.
2234 document GST_DEBUG and GST_PLUGIN* env vars
2236 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2241 remove PLUGINS_BUILDDIR stuff
2242 * gst/gst.c: (init_post):
2243 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2245 remove, it was condescending and not needed
2247 2005-10-08 Wim Taymans <wim@fluendo.com>
2249 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2250 (gst_base_sink_handle_object), (gst_base_sink_event),
2251 (gst_base_sink_wait), (gst_base_sink_handle_event),
2252 (gst_base_sink_change_state):
2253 * gst/base/gstbasesink.h:
2254 Repost EOS message while going to PLAYING if still EOS.
2255 Make sure that when receiving a FLUSH_START we don't attempt
2256 to sync on the clock anymore.
2258 2005-10-08 Wim Taymans <wim@fluendo.com>
2260 * tools/gst-launch.c: (event_loop):
2261 Better message printout.
2263 2005-10-08 Wim Taymans <wim@fluendo.com>
2265 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2266 (gst_bin_child_proxy_get_children_count):
2267 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2268 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2269 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2270 (gst_child_proxy_set_valist):
2271 * gst/parse/grammar.y:
2272 Make ChildProxy threadsafe and fix mem leaks.
2274 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2276 * gst/gst.c: (init_post):
2277 debug the GST_PLUGIN_ env vars
2279 2005-10-08 Wim Taymans <wim@fluendo.com>
2281 * check/gst/gstbin.c: (GST_START_TEST):
2282 * check/gst/gstmessage.c: (GST_START_TEST):
2283 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2284 * gst/gstelement.c: (gst_element_commit_state),
2285 (gst_element_lost_state):
2286 * gst/gstmessage.c: (gst_message_new_state_changed),
2287 (gst_message_parse_state_changed):
2289 * tools/gst-launch.c: (event_loop):
2290 Added extra field to STATE_CHANGE message with the pending
2291 state, which will be different from the new state soon.
2293 2005-10-08 Wim Taymans <wim@fluendo.com>
2295 * gst/gstbus.c: (gst_bus_pop):
2297 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2298 Small cleanups and doc updates.
2300 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2302 * gst/gst.c: (init_pre):
2303 * gst/gstbin.c: (gst_bin_add_func):
2304 log distributing clocks and base time
2305 * gst/gstregistry.c: (gst_registry_add_plugin),
2306 (gst_registry_scan_path_level), (gst_registry_scan_path):
2307 clean up the debugging output a little
2308 * gst/gstutils.c: (gst_element_state_get_name):
2309 warn about a memleak (I've actually seen this be used, though
2310 it was probably a bug)
2312 2005-10-07 Wim Taymans <wim@fluendo.com>
2314 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2315 (gst_base_src_init), (gst_base_src_default_newsegment),
2316 (gst_base_src_newsegment), (gst_base_src_do_seek),
2317 (gst_base_src_loop), (gst_base_src_start):
2318 * gst/base/gstbasesrc.h:
2319 Make the newsegment event customizable by subclasses.
2321 2005-10-07 Wim Taymans <wim@fluendo.com>
2323 * gst/gstevent.c: (gst_event_new_buffersize),
2324 (gst_event_parse_buffersize):
2326 New event for future idea.
2328 2005-10-07 Andy Wingo <wingo@pobox.com>
2330 * gst/gstelement.c (gst_element_post_message): Doc update.
2332 * docs/gst/gstreamer-sections.txt: Update.
2334 * gst/gstmessage.c (gst_message_new_application): Made into a
2335 function like honest API calls.
2336 (gst_message_new_element): New message type.
2338 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2340 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2341 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2344 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2345 NO_PREROLL from gst_element_change_state to fall through.
2347 2005-10-07 Wim Taymans <wim@fluendo.com>
2349 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2350 (gst_ghost_pad_do_activate_push):
2351 Activating a ghostpad with no internal pad in push mode
2354 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2357 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2358 Fixes compilation on Windows.
2360 2005-10-07 Michael Smith <msmith@fluendo.com>
2362 * tools/gst-inspect.c:
2363 Print out feature and plugin count at the end when printing out
2366 2005-10-04 Michael Smith <msmith@fluendo.com>
2368 * gst/gsterror.c: (_gst_stream_errors_init):
2369 Add another error string used in a few existing plugins.
2372 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2373 * tools/gst-inspect.c: (print_element_info):
2374 When a feature disappears from a plugin (and the feature exists in
2375 the cached registry file), things went horribly wrong. This isn't a
2376 complete fix, we should actually be removing the 'missing' features
2377 from the features list when we load the actual plugin. That's not
2380 2005-10-04 Johan Dahlin <johan@gnome.org>
2382 * check/gst/gstiterator.c: (GST_START_TEST):
2383 * gst/gstbin.c: (gst_bin_iterate_elements),
2384 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2385 * gst/gstelement.c: (gst_element_iterate_pads):
2386 * gst/gstformat.c: (gst_format_iterate_definitions):
2387 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2388 (gst_iterator_new_list), (gst_iterator_filter):
2389 * gst/gstiterator.h:
2390 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2391 Add a GType to GstIterator, update callsites and tests.
2393 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2395 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2396 give events a chance to be handled by event probes when the pad
2399 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2401 * gst/gstevent.c: (gst_event_type_get_name),
2402 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2404 add string representations for event types
2406 2005-10-06 Wim Taymans <wim@fluendo.com>
2408 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2409 Don't use NULL pointers.
2411 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2413 * gst/gst_private.h:
2417 * gst/gstpluginfeature.c:
2418 widen the debug category in output to fit the biggest one we have
2419 add a bus category and use it
2420 play with the colors
2421 fix up some categories
2423 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2425 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2426 add push activation of sink ghost pads.
2427 Andye, please verify
2429 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2431 * gst/gstutils.c: (gst_element_link_pads):
2432 fix a bug in the case where neither element has a pad
2433 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2434 add a test for that case
2436 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2438 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2439 emit have-data before checking for peers. This allows
2440 for probe handlers to connect elements. This helps autopluggers.
2441 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2443 add six checks, linked/unlinked with no/true/false probe
2445 2005-10-04 Wim Taymans <wim@fluendo.com>
2447 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2448 (gst_fake_sink_event), (gst_fake_sink_preroll),
2449 (gst_fake_sink_render), (gst_fake_sink_change_state):
2450 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2451 (gst_fake_src_get_property), (gst_fake_src_create),
2452 (gst_fake_src_stop):
2453 * gst/elements/gstidentity.c: (gst_identity_stop):
2454 Protect last_message with lock.
2456 2005-10-04 Edward Hervey <edward@fluendo.com>
2459 Added precision in the comments for GST_FORMAT_DEFAULT
2461 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2463 * tools/gst-launch.c: (main):
2464 Don't try to run erroneous pipelines.
2466 2005-10-04 Julien MOUTTE <julien@moutte.net>
2468 * gst/gstbus.c: We don't need this header.
2470 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2475 === release 0.9.3 ===
2477 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2481 Releasing 0.9.3, "Unregistered"
2483 2005-10-03 Andy Wingo <wingo@pobox.com>
2485 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2486 whereby calling a pad's activatepush() function can start a thread
2487 that starts to push or pull before the pad gets the FLUSHING flag
2488 unset. Hack around it by holding the stream lock until the flag is
2489 set. Need to replace this with a proper solution. Together with
2490 the ghost pad fixes, this fixes mp3 playing/tagreading.
2492 * docs/design/part-gstghostpad.txt: Add a note about activation of
2493 proxy pads outside of ghost pads.
2495 * gst/gstghostpad.c: Implement the ghost pad activation design.
2497 2005-10-02 Andy Wingo <wingo@pobox.com>
2499 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2500 It is volatile, after all.
2502 * docs/design/part-gstghostpad.txt: Flesh out activation with
2505 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2508 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2511 Fix (unused) AM_CONDITIONAL tests.
2513 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2515 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2517 * gst/gstutils.c: (gst_pad_query_convert):
2518 Add assertion that makes sure src_val is >=0, just like
2519 gst_query_new_convert() has. (#315895)
2521 2005-09-30 Edward Hervey <edward@fluendo.com>
2523 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2524 Let's not iterate pads we're not interested in, it avoids getting
2525 sky-high refcounts on sinkpad.
2527 2005-09-30 Wim Taymans <wim@fluendo.com>
2529 * gst/gstelement.c: (gst_element_set_state),
2530 (gst_element_change_state):
2531 Small tweak, element in ASYNC remains ASYNC.
2533 2005-09-30 Wim Taymans <wim@fluendo.com>
2535 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2536 Only error is an error.
2538 * gst/gstbin.c: (gst_bin_change_state):
2541 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2542 Also call pad_block in pad alloc.
2544 * gst/gstutils.c: (gst_flow_get_name):
2547 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2549 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2550 (gst_base_src_get_range):
2551 Fix documentation typos. Add some more debug info.
2553 2005-09-29 David Schleef <ds@schleef.org>
2555 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2556 more end-user friendly.
2557 * tools/gst-inspect.c: (main): Check if command-line argument is
2558 a file and attempt to load that file as a plugin.
2560 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2562 * check/gst/gstbin.c:
2563 * check/states/sinks.c:
2564 fix tests for the new warning
2565 * check/gst/gstpipeline.c:
2566 add a test for pipeline and bus interaction
2568 elements should be NULL if they get disposed; add a warning if not
2570 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2573 for 2.6 refcounting, make debug log more correct by printing
2574 the actual refcounts at the time of swap (Wim)
2576 2005-09-29 Andy Wingo <wingo@pobox.com>
2578 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2579 removes signal watches previously added via
2580 gst_bus_add_signal_watch.
2581 (gst_bus_add_signal_watch): Don't return the source id, just store
2582 it on the bus if there wasn't an id already.
2584 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2585 add_signal_watch and remove_signal_watch.
2587 2005-09-29 Edward Hervey <edward@fluendo.com>
2589 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2590 Better if we actually iterate the list :)
2592 2005-09-29 Wim Taymans <wim@fluendo.com>
2594 * check/gst/gstbin.c: (GST_START_TEST):
2595 Change for new bus API.
2597 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2598 (send_messages), (GST_START_TEST), (gstbus_suite):
2599 Change for new bus signal API.
2601 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2602 (gst_bus_source_prepare), (gst_bus_source_check),
2603 (gst_bus_create_watch), (gst_bus_add_watch_full),
2604 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2605 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2607 Remove support for multiple GSources operating on different
2608 message types as it is too complex and unneeded when using
2610 Added support for receiving signals from the bus.
2612 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2614 * docs/libs/tmpl/gstdataprotocol.sgml:
2615 * docs/manual/advanced-dataaccess.xml:
2616 * gst/elements/gstcapsfilter.c:
2618 rename filter-caps to caps property
2620 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2622 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2623 More robust fraction string parsing.
2625 * docs/pwg/appendix-porting.xml:
2626 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2628 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2630 * gst/gstcaps.c: (gst_caps_do_simplify):
2631 Thou shalt not free a structure and then continue using it
2632 in the next loop iteration.
2634 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2636 Add test case for caps simplification.
2638 2005-09-29 Wim Taymans <wim@fluendo.com>
2640 * check/gst/gstbin.c: (GST_START_TEST):
2643 2005-09-29 Wim Taymans <wim@fluendo.com>
2645 * check/gst/gstbin.c: (GST_START_TEST):
2648 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2649 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2650 (find_element), (gst_bin_sort_iterator_next),
2651 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2652 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2653 (gst_bin_change_state), (gst_bin_dispose):
2654 A bin does not have a bus, it gets the bus from the parent.
2656 * gst/gstelement.c: (gst_element_requires_clock),
2657 (gst_element_provides_clock), (gst_element_is_indexable),
2658 (gst_element_is_locked_state), (gst_element_change_state),
2659 (gst_element_set_bus_func):
2662 * gst/gstpipeline.c: (gst_pipeline_class_init),
2663 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2664 The pipeline provides a bus.
2666 2005-09-28 Johan Dahlin <johan@gnome.org>
2668 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2669 gst_structure_get_enum instead of gst_structure_get_int
2671 * gst/gststructure.c (gst_structure_get_enum): Impl.
2673 * gst/gststructure.h (gst_structure_get_enum): Add
2675 * docs/gst/gstreamer-sections.txt: Ditto
2677 * gst/gstmessage.c (gst_message_new_state_changed): Use
2678 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2679 which does introspection.
2680 Reviewed by Christian Schaller
2682 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2684 * gst/gstinfo.c: (gst_debug_log_default):
2685 don't do dummy g_strdup()s
2686 * libs/gst/controller/gstcontroller.c:
2687 (on_object_controlled_property_changed),
2688 (gst_controlled_property_new), (gst_controller_new_valist),
2689 (gst_controller_new_list),
2690 (gst_controller_remove_properties_valist), (gst_controller_set),
2691 (gst_controller_get), (gst_controller_sync_values),
2692 (gst_controller_get_value_array), (_gst_controller_class_init),
2693 (gst_controller_get_type):
2694 * libs/gst/controller/gstcontroller.h:
2695 * libs/gst/controller/gstinterpolation.c:
2696 (gst_controlled_property_find_timed_value_node):
2697 convert // to /**/ comments
2699 2005-09-28 Wim Taymans <wim@fluendo.com>
2701 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2702 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2703 (gst_bus_sync_signal_handler):
2705 Added async-message and sync-message signals to the bus.
2706 Added helper BusFunc to emit signals for all posted messages.
2708 * gst/gstmessage.c: (gst_message_type_get_name),
2709 (gst_message_type_to_quark), (gst_message_get_type):
2711 Register quarks for message names.
2713 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2715 * docs/libs/gstreamer-libs-sections.txt:
2716 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2717 (gst_controller_new_list):
2718 * libs/gst/controller/gstcontroller.h:
2719 added another constructor for language bindings
2721 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2723 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2727 * gst/gstinfo.c: (_gst_debug_init):
2728 slightly more readable color for refcount debugging
2730 2005-09-28 Wim Taymans <wim@fluendo.com>
2732 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2733 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2734 (find_element), (gst_bin_sort_iterator_next),
2735 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2736 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2737 (gst_bin_change_state), (gst_bin_dispose):
2738 Small doc fixes. get_clock -> provide_clock.
2740 * gst/gstelement.c: (gst_element_class_init),
2741 (gst_element_provides_clock), (gst_element_provide_clock),
2742 (gst_element_get_clock), (gst_element_commit_state),
2743 (gst_element_lost_state):
2745 Make get/set_clock() symetric. Add provide_clock vmethod since
2746 that is actually what this function does.
2748 * gst/gstpipeline.c: (gst_pipeline_class_init),
2749 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2750 (gst_pipeline_get_clock):
2751 get_clock -> provide_clock.
2753 2005-09-28 Andy Wingo <wingo@pobox.com>
2755 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2756 lieu of real docs...
2758 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2760 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2762 * gst/elements/gstcapsfilter.c:
2763 * gst/elements/gstfakesink.c:
2764 * gst/elements/gstfakesrc.c:
2765 * gst/elements/gstfdsink.c:
2766 * gst/elements/gstfdsrc.c:
2767 * gst/elements/gstfilesink.c:
2768 * gst/elements/gstfilesrc.c:
2769 * gst/elements/gstidentity.c:
2770 * gst/elements/gsttee.c:
2771 * gst/elements/gsttypefindelement.c:
2772 Make element details static.
2774 2005-09-28 Wim Taymans <wim@fluendo.com>
2776 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2777 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2778 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2779 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2780 (gst_bin_change_state), (gst_bin_dispose):
2781 Some documentation updates.
2782 Clean up dispose handlers.
2784 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2785 * gst/gstpad.c: (gst_pad_dispose):
2786 Clean up dispose handler.
2788 * gst/gstpipeline.c: (gst_pipeline_change_state):
2789 Removed spurious UNLOCK.
2791 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2793 * docs/gst/gstreamer-sections.txt:
2794 * gst/base/gstbasesrc.h:
2799 * gst/gstpipeline.c:
2800 * gst/gstpipeline.h:
2803 added two new functions to the docs
2804 documents all undocumented GstXXXFlags
2805 completed some incomplete docs
2807 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2809 * gst/gstbin.c: (gst_bin_dispose):
2810 * gst/gstelement.c: (gst_element_dispose):
2811 remove now useless and leaky resurrection code in dispose
2812 * gst/base/gstbasesrc.c: (gst_base_src_init):
2813 * gst/gstelementfactory.c: (gst_element_factory_create):
2814 * gst/gstobject.c: (gst_object_set_parent):
2817 2005-09-27 Wim Taymans <wim@fluendo.com>
2819 * docs/design/part-TODO.txt:
2822 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2823 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2824 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2825 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2826 (gst_bin_change_state):
2828 Remove element variable, we keep element info in the iterator now.
2830 2005-09-27 Andy Wingo <wingo@pobox.com>
2832 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2835 2005-09-27 Wim Taymans <wim@fluendo.com>
2837 * check/gst/gstbin.c: (GST_START_TEST):
2838 Enable check that works now.
2840 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2841 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2842 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2843 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2844 (gst_bin_change_state):
2846 Redid the state change algorithm using a topological sort algo.
2847 Handles all cases correctly.
2848 Exposed iterator for state change order.
2851 Temp storage for state changes. Need to get rid of this soon.
2853 2005-09-27 Wim Taymans <wim@fluendo.com>
2855 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2856 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2857 (link_fold_func), (gst_pad_proxy_setcaps):
2858 Leak fixes, the fold functions need to unref the passed object and
2859 _get_parent_*() returns ref to parent.
2861 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2863 * check/gst/gstbuffer.c: (test_make_writable):
2864 Plug leak in test case and fix 'make check-valgrind'
2866 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2868 * gst/gstbuffer.c: (gst_subbuffer_init):
2869 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2870 works correctly in all circumstances (we could have just copied
2871 the parent buffer's readonly flag, but conceptually it seems
2872 cleaner to mark all subbuffers as read-only). (based on patch
2873 by Alessandro Decina, #314710).
2875 * check/gst/gstbuffer.c: (create_read_only_buffer),
2876 (test_make_writable), (test_subbuffer_make_writable),
2878 Add some tests for gst_buffer_make_writable().
2880 2005-09-27 Wim Taymans <wim@fluendo.com>
2882 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2883 use gst_object_has_ancestor().
2885 * gst/gstobject.c: (gst_object_has_ancestor):
2887 gst_object_has_ancestor() copied from gstbin.c as it is a
2890 * tests/instantiate/create.c: (create_all_elements):
2891 * tests/lat.c: (handoff_src), (handoff_sink):
2892 * tests/sched/runxml.c: (main):
2893 * tests/seeking/seeking1.c: (main):
2894 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2896 Fix compilation of some tests.
2898 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2901 Remove comment. GST_TYPE_G_ERROR is here to stay,
2902 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2905 2005-09-26 Wim Taymans <wim@fluendo.com>
2907 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2908 Added check that shows error in state change order.
2910 2005-09-26 Wim Taymans <wim@fluendo.com>
2912 * gst/gstbin.c: (gst_bin_change_state):
2913 Make state change function use 3 queues again, we were
2914 adding elements in the wrong order.
2916 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2919 * gst/gstpad.c: (gst_pad_dispose):
2920 Added some debug info first.
2922 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2924 * docs/design/draft-push-pull.txt:
2925 * docs/design/part-events.txt:
2926 * docs/design/part-overview.txt:
2927 * docs/design/part-scheduling.txt:
2928 Replace all _pull_region() with _pull_range()
2930 2005-09-26 Andy Wingo <wingo@pobox.com>
2932 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2934 * check/gst-libs/controller.c: Update for controller api change.
2937 * tests/Makefile.am:
2938 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2939 over by GLib bug 118439.
2941 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2942 routines to a function.
2944 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2946 * libs/gst/controller/gsthelper.c:
2947 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2948 (gst_object_sync_values): Renamed from sink_values. Ugh.
2950 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2952 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2953 Renamed from controller_key, as it is exported.
2955 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2957 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2962 * gst/gstpadtemplate.h:
2965 * gst/gstqueryutils.c:
2966 * gst/gstqueryutils.h:
2967 remove queryutils headers after moving the two used functions
2968 to gstquery. also fixes build problem for gstsiddec
2970 2005-09-26 Michael Smith <msmith@fluendo.com>
2972 * tools/gst-launch.1.in:
2973 Correct documentation in manpage of debug syntax
2975 2005-09-26 Wim Taymans <wim@fluendo.com>
2977 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2978 (gst_base_src_is_seekable), (gst_base_src_change_state):
2979 Some more debugging info.
2981 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2983 * docs/gst/gstreamer-sections.txt:
2984 * gst/base/gstbasetransform.h:
2988 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2990 * docs/gst/.cvsignore:
2991 * docs/gst/tmpl/.cvsignore:
2992 * docs/gst/tmpl/gstpipeline.sgml:
2993 * docs/gst/tmpl/gstplugin.sgml:
2994 * gst/gstpipeline.c:
2997 inlined the last two docs files
2998 removed the tmpl directory from cvs (no more conflicts here!)
3000 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3002 * docs/gst/gstreamer-sections.txt:
3003 * docs/gst/tmpl/.cvsignore:
3004 * docs/gst/tmpl/gstpad.sgml:
3005 * docs/gst/tmpl/gstpadtemplate.sgml:
3007 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3008 (gst_pad_finalize), (gst_pad_set_pad_template):
3010 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3011 (gst_pad_template_class_init), (gst_pad_template_init),
3012 (gst_pad_template_dispose), (name_is_valid),
3013 (gst_static_pad_template_get), (gst_pad_template_new),
3014 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3015 (gst_pad_template_pad_created):
3016 * gst/gstpadtemplate.h:
3017 inlined two more docs
3018 factored gstpadtemplate out of gstpad
3020 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3022 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3023 (test_children_state_change_order_semi_sink):
3024 Fix test case: we can't rely on a fixed state change order when
3025 going from READY => PAUSED because the sink might commit its
3026 new state first when the first buffer created by the source
3027 reaches the sink before the source has finished its change state.
3028 (Test case still fails at times, see #316856, comment 5 onwards)
3030 2005-09-24 Wim Taymans <wim@fluendo.com>
3032 * docs/design/part-events.txt:
3033 * docs/design/part-gstbus.txt:
3034 * docs/design/part-gstpipeline.txt:
3035 * docs/design/part-messages.txt:
3036 * docs/design/part-overview.txt:
3037 * docs/design/part-segments.txt:
3044 * gst/gstiterator.c:
3045 Various documentation updates.
3047 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3050 Well, that's embarassing. Luckily we weren't using
3051 GST_CLOCK_DIFF anywhere.
3053 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3055 * common/gtk-doc.mak:
3056 don't fail on building XML, FC4 slave shows a bunch of doc
3057 missing bits that I don't get
3059 * gst/gstpipeline.c:
3060 * gst/gststructure.c:
3063 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3065 * docs/design/part-gstbin.txt:
3066 * docs/design/part-gstbus.txt:
3068 Add blurb about how the bus goes into flushing mode and
3069 drops all messages when its bin goes from READY into NULL
3072 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3074 * docs/gst/gstreamer-sections.txt:
3075 * gst/gststructure.c: (gst_structure_get_clock_time):
3076 * gst/gststructure.h:
3077 add a method to get a GstClockTime out of a structure
3079 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3081 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3082 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3083 Added test to check state change order in bins (can still be made
3084 to fail here under heavy disk load; bails out with 'Push on pad
3085 fakesink:sink0, but it was not activated in push mode').
3087 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3088 Fix state change order when there is only a semi sink (#316856)
3090 * gst/gstbus.c: (gst_bus_class_init):
3091 Use _class_peek_parent(), not _class_ref(); fix docs to say
3092 'default main context' instead of 'mainloop' where that is
3095 * gst/gstelement.c: (gst_element_commit_state),
3096 (gst_element_set_state):
3097 Fix typos in debug messages
3099 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3102 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3103 * gst/gstpluginfeature.c:
3106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3107 change an assert into an error until it gets fixed properly
3109 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3111 * docs/gst/gstreamer-sections.txt:
3112 * docs/gst/tmpl/.cvsignore:
3113 * docs/gst/tmpl/gstelement.sgml:
3114 * docs/gst/tmpl/gstinfo.sgml:
3115 * docs/gst/tmpl/gstobject.sgml:
3120 * gst/gstobject.c: (gst_object_class_init):
3122 inlined 3 more biiiig doc files and added some missing docs on the fly
3124 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3126 * check/gst/.cvsignore:
3127 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3128 * gst/gstregistryxml.c: (load_plugin),
3129 (gst_registry_xml_save_plugin):
3130 put back source in registry. add checks for find_plugin.
3131 * testsuite/states/bin.c: (assert_state), (empty_bin),
3132 (test_adding_one_element), (main):
3133 * testsuite/states/locked.c: (main):
3134 some compile/run fixes
3136 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3138 * check/gst/gstvalue.c: (GST_START_TEST):
3139 fix leaks in the test itself
3141 2005-09-22 Wim Taymans <wim@fluendo.com>
3143 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3144 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3145 (gst_base_sink_query):
3146 Prepare for more accurate position reporting and query
3149 * gst/gstelement.c: (gst_element_send_event),
3150 (gst_element_set_state):
3153 2005-09-22 Wim Taymans <wim@fluendo.com>
3155 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3156 (gst_query_parse_segment):
3159 Add segment query for future use.
3161 2005-09-22 Wim Taymans <wim@fluendo.com>
3163 * gst/gstbin.c: (gst_bin_add_func):
3164 Some more debug info.
3166 * gst/gstelement.c: (gst_element_send_event):
3170 Don't know how flags got broken.
3175 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3177 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3178 Add simplistic test suite for GST_TYPE_DATE serialisation and
3181 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3183 * docs/gst/gstreamer-sections.txt:
3184 * gst/gststructure.c: (gst_structure_set_valist),
3185 (gst_structure_get_date):
3186 * gst/gststructure.h:
3187 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3188 (gst_date_copy), (gst_value_compare_date),
3189 (gst_value_serialize_date), (gst_value_deserialize_date),
3190 (gst_value_transform_date_string),
3191 (gst_value_transform_string_date), (_gst_value_initialize):
3193 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3194 bunch of utility functions along with a hack that checks that
3195 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3196 is required. Part of the grand scheme in #170777.
3198 2005-09-22 Andy Wingo <wingo@pobox.com>
3200 * gst/gstconfig.h.in: Psych out gtk-doc.
3202 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3204 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3206 * tools/gst-inspect.c (print_element_list): Plug some
3207 inconsequential leaks.
3209 * gst/gstregistry.c (gst_registry_get_default): Doc.
3211 * check/gst/gstplugin.c:
3212 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3213 * gst/gstelementfactory.c (gst_element_factory_create):
3214 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3217 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3218 (gst_plugin_feature_load): Doc, don't eat refs.
3220 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3221 (gst_plugin_list_free): Doc.
3222 (gst_plugin_load_file): Doc updates.
3224 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3225 accessors returning refcounted objects, return a ref.
3227 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3228 accessor for caps. IDEMPOTENCE. Oh yes.
3230 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3232 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3234 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3235 (_gst_debug_register_funcptr):
3236 Add mutex to serialise access to the hash table with
3237 the function pointer => function name string mapping;
3238 make that hash table static scope (#316809).
3240 * gst/registries/.cvsignore:
3241 Remove left-over file.
3243 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3245 * docs/pwg/appendix-porting.xml:
3246 And something about newsegment events and caps-on-buffers to
3247 the porting guide (feel free to improve).
3249 2005-09-21 Andy Wingo <wingo@pobox.com>
3251 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3252 data and event probes on the same pad.
3253 (test_buffer_probe_once): Test that removing probes from within
3254 the probe functions works.
3256 2005-09-21 Andy Wingo <wingo@pobox.com>
3258 * check/gst/gstutils.c: New file.
3259 (test_buffer_probe_n_times): A simple buffer probe test. More to
3262 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3263 have-data::buffer, not have-data.
3264 (gst_pad_add_event_probe): Likewise for have-data::event.
3265 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3266 peer' isn't quite right yet though.
3267 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3268 (gst_pad_remove_data_probe): Change to take the guint handler_id
3269 as their arg, not the function+data, which is more glib-like.
3271 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3272 the signal emission to indicate if the data is a buffer or an
3274 (gst_pad_get_type): Initialize buffer and event quarks.
3275 (gst_pad_class_init): have-data is now a detailed signal, yes it
3278 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3280 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3281 * gst/gstutils.c: (gst_util_set_value_from_string),
3282 (gst_util_set_object_arg):
3283 Don't put functional code in g_return_if_fail() or
3284 g_return_val_if_fail() statements, otherwise things will
3285 break when G_DISABLE_CHECKS is defined during compilation.
3287 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3289 * docs/gst/tmpl/.cvsignore:
3290 * docs/gst/tmpl/gstvalue.sgml:
3293 inlied another one and added some obvious docs
3295 2005-09-21 Wim Taymans <wim@fluendo.com>
3297 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3298 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3299 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3300 (gst_fdsrc_get_property), (gst_fdsrc_create):
3301 * gst/elements/gstfdsrc.h:
3302 Properly implement fdsrc. Removed signal and timeout,
3303 better implemented somewhere else.
3305 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3307 * docs/gst/tmpl/.cvsignore:
3308 * docs/gst/tmpl/gstimplementsinterface.sgml:
3309 * gst/gstinterface.c:
3312 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3314 * docs/gst/gstreamer-sections.txt:
3315 * docs/gst/tmpl/.cvsignore:
3316 * docs/gst/tmpl/gstenumtypes.sgml:
3317 remove obsolete doc file
3319 2005-09-21 David Schleef <ds@schleef.org>
3321 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3322 little beer, fix a little leak.
3324 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3326 * docs/gst/gstreamer-docs.sgml:
3327 * docs/gst/gstreamer-sections.txt:
3328 * docs/gst/tmpl/.cvsignore:
3333 * gst/gstindex.c: (gst_index_class_init):
3335 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3336 (gst_index_factory_class_init), (gst_index_factory_init),
3337 (gst_index_factory_finalize), (gst_index_factory_new),
3338 (gst_index_factory_destroy), (gst_index_factory_find),
3339 (gst_index_factory_create), (gst_index_factory_make):
3340 * gst/gstindexfactory.h:
3341 * gst/gstpluginfeature.c:
3342 * gst/gstpluginfeature.h:
3343 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3344 more docs inlined, splitted gstindex.{c,h}
3346 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3348 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3351 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3353 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3354 Set sync to FALSE by default.
3356 2005-09-20 Wim Taymans <wim@fluendo.com>
3358 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3359 (gst_base_sink_init):
3360 Make sync property settable from subclass.
3362 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3363 (gst_fake_sink_change_state):
3364 Set sync to FALSE by default.
3366 2005-09-20 Wim Taymans <wim@fluendo.com>
3368 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3369 * tools/gst-launch.c: (main):
3370 The timeout handler should have lower priority than the source
3371 so we don't timeout before popping a message with 0 timeout.
3372 Dump error messages after failed state change.
3374 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3376 * tools/gst-inspect.c: (print_element_properties_info):
3379 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3381 * check/gst/gstevent.c:
3382 * gst/elements/gstfakesink.c:
3383 * gst/elements/gstfakesink.h:
3384 remove the sync property from fakesink.
3385 has the side effect of setting sync TRUE
3386 for fakesink, which is a change. Anyone who knows how
3387 to fix this nicely in a GObject-y way, feel free.
3389 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3391 * docs/gst/gstreamer-docs.sgml:
3392 remove probe refsection
3394 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3396 * check/Makefile.am:
3397 disable valgrinding the controller test again
3398 * docs/gst/gstreamer-sections.txt:
3399 update for api-changes
3401 2005-09-20 Wim Taymans <wim@fluendo.com>
3403 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3404 (gst_base_sink_set_property), (gst_base_sink_get_property),
3405 (gst_base_sink_do_sync):
3406 * gst/base/gstbasesink.h:
3407 Added sync property to basesink to disable clock sync.
3409 2005-09-20 Andy Wingo <wingo@pobox.com>
3411 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3412 eating the caller's refcount.
3414 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3415 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3418 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3419 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3420 of GLib 2.8 public, so we can know which refcount to check in
3423 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3424 (gst_object_init): Only set the gst refcount if we're going ahead
3425 with the refcount hack.
3427 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3429 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3430 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3431 more leaks plumbed, added more debug-logging
3435 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3438 remove include of gstmemchunk.h
3440 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3442 * gst/gstclock.c: (_gst_clock_id_free):
3443 Commit from the Political Party For More Atomic CVS Commits,
3444 so that people don't waste too much of their day fishing
3445 out obvious leaks out of massive commits.
3446 Oh, and fix a pretty damn obvious leak in the memchunk
3449 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3451 * check/Makefile.am:
3452 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3453 plug mem-leak, re-add to valgrindable tests
3455 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3458 unbreak the build for those who have chronic arthritis
3459 and typing "make check" is just too taxing on the hands
3461 2005-09-20 Andy Wingo <wingo@pobox.com>
3463 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3464 really want it out, you should fix plugins at the same time.
3466 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3469 * docs/gst/gstreamer-sections.txt:
3471 added missing symbols to api docs
3472 disable ref-count hack if we have glib >= 2.8
3474 2005-09-19 David Schleef <ds@schleef.org>
3476 * docs/gst/Makefile.am: Ignore a few more internal headers
3477 * docs/gst/gstreamer-docs.sgml: Remove old sections
3478 * docs/gst/gstreamer-sections.txt: Remove old sections
3479 * docs/gst/tmpl/gstobject.sgml: update
3480 * docs/gst/tmpl/gstplugin.sgml: update
3481 * docs/gst/tmpl/gstpluginfeature.sgml: update
3482 * docs/random/ds/0.9-suggested-changes: update.
3483 * gst/Makefile.am: remove memchunk and trashstack, since they're
3485 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3486 * gst/gst.h: don't include some headers
3487 * gst/gstchildproxy.c: add gstmarshal.h
3488 * gst/gstclock.c: Don't use memchunks
3489 * gst/gstminiobject.c: Add some docs
3490 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3491 * gst/gstobject.h: same
3492 * gst/gstplugin.c: include gstmacros.h
3493 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3494 * gst/gstquery.c: don't use memchunks
3495 * gst/gstregistry.c: rename gst_registry_deinit()
3496 * gst/gstregistry.h: same
3498 2005-09-19 David Schleef <ds@schleef.org>
3500 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3501 * docs/libs/gstreamer-libs-sections.txt:
3502 * docs/libs/tmpl/gstgetbits.sgml:
3503 * docs/libs/tmpl/gstputbits.sgml:
3505 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3507 * win32/gstenumtypes.c:
3508 * win32/gstenumtypes.h:
3511 2005-09-19 Wim Taymans <wim@fluendo.com>
3513 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3514 Automatically PAUSE and RESUME a pipeline when a flushing seek
3517 2005-09-19 Andy Wingo <wingo@pobox.com>
3519 * gst/gstregistry.h: Spacing fixen.
3521 2005-09-19 Wim Taymans <wim@fluendo.com>
3523 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3524 Handle state change failure more correctly.
3526 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3528 * check/Makefile.am:
3529 * check/pipelines/cleanup.c: (run_pipeline):
3530 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3532 enable cleanup again after fixing the leak
3534 some more info on docs
3536 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3538 * check/Makefile.am:
3539 re-enable tests now that leaks are plugged
3541 * check/gst/gstbin.c:
3542 * check/gst/gstpipeline.c:
3543 add some more tests while fixing leaks
3545 make sure binaries are uptodate when valgrinding/gdbing
3547 * gst/gstelementfactory.c:
3548 remove a ref too many, and add a FIXME for when we get
3549 round to disposing of classes
3551 fix the refcounting when loading a plugin from a file and
3552 the code pretends that the pointer is the same even though
3553 of course it can change
3554 * gst/gstpluginfeature.c:
3555 unref plugins marked cached (a bit confusing as a name)
3556 as the docs state should be done
3557 various doc additions to explain refcounting
3558 * gst/gstregistry.c:
3559 * gst/gstregistryxml.c:
3562 2005-09-19 Wim Taymans <wim@fluendo.com>
3564 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3565 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3566 (send_messages), (GST_START_TEST), (gstbus_suite):
3567 * check/gst/gstpipeline.c: (GST_START_TEST):
3568 * check/pipelines/cleanup.c: (run_pipeline):
3569 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3571 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3572 (gst_bus_source_check), (gst_bus_source_dispatch),
3573 (gst_bus_create_watch), (gst_bus_add_watch_full),
3574 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3576 * tools/gst-launch.c: (event_loop):
3577 * tools/gst-md5sum.c: (event_loop):
3578 GstBusHandler -> GstBusFunc, return value has the same meaning as
3579 any other GSource (FALSE == remove source).
3580 _add_watch() and _add_watch_full() now take a MessageType mask to
3581 only handle specific types of messages.
3582 _poll() returns the GstMessage instead of the message type to avoid
3584 _have_pending() takes a MessageType mask now too.
3585 Added testsuite for multiple bus watches.
3586 Fix testsuites and applications for new bus API.
3588 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3590 * check/Makefile.am:
3591 mark a bunch of the tests as to fix until we fix them
3593 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3596 use GST_PLUGIN settings for valgrind tests as well, so we're
3597 valgrinding the correct thing
3598 * gst/gst.c: (init_post):
3601 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3603 * gst/gst.c: (init_post), (gst_deinit):
3604 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3605 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3606 * gst/gstindex.c: (gst_index_factory_class_init),
3607 (gst_index_factory_finalize):
3608 * gst/gstobject.c: (gst_object_dispose):
3609 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3610 (gst_plugin_load_file), (gst_plugin_desc_free):
3611 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3612 (gst_plugin_feature_finalize):
3613 * gst/gstregistry.c: (gst_registry_class_init),
3614 (gst_registry_init), (gst_registry_finalize),
3615 (gst_registry_get_default), (gst_registry_deinit):
3616 * gst/gstregistry.h:
3617 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3618 various cleanups and memleak plugging. make valgrind is happy now.
3620 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3623 add a check-valgrind target
3625 2005-09-18 David Schleef <ds@schleef.org>
3627 * tools/gst-inspect.c: Revert the GOption code.
3629 2005-09-17 David Schleef <ds@schleef.org>
3631 * check/Makefile.am: Fix environment variables.
3632 * check/gst/gstplugin.c: Fix for API changes.
3633 * tools/gst-inspect.c: Fix for API changes.
3634 * tools/gst-xmlinspect.c: Fix for API changes.
3635 * gst/gstelementfactory.c:
3638 * gst/gstpluginfeature.c:
3639 * gst/gstpluginfeature.h:
3640 * gst/gstregistry.c:
3641 * gst/gstregistry.h:
3642 * gst/gstregistryxml.c:
3643 * gst/gsttypefind.c:
3644 * gst/gsttypefindfactory.c:
3645 * gst/indexers/gstfileindex.c:
3646 * gst/indexers/gstmemindex.c:
3647 * gst/schedulers/Makefile.am:
3648 Change registry to keep track of both plugins and features,
3649 removing the feature tracking from plugins themselves.
3651 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3653 * check/Makefile.am:
3654 * tools/gst-register.1.in:
3657 2005-09-15 David Schleef <ds@schleef.org>
3659 * check/gst/gstplugin.c:
3660 * gst/gstelementfactory.c:
3662 * gst/gstpluginfeature.c:
3663 * gst/gstregistry.c:
3664 Getting tired of debugging. Disabled all the unreffing of
3665 plugins and features, which fixes the segfaults, but of
3666 course leaks like crazy. At least playbin works.
3668 2005-09-15 David Schleef <ds@schleef.org>
3670 * check/gst/gstplugin.c: (register_check_elements),
3671 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3673 * gst/elements/gsttypefindelement.c: Fix refcounting.
3674 * gst/gsttypefind.c:
3675 * gst/gsttypefindfactory.c:
3676 * gst/gsttypefindfactory.h:
3678 2005-09-15 David Schleef <ds@schleef.org>
3680 * gst/gstindex.c: get refcounting correct.
3681 * gst/gstregistry.c: Handle the case where a feature/plugin is
3684 2005-09-15 David Schleef <ds@schleef.org>
3686 * check/Makefile.am:
3687 * check/gst/gstplugin.c: Add test
3688 * gst/gstplugin.c: Fix problems noticed by testsuite
3690 * gst/gstregistry.c:
3691 * gst/gstregistry.h:
3693 2005-09-15 David Schleef <ds@schleef.org>
3695 * gst/gstplugin.c: Implement semi-decent recounting and locking
3696 in plugins and plugin features.
3698 * gst/gstpluginfeature.c:
3699 * gst/gstpluginfeature.h:
3700 * gst/gstregistry.c:
3702 2005-09-15 Michael Smith <msmith@fluendo.com>
3704 * gst/gstregistry.c: (gst_registry_get_feature_list):
3705 Implement this. Makes oggdemux work; decodebin still broken.
3707 2005-09-14 David Schleef <ds@schleef.org>
3709 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3711 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3712 * gst/check/Makefile.am:
3713 * libs/gst/controller/Makefile.am:
3714 * libs/gst/dataprotocol/Makefile.am:
3716 2005-09-14 David Schleef <ds@schleef.org>
3718 * configure.ac: Remove getbits library. Nothing uses it, and
3719 it should be in something like liboil if someone did want
3721 * libs/gst/Makefile.am:
3722 * libs/gst/getbits/Makefile.am:
3723 * libs/gst/getbits/gbtest.c:
3724 * libs/gst/getbits/getbits.c:
3725 * libs/gst/getbits/getbits.h:
3726 * libs/gst/getbits/gstgetbits_generic.c:
3727 * libs/gst/getbits/gstgetbits_i386.s:
3728 * libs/gst/getbits/gstgetbits_inl.h:
3730 2005-09-14 David Schleef <ds@schleef.org>
3732 * gst/Makefile.am: Dist glib-compat.h
3734 2005-09-14 David Schleef <ds@schleef.org>
3736 * configure.ac: Remove gst/registries, since it's no longer used.
3737 * gst/registries/Makefile.am:
3738 * gst/registries/gstlibxmlregistry.c:
3739 * gst/registries/gstlibxmlregistry.h:
3740 * gst/registries/gstxmlregistry.c:
3741 * gst/registries/gstxmlregistry.h:
3742 * gst/registries/registrytest.c:
3744 2005-09-14 David Schleef <ds@schleef.org>
3746 * gst/glib-compat.h:
3747 * gst/gstregistryxml.c:
3748 Convergence is near. Seriously.
3750 2005-09-14 David Schleef <ds@schleef.org>
3752 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3753 * gst/glib-compat.h:
3754 Attempt #4 to appease the buildbots.
3756 2005-09-14 David Schleef <ds@schleef.org>
3758 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3761 2005-09-14 David Schleef <ds@schleef.org>
3763 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3766 2005-09-14 David Schleef <ds@schleef.org>
3768 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3771 2005-09-14 David Schleef <ds@schleef.org>
3773 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3774 * gst/glib-compat.h: Add some functions that are in newer versions
3775 of glib than we care to require.
3776 * gst/gstregistryxml.c: Use them.
3778 2005-09-14 David Schleef <ds@schleef.org>
3780 * po/POTFILES.in: remove gst-register.c
3782 2005-09-14 David Schleef <ds@schleef.org>
3784 * docs/gst/gstreamer-docs.sgml:
3785 * docs/gst/gstreamer-sections.txt:
3786 * docs/gst/gstreamer.types:
3787 * docs/gst/tmpl/gstelement.sgml:
3788 * docs/gst/tmpl/gstplugin.sgml:
3789 * docs/gst/tmpl/gstpluginfeature.sgml:
3790 Documentation updates for registry changes.
3792 2005-09-14 David Schleef <ds@schleef.org>
3794 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3795 because we don't require glib-2.8.
3797 2005-09-14 David Schleef <ds@schleef.org>
3799 * gst/gstregistryxml.c: Added. Essentially moved out of the
3800 registries directory.
3802 2005-09-14 David Schleef <ds@schleef.org>
3804 * check/Makefile.am:
3805 * check/generic/states.c:
3809 * gst/gst_private.h:
3810 * gst/gstelementfactory.c:
3815 * gst/gstpluginfeature.c:
3816 * gst/gstpluginfeature.h:
3817 * gst/gstregistry.c:
3818 * gst/gstregistry.h:
3819 * gst/gstregistrypool.c: remove
3820 * gst/gstregistrypool.h: remove
3821 * gst/gsttypefind.c:
3822 * gst/gsttypefindfactory.c:
3824 * tools/Makefile.am:
3825 * tools/gst-compprep.c:
3826 * tools/gst-inspect.c:
3827 * tools/gst-register.c: remove
3828 * tools/gst-xmlinspect.c:
3829 Registry rewrite. Changes registry from being a file created
3830 by a tool into a simple cache file created automatically by
3831 libgstreamer. Removed gst-register (because it's no longer
3832 needed). Remove registry pools, because we only have one
3833 registry implementation (XML). Fix up other subsystems as
3836 2005-09-13 Michael Smith <msmith@fluendo.com>
3838 * gst/gstconfig.h.in:
3839 Don't Use windows linking attributes for MinGW. Fixes #316157
3841 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3843 * gst/gstutils.c: (set_state_async_thread_func),
3844 (gst_element_set_state_async):
3845 Apparently people think it's better if this function doesn't
3846 try to set the state to whatever state was asked for on the first
3847 call to this function for any object. Seriously.
3849 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3851 * check/gst/gstpipeline.c: (GST_START_TEST):
3852 * docs/gst/gstreamer-sections.txt:
3853 * gst/gstutils.c: (set_state_async_thread_func),
3854 (gst_element_set_state_async):
3856 add a "gst_element_set_state_async" method that
3857 sets the state and starts a thread to make sure the state
3858 change completes as best as it can
3860 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3862 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3863 codify design+behaviour in testsuite after discussion
3865 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3867 * docs/gst/tmpl/gstelement.sgml:
3868 * docs/manual/appendix-quotes.xml:
3870 * gst/gstelement.c: (gst_element_set_state):
3873 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3875 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3876 (gst_base_transform_prepare_output_buf),
3877 (gst_base_transform_handle_buffer):
3878 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3879 (gst_capsfilter_prepare_buf):
3880 Remove the requirement for sub-classes to call the parent
3881 implementation of prepare_output_buffer with a wrapper function.
3884 * gst/gsttagsetter.h:
3887 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3889 * docs/gst/gstreamer-sections.txt:
3892 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3894 * docs/gst/gstreamer-sections.txt:
3895 * docs/gst/tmpl/gstelement.sgml:
3896 * docs/gst/tmpl/gstplugin.sgml:
3897 * gst/gstminiobject.c:
3899 docs now stop throwing warnings
3901 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3903 * docs/gst/gstreamer-sections.txt:
3904 * docs/gst/gstreamer.types:
3905 * docs/gst/tmpl/gstpad.sgml:
3906 * docs/gst/tmpl/gsttypes.sgml:
3907 * gst/base/gstadapter.h:
3908 * gst/base/gstbasesink.h:
3909 * gst/base/gstbasesrc.h:
3919 * gst/gststructure.c:
3920 * gst/registries/gstlibxmlregistry.h:
3921 various documentation fixes
3923 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3925 * docs/gst/gstreamer-sections.txt:
3926 * docs/gst/tmpl/gstvalue.sgml:
3927 rearrange gstvalue section
3928 * gst/gstutils.c: (gst_element_state_get_name):
3930 * gst/gstvalue.c: (_gst_value_initialize):
3934 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3936 * check/gst-libs/controller.c:
3938 * gst/base/gstbasetransform.c:
3939 (gst_base_transform_default_prepare_buf),
3940 (gst_base_transform_handle_buffer):
3941 * gst/base/gstbasetransform.h:
3942 Some more basetransform changes and fixes to enable sub-classes
3943 that modify buffer metadata only.
3944 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3945 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3946 (gst_capsfilter_prepare_buf):
3947 If the output pad has fixed allowed caps and input buffers
3948 don't have any, set the fixed caps on outgoing buffers.
3950 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3951 * check/elements/identity.c: (GST_START_TEST):
3952 Make the error a little clearer when the test fails because
3953 identity made a copy of the buffer.
3954 * docs/gst/gstreamer-sections.txt:
3955 New symbols in gstbasetransform.h
3956 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3957 (gst_base_transform_init), (gst_base_transform_transform_size),
3958 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3959 (gst_base_transform_default_prepare_buf),
3960 (gst_base_transform_get_unit_size),
3961 (gst_base_transform_buffer_alloc),
3962 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3963 (gst_base_transform_change_state),
3964 (gst_base_transform_set_passthrough),
3965 (gst_base_transform_set_in_place),
3966 (gst_base_transform_is_in_place):
3967 * gst/base/gstbasetransform.h:
3968 Change BaseTransform to separate in_place operate from same_caps
3969 output. in_place implies that the element can perform the transform
3970 on incoming buffers in-place, even if the caps on the output are
3972 Sub-class elements can now implement special buffer allocation
3973 methods for outgoing buffers if they wish to.
3974 Big documentation addition.
3975 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3976 * gst/elements/gstelements.c:
3977 Changes for basetransform modifications.
3978 * gst/elements/Makefile.am:
3979 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3980 Compile fix. Extra debug output.
3982 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3984 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3986 add tests for valid pad naming
3987 * gst/check/gstcheck.c: (gst_check_log_message_func),
3988 (gst_check_log_critical_func):
3990 remove printing of code, it is fragile when the code contains
3991 % and the line number is enough info
3992 * gst/check/gstcheck.h:
3993 * gst/gstpad.c: (gst_pad_template_new):
3996 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3999 say what CHECK flags we use
4000 * docs/libs/gstreamer-libs.types:
4001 * libs/gst/controller/Makefile.am:
4002 * libs/gst/controller/gst-controller.c:
4003 * libs/gst/controller/gst-controller.h:
4004 * libs/gst/controller/gst-helper.c:
4005 * libs/gst/controller/gst-interpolation.c:
4006 * libs/gst/controller/gstcontroller.c:
4007 * libs/gst/controller/gsthelper.c:
4008 * libs/gst/controller/gstinterpolation.c:
4009 * tools/gst-inspect.c: (print_plugin_info):
4010 we don't use dashes in header names
4012 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4014 * check/Makefile.am:
4015 * check/gst/.cvsignore:
4016 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4017 (gst_pipeline_suite), (main):
4018 adding a test for pipelines and state changes
4019 * gst/gstutils.c: (get_state_func):
4021 * gstreamer.spec.in:
4024 2005-09-08 Michael Smith <msmith@fluendo.com>
4026 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4027 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4028 (gst_file_src_is_seekable), (gst_file_src_get_size),
4029 (gst_file_src_start):
4030 * gst/elements/gstfilesrc.h:
4031 Various fixes for unseekable, unmmapable, and non-normal files, so
4032 that fallback to read() rather than mmap() works.
4033 * gst/gstevent.c: (gst_event_new_newsegment):
4034 Allow newsegment events with segment_start == segment_end, as will
4035 correctly happen if you use filesrc on a zero-size file, for
4038 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4040 * gst/gstplugin.c: (gst_plugin_load_file):
4041 Call g_module_close when we don't load the module
4043 * gst/registries/gstlibxmlregistry.c:
4044 (gst_xml_registry_get_property):
4045 Port leak fix from 0.8
4047 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4049 * docs/gst/gstreamer-docs.sgml:
4050 * docs/gst/tmpl/.cvsignore:
4051 * docs/gst/tmpl/gsttrace.sgml:
4052 * docs/gst/tmpl/gsttrashstack.sgml:
4061 * gst/gsttaginterface.c:
4062 * gst/gsttaginterface.h:
4065 * gst/gsttagsetter.c:
4066 * gst/gsttagsetter.h:
4069 * gst/gsttrashstack.c:
4070 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4071 inlined docs for gsttrace, gsttrashstack
4073 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4076 * gst/elements/gstbufferstore.h:
4077 * gst/elements/gsttypefindelement.c:
4078 * gst/elements/gsttypefindelement.h:
4080 * gst/gsttypefind.c:
4081 * gst/gsttypefind.h:
4082 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4083 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4084 (gst_type_find_factory_dispose),
4085 (gst_type_find_factory_unload_thyself),
4086 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4087 (gst_type_find_factory_get_caps),
4088 (gst_type_find_factory_get_extensions),
4089 (gst_type_find_factory_call_function):
4090 * gst/gsttypefindfactory.h:
4091 * gst/registries/gstlibxmlregistry.c:
4092 * gst/registries/gstxmlregistry.c:
4093 splitted gsttypefind into gsttypefind, gsttypefindfactory
4095 2005-09-07 Andy Wingo <wingo@pobox.com>
4097 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4098 condition whereby the pad's task function is entered before the
4099 pad_mode variable was set.
4101 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4103 * gst/gstpad.c: (gst_pad_alloc_buffer):
4104 Catch misbehaving pad_alloc functions that don't
4105 set up caps and do it for them.
4107 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4109 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4111 * docs/gst/tmpl/.cvsignore:
4112 * docs/gst/tmpl/gstmemchunk.sgml:
4113 * docs/gst/tmpl/gstparse.sgml:
4114 * docs/gst/tmpl/gsttaglist.sgml:
4115 * docs/gst/tmpl/gsttagsetter.sgml:
4116 * docs/gst/tmpl/gsttypefind.sgml:
4117 * docs/gst/tmpl/gsttypefindfactory.sgml:
4118 * gst/gstmemchunk.c:
4121 * gst/gsttaginterface.c:
4122 * gst/gsttypefind.c:
4123 * gst/gsttypefind.h:
4126 === release 0.9.2 ===
4128 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4133 releasing 0.9.2, "South"
4135 2005-09-05 Andy Wingo <wingo@pobox.com>
4137 * gst/registries/gstxmlregistry.h:
4138 * gst/registries/gstxmlregistry.c: Um... resurrect...
4140 * gst/registries/gstxmlregistry.h:
4141 * gst/registries/gstxmlregistry.c: and update to newer API.
4142 Incidentally they should be a bit faster now that they don't have
4145 2005-09-05 Andy Wingo <wingo@pobox.com>
4147 * gst/registries/gstxmlregistry.h:
4148 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4149 replaced by the libxml registry a while back
4151 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4153 * docs/gst/tmpl/gstplugin.sgml:
4154 * gst/elements/gstelements.c:
4156 * gst/gstplugin.c: (gst_plugin_register_func),
4157 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4158 (gst_plugin_get_source):
4160 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4161 (gst_xml_registry_save_plugin):
4162 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4163 (gst_xml_registry_save_plugin):
4164 * tools/gst-inspect.c: (print_plugin_info):
4165 add a "source" plugin description field, to represent the source
4166 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4167 will set it to PACKAGE, which is automake's idea of the name of
4170 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4176 * docs/faq/Makefile.am:
4177 * docs/gst/tmpl/gstelement.sgml:
4178 * docs/gst/tmpl/gsttypes.sgml:
4179 * docs/htmlinstall.mak:
4180 * docs/manual/Makefile.am:
4181 * docs/pwg/Makefile.am:
4182 reorganize doc build a little
4183 split out docbook and gtk-doc stuff
4184 have two separate --enable's and enable them through autogen
4185 but disable by default in configure (to be similar to other
4187 * gstreamer.spec.in:
4188 clean up docs install
4208 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4210 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4213 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4214 (gst_fake_sink_change_state):
4215 Make state change function thread-safe.
4217 * gst/gstpad.c: (gst_pad_alloc_buffer):
4218 Set offset on generic buffer allocated by fallback.
4220 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4222 * docs/gst/gstreamer-sections.txt:
4223 * docs/gst/tmpl/gstelement.sgml:
4225 * libs/gst/controller/gst-controller.c:
4226 (gst_controlled_property_set_interpolation_mode),
4227 (gst_controlled_property_new),
4228 (gst_controller_find_controlled_property):
4229 run the wingo-magic script against the docs
4231 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4233 * docs/gst/gstreamer-docs.sgml:
4234 * docs/gst/gstreamer-sections.txt:
4235 * docs/gst/tmpl/.cvsignore:
4236 * docs/gst/tmpl/gstelementdetails.sgml:
4237 * docs/gst/tmpl/gstelementfactory.sgml:
4240 * gst/gstelementfactory.c:
4241 * gst/gstelementfactory.h:
4242 merged elementdetails docs into elementfactory docs
4245 2005-09-02 Andy Wingo <wingo@pobox.com>
4247 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4248 consider this enum an enum and not a flags.
4250 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4252 * docs/gst/gstreamer-docs.sgml:
4253 * docs/gst/tmpl/.cvsignore:
4254 * docs/gst/tmpl/gstghostpad.sgml:
4255 * docs/gst/tmpl/gstiterator.sgml:
4256 * docs/gst/tmpl/gstmacros.sgml:
4257 * docs/gst/tmpl/gstrealpad.sgml:
4258 * docs/gst/tmpl/gstregistry.sgml:
4259 * docs/gst/tmpl/gstregistrypool.sgml:
4260 * docs/gst/tmpl/gststructure.sgml:
4261 * docs/gst/tmpl/gstsystemclock.sgml:
4262 * docs/gst/tmpl/gsttrace.sgml:
4263 * gst/gstghostpad.c:
4265 * gst/gstmemchunk.c:
4266 * gst/gstmemchunk.h:
4268 * gst/gstregistry.c:
4269 * gst/gstregistrypool.c:
4270 * gst/gststructure.c:
4271 * gst/gstsystemclock.c:
4274 2005-09-02 Andy Wingo <wingo@pobox.com>
4276 * gst/gstelement.h (GstState): Renamed from GstElementState,
4277 changed to be a normal enum instead of flags.
4278 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4279 munged to be GST_STATE_CHANGE_*.
4280 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4281 work with the new state representation.
4282 (GstStateChange): New enumeration of possible state transitions.
4283 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4284 (GstElementClass::change_state): Pass the GstStateChange along as
4285 an argument. Helps language bindings, so they don't have to use
4286 tricky lock-needing macros like GST_STATE_CHANGE ().
4288 * scripts/update-states (file): New script. Run it on a file to
4289 update it for state naming and API changes. Updates files in
4292 * All files updated for the new API.
4294 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4296 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4297 * gst/gstutils.c: (gst_util_set_value_from_string),
4298 (gst_util_set_object_arg):
4299 fix a bunch of unchecked return values
4300 * tools/gst-complete.c: (main):
4301 * gstreamer.spec.in:
4304 2005-09-01 Wim Taymans <wim@fluendo.com>
4306 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4307 (gst_base_sink_event), (gst_base_sink_do_sync),
4308 (gst_base_sink_handle_event):
4309 * gst/base/gstbasesink.h:
4310 Handle newsegments more correctly.
4315 * gst/gstevent.c: (gst_event_new_newsegment):
4316 A newsegment cannot have a start_time of -1
4318 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4320 * win32/gstenumtypes.c:
4321 * win32/gstenumtypes.h:
4324 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4326 * libs/gst/controller/gst-controller.c:
4327 (gst_controlled_property_set_interpolation_mode),
4328 (gst_controlled_property_new):
4331 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4333 * docs/faq/gst-uninstalled:
4338 * gst/gstutils.c: (gst_element_link_filtered):
4340 add gst_element_link_filtered
4342 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4344 * docs/gst/gstreamer-docs.sgml:
4345 * docs/gst/gstreamer-sections.txt:
4346 * docs/gst/tmpl/.cvsignore:
4347 * docs/gst/tmpl/gsterror.sgml:
4348 * docs/gst/tmpl/gstfilter.sgml:
4349 * docs/gst/tmpl/gsturihandler.sgml:
4350 * docs/gst/tmpl/gsturitype.sgml:
4351 * docs/gst/tmpl/gstutils.sgml:
4352 * docs/gst/tmpl/gstxml.sgml:
4360 inlined more docs, fixed double id-ref
4362 2005-08-31 Wim Taymans <wim@fluendo.com>
4364 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4365 (gst_base_transform_handle_buffer):
4366 Passthrough elements don't need the caps as they don't care.
4368 2005-08-31 Wim Taymans <wim@fluendo.com>
4370 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4371 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4372 Don't leak refcounts on buffers.
4374 2005-08-31 Wim Taymans <wim@fluendo.com>
4376 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4377 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4378 (gst_base_transform_chain), (gst_base_transform_change_state):
4379 * gst/base/gstbasetransform.h:
4380 Handle the case where we are not negotiated more gracefully.
4382 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4384 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4385 (gst_file_src_map_region):
4386 Set READONLY flag on mmap'ed buffers, otherwise
4387 gst_buffer_make_writable() won't work properly (#314708).
4389 2005-08-31 Wim Taymans <wim@fluendo.com>
4391 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4392 passthrough elements can even do inplace on non writable
4393 buffers (as they don't touch them).
4395 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4397 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4398 (gst_test_mono_source_set_property),
4399 (gst_test_mono_source_class_init), (GST_START_TEST),
4400 (gst_controller_suite):
4401 more tests (hehe I have the most)
4403 describe popping messages whenusing mulltiple sources
4404 * libs/gst/controller/gst-controller.c:
4405 (gst_controlled_property_set_interpolation_mode),
4406 (gst_controlled_property_new):
4407 * libs/gst/controller/gst-controller.h:
4408 * libs/gst/controller/gst-interpolation.c:
4409 implement boolean properties
4411 2005-08-31 Wim Taymans <wim@fluendo.com>
4413 * gst/gstminiobject.c: (gst_mini_object_ref):
4414 Cannot assert that the refcount has to be positive
4415 since a disposed object can be resurrected.
4417 2005-08-31 Wim Taymans <wim@fluendo.com>
4419 * gst/gstpad.c: (gst_pad_init):
4420 Revert change, need to first fix badly behaving
4423 2005-08-30 Wim Taymans <wim@fluendo.com>
4425 * check/elements/fakesrc.c: (setup_fakesrc):
4426 * check/elements/identity.c: (setup_identity):
4427 Activate pads before using them.
4429 2005-08-30 Wim Taymans <wim@fluendo.com>
4431 * gst/base/gstadapter.c: (gst_adapter_flush):
4432 Flushing out 0 bytes is ok for this function.
4434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4435 no newsegment gives a warning and sets the start/stop to
4438 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4439 (gst_base_transform_set_passthrough):
4442 * gst/gstminiobject.c: (gst_mini_object_ref):
4443 Check refcount here too.
4445 * gst/gstpad.c: (gst_pad_init):
4446 Pads are initially flushing and refusing data.
4448 * gst/gstutils.c: (gst_element_link_pads_filtered):
4449 When adding a capsfilter element make sure it has the
4450 same state as the parent bin.
4452 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4454 * docs/gst/tmpl/.cvsignore:
4455 * docs/gst/tmpl/gstformat.sgml:
4456 * docs/gst/tmpl/gstversion.sgml:
4460 * gst/gstversion.h.in:
4461 more docs and two more inlined
4463 2005-08-30 Wim Taymans <wim@fluendo.com>
4465 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4466 Don't sync to clock.
4468 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4470 * docs/gst/gstreamer-sections.txt:
4471 ultral33t func10ns deserve to appear in the docs actually
4472 * docs/gst/tmpl/.cvsignore:
4473 * docs/gst/tmpl/gstcompat.sgml:
4474 * docs/gst/tmpl/gstconfig.sgml:
4475 * gst/check/gstcheck.c:
4477 * gst/gstconfig.h.in:
4480 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4482 * docs/gst/tmpl/.cvsignore:
4483 * docs/gst/tmpl/gstquery.sgml:
4484 * docs/gst/tmpl/gstutils.sgml:
4487 inlined and extended docs
4489 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4491 * check/gst-libs/controller.c: (GST_START_TEST),
4492 (gst_controller_suite):
4494 * docs/gst/tmpl/gstutils.sgml:
4495 * docs/libs/gstreamer-libs-sections.txt:
4496 * docs/libs/tmpl/gstdataprotocol.sgml:
4498 * examples/controller/audio-example.c: (main):
4499 controller example works now
4502 * tools/gst-inspect.c: (print_element_properties_info):
4503 show param spec flags
4505 2005-08-29 Andy Wingo <wingo@pobox.com>
4507 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4509 2005-08-28 Andy Wingo <wingo@pobox.com>
4511 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4512 as having two arguments instead of just one. Allows superclasses
4513 to access information on subclasses -- see the terrible for() loop
4514 in gtype.c:g_type_create_instance for the reason why. All callers
4517 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4519 * docs/design/part-messages.txt:
4521 * docs/gst/tmpl/.cvsignore:
4522 * docs/gst/tmpl/gstcaps.sgml:
4523 * docs/gst/tmpl/gstclock.sgml:
4530 added descriptions for bus and message
4531 inline caps and clock docs
4533 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4539 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4541 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4544 2005-08-26 Andy Wingo <wingo@pobox.com>
4546 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4547 element_set_state's return val.
4548 (test_2_elements): Add test that's been disabled for months.
4550 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4551 can-activate-pull properties.
4553 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4554 can-activate-pull properties. Implement is_seekable so fakesrc can
4555 operate in pull mode.
4557 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4559 (gst_base_sink_activate, gst_base_sink_activate_pull)
4560 (gst_base_sink_activate_push): Make activation mode choosing work.
4562 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4563 is right. Make pull mode work. Post an eos before pausing in pull
4565 (gst_base_sink_change_state): Pay attention to the core's
4566 change_state() return val.
4568 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4569 has-getrange properties. Cleanups.
4571 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4572 has_getrange and replace with can_activate_pull and
4575 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4576 locking comments. Remove has_loop, has_chain and replace with
4577 can_activate_pull and can_activate_push.
4579 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4582 * examples/Makefile.am:
4583 * examples/metadata/Makefile.am:
4584 * examples/metadata/read-metadata.c: (message_loop),
4585 (have_pad_handler), (make_pipeline), (print_tag), (main):
4586 Add metadata reading example that loops over a list of filenames,
4587 dumping any tags found.
4589 * gst/gstbus.c: (gst_bus_dispose):
4590 * gst/gstelement.c: (gst_element_dispose):
4591 Release a few potentially-held references in dispose.
4593 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4595 * docs/gst/tmpl/gstminiobject.sgml:
4596 do *not* add tmpl/*.sgml files to CVS!
4598 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4600 * libs/gst/bytestream/.cvsignore:
4601 * libs/gst/bytestream/Makefile.am:
4602 * libs/gst/bytestream/adapter.c:
4603 * libs/gst/bytestream/adapter.h:
4604 * libs/gst/bytestream/bytestream.c:
4605 * libs/gst/bytestream/bytestream.h:
4606 * libs/gst/bytestream/filepad.c:
4607 * libs/gst/bytestream/filepad.h:
4608 removing obsolete files
4610 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4612 * docs/gst/gstreamer-docs.sgml:
4613 * docs/libs/gstreamer-libs-docs.sgml:
4614 disabed additional index entries again, as this makes docs-gen just
4615 slow and they aren't useful yet
4616 * docs/libs/gstreamer-libs-sections.txt:
4617 little -section.txt cleanup for libs
4619 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4621 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4622 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4623 fix up some debugging
4624 (gst_base_transform_get_unit_size),
4625 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4626 (gst_base_transform_handle_buffer):
4627 * gst/base/gstbasetransform.h:
4628 handle and store timed NEWSEGMENT events so that subclasses that
4629 calculate time by counting samples have a segment_start time they
4630 need to add to their timestamps - see audioresample
4632 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4635 removed ';' from the end of macro defs
4636 * docs/gst/gstreamer-docs.sgml:
4637 * docs/gst/gstreamer-sections.txt:
4638 * docs/gst/tmpl/.cvsignore:
4640 * gst/gstelement.c: (gst_element_class_init),
4641 (gst_element_set_state), (activate_pads),
4642 (gst_element_save_thyself):
4643 * gst/gstevent.c: (gst_event_new_newsegment):
4645 * gst/gstiterator.c:
4646 * gst/gstiterator.h:
4649 * gst/gstutils.c: (gst_pad_query_convert):
4651 fixed parameter name mismatches between source, header and docs
4652 added some more docs, resolved the last batch of unused elements in
4653 docs (now someone needs to doc them)
4655 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4657 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4658 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4659 don't walk through the plugins backwards. Where is all this
4660 reversed logic coming from ?
4662 2005-08-25 Wim Taymans <wim@fluendo.com>
4664 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4665 (gst_base_transform_transform_size),
4666 (gst_base_transform_configure_caps),
4667 (gst_base_transform_get_unit_size),
4668 (gst_base_transform_buffer_alloc),
4669 (gst_base_transform_change_state):
4670 * gst/base/gstbasetransform.h:
4671 Cache caps unit_size.
4672 Make sure we cannot negotiate up and downstream at the
4675 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4677 * gst/gst.c: (init_pre), (init_post):
4678 register the installed plugin path after the env var
4679 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4680 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4681 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4682 directories, so the tests can prefer uninstalled over installed
4684 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4686 * gst/base/gstbasetransform.h:
4691 2005-08-25 Wim Taymans <wim@fluendo.com>
4693 * gst/gstbin.c: (bin_bus_handler):
4694 Be a bit more conservative about the posted message.
4696 * gst/gstbus.c: (gst_bus_post):
4697 Some cleanups, warn wrong return values.
4699 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4701 * check/gst/gstbin.c: (GST_START_TEST):
4702 * gst/gstbin.c: (bin_bus_handler):
4703 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4704 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4705 (gst_message_new_warning), (gst_message_new_tag),
4706 (gst_message_new_state_changed), (gst_message_new_segment_start),
4707 (gst_message_new_segment_done), (gst_message_new_custom):
4709 * tools/gst-launch.c: (event_loop):
4710 * tools/gst-md5sum.c: (event_loop):
4711 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4713 2005-08-25 Wim Taymans <wim@fluendo.com>
4715 * check/generic/states.c: (GST_START_TEST):
4716 Cleanup can be done at the end.
4718 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4719 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4720 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4721 Oh boy.. Thanks for finding this, Thomas.
4723 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4725 * docs/gst/gstreamer.types:
4728 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4730 * docs/gst/gstreamer-docs.sgml:
4731 * docs/gst/gstreamer-sections.txt:
4732 * docs/gst/tmpl/.cvsignore:
4734 * gst/gstiterator.c:
4736 * gst/registries/gstxmlregistry.h:
4737 added missing classes and symbols (123 more to go)
4738 removed removed symbols from section file
4739 fixed many doc-comments
4741 2005-08-24 Wim Taymans <wim@fluendo.com>
4743 * check/generic/states.c: (GST_START_TEST):
4744 Make sure all tasks are stopped.
4746 * check/gst/gstbin.c: (GST_START_TEST):
4747 Unref after usage for proper valgrinding.
4749 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4750 Really wait for the task to stop before destroying the
4753 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4754 (gst_queue_src_activate_push):
4755 Small cleanups. Don't stop the task when we did not start
4758 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4759 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4760 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4763 Protect the stream lock with the object lock.
4764 Disallow setting the stream lock when running.
4765 Add cleanup_all to wait for the threadpool to finish.
4766 Remove code to autoallocate a mutex if none was provided.
4767 Add _join() to wait for a task to stop.
4768 Protect the thread pool with a global lock.
4770 2005-08-24 Wim Taymans <wim@fluendo.com>
4772 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4773 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4774 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4775 * gst/base/gstbasesink.h:
4776 Handle newsegment events correctly.
4777 Drop buffers out of the segment range.
4779 2005-08-22 Andy Wingo <wingo@pobox.com>
4781 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4782 macro, implements an interface and gstimplementsinterface for a
4785 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4787 * check/Makefile.am:
4788 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4789 add a test that does a bunch of state changes on elements
4790 needs some fixing for valgrind
4791 * check/states/sinks.c: (gst_object_suite):
4794 add prototype for gst_caps_is_equal_fixed
4796 * gst/gstregistrypool.c:
4799 2005-08-24 Andy Wingo <wingo@pobox.com>
4801 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4802 convert a negative value. Doesn't make much sense. Mostly this is
4803 here to force callers to ensure -1 maps to -1.
4805 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4807 * docs/pwg/advanced-types.xml:
4808 Well done to Michael for catching my deliberate introduction
4809 of this spelling mistake.
4810 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4812 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4813 unlink pads before removing the element from the bin.
4815 2005-08-24 Andy Wingo <wingo@pobox.com>
4817 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4818 the same thing as GST_DEBUG=*:4.
4819 (parse_debug_level, parse_debug_category): New helper parsers.
4821 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4823 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4824 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4825 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4826 (gst_base_transform_buffer_alloc),
4827 (gst_base_transform_handle_buffer):
4828 use gboolean return values and pointers to size so we can use the
4829 full GST_BUFFER_SIZE range (guint) for buffer sizes
4830 use GstPadDirection for transform_caps
4831 * gst/base/gstbasetransform.h:
4832 rename get_size to get_unit_size since that's what it is
4833 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4834 use GstPadDirection for transform_caps
4835 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4837 cleanup and debugging
4839 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4841 * gst/gstelement.c: (gst_element_class_init),
4842 (gst_element_set_state), (activate_pads),
4843 (gst_element_save_thyself):
4844 * tools/gst-compprep.c: (main):
4845 * tools/gst-inspect.c: (print_element_properties_info):
4846 * tools/gst-xmlinspect.c: (print_element_properties):
4847 Fixed long standing mem-leak
4849 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4851 * check/gst/gstbin.c: (GST_START_TEST):
4852 * gst/gstbin.c: (bin_bus_handler):
4853 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4854 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4855 (gst_message_new_warning), (gst_message_new_tag),
4856 (gst_message_new_state_changed), (gst_message_new_segment_start),
4857 (gst_message_new_segment_done), (gst_message_new_custom):
4859 * tools/gst-launch.c: (event_loop):
4860 * tools/gst-md5sum.c: (event_loop):
4861 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4862 that applications can sensibly post custom messages with references
4863 to their own objects.
4865 2005-08-24 Andy Wingo <wingo@pobox.com>
4867 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4870 2005-08-24 Wim Taymans <wim@fluendo.com>
4872 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4873 (gst_base_transform_transform_caps),
4874 (gst_base_transform_transform_size),
4875 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4876 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4877 (gst_base_transform_handle_buffer):
4878 * gst/base/gstbasetransform.h:
4879 Many fixes and new features added by Thomas. Can now also do
4880 transforms with variable sizes and a custom fixate_caps function.
4882 2005-08-24 Wim Taymans <wim@fluendo.com>
4884 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4888 Cast to ClockTime before formatting to time.
4893 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4895 * check/gst-libs/controller.c: (GST_START_TEST),
4896 (gst_controller_suite):
4897 * docs/gst/tmpl/gstcaps.sgml:
4898 * docs/gst/tmpl/gstghostpad.sgml:
4899 * docs/gst/tmpl/gstquery.sgml:
4900 * docs/gst/tmpl/gstutils.sgml:
4901 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4902 (gst_object_sink_values), (gst_object_get_value_arrays),
4903 (gst_object_get_value_array):
4904 gracefully handle helper method calls to objects that are not beeing
4905 controlled, added test case for that
4907 2005-08-23 Wim Taymans <wim@fluendo.com>
4909 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4910 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4911 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4912 (gst_event_parse_qos), (gst_event_new_seek),
4913 (gst_event_parse_seek):
4915 Some more debugging output and doc cleanups.
4917 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4918 Fix possible deadlock.
4920 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4922 * docs/gst/gstreamer-docs.sgml:
4923 * docs/gst/gstreamer-sections.txt:
4924 * docs/gst/gstreamer.types:
4925 * docs/gst/tmpl/.cvsignore:
4930 added 100 symbols from gstreamer-unused.txt to the right sections
4931 fixed more broken comments
4932 added GstBus to docs
4934 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4936 * docs/gst/gstreamer-sections.txt:
4937 * docs/gst/tmpl/.cvsignore:
4938 * docs/gst/tmpl/gstbin.sgml:
4939 * docs/gst/tmpl/gstbuffer.sgml:
4940 * gst/base/gstbasesrc.c:
4941 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4944 * tools/gst-launch.1.in:
4945 inlined more doc comments, added missing comments and fixed comments
4948 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4950 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4954 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4956 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4957 * gst/gststructure.h:
4958 add a fixate function for booleans; add a FIXME that these func
4959 names should probably be gst_structure_fixate_*
4961 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4963 * docs/gst/gstreamer-docs.sgml:
4964 * docs/gst/gstreamer-sections.txt:
4966 * gst/gstbin.c: (gst_bin_get_type),
4967 (gst_bin_child_proxy_get_child_by_index),
4968 (gst_bin_child_proxy_get_children_count),
4969 (gst_bin_child_proxy_init):
4970 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4971 (gst_child_proxy_get_child_by_index),
4972 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4973 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4974 (gst_child_proxy_get), (gst_child_proxy_set_property),
4975 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4976 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4977 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4978 * gst/gstchildproxy.h:
4979 * gst/parse/grammar.y:
4980 * tools/gst-inspect.c: (print_interfaces),
4981 (print_element_properties_info), (print_element_info):
4982 ported gstchildproxy over from 0.8
4983 ported gst-inspect fixes and enhancements over from 0.8
4985 2005-08-22 Wim Taymans <wim@fluendo.com>
4987 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4988 (gst_base_transform_handle_buffer):
4989 Also call the transform function if we have ANY caps.
4991 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4994 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4996 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4997 Don't pretend to handle seek events if the source is not seekable
4999 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5001 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5002 Remove extra parameter to debug output
5004 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5005 (gst_base_src_do_seek), (gst_base_src_activate_push):
5006 Fix seek event handling.
5008 * gst/gstpipeline.c: (gst_pipeline_change_state):
5009 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5010 (gst_queue_src_activate_push):
5011 Don't start the src pad task on FLUSH_STOP if the pad
5015 2005-08-22 Wim Taymans <wim@fluendo.com>
5017 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5018 Added check for gst_static_caps_get() refcounting.
5020 2005-08-22 Wim Taymans <wim@fluendo.com>
5022 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5023 Make _static_caps_get() refcounting sane.
5025 * gst/gstelement.c: (gst_element_set_state):
5026 Add g_return_val_if_fail() to protect against segfaults.
5028 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5030 * docs/gst/tmpl/gstevent.sgml:
5033 inlined remaining docs, added missing doc comments
5035 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5037 * check/gst/gstbin.c: (GST_START_TEST):
5038 since we don't know when preroll is done, use refcount range
5040 * gst/check/gstcheck.h:
5041 add macro for checking refcount range
5043 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5045 * check/Makefile.am:
5046 clean up environment for when registry gets built versus
5047 when actual tests are run; valgrind seems to not report
5048 leaks if GST_PLUGIN_PATH is set to some specific values
5049 * check/gst/gstbin.c: (GST_START_TEST):
5050 add more refcounting checks; maybe this exposes a
5053 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5054 * gst/check/gstcheck.h:
5055 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5056 (gst_bin_change_state):
5057 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5058 add/fix debugging/whitespace
5060 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5062 * check/gst/gstevent.c: (event_probe), (test_event),
5064 Er, don't call gst_bin_watch_for_state_change you idiot.
5066 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5068 * check/Makefile.am:
5069 Use CHECK_CFLAGS and CHECK_LIBS
5070 * check/gst/gstevent.c: (event_probe), (test_event),
5073 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5074 (gst_base_src_start), (gst_base_src_stop),
5075 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5076 (gst_base_src_change_state):
5077 Sprinkle gst_base_src_stop liberally around error paths to fix
5078 problems reusing a source after failed state changes.
5079 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5080 (helper_find_suggest), (gst_type_find_helper):
5081 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5083 * docs/gst/tmpl/gstevent.sgml:
5084 Migrate part of the docs from the SGML file. Wait for ensonic to
5085 tell me how I did it wrong ;)
5086 * tools/gst-typefind.c: (main):
5087 Extra robustness to state changes between files.
5089 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5091 * check/Makefile.am:
5092 don't valgrind the controller test - it's leaking - Stefan, HELP
5093 * gst/check/gstcheck.c: (gst_check_message_error),
5094 (gst_check_chain_func), (gst_check_setup_element),
5095 (gst_check_teardown_element), (gst_check_setup_src_pad),
5096 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5097 (gst_check_teardown_sink_pad):
5098 * gst/check/gstcheck.h:
5099 add a bunch of methods to set up elements, and src and sink pads
5100 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5101 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5106 whitespace/doc fixes
5108 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5111 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5112 be handled by the application and not always printed as well
5114 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5116 * check/Makefile.am:
5118 * gst/check/gstcheck.c: (gst_check_message_error):
5119 * gst/check/gstcheck.h:
5120 add a fail_unless_equals_int
5121 add fail_unless for error messages
5123 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5125 * check/Makefile.am:
5127 * common/Makefile.am:
5130 factor out some of the common stuff so we can use it
5132 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5134 * check/Makefile.am:
5135 * check/gst/gstiterator.c: (GST_START_TEST):
5136 * check/gst/gstsystemclock.c: (GST_START_TEST),
5137 (gst_systemclock_suite):
5138 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5142 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5144 * check/elements/.cvsignore:
5145 * check/elements/gstfakesrc.c:
5146 rename to name of element
5147 * check/elements/identity.c: (chain_func), (event_func),
5148 (setup_identity), (cleanup_identity), (GST_START_TEST),
5149 (identity_suite), (main):
5150 add a test for identity
5151 * check/Makefile.am:
5152 * pkgconfig/Makefile.am:
5153 * pkgconfig/gstreamer-check.pc.in:
5154 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5158 move the check stuff to a library that gets installed
5159 * check/gst-libs/controller.c: (GST_START_TEST):
5160 * check/gst-libs/gdp.c:
5161 * check/gst/gst.c: (GST_START_TEST):
5162 * check/gst/gstbin.c:
5163 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5164 * check/gst/gstbus.c:
5165 * check/gst/gstcaps.c: (GST_START_TEST):
5166 * check/gst/gstelement.c:
5167 * check/gst/gstghostpad.c:
5168 * check/gst/gstiterator.c:
5169 * check/gst/gstmessage.c:
5170 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5171 * check/gst/gstobject.c:
5172 * check/gst/gstpad.c: (GST_START_TEST):
5173 * check/gst/gststructure.c: (GST_START_TEST):
5174 * check/gst/gstsystemclock.c: (GST_START_TEST),
5175 (gst_systemclock_suite):
5176 * check/gst/gsttag.c: (gst_tag_suite):
5177 * check/gst/gstvalue.c:
5178 * check/pipelines/cleanup.c:
5179 * check/pipelines/simple_launch_lines.c:
5180 * check/states/sinks.c:
5181 change include statement
5183 * docs/gst/gstreamer-sections.txt:
5184 * docs/gst/tmpl/gstpad.sgml:
5185 document more pad stuff
5186 * gst/gstminiobject.c: (gst_mini_object_ref),
5187 (gst_mini_object_unref):
5190 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5192 * docs/gst/tmpl/gst.sgml:
5194 eliminate another tmpl file, fix spelling in the long-description
5196 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5198 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5199 (test_event), (timediff), (gstevents_suite):
5200 Should fix build on 64-bit arch's
5202 2005-08-18 Andy Wingo <wingo@pobox.com>
5204 Make sure that when a pipeline goes to PLAYING, that data has
5205 actually hit the sink.
5207 * check/states/sinks.c (test_sink): A sink that doesn't get any
5208 data shouldn't return SUCCESS for going to either PLAYING or
5209 PAUSED. Test also the return values on the way back down.
5211 * gst/gstelement.c (gst_element_set_state): When changing the
5212 state of an element currently changing state asynchronously, go to
5213 lost-state after commiting the pending state. Makes future calls
5214 to get_state continue to return ASYNC.
5216 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5217 ASYNC when going to PLAYING if we still don't have preroll, as can
5218 happen with live sources.
5220 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5222 * docs/pwg/advanced-types.xml:
5223 Hack long paragraph into 2 chunks as a workaround for buggy
5224 jadetex version in sid and breezy that loops infinitely and
5227 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5229 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5230 (test_event), (timediff), (gstevents_suite):
5231 Provide more error margin in clock measurements to allow for
5232 g_get_current_time inaccuracies.
5234 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5236 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5237 (test_event), (timediff), (gstevents_suite):
5238 Fix error message output so I might be able to tell why the
5239 test works here but fails on the build farm.
5241 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5243 * check/Makefile.am:
5244 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5245 (test_event), (timediff), (gstevents_suite), (main):
5248 * docs/design/part-seeking.txt:
5251 * docs/gst/tmpl/gstevent.sgml:
5252 * docs/gst/tmpl/gstfakesrc.sgml:
5255 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5256 Treat a buffer-without-newsegment the same as a receiving
5257 a newsegment not in time format, and disable syncing to the clock
5260 * gst/gstbus.c: (gst_bus_set_sync_handler):
5261 Assert if anyone tries to replace the existing sync_handler for bus,
5262 as only the owner should be setting it.
5265 Have a fixed set of custom event enums with events identified by
5266 their structure name (as in 0.8), rather than a free-for-all
5267 allowing collisions between enum values from different plugins.
5269 * gst/gstpad.c: (gst_pad_class_init):
5272 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5273 Handle out-of-band downstream events from the sending thread.
5275 2005-08-17 Andy Wingo <wingo@pobox.com>
5277 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5278 play-timeout==0 to mean no timeout at all. In that case, don't
5279 bother with a get_state or a warning, just return directly, even
5282 * gst/base/gstbasetransform.c: Debug changes.
5285 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5286 ensure bins post state change messages. A bit of a hack but I can't
5287 think of a way to avoid it.
5289 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5291 2005-08-16 Andy Wingo <wingo@pobox.com>
5293 * gst/base/gstadapter.h:
5294 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5295 peek() but you own the data. Not terribly efficient atm.
5297 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5299 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5300 (gst_element_found_tags):
5302 Add two utility functions for tag handling.
5304 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5306 * docs/manual/advanced-dataaccess.xml:
5307 * docs/manual/basics-helloworld.xml:
5308 Fix docs to use _bin_add() before _link(), which fixes the examples
5309 with recent core versions (reported by Madhan Raj M
5310 <raj_madan@rediffmail.com>, #313199).
5312 2005-08-16 Wim Taymans <wim@fluendo.com>
5314 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5315 Added subtract checks.
5317 * docs/design/part-events.txt:
5318 Some more docs about newsegment
5320 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5323 * gst/gstcaps.c: (gst_caps_to_string):
5324 Add comments, cleanups.
5326 * gst/gstelement.c: (gst_element_save_thyself):
5329 * gst/gstvalue.c: (gst_value_collect_int_range),
5330 (gst_string_unwrap), (gst_value_union_int_int_range),
5331 (gst_value_union_int_range_int_range),
5332 (gst_value_intersect_int_int_range),
5333 (gst_value_intersect_int_range_int_range),
5334 (gst_value_intersect_double_double_range),
5335 (gst_value_intersect_double_range_double_range),
5336 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5337 (gst_value_subtract_int_range_int),
5338 (gst_value_subtract_double_range_double),
5339 (gst_value_subtract_double_range_double_range),
5340 (gst_value_subtract_from_list), (gst_value_subtract_list),
5341 (gst_value_can_compare), (gst_value_compare_fraction):
5342 Cleanups, add comments, remove unneeded asserts.
5344 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5346 * tools/gst-launch.c: (event_loop):
5347 don't convert NULL structures to strings
5349 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5351 * docs/gst/gstreamer-sections.txt:
5352 made some defines private
5353 * docs/gst/tmpl/gstconfig.sgml:
5354 * docs/gst/tmpl/gstqueue.sgml:
5355 * docs/gst/tmpl/gsttaglist.sgml:
5356 * docs/gst/tmpl/gsttypes.sgml:
5357 * docs/gst/tmpl/gstutils.sgml:
5358 * docs/pwg/appendix-porting.xml:
5359 * gst/base/gstbasesink.h:
5360 * gst/base/gstbasesrc.c:
5361 * gst/base/gstbasesrc.h:
5362 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5363 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5364 * gst/gstelement.c: (gst_element_class_init):
5365 * gst/gstpad.c: (gst_pad_class_init):
5366 * gst/gstqueue.c: (gst_queue_class_init):
5367 * gst/gstxml.c: (gst_xml_class_init):
5368 documented all undocumented signal inline
5369 * libs/gst/controller/gst-controller.h:
5372 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5374 * docs/pwg/appendix-porting.xml:
5375 Document _set_link_function -> _set_setcaps_function.
5377 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5379 * check/Makefile.am:
5380 add a .check target for running the check
5381 * check/gst-libs/controller.c: (GST_START_TEST):
5383 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5384 complete checks for gstbuffer; would be nice if I could get the
5385 gcov stuff to work so I can see if I actually completed gstbuffer.c
5387 add ASSERT_BUFFER_REFCOUNT
5389 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5391 * docs/gst/gstreamer-sections.txt:
5392 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5394 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5395 spew out a warning if a tag that is already registered
5396 is re-registered, unless it is re-registered with a
5397 different type (#308438).
5399 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5401 * docs/pwg/appendix-porting.xml:
5402 * docs/pwg/building-state.xml:
5403 Add some paragraphs about state changes in 0.9 to the PWG
5404 and the porting guide, in particular about the new meaning
5405 of GST_STATE_PAUSED and how to write state change functions
5406 with concurrent access by multiple threads in mind.
5408 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5410 * docs/gst/gstreamer-docs.sgml:
5411 * docs/libs/gstreamer-libs-docs.sgml:
5412 added deprecation and since indexes
5413 * libs/gst/controller/gst-controller.c:
5414 * libs/gst/controller/gst-helper.c:
5418 2005-08-11 Wim Taymans <wim@fluendo.com>
5420 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5421 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5422 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5423 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5424 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5425 (gst_ghost_pad_set_target):
5426 Actually implement (re)setting the target on a ghostpad
5427 as described in the docs.
5429 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5431 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5432 Check whether GST_DEBUG_NO_COLOR environment variable is
5433 set and disable coloured debug output if that is the case.
5435 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5437 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5438 (gst_type_find_helper):
5439 The memory returned by gst_type_find_peek() needs to
5440 stay valid until the end of a typefind function, and
5441 typefind functions may keep results from different
5442 offsets around, so we can't just unref the buffer from
5443 the previous _peek(), but have to save all buffers
5444 returned by _peek() until typefinding is done and only
5447 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5449 * docs/gst/gstreamer-sections.txt:
5451 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5453 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5455 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5456 Fix a pretty good memleak.
5458 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5460 * gst/gstiterator.h:
5461 Fix wrong include and 'make distcheck'.
5463 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5465 * gst/gstbin.c: (bin_bus_handler):
5466 Use gst_element_post_message() instead.
5468 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5470 * gst/base/gstadapter.h:
5471 * gst/base/gstbasesink.h:
5472 * gst/base/gstbasesrc.h:
5473 * gst/base/gstbasetransform.h:
5474 * gst/base/gstcollectpads.h:
5475 * gst/base/gstpushsrc.h:
5476 * gst/gstiterator.h:
5477 Add padding to our base elements' class and instance structs and
5478 to GstIterator (you will need to rebuild all plugins and apps!)
5480 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5482 * gst/gstbin.c: (bin_bus_handler):
5483 Make default message forwarding from child->bus to bin->bus
5484 threadsafe and make it not emit warnings if the parent has no bus.
5486 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5488 * gst/gstelement.c: (activate_pads):
5489 On paused->ready, set pad->caps to NULL, as is the documented
5490 behaviour in this state change. Fixes playback of series of
5491 media files when visualization is enabled in Totem.
5493 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5495 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5496 Allow NULL as filter-caps (which means "any").
5498 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5500 * docs/libs/gstreamer-libs-sections.txt:
5501 * libs/gst/controller/gst-controller.c:
5502 * libs/gst/controller/gst-controller.h:
5503 * libs/gst/controller/gst-helper.c:
5504 adding more entries to the docs and fix small doc-bugs
5506 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5508 * docs/gst/gstreamer-docs.sgml:
5509 * docs/gst/gstreamer-sections.txt:
5510 * docs/gst/gstreamer.types:
5511 * docs/gst/tmpl/gstbasesink.sgml:
5512 * docs/gst/tmpl/gstbasesrc.sgml:
5513 * docs/gst/tmpl/gstbasetransform.sgml:
5514 * docs/gst/tmpl/gstfakesrc.sgml:
5515 * gst/base/gstcollectpads.c:
5516 * gst/base/gstcollectpads.h:
5517 * libs/gst/controller/gst-controller.c:
5518 * libs/gst/controller/gst-controller.h:
5519 * libs/gst/controller/gst-helper.c:
5520 * libs/gst/controller/gst-interpolation.c:
5521 * libs/gst/controller/lib.c:
5522 added long/short desc for controller docs
5523 added collectpads base class docs
5524 added correct includes to base-class docs
5526 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5528 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5529 (gst_test_mono_source_set_property),
5530 (gst_test_mono_source_class_init), (GST_START_TEST),
5531 (gst_controller_suite):
5532 * docs/gst/gstreamer-docs.sgml:
5533 * docs/gst/gstreamer-sections.txt:
5534 * docs/gst/gstreamer.types:
5535 * docs/libs/gstreamer-libs-docs.sgml:
5536 * docs/libs/gstreamer-libs-sections.txt:
5537 * gst/base/gstadapter.c:
5538 * libs/gst/controller/gst-controller.c:
5539 (gst_controlled_property_new), (gst_controlled_property_free),
5540 (gst_controller_new_valist),
5541 (gst_controller_remove_properties_valist),
5542 (gst_controller_sink_values), (_gst_controller_finalize):
5543 * libs/gst/controller/gst-controller.h:
5544 * libs/gst/controller/gst-helper.c:
5545 (gst_object_control_properties), (gst_object_uncontrol_properties),
5546 (gst_object_get_controller), (gst_object_set_controller),
5547 (gst_object_sink_values), (gst_object_get_value_arrays),
5548 (gst_object_get_value_array):
5549 more tests (and fixes) for the controller
5550 more docs for the controller
5551 integrated companies docs for the adapter
5553 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5555 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5556 (GST_START_TEST), (fakesrc_suite):
5557 add tests for sizetype
5559 2005-08-04 Andy Wingo <wingo@pobox.com>
5561 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5562 fixes buffer_alloc proxying among other things.
5564 * gst/base/gstbasetransform.c:
5565 * gst/base/gstbasetransform.h:
5566 Revert patch to gstbasetransform from 7-28 removing
5569 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5570 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5571 Semantics changed, should return not the size of the output buffer
5572 but the byte size of a buffer with a given caps.
5574 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5576 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5577 out) are not the pad caps until setcaps finishes.
5578 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5579 not-in-place case as well. Deal with changing from in-place to
5580 not-in-place within calling pad_alloc_buffer. Still a bit
5581 concerned about the overhead here...
5583 2005-08-03 Andy Wingo <wingo@pobox.com>
5585 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5586 fixating is an error.
5588 2005-08-04 Edward Hervey <edward@fluendo.com>
5590 * gst/base/gstadapter.h:
5591 Added gst_adapter_get_type() to the header
5593 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5595 * check/Makefile.am:
5596 * check/gst-libs/controller.c:
5597 * libs/gst/controller/gst-controller.c:
5598 (gst_controller_new_valist):
5599 added check test suite for the controller
5600 * gst/base/gstpushsrc.c:
5603 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5605 * docs/gst/Makefile.am:
5606 * docs/gst/gstreamer-docs.sgml:
5607 * docs/gst/gstreamer-sections.txt:
5608 * docs/gst/gstreamer.types:
5609 * docs/gst/tmpl/gstfakesrc.sgml:
5611 * gst/base/gstbasesink.c:
5612 * gst/base/gstbasesink.h:
5613 * gst/base/gstbasesrc.c:
5614 * gst/base/gstbasesrc.h:
5615 * gst/base/gstbasetransform.c:
5616 * gst/base/gstpushsrc.c:
5617 * gst/base/gstpushsrc.h:
5618 add short/long description docs to base classes
5619 add pushsrc to the docs
5620 remove consolidated doc fragments
5622 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5625 * docs/libs/Makefile.am:
5626 * docs/libs/gstreamer-libs-docs.sgml:
5627 * docs/libs/gstreamer-libs-sections.txt:
5628 * docs/libs/gstreamer-libs.types:
5629 * examples/Makefile.am:
5630 * examples/controller/.cvsignore:
5631 * examples/controller/Makefile.am:
5632 * examples/controller/audio-example.c: (main):
5633 * libs/gst/Makefile.am:
5634 * libs/gst/controller/.cvsignore:
5635 * libs/gst/controller/Makefile.am:
5636 * libs/gst/controller/gst-controller.c:
5637 (on_object_controlled_property_changed), (gst_timed_value_compare),
5638 (gst_timed_value_find),
5639 (gst_controlled_property_set_interpolation_mode),
5640 (gst_controlled_property_new), (gst_controlled_property_free),
5641 (gst_controller_find_controlled_property),
5642 (gst_controller_new_valist), (gst_controller_new),
5643 (gst_controller_remove_properties_valist),
5644 (gst_controller_remove_properties), (gst_controller_set),
5645 (gst_controller_set_from_list), (gst_controller_unset),
5646 (gst_controller_get), (gst_controller_get_all),
5647 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5648 (gst_controller_get_value_array),
5649 (gst_controller_set_interpolation_mode),
5650 (_gst_controller_finalize), (_gst_controller_init),
5651 (_gst_controller_class_init), (gst_controller_get_type):
5652 * libs/gst/controller/gst-controller.h:
5653 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5654 (g_object_uncontrol_properties), (g_object_get_controller),
5655 (g_object_set_controller), (g_object_sink_values),
5656 (g_object_get_value_arrays), (g_object_get_value_array):
5657 * libs/gst/controller/gst-interpolation.c:
5658 (gst_controlled_property_find_timed_value_node),
5659 (interpolate_none_get), (interpolate_trigger_get),
5660 (interpolate_trigger_get_value_array):
5661 * libs/gst/controller/lib.c: (gst_controller_init):
5662 * pkgconfig/Makefile.am:
5663 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5664 * pkgconfig/gstreamer-control.pc.in:
5665 * testsuite/Makefile.am:
5666 * testsuite/controller/.cvsignore:
5667 * testsuite/controller/Makefile.am:
5668 * testsuite/controller/interpolator.c: (main):
5669 added controller code
5670 removed dparam pc files
5672 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5673 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5674 (gst_collectpads_stop):
5675 Broadcast the condition when shutting down, to make sure we wake all
5676 threads up. Shut down pads on finalize, for safety.
5678 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5679 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5680 (gst_base_transform_handle_buffer),
5681 (gst_base_transform_change_state):
5682 Handle PAUSED->READY->PAUSED transition after negotiation
5684 * gst/gstmessage.c: (gst_message_init):
5685 Extra piece of debug for new messages.
5687 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5690 * docs/gst/tmpl/gstbasesrc.sgml:
5691 * docs/gst/tmpl/gstelement.sgml:
5692 * docs/gst/tmpl/gstevent.sgml:
5693 * docs/gst/tmpl/gstfakesrc.sgml:
5694 * docs/gst/tmpl/gstformat.sgml:
5695 * docs/gst/tmpl/gstghostpad.sgml:
5696 * docs/gst/tmpl/gstpad.sgml:
5697 * docs/gst/tmpl/gstquery.sgml:
5698 * docs/gst/tmpl/gststructure.sgml:
5699 * docs/gst/tmpl/gsttaglist.sgml:
5700 * docs/gst/tmpl/gstvalue.sgml:
5701 * docs/libs/gstreamer-libs-docs.sgml:
5702 * docs/libs/gstreamer-libs-sections.txt:
5703 * docs/libs/gstreamer-libs.types:
5704 * libs/gst/Makefile.am:
5705 * libs/gst/control/.cvsignore:
5706 * libs/gst/control/Makefile.am:
5707 * libs/gst/control/control.c:
5708 * libs/gst/control/control.h:
5709 * libs/gst/control/dparam.c:
5710 * libs/gst/control/dparam.h:
5711 * libs/gst/control/dparam_smooth.c:
5712 * libs/gst/control/dparam_smooth.h:
5713 * libs/gst/control/dparamcommon.h:
5714 * libs/gst/control/dparammanager.c:
5715 * libs/gst/control/dparammanager.h:
5716 * libs/gst/control/dplinearinterp.c:
5717 * libs/gst/control/dplinearinterp.h:
5718 * libs/gst/control/unitconvert.c:
5719 * libs/gst/control/unitconvert.h:
5720 * testsuite/Makefile.am:
5721 * testsuite/dynparams/.cvsignore:
5722 * testsuite/dynparams/Makefile.am:
5723 * testsuite/dynparams/dparamstest.c:
5724 * tools/Makefile.am:
5725 * tools/gst-inspect.c: (print_element_info), (main):
5726 * tools/gst-xmlinspect.c: (print_element_info), (main):
5727 deactivate and remove dparams (libgstcontrol)
5729 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5731 * gst/elements/gsttypefindelement.c:
5732 (gst_type_find_element_have_type), (gst_type_find_element_init),
5733 (stop_typefinding), (gst_type_find_element_handle_event),
5734 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5735 * gst/elements/gsttypefindelement.h:
5736 Set caps on all outgoing buffers, not just the first one.
5738 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5740 * gst/elements/gsttypefindelement.c:
5741 (gst_type_find_element_have_type),
5742 (gst_type_find_element_check_set_buffer_caps),
5743 (gst_type_find_element_init), (stop_typefinding),
5744 (gst_type_find_element_handle_event),
5745 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5746 * gst/elements/gsttypefindelement.h:
5747 Set caps on first outgoing buffer when we've found the type.
5749 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5751 * docs/gst/gstreamer-docs.sgml:
5752 * docs/gst/gstreamer-sections.txt:
5753 * docs/gst/tmpl/gstscheduler.sgml:
5754 * docs/gst/tmpl/gstschedulerfactory.sgml:
5755 Remove some old cruft from docs.
5757 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5760 Fix inline docs for GstPadLinkReturn.
5762 * gst/gststructure.c: (gst_structure_has_name):
5763 * gst/gststructure.h:
5764 * docs/gst/gstreamer-sections.txt:
5765 New API: gst_structure_has_name().
5767 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5770 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5771 and _LARGEFILE_SOURCE in config.h as required. Do not
5772 export those flags in our .pc files any longer (#142209).
5774 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5776 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5777 (gst_file_sink_do_seek), (gst_file_sink_event),
5778 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5779 Redo seek/tell calls with large file support in mind; add some
5780 debugging messages; add log message that tells us when large
5781 file support is unavailable or not enabled for some reason.
5783 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5784 Add log message that tells us when large file support
5785 is unavailable or not enabled for some reason.
5787 2005-07-29 Wim Taymans <wim@fluendo.com>
5789 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5790 Added test for removing an element with ghostpad from a bin.
5791 Fixed test as current implementation does the right thing.
5793 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5794 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5795 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5796 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5797 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5798 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5799 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5800 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5801 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5802 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5803 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5804 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5805 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5806 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5807 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5808 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5809 * gst/gstghostpad.h:
5810 Clean up ghostpads, remove properties for internal stuff.
5813 Prepare for switching targets, not all use cases work yet.
5815 2005-07-29 Wim Taymans <wim@fluendo.com>
5817 * docs/design/part-gstghostpad.txt:
5820 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5821 (gst_bin_remove_func):
5822 Unlinking pads while holding the bin LOCK is not a good
5825 * gst/gstpad.c: (gst_pad_class_init),
5826 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5827 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5828 No prob setting template after creating the pad.
5830 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5832 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5833 (gst_bus_peek), (gst_bus_source_dispatch),
5834 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5835 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5836 gst_bus_poll may be called from other threads. Handle
5837 this nicely by not making poll_data disappear off the
5838 stack once gst_bus_poll returns.
5839 gst_bus_peek now increments the refcount on the returned
5842 2005-07-29 Wim Taymans <wim@fluendo.com>
5844 * docs/design/part-gstghostpad.txt:
5845 Overview of current GhostPad datastructures and use
5846 cases for changing the target.
5848 2005-07-28 Wim Taymans <wim@fluendo.com>
5850 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5851 Added checks for hierarchy consistency whan adding linked
5854 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5855 Added check to test element scheduling without bin/pipeline.
5857 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5858 First add elements to bin, then link.
5860 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5861 (gst_bin_remove_func):
5862 Unlink pads from elements added/removed from bin to maintain
5863 hierarchy consistency.
5865 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5867 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5868 (gst_base_transform_handle_buffer):
5869 * gst/base/gstbasetransform.h:
5870 Remove broken delay_configure (fixes renegotiation of software
5871 scaling pipelines); remove some leftover printf()s.
5873 2005-07-28 Wim Taymans <wim@fluendo.com>
5875 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5876 Added some more tests for wrong hierarchy
5878 * docs/design/part-overview.txt:
5881 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5884 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5885 (gst_element_dispose):
5888 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5889 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5890 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5891 (gst_pad_set_caps), (gst_pad_send_event):
5892 Check for correct hierarchy when linking pads. Moving to
5893 strict requirement for ghostpads when linking elements in
5897 Clean ups. Added WRONG_HIERARCHY return value.
5899 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5901 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5902 Better debug if no transform is possible.
5904 2005-07-27 Wim Taymans <wim@fluendo.com>
5906 * docs/random/wtay/network-transp:
5909 2005-07-27 Wim Taymans <wim@fluendo.com>
5911 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5912 (gst_dp_event_from_packet):
5913 Fix serialization of seek events.
5915 2005-07-27 Wim Taymans <wim@fluendo.com>
5917 * check/gst-libs/gdp.c: (GST_START_TEST):
5918 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5919 Fix compilation and fix event serialization.
5921 2005-07-27 Wim Taymans <wim@fluendo.com>
5924 * docs/design/part-TODO.txt:
5925 * docs/design/part-events.txt:
5928 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5929 (gst_base_sink_event), (gst_base_sink_do_sync),
5930 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5931 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5932 (gst_base_src_do_seek), (gst_base_src_event_handler),
5933 (gst_base_src_loop):
5934 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5935 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5936 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5937 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5938 (gst_base_transform_set_passthrough),
5939 (gst_base_transform_is_passthrough):
5940 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5941 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5947 * gst/gstelement.c: (gst_element_seek):
5949 Update gst_element_seek.
5951 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5952 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5953 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5954 (gst_event_new_eos), (gst_event_new_newsegment),
5955 (gst_event_parse_newsegment), (gst_event_new_tag),
5956 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5957 (gst_event_parse_qos), (gst_event_new_seek),
5958 (gst_event_parse_seek), (gst_event_new_navigation):
5960 Make GstEvent use GstStructure. Add parsing code, make sure the
5961 API is sufficiently generic.
5962 Mark possible directions of events and serialization.
5964 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5965 (_gst_message_copy), (gst_message_new_segment_start),
5966 (gst_message_new_segment_done), (gst_message_new_custom),
5967 (gst_message_parse_segment_start),
5968 (gst_message_parse_segment_done):
5971 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5972 (gst_pad_set_caps), (gst_pad_send_event):
5973 Update for new events.
5974 Catch events sent in wrong directions.
5976 * gst/gstqueue.c: (gst_queue_link_src),
5977 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5978 (gst_queue_handle_src_query):
5983 Remove event code from this file.
5985 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5986 (gst_dp_event_from_packet):
5989 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5991 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5992 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5993 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5994 Make debugging actually useful.
5996 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5998 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5999 (gst_pad_fixate_caps):
6000 Implement default fixation once again, so that gst_pad_fixate()
6001 actually does anything at all. This probably needs to be some
6002 sort of a last resort, and use profile-based fixation first, but
6003 since that doesn't exist yet, this is the best we have. Fixes
6004 visualization in Totem.
6006 2005-07-22 Wim Taymans <wim@fluendo.com>
6008 * docs/design/part-events.txt:
6011 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6012 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6013 (gst_base_sink_activate_pull):
6016 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6017 (gst_fake_src_create):
6018 Fix handoff marshall.
6020 * gst/elements/gstidentity.c: (gst_identity_class_init),
6021 (gst_identity_transform_ip):
6022 We're a real inplace element.
6024 * gst/gstbus.c: (gst_bus_post):
6025 Added some comments.
6027 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6028 * tests/muxing/case1.c: (main):
6029 * tests/sched/dynamic-pipeline.c: (main):
6030 * tests/sched/interrupt1.c: (main):
6031 * tests/sched/interrupt2.c: (main):
6032 * tests/sched/interrupt3.c: (main):
6033 * tests/sched/runxml.c: (main):
6034 * tests/sched/sched-stress.c: (main):
6035 * tests/seeking/seeking1.c: (event_received), (main):
6036 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6038 * tests/threadstate/threadstate3.c: (main):
6039 * tests/threadstate/threadstate4.c: (main):
6040 * tests/threadstate/threadstate5.c: (main):
6043 2005-07-21 Wim Taymans <wim@fluendo.com>
6045 * docs/design/part-seeking.txt:
6046 Some small additions.
6048 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6049 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6050 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6051 * gst/base/gstbasesink.h:
6052 discont values are gint64, handle the math correctly.
6054 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6055 Make the basesrc report error if the source pad is not linked.
6057 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6058 (gst_queue_loop), (gst_queue_handle_src_query),
6059 (gst_queue_src_activate_push):
6060 Make queue collect data even if the srcpad is not linked.
6061 Start pushing out data as soon as it is linked.
6063 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6065 Added gst_flow_get_name() to ease error reporting.
6067 2005-07-20 Wim Taymans <wim@fluendo.com>
6069 * gst/gstmessage.c: (gst_message_new_segment_start),
6070 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6071 (gst_message_parse_segment_done):
6073 Added a bunch of messages for advanced seeking.
6075 * gst/parse/grammar.y:
6076 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6077 (gst_dpman_state_changed):
6078 Fix some new-pad -> pad-added signals
6080 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6082 * docs/manual/appendix-porting.xml:
6083 * docs/pwg/appendix-porting.xml:
6084 Document new-pad/state-change signal renames and the FixedList
6087 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6089 * docs/manual/advanced-autoplugging.xml:
6090 * docs/manual/basics-helloworld.xml:
6091 * docs/manual/basics-pads.xml:
6092 * docs/random/ds/0.9-suggested-changes:
6093 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6098 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6099 (gst_structure_parse_array), (gst_structure_parse_value):
6100 * gst/gstvalue.c: (gst_type_is_fixed),
6101 (gst_value_list_prepend_value), (gst_value_list_append_value),
6102 (gst_value_list_get_size), (gst_value_list_get_value),
6103 (gst_value_transform_array_string), (gst_value_serialize_array),
6104 (gst_value_deserialize_array), (gst_value_intersect_array),
6105 (gst_value_is_fixed), (_gst_value_initialize):
6107 GstElement::new-pad -> pad-added, GstElement::state-change ->
6108 state-changed, GstValueFixedList -> GstValueArray, add format and
6109 flags as their own arguments in gst_element_seek() (should improve
6110 "bindeability"), remove function generators since they don't work
6111 under a whole bunch of compilers (they were deprecated already
6114 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6116 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6117 (_gst_debug_register_funcptr):
6119 Fix illegal cast on some platforms (#309253).
6121 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6123 * gst/gstmessage.c: (gst_message_new_custom):
6125 Add _new_custom, make _new_application a macro to _new_custom.
6127 2005-07-20 Wim Taymans <wim@fluendo.com>
6129 * gst/base/gstbasesrc.c: (gst_base_src_init),
6130 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6131 * gst/base/gstbasesrc.h:
6132 Add a gboolean to decide when to push out a discont.
6134 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6135 (gst_queue_loop), (gst_queue_handle_src_query),
6136 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6137 (gst_queue_set_property), (gst_queue_get_property):
6140 * tests/threadstate/threadstate1.c: (main):
6141 Make a thread test compile and run... very silly..
6144 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6146 * docs/manual/appendix-porting.xml:
6147 Mention removal of libgstgconf-0.9.la and existence of gconf
6150 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6152 * docs/pwg/advanced-clock.xml:
6153 * docs/pwg/appendix-porting.xml:
6154 * docs/pwg/intro-preface.xml:
6155 * docs/pwg/other-base.xml:
6156 * docs/pwg/other-manager.xml:
6157 * docs/pwg/other-nton.xml:
6158 * docs/pwg/other-ntoone.xml:
6159 * docs/pwg/other-oneton.xml:
6161 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6162 demuxer), remove n-to-n (was never written), fix some code examples
6163 and links and update the porting section to include all this.
6165 2005-07-19 Wim Taymans <wim@fluendo.com>
6167 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6168 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6169 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6170 (gst_queue_src_activate_push), (gst_queue_change_state),
6171 (gst_queue_get_property):
6173 Propagate GstFlowReturn more intelligently upstream and output
6174 an ERROR/EOS when streaming stopped due to fatal error.
6176 2005-07-19 Wim Taymans <wim@fluendo.com>
6178 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6179 Don't block forever for the state change to complete, the
6180 pipeline already did with a sensible timeout.
6182 2005-07-19 Wim Taymans <wim@fluendo.com>
6184 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6185 Make sure we never call the create function is we
6188 2005-07-19 Andy Wingo <wingo@pobox.com>
6190 * gst/parse/parse.l: Attempt to solve bug #172815.
6192 2005-07-19 Wim Taymans <wim@fluendo.com>
6194 * docs/design/part-clocks.txt:
6195 * docs/design/part-events.txt:
6196 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6198 Only update the seeking values when we are not
6201 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6203 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6204 Oops, ignore the result of gst_pad_push_event here.
6206 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6208 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6209 (gst_base_src_activate_push):
6210 Send discont event from the loop function, as pads
6211 aren't activated yet in the activate_push handler.
6213 * gst/gstbin.c: (bin_bus_handler):
6214 Don't leak element name.
6216 2005-07-18 Andy Wingo <wingo@pobox.com>
6218 * configure.ac: Use AS_LIBTOOL_TAGS.
6220 2005-07-18 Wim Taymans <wim@fluendo.com>
6222 * docs/gst/gstreamer.types:
6223 Remove deleted types.
6225 2005-07-18 Wim Taymans <wim@fluendo.com>
6227 * check/elements/gstfakesrc.c: (GST_START_TEST):
6230 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6231 (init_popt_callback):
6233 * gst/gst_private.h:
6234 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6235 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6238 * gst/gstconfig.h.in:
6239 * gst/gstelement.c: (gst_element_class_init),
6240 (gst_element_set_base_time), (gst_element_get_base_time),
6241 (iterator_fold_with_resync), (gst_element_change_state),
6242 (gst_element_dispose), (gst_element_get_bus):
6244 * gst/gstelementfactory.h:
6245 * gst/gsterror.c: (_gst_core_errors_init):
6248 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6250 * gst/gstinfo.c: (_gst_debug_init):
6251 * gst/gstmessage.c: (_gst_message_copy):
6253 * gst/gstminiobject.h:
6256 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6257 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6260 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6261 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6262 (gst_pipeline_get_last_stream_time):
6263 * gst/gstpipeline.h:
6264 * gst/gstpluginfeature.h:
6266 * gst/gstscheduler.c:
6267 * gst/gstscheduler.h:
6268 * gst/gststructure.h:
6269 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6270 (gst_task_finalize), (gst_task_func), (gst_task_create),
6271 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6272 (gst_task_stop), (gst_task_pause):
6274 * gst/gsttypefind.h:
6276 * gst/registries/gstlibxmlregistry.c: (load_feature),
6277 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6278 * gst/registries/gstxmlregistry.c:
6279 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6280 * gst/schedulers/threadscheduler.c:
6281 * libs/gst/control/dparammanager.h:
6282 * tools/gst-inspect.c: (print_element_list),
6283 (print_plugin_features), (print_element_features):
6284 * tools/gst-xmlinspect.c: (print_element_list),
6285 (print_plugin_info), (main):
6286 Removed plugable schedulers.
6287 Removed Scheduler/Manager from elements.
6288 Removed gsttypes.h, rearranged includes.
6289 Removed dependency pad<->element, element<>pipeline, and
6290 various others, fix includes.
6291 implement gst_pad_get_parent() with gst_object_get_parent()
6292 Make GstTask sefcontained.
6293 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6295 Fix endless loop in iterator_fold_with_resync.
6298 2005-07-18 Wim Taymans <wim@fluendo.com>
6304 2005-07-18 Wim Taymans <wim@fluendo.com>
6309 2005-07-18 Wim Taymans <wim@fluendo.com>
6315 2005-07-18 Wim Taymans <wim@fluendo.com>
6317 * docs/design/part-dynamic.txt:
6318 * docs/design/part-events.txt:
6319 * docs/design/part-seeking.txt:
6320 Some more docs in the works.
6322 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6323 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6324 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6325 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6326 (gst_base_transform_handle_buffer),
6327 (gst_base_transform_sink_activate_push),
6328 (gst_base_transform_src_activate_pull),
6329 (gst_base_transform_set_passthrough),
6330 (gst_base_transform_is_passthrough):
6333 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6336 * gst/gstevent.c: (gst_event_finalize):
6339 * gst/gstutils.c: (gst_element_unlink),
6340 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6341 (gst_pad_proxy_setcaps):
6343 Add _get_parent_element() to get a pads parent as an element.
6345 2005-07-18 Wim Taymans <wim@fluendo.com>
6347 * check/gst/gstbin.c: (GST_START_TEST):
6350 2005-07-18 Wim Taymans <wim@fluendo.com>
6352 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6353 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6354 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6355 (gst_base_sink_event), (gst_base_sink_do_sync),
6356 (gst_base_sink_chain), (gst_base_sink_loop),
6357 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6358 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6360 Fix logic for returning ASYNC when not prerolled.
6362 2005-07-18 Wim Taymans <wim@fluendo.com>
6364 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6365 Fix nasty refcount bug.
6367 2005-07-16 Philippe Khalaf <burger@speedy.org>
6369 * gst/elements/gstfdsrc.c:
6370 * gst/elements/gstfdsrc.h:
6371 * gst/elements/gstelements.c:
6372 * gst/elements/Makefile.am:
6373 Ported fdsrc to 0.9.
6375 2005-07-16 Wim Taymans <wim@fluendo.com>
6377 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6378 (gst_base_sink_do_sync):
6381 2005-07-16 Wim Taymans <wim@fluendo.com>
6383 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6384 (gst_base_sink_event), (gst_base_sink_get_times),
6385 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6386 * gst/base/gstbasesink.h:
6387 Store and use discont values when syncing buffers as described
6390 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6391 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6392 (gst_base_src_activate_push):
6393 Push discont event when starting.
6395 * gst/elements/gstidentity.c: (gst_identity_transform):
6398 * gst/gstbin.c: (gst_bin_change_state):
6399 Small cleanups in base_time distribution.
6401 * gst/gstelement.c: (gst_element_set_base_time),
6402 (gst_element_get_base_time), (gst_element_change_state):
6404 Added methods for the base_time of the element.
6407 * gst/gstpipeline.c: (gst_pipeline_send_event),
6408 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6409 (gst_pipeline_get_last_stream_time):
6410 * gst/gstpipeline.h:
6412 Handle seeking as described in design doc, remove stream_time
6414 Cleanups clock and stream_time selection code. Added accessors
6415 for the stream_time.
6418 2005-07-16 Andy Wingo <wingo@pobox.com>
6420 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6423 2005-07-16 Wim Taymans <wim@fluendo.com>
6425 * check/gst/gstbin.c: (GST_START_TEST):
6426 Make elements silent as the deep_notify refs the
6427 parent, which might make the test fail.
6429 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6430 Don't hold the lock for too long.
6432 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6434 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6435 Don't unref the caps we passed to gst_caps_make_writable() after
6436 passing them. gst_caps_make_writable() will do that for us.
6438 2005-07-15 Andy Wingo <wingo@pobox.com>
6440 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6443 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6444 own marshalling function for the handoff signal. Properly type the
6445 buffer as a buffer. Fixes some warnings. Should do a more general
6447 (gst_identity_class_init): Plug into the right marshaller.
6449 2005-07-15 Wim Taymans <wim@fluendo.com>
6451 * docs/design/part-TODO.txt:
6452 * docs/design/part-clocks.txt:
6453 * docs/design/part-element-sink.txt:
6454 * docs/design/part-events.txt:
6455 * docs/design/part-gstpipeline.txt:
6456 Updated docs, mostly DISCONT related.
6458 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6460 * docs/pwg/building-pads.xml:
6461 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6463 2005-07-15 Andy Wingo <wingo@pobox.com>
6465 * tools/gst-typefind.c: Update, add copyright block.
6467 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6468 Normalize and truncate caps before fixation.
6471 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6472 discards all but the first structure from its argument.
6474 2005-07-15 Wim Taymans <wim@fluendo.com>
6476 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6477 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6478 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6479 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6480 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6481 (gst_base_transform_chain), (gst_base_transform_change_state),
6482 (gst_base_transform_set_passthrough),
6483 (gst_base_transform_is_passthrough):
6484 * gst/base/gstbasetransform.h:
6485 Make passthrough work using the bufferpools.
6486 Changed API a bit, subclasses have to write into a buffer
6487 provided by the base class.
6488 More debug info in nego functions.
6490 * gst/elements/gstidentity.c: (gst_identity_init),
6491 (gst_identity_transform):
6492 Port to new base class.
6494 2005-07-15 Wim Taymans <wim@fluendo.com>
6496 * gst/gstmessage.c: (gst_message_new_state_changed):
6497 * tools/gst-launch.c: (event_loop), (main):
6498 Totally dump messages in -launch with the -m option.
6499 Fix message name for State messages,
6501 2005-07-14 Wim Taymans <wim@fluendo.com>
6503 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6504 Post error messages on errors.
6506 2005-07-14 Wim Taymans <wim@fluendo.com>
6508 * gst/gstcaps.c: (gst_caps_do_simplify):
6512 Define error for stream stopped.
6514 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6515 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6516 Do proper return values.
6518 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6519 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6520 (gst_pad_get_range):
6521 Better return values.
6524 Reorganise return values, add macro to check for fatal errors.
6526 * gst/gstqueue.c: (gst_queue_chain):
6527 Return proper GstFlowReturn values,
6529 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6531 * docs/gst/gstreamer-sections.txt:
6532 * docs/gst/gstreamer.types:
6533 * docs/gst/tmpl/gst.sgml:
6534 * docs/gst/tmpl/gstbasesink.sgml:
6535 * docs/gst/tmpl/gstbasesrc.sgml:
6536 * docs/gst/tmpl/gstbasetransform.sgml:
6537 * docs/gst/tmpl/gstbin.sgml:
6538 * docs/gst/tmpl/gstbuffer.sgml:
6539 * docs/gst/tmpl/gstcaps.sgml:
6540 * docs/gst/tmpl/gstclock.sgml:
6541 * docs/gst/tmpl/gstcompat.sgml:
6542 * docs/gst/tmpl/gstconfig.sgml:
6543 * docs/gst/tmpl/gstelement.sgml:
6544 * docs/gst/tmpl/gstelementdetails.sgml:
6545 * docs/gst/tmpl/gstelementfactory.sgml:
6546 * docs/gst/tmpl/gstenumtypes.sgml:
6547 * docs/gst/tmpl/gsterror.sgml:
6548 * docs/gst/tmpl/gstevent.sgml:
6549 * docs/gst/tmpl/gstfakesink.sgml:
6550 * docs/gst/tmpl/gstfakesrc.sgml:
6551 * docs/gst/tmpl/gstfilesink.sgml:
6552 * docs/gst/tmpl/gstfilesrc.sgml:
6553 * docs/gst/tmpl/gstfilter.sgml:
6554 * docs/gst/tmpl/gstformat.sgml:
6555 * docs/gst/tmpl/gstghostpad.sgml:
6556 * docs/gst/tmpl/gstimplementsinterface.sgml:
6557 * docs/gst/tmpl/gstindex.sgml:
6558 * docs/gst/tmpl/gstindexfactory.sgml:
6559 * docs/gst/tmpl/gstinfo.sgml:
6560 * docs/gst/tmpl/gstiterator.sgml:
6561 * docs/gst/tmpl/gstmacros.sgml:
6562 * docs/gst/tmpl/gstmemchunk.sgml:
6563 * docs/gst/tmpl/gstminiobject.sgml:
6564 * docs/gst/tmpl/gstobject.sgml:
6565 * docs/gst/tmpl/gstpad.sgml:
6566 * docs/gst/tmpl/gstpadtemplate.sgml:
6567 * docs/gst/tmpl/gstparse.sgml:
6568 * docs/gst/tmpl/gstpipeline.sgml:
6569 * docs/gst/tmpl/gstplugin.sgml:
6570 * docs/gst/tmpl/gstpluginfeature.sgml:
6571 * docs/gst/tmpl/gstquery.sgml:
6572 * docs/gst/tmpl/gstqueue.sgml:
6573 * docs/gst/tmpl/gstregistry.sgml:
6574 * docs/gst/tmpl/gstregistrypool.sgml:
6575 * docs/gst/tmpl/gstscheduler.sgml:
6576 * docs/gst/tmpl/gstschedulerfactory.sgml:
6577 * docs/gst/tmpl/gststructure.sgml:
6578 * docs/gst/tmpl/gstsystemclock.sgml:
6579 * docs/gst/tmpl/gsttaglist.sgml:
6580 * docs/gst/tmpl/gsttagsetter.sgml:
6581 * docs/gst/tmpl/gsttrace.sgml:
6582 * docs/gst/tmpl/gsttrashstack.sgml:
6583 * docs/gst/tmpl/gsttypefind.sgml:
6584 * docs/gst/tmpl/gsttypefindfactory.sgml:
6585 * docs/gst/tmpl/gsttypes.sgml:
6586 * docs/gst/tmpl/gsturihandler.sgml:
6587 * docs/gst/tmpl/gsturitype.sgml:
6588 * docs/gst/tmpl/gstutils.sgml:
6589 * docs/gst/tmpl/gstvalue.sgml:
6590 * docs/gst/tmpl/gstversion.sgml:
6591 * docs/gst/tmpl/gstxml.sgml:
6592 * docs/libs/tmpl/gstcontrol.sgml:
6593 * docs/libs/tmpl/gstdataprotocol.sgml:
6594 * docs/libs/tmpl/gstdparam.sgml:
6595 * docs/libs/tmpl/gstdplinint.sgml:
6596 * docs/libs/tmpl/gstdpman.sgml:
6597 * docs/libs/tmpl/gstdpsmooth.sgml:
6598 * docs/libs/tmpl/gstgetbits.sgml:
6599 * docs/libs/tmpl/gstunitconvert.sgml:
6600 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6601 (gst_push_src_base_init), (gst_push_src_class_init),
6602 (gst_push_src_init), (gst_push_src_create):
6603 * gst/base/gstpushsrc.h:
6604 * gst/elements/gstelements.c:
6605 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6606 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6607 (gst_fake_sink_init), (gst_fake_sink_set_property),
6608 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6609 (gst_fake_sink_event), (gst_fake_sink_preroll),
6610 (gst_fake_sink_render), (gst_fake_sink_change_state):
6611 * gst/elements/gstfakesink.h:
6612 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6613 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6614 (gst_fake_src_base_init), (gst_fake_src_class_init),
6615 (gst_fake_src_init), (gst_fake_src_event_handler),
6616 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6617 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6618 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6619 (gst_fake_src_create_buffer), (gst_fake_src_create),
6620 (gst_fake_src_start), (gst_fake_src_stop):
6621 * gst/elements/gstfakesrc.h:
6622 * gst/elements/gstfilesink.c: (_do_init),
6623 (gst_file_sink_base_init), (gst_file_sink_class_init),
6624 (gst_file_sink_init), (gst_file_sink_dispose),
6625 (gst_file_sink_set_location), (gst_file_sink_set_property),
6626 (gst_file_sink_get_property), (gst_file_sink_open_file),
6627 (gst_file_sink_close_file), (gst_file_sink_query),
6628 (gst_file_sink_event), (gst_file_sink_render),
6629 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6630 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6631 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6632 * gst/elements/gstfilesink.h:
6633 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6634 (gst_file_src_class_init), (gst_file_src_init),
6635 (gst_file_src_finalize), (gst_file_src_set_location),
6636 (gst_file_src_set_property), (gst_file_src_get_property),
6637 (gst_file_src_map_region), (gst_file_src_map_small_region),
6638 (gst_file_src_create_mmap), (gst_file_src_create_read),
6639 (gst_file_src_create), (gst_file_src_is_seekable),
6640 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6641 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6642 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6643 (gst_file_src_uri_handler_init):
6644 * gst/elements/gstfilesrc.h:
6645 more autistic cleanliness in functions/names/defines
6647 2005-07-13 Andy Wingo <wingo@pobox.com>
6649 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6650 source couldn't negotiate.
6652 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6656 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6657 function. I am channeling Hades. Put your boots on suckers!!!
6659 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6661 * testsuite/caps/Makefile.am:
6662 * testsuite/caps/value_compare.c:
6663 * testsuite/caps/value_intersect.c:
6664 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6665 move two testsuite apps over to the check dir
6667 2005-07-12 Wim Taymans <wim@fluendo.com>
6669 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6670 Added more debug info in the negotiate process.
6673 Prepare for segment playback.
6675 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6681 * tools/gst-launch.c: (main):
6682 NULL pipeline on errors.
6684 2005-07-12 Andy Wingo <wingo@pobox.com>
6686 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6687 not it comes from a malloc region. Make sure our copy gets freed.
6689 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6691 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6692 * check/gst/gstmessage.c: (GST_START_TEST):
6693 * check/gst/gststructure.c: (GST_START_TEST),
6694 (gst_structure_suite), (main):
6696 * gst/gstelement.c: (gst_element_message_full):
6697 clean up GError and debug string now that they get copied
6698 * gst/gstmessage.c: (gst_message_new_error),
6699 (gst_message_new_warning), (gst_message_parse_error),
6700 (gst_message_parse_warning):
6701 use GST_TYPE_G_ERROR for structure_new, and take copies of
6702 arguments, so that we don't mess up refcounting
6704 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6706 * check/Makefile.am:
6707 add per-test valgrind targets
6708 * check/gst-libs/gdp.c: (GST_START_TEST),
6709 (gst_data_protocol_suite), (main):
6712 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6714 * check/Makefile.am:
6715 instate more valgrindable tests
6716 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6717 (GST_START_TEST), (fakesrc_suite):
6718 * check/gst/gstpad.c: (GST_START_TEST):
6719 * check/gst/gststructure.c: (GST_START_TEST):
6721 * docs/gst/tmpl/gstminiobject.sgml:
6722 * gst/gstpad.c: (gst_pad_finalize):
6723 fix the static mutex leak
6725 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6727 * check/Makefile.am:
6728 add two more tests for valgrinding
6729 * check/gst/gstvalue.c: (GST_START_TEST):
6730 test refcount of deserialized buffer, found a leak
6731 * docs/gst/gstreamer-docs.sgml:
6732 * docs/gst/gstreamer-sections.txt:
6733 * docs/gst/gstreamer.types:
6734 * docs/gst/tmpl/gstminiobject.sgml:
6735 add miniobject to docs
6736 * gst/gstminiobject.c:
6738 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6739 (gst_string_unwrap):
6740 fix a hard-to-find invalid write for one of the tests
6741 fix a leak for deserialized buffers
6743 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6745 * docs/pwg/advanced-events.xml:
6746 * docs/pwg/advanced-request.xml:
6747 * docs/pwg/advanced-scheduling.xml:
6748 * docs/pwg/appendix-porting.xml:
6749 * docs/pwg/building-boiler.xml:
6750 * docs/pwg/intro-preface.xml:
6751 * docs/pwg/other-ntoone.xml:
6752 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6753 of example code and explanation for pad activation, loop() and
6754 getrange() functions and a bit more. Remove old comments pointing
6756 * examples/pwg/Makefile.am:
6757 Add loop/getrange examples.
6759 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6762 check for valgrind binary + some fixes
6764 valgrind suppressions for the tests
6765 * check/Makefile.am:
6766 add a valgrind: target that valgrinds the unit tests
6767 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6768 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6769 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6770 * check/gst/gstghostpad.c:
6772 * check/gst/gstdata.c:
6774 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6775 (thread_unref), (gst_mini_object_suite), (main):
6777 * gst/gst.c: (gst_deinit):
6779 add a method to clean up.
6780 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6781 (gst_system_clock_obtain):
6782 allow for disposing the system clock.
6783 * tools/gst-launch.c: (main):
6786 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6788 * docs/gst/tmpl/gstbasesrc.sgml:
6789 * docs/gst/tmpl/gstfakesrc.sgml:
6790 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6791 (gst_base_src_init), (gst_base_src_set_property),
6792 (gst_base_src_get_property), (gst_base_src_get_range),
6793 (gst_base_src_start):
6794 * gst/base/gstbasesrc.h:
6795 add num-buffers property
6796 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6797 (gst_fakesrc_init), (gst_fakesrc_set_property),
6798 (gst_fakesrc_get_property), (gst_fakesrc_create),
6799 (gst_fakesrc_start):
6800 remove num-buffers property
6802 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6804 * docs/gst/gstreamer-sections.txt:
6805 * docs/gst/tmpl/gstbasesink.sgml:
6806 * docs/gst/tmpl/gstbasesrc.sgml:
6807 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6808 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6809 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6810 (gst_base_sink_set_property), (gst_base_sink_get_property),
6811 (gst_base_sink_handle_object), (gst_base_sink_event),
6812 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6813 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6814 (gst_base_sink_loop), (gst_base_sink_deactivate),
6815 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6816 (gst_base_sink_change_state):
6817 * gst/base/gstbasesink.h:
6818 * gst/base/gstbasesrc.h:
6819 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6820 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6821 (gst_filesink_init):
6822 more macro splitting
6824 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6826 * gst/gstelement.c: (gst_element_get_bus):
6828 * tools/gst-launch.c: (check_intr), (event_loop):
6831 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6833 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6836 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6838 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6839 (gst_base_src_finalize):
6840 add finalize method and clean up properly
6841 * gst/gstpipeline.c: (gst_pipeline_dispose):
6844 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6846 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6848 add more things to check
6849 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6853 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6855 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6856 (GST_START_TEST), (fakesrc_suite):
6857 * check/gst-libs/gdp.c: (GST_START_TEST):
6858 * check/gst/gst.c: (GST_START_TEST):
6859 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6860 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6861 * check/gst/gstbus.c: (GST_START_TEST):
6862 * check/gst/gstcaps.c: (GST_START_TEST):
6863 * check/gst/gstdata.c: (GST_START_TEST):
6864 * check/gst/gstelement.c: (GST_START_TEST):
6865 * check/gst/gstghostpad.c: (GST_START_TEST):
6866 * check/gst/gstiterator.c: (GST_START_TEST):
6867 * check/gst/gstmessage.c: (GST_START_TEST):
6868 * check/gst/gstobject.c: (GST_START_TEST):
6869 * check/gst/gstpad.c: (GST_START_TEST):
6870 * check/gst/gststructure.c: (GST_START_TEST):
6871 * check/gst/gstsystemclock.c: (GST_START_TEST),
6872 (gst_systemclock_suite):
6873 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6874 * check/gst/gstvalue.c: (GST_START_TEST):
6875 * check/pipelines/cleanup.c: (GST_START_TEST):
6876 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6877 * check/states/sinks.c: (GST_START_TEST):
6878 * check/gstcheck.c: (gst_check_init):
6880 add debugging category
6881 use GST_START_TEST now, so we add a debug line
6883 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6885 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6886 add test for state change message on a bin
6887 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6889 * gst/gstbin.c: (gst_bin_init):
6890 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6891 * gst/gstelement.c: (gst_element_post_message),
6892 (gst_element_set_state):
6893 * gst/gstelementfactory.c: (gst_element_factory_create):
6894 * gst/gstmessage.c: (gst_message_new):
6895 * gst/gstscheduler.c:
6896 various debugging additions and cleanups
6898 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6900 * check/Makefile.am:
6901 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6903 adding tests for elements
6904 * gst/gstelement.c: (gst_element_dispose):
6906 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6908 * gst/registries/gstlibxmlregistry.c: (load_feature):
6909 plug more leaks. A simple gst_init() now is leakfree, yay.
6911 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6913 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6914 (gst_xml_registry_load):
6915 plug another memleak
6917 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6920 use GST_SET_ERROR_CFLAGS
6922 change to ERROR_CFLAGS
6924 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6927 make GST_ERROR_CFLAGS overridable and re-enable Werror
6929 add a note about error CFLAGS
6930 * docs/gst/tmpl/gstfakesrc.sgml:
6931 * gst/elements/gstfakesrc.c:
6932 comment out some unused code
6933 * gst/gst.c: (split_and_iterate):
6934 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6938 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6940 * common/Makefile.am:
6941 * common/gtk-doc.mak:
6942 * docs/gst/Makefile.am:
6943 factor out gtk-doc.mak
6945 2005-07-07 Wim Taymans <wim@fluendo.com>
6947 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6948 (gst_thread_scheduler_dispose):
6949 Unlock the STREAM_LOCK completely.
6951 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6953 * check/Makefile.am:
6954 * check/elements/.cvsignore:
6955 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6956 (START_TEST), (fakesrc_suite), (main):
6957 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6958 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6959 (gst_fakesrc_create), (gst_fakesrc_start):
6960 * gst/elements/gstfakesrc.h:
6961 adding a first element test
6963 2005-07-07 Andy Wingo <wingo@pobox.com>
6965 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6968 2005-07-07 Wim Taymans <wim@fluendo.com>
6974 2005-07-07 Wim Taymans <wim@fluendo.com>
6976 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6977 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6978 Allow subclasses to implement their own negotiation.
6980 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6982 * docs/design/part-gstbin.txt:
6983 * docs/design/part-gstpipeline.txt:
6984 Update design notes to reflect the movement of
6985 responsibility for bus handling from GstPipeline to
6988 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6991 Remove unnecessary queue2/3/4 examples.
6993 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6995 * examples/Makefile.am:
6996 * examples/helloworld/helloworld.c: (event_loop), (main):
6997 * examples/queue/queue.c: (event_loop), (main):
6998 * examples/queue2/queue2.c: (main):
6999 Update a couple of the examples to work again.
7001 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7002 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7003 Spelling corrections and extra debug.
7005 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7006 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7007 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7009 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7010 (gst_pipeline_change_state):
7011 * gst/gstpipeline.h:
7012 Move the bus handler for children to the GstBin, and create a
7013 separate bus for receiving messages from children to the one the
7014 bus sends 'upwards' on.
7016 2005-07-06 Wim Taymans <wim@fluendo.com>
7019 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7020 (gst_base_sink_handle_object), (gst_base_sink_loop),
7021 (gst_base_sink_change_state):
7022 * gst/base/gstbasesink.h:
7023 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7024 (gst_base_src_init), (gst_base_src_setcaps),
7025 (gst_base_src_getcaps), (gst_base_src_loop),
7026 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7027 (gst_base_src_start), (gst_base_src_change_state):
7028 * gst/base/gstbasesrc.h:
7029 Make basesrc negotiate.
7030 Handle the case where preroll fails in basesink.
7033 2005-07-06 Wim Taymans <wim@fluendo.com>
7035 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7036 Implement the fixate function.
7037 Clean up acceptcaps.
7039 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7041 * docs/pwg/building-filterfactory.xml:
7043 Remove never-written filter-factory chapter; I'll add the various
7044 base classes to part 4 ("other element types") later on.
7046 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7048 * docs/pwg/advanced-negotiation.xml:
7049 * docs/pwg/building-boiler.xml:
7050 * docs/pwg/building-pads.xml:
7052 * examples/pwg/Makefile.am:
7053 Add a chapter on caps negotiation, simplify the original code
7054 samples a bit w.r.t. caps negotiation, add link to the advanced
7055 section. Add a bunch of examples showing different use cases of
7056 different types of caps negotiation. Upstream renegotiation isn't
7057 fully documented yet since nobody knows how that works.
7059 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7061 * check/gst/gstpad.c:
7063 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7064 if pad has no parent, return NULL as list of internal links
7066 2005-07-05 Andy Wingo <wingo@pobox.com>
7068 * gst/elements/gstfilesrc.c:
7069 * gst/elements/gstfakesrc.c:
7070 * gst/base/gstpushsrc.c:
7071 * gst/base/gstbasesrc.h:
7072 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7074 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7077 better report generation target (lcov needs a patch)
7079 2005-07-05 Andy Wingo <wingo@pobox.com>
7081 * gst/elements, testsuite: Null if we got it...
7083 2005-07-05 Wim Taymans <wim@fluendo.com>
7086 * libs/gst/dataprotocol/Makefile.am:
7087 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7088 * libs/gst/dataprotocol/dataprotocol.h:
7089 * pkgconfig/Makefile.am:
7090 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7091 * pkgconfig/gstreamer-dataprotocol.pc.in:
7092 Ported dataprotol to 0.9.
7093 Added pkgconfig files.
7095 2005-07-05 Andy Wingo <wingo@pobox.com>
7097 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7098 Default to returning TRUE for the case when tranform_caps returns
7099 a fixed caps, like for identity or volume.
7101 * check/gst/gstbus.c (pound_bus_with_messages):
7102 * check/gst/gstmessage.c (START_TEST):
7103 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7106 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7107 logic weaks here: always run transform_caps, trying passthrough
7108 operation only if the original caps intersects with the transform.
7110 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7111 source and sink caps.
7113 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7114 Intersect the peer caps with the pad template before going into
7116 (gst_base_transform_transform_caps): More debugging.
7118 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7121 2005-07-04 Edward Hervey <edward@fluendo.com>
7125 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7128 2005-07-04 Andy Wingo <wingo@pobox.com>
7130 * check/gst/gstpad.c: Only set explicit caps on pads.
7132 2005-07-01 Andy Wingo <wingo@pobox.com>
7134 * tests/network-clock.scm: Commentary update.
7136 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7137 Didn't really make sense, not implementable with basetransform,
7139 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7140 attempt at implementing the sync property, needs an unlock method.
7142 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7143 New func, by default returns the same caps (the identity
7145 (gst_base_transform_getcaps): Uses transform_caps to return
7147 (gst_base_transform_setcaps): Complicated logic to get caps on
7148 both pads, even if they are different, and to call set_caps once
7149 for every time both pads get their caps set.
7150 (gst_base_transform_handle_buffer): Give the ref to the transform
7151 function. Allows in-place modification of the buffer.
7153 * gst/base/gstbasetransform.h (transform_caps): New class method.
7154 Given caps on one side, what can I do on the other.
7155 (set_caps): Take two caps, one for each side of the element.
7158 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7159 caps in place. This is safe because we can check the mutability of
7160 the caps, and a good idea because fixate functions are just called
7161 as a matter of last resort. (Not actually implemented.)
7162 (gst_pad_set_caps): If the caps we're setting is actually the same
7163 as the existing pad caps, just update the pointer without calling
7164 setcaps. Assert that caps is either NULL or fixed, as per the
7167 * gst/gstghostpad.c: Update for fixate changes.
7169 2005-07-02 Andy Wingo <wingo@pobox.com>
7172 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7173 two refcounts makes it immutable, which is enough. Doc more.
7175 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7177 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7178 Put the mini_object into GValue as a mini_object,
7179 not a gpointer, since that's how we declared
7182 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7184 * examples/pwg/Makefile.am:
7187 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7189 * docs/pwg/building-testapp.xml:
7191 * examples/pwg/Makefile.am:
7194 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7197 * examples/Makefile.am:
7198 * examples/pwg/Makefile.am:
7199 * examples/pwg/extract.pl:
7200 Enable building the PWG examples.
7201 * docs/pwg/advanced-interfaces.xml:
7202 Add URI interface stub.
7203 * docs/pwg/advanced-types.xml:
7204 * docs/pwg/other-autoplugger.xml:
7205 * docs/pwg/appendix-porting.xml:
7207 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7208 * docs/pwg/building-boiler.xml:
7209 * docs/pwg/building-chainfn.xml:
7210 * docs/pwg/building-pads.xml:
7211 * docs/pwg/building-props.xml:
7212 * docs/pwg/building-state.xml:
7213 * docs/pwg/building-testapp.xml:
7214 Update the building-*.xml parts for 0.9 changes. All examples
7215 code blocks compile in examples/pwg/*.
7217 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7219 * docs/manual/advanced-autoplugging.xml:
7220 * docs/manual/appendix-checklist.xml:
7221 * docs/manual/appendix-integration.xml:
7222 * docs/manual/highlevel-components.xml:
7223 Fix playbin/decodebin examples, update docs a bit, mention bus
7224 instead of signals in various places, mention kmplayer and
7225 kaffeine since they have a working GStreamer backend in the KDE
7228 2005-06-30 Wim Taymans <wim@fluendo.com>
7231 * docs/design/draft-ghostpads.txt:
7232 * docs/design/draft-push-pull.txt:
7233 * docs/design/draft-query.txt:
7234 * docs/design/part-TODO.txt:
7235 * docs/design/part-query.txt:
7236 Added CHANGES-0.9 doc, updated status of other docs.
7241 2005-06-30 Wim Taymans <wim@fluendo.com>
7243 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7244 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7245 (gst_base_sink_change_state):
7246 * gst/base/gstbasesink.h:
7247 Some tweaks, only EOS and a buffer complete a preroll.
7249 2005-06-30 Andy Wingo <wingo@pobox.com>
7251 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7252 activate_push down to the internal pad as well.
7254 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7256 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7258 * gst/gsttaginterface.c:
7259 Some documentation fixes (#307394 and #307397).
7261 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7263 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7265 * gst/gstvalue.c: (gst_value_intersect_list):
7266 Fix memleak (#309125).
7268 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7270 * docs/manual/advanced-dataaccess.xml:
7271 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7272 * docs/manual/basics-pads.xml:
7273 Add reference for filtered caps to above chapter.
7275 2005-06-30 Wim Taymans <wim@fluendo.com>
7277 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7278 (gst_bin_change_state):
7280 Lame attempt at making the state change function a bit
7283 2005-06-30 Wim Taymans <wim@fluendo.com>
7285 * docs/design/part-clocks.txt:
7286 * docs/design/part-element-sink.txt:
7287 * docs/design/part-events.txt:
7288 * docs/design/part-preroll.txt:
7289 * docs/design/part-states.txt:
7290 Some more tweeks and additions to the docs.
7292 2005-06-30 Wim Taymans <wim@fluendo.com>
7294 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7295 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7296 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7297 (gst_pad_check_pull_range), (gst_pad_get_range),
7298 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7300 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7301 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7302 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7303 (gst_pad_remove_buffer_probe):
7304 Removed atomic operations, use existing LOCK.
7305 Move exception handling out of main code path.
7307 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7309 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7310 (silly_return_true_function), (gst_pad_class_init),
7311 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7312 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7313 (gst_pad_send_event):
7314 Fix accumulator, add default value by using _emitv() instead
7315 of _emit() for signal emission.
7317 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7319 * docs/manual/advanced-dataaccess.xml:
7320 * examples/manual/Makefile.am:
7322 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7325 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7327 * gst/elements/gstfilesink.c: (gst_filesink_render):
7328 Simplify code so that we don't have to handle short
7329 writes and return GST_FLOW_ERROR if an error occured.
7331 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7333 * docs/gst/gstreamer-docs.sgml:
7336 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7338 * docs/gst/gstreamer-sections.txt:
7339 * docs/gst/tmpl/gstpad.sgml:
7340 * docs/gst/tmpl/gstprobe.sgml:
7342 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7343 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7344 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7345 (gst_pad_push_event), (gst_pad_send_event):
7347 * gst/gstutils.c: (gst_pad_add_data_probe),
7348 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7349 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7350 (gst_pad_remove_buffer_probe):
7352 Remove old probes, add new g-signal-based probes and some utility
7355 2005-06-29 Edward Hervey <edward@fluendo.com>
7357 * gst/gstelementfactory.c:
7360 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7361 the definition to the header file.
7363 2005-06-29 Andy Wingo <wingo@pobox.com>
7365 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7366 plugins from the source directory.
7368 2005-06-29 Wim Taymans <wim@fluendo.com>
7370 * docs/gst/tmpl/gstbuffer.sgml:
7371 * docs/gst/tmpl/gstclock.sgml:
7372 Some fixings for blantently wrong text.
7374 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7376 * check/Makefile.am:
7377 * gst/gst.c: (add_path_func), (init_pre):
7378 * gst/gstregistry.c: (gst_registry_add_path):
7379 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7380 only scan the GST_PLUGIN_PATH locations, and not add
7383 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7385 * docs/gst/gstreamer-sections.txt:
7386 * docs/gst/tmpl/gstbasesrc.sgml:
7393 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7395 * docs/manual/advanced-autoplugging.xml:
7396 Fix autoplugging example.
7398 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7400 * docs/manual/advanced-autoplugging.xml:
7401 * docs/manual/mime-world.fig:
7402 Try to get autoplugging working, fix type detection. Fix text
7403 in hello-world image.
7405 2005-06-29 Wim Taymans <wim@fluendo.com>
7407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7408 (gst_base_sink_change_state):
7412 map SIGNAL and BROADCAST to the right function.
7415 Remove redundant braces.
7417 * gst/gstpad.c: (gst_pad_set_caps):
7418 Don't call setcaps function when reseting caps to NULL.
7420 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7421 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7422 (gst_system_clock_id_unschedule):
7423 Use BROADCAST as this is what we do.
7425 2005-06-29 Wim Taymans <wim@fluendo.com>
7427 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7428 We are actually prerolling before commiting the state
7431 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7433 * docs/manual/advanced-clocks.xml:
7434 * docs/manual/advanced-interfaces.xml:
7435 * docs/manual/advanced-metadata.xml:
7436 * docs/manual/advanced-position.xml:
7437 * docs/manual/advanced-schedulers.xml:
7438 * docs/manual/advanced-threads.xml:
7439 * docs/manual/appendix-porting.xml:
7440 * docs/manual/basics-bins.xml:
7441 * docs/manual/basics-bus.xml:
7442 * docs/manual/basics-elements.xml:
7443 * docs/manual/basics-helloworld.xml:
7444 * docs/manual/basics-pads.xml:
7445 * docs/manual/highlevel-components.xml:
7446 * docs/manual/manual.xml:
7447 * docs/manual/thread.fig:
7448 Update (until threads/scheduling) Application Development Manual;
7449 remove GstThread, add GstBus, add simple porting checklist, add
7450 documentation for tag writing, clocks, make all examples until this
7451 part compile and run.
7452 * examples/manual/Makefile.am:
7453 Update from changes to Application Development Manual; add bus
7454 example, remove thread example.
7456 2005-06-28 Wim Taymans <wim@fluendo.com>
7458 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7459 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7460 (gst_bus_source_dispatch):
7461 Add debugging messages.
7462 Make internal methods static.
7463 Handle the case where the bus is flushed in the handler.
7465 * gst/gstelement.c: (gst_element_get_bus):
7466 Fix refcount in _get_bus();
7468 * gst/gstpipeline.c: (gst_pipeline_change_state),
7469 (gst_pipeline_get_clock_func):
7470 Clock refcounting fixes.
7471 Handle the case where preroll timed out more gracefully.
7473 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7474 Clean up the internal thread in dispose. This is needed
7475 for subclasses that actually get disposed.
7477 * gst/schedulers/threadscheduler.c:
7478 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7479 (gst_thread_scheduler_dispose):
7480 Free thread pool in dispose.
7482 2005-06-28 Andy Wingo <wingo@pobox.com>
7484 * tests/network-clock-utils.scm (debug, print-event): New utils.
7486 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7487 (*packet-loss*): Unified loss probability.
7488 (network-time): Report out-of-band events.
7490 * tests/plot-data: Add support for out-of-band events. Hack it
7491 into this script instead of passing it down the pipe; should fix
7494 2005-06-28 Wim Taymans <wim@fluendo.com>
7496 * docs/gst/gstreamer.types:
7497 * docs/gst/tmpl/gstbasesrc.sgml:
7498 * docs/gst/tmpl/gstpad.sgml:
7501 2005-06-28 Wim Taymans <wim@fluendo.com>
7503 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7504 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7505 (gst_proxy_pad_do_fixatecaps):
7506 Correctly proxy the check_pull_range function.
7508 2005-06-28 Andy Wingo <wingo@pobox.com>
7510 * tests/network-clock.scm: Removed need for slib.
7512 2005-06-28 Wim Taymans <wim@fluendo.com>
7514 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7515 (gst_basesink_preroll_queue_flush):
7516 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7517 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7518 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7519 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7520 (gst_proxy_pad_set_property):
7523 * gst/gstqueue.c: (gst_queue_init):
7524 The deprecated pad loop function is removed now.
7526 2005-06-28 Andy Wingo <wingo@pobox.com>
7528 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7529 New parameters, simulate network packet loss.
7531 * tests/network-clock-utils.scm: Initialize the RNG.
7533 2005-06-28 Wim Taymans <wim@fluendo.com>
7535 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7536 (gst_basesink_event), (gst_basesink_deactivate):
7537 Flushing the preroll queue always needs to unlock the waiters.
7539 2005-06-28 Edward Hervey <edward@fluendo.com>
7541 * gst/gstpipeline.c: (gst_pipeline_send_event):
7542 Wheen a seek was successful on a pipeline, set the stream_time to the
7543 seek offset in order to have a synchronized stream_time.
7545 2005-06-28 Wim Taymans <wim@fluendo.com>
7547 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7548 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7549 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7550 (gst_proxy_pad_do_fixatecaps):
7551 Call wrapper function instead of just calling the function
7552 pointers. This takes care of any locking and whatmore.
7554 2005-06-28 Wim Taymans <wim@fluendo.com>
7556 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7557 (gst_pad_pull_range):
7559 CONNECTED -> LINKED.
7561 2005-06-28 Andy Wingo <wingo@pobox.com>
7563 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7564 source-munging commit!!!
7566 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7567 (gst_object_sink): Take gpointer arguments, not GstObject --
7568 avoids casts. Like GLib.
7570 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7573 2005-06-27 Andy Wingo <wingo@pobox.com>
7575 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7578 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7579 returns a sorted copy of the trace list.
7580 (gst_alloc_trace_print_live): New API, only prints traces with
7581 live objects. Sort the list.
7582 (gst_alloc_trace_print_all): Sort the list.
7583 (gst_alloc_trace_print): Align columns.
7585 * gst/elements/gstttypefindelement.c:
7586 * gst/elements/gsttee.c:
7587 * gst/base/gstbasesrc.c:
7588 * gst/base/gstbasesink.c:
7589 * gst/base/gstbasetransform.c:
7590 * gst/gstqueue.c: Adapt for pad activation changes.
7592 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7594 (gst_pipeline_dispose): Drop ref on sched.
7596 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7597 (gst_pad_activate_default): Push mode by default.
7598 (pre_activate_switch, post_activate_switch): New stubs, things to
7599 do before and after switching activation modes on pads.
7600 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7601 the pad's activate function to choose which mode to activate.
7602 Shortcut on deactivation and call the right function directly.
7603 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7605 (gst_pad_activate_push): New API, same for push mode.
7606 (gst_pad_set_activate_function)
7607 (gst_pad_set_activatepull_function)
7608 (gst_pad_set_activatepush_function): Setters for new API.
7610 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7611 Trace all miniobjects.
7612 (gst_mini_object_make_writable): Unref the arg if we copy, like
7613 gst_caps_make_writable.
7615 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7617 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7618 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7619 Adapt for new pad API.
7621 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7624 * gst/gstelement.c (gst_element_iterate_src_pads)
7625 (gst_element_iterate_sink_pads): New API functions.
7627 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7628 should fold into gstiterator.c in some form.
7629 (gst_element_pads_activate): Simplified via use of fold and
7630 delegation of decisions to gstpad->activate.
7632 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7635 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7636 class once in init, like gstmessage. Didn't run into this issue
7637 but it seems correct. Don't initialize a trace, gstminiobject does
7640 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7641 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7643 (assert_live_count): New util function, uses alloc traces to check
7646 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7647 To be modified when unlink drops the internal pad.
7649 2005-06-27 Wim Taymans <wim@fluendo.com>
7651 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7652 (gst_bin_change_state):
7653 Cleanup the get_state() function a little, make sure it
7654 iterates the same set of elements.
7655 Added stub iterate_state_order().
7657 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7659 * docs/gst/gstreamer-docs.sgml:
7660 * docs/gst/gstreamer-sections.txt:
7661 * docs/gst/gstreamer.types:
7662 * docs/gst/tmpl/gstbasesink.sgml:
7663 * docs/gst/tmpl/gstbasesrc.sgml:
7664 * docs/gst/tmpl/gstbasetransform.sgml:
7665 * docs/gst/tmpl/gstelement.sgml:
7666 * docs/gst/tmpl/gstiterator.sgml:
7667 * gst/base/gstbasesrc.c:
7668 * gst/base/gstbasesrc.h:
7669 * gst/base/gstbasetransform.h:
7671 * gst/gstiterator.h:
7672 adding basetransform and iterator docs
7674 2005-06-27 Andy Wingo <wingo@pobox.com>
7676 * docs/design/part-activation.txt: Notes on how activation should
7677 work -- not quite implemented yet.
7679 2005-06-25 Wim Taymans <wim@fluendo.com>
7681 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7682 At least get the chain function correct, needs more
7685 2005-06-25 Wim Taymans <wim@fluendo.com>
7687 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7688 (gst_basesink_handle_object), (gst_basesink_event),
7689 (gst_basesink_do_sync), (gst_basesink_handle_event),
7690 (gst_basesink_change_state):
7692 Right, two problems here: ghostpads don't take locks and
7693 glib _rec_mutex_lock_full() with depth==0 still locks.
7694 Catch illegal locking and g_warn them.
7696 2005-06-25 Wim Taymans <wim@fluendo.com>
7698 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7699 Have to check for completion now...
7701 2005-06-25 Wim Taymans <wim@fluendo.com>
7703 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7704 (gst_basesink_handle_object), (gst_basesink_event),
7705 (gst_basesink_do_sync), (gst_basesink_handle_event),
7706 (gst_basesink_change_state):
7708 Unlock STREAM_LOCK whatever the recursion was.
7710 2005-06-25 Wim Taymans <wim@fluendo.com>
7712 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7713 (gst_basesink_preroll_queue_empty),
7714 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7715 (gst_basesink_event), (gst_basesink_do_sync),
7716 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7717 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7718 (gst_basesink_change_state):
7719 Reworked the base sink, handle event and buffer serialisation
7720 correctly and removed possible deadlock.
7721 Handle EOS correctly.
7723 2005-06-25 Wim Taymans <wim@fluendo.com>
7725 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7726 (gst_pipeline_change_state):
7727 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7728 Allow elements to post EOS in the state change function.
7729 Fix up -launch, make it exit the poll loop when the
7730 pipeline actually changed state.
7731 Fix up warning parsing in -launch.
7733 2005-06-25 Wim Taymans <wim@fluendo.com>
7735 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7736 (gst_tee_sink_activate):
7737 Core takes STREAM_LOCK for us now.
7739 2005-06-25 Wim Taymans <wim@fluendo.com>
7741 * gst/gstelement.c: (gst_element_get_state_func),
7742 (gst_element_set_state):
7744 * gst/gstmessage.c: (gst_message_parse_error),
7745 (gst_message_parse_warning):
7746 Keep track of current target state while performing a state
7747 change so that subclasses can do something interesting.
7748 Fix parsing of warning/error messages when GError is NULL.
7750 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7752 * docs/gst/Makefile.am:
7753 * docs/gst/gstreamer-docs.sgml:
7754 * docs/gst/gstreamer-sections.txt:
7755 * docs/gst/gstreamer.types:
7756 * docs/gst/tmpl/gstbasesink.sgml:
7757 * docs/gst/tmpl/gstbasesrc.sgml:
7758 * docs/gst/tmpl/gstbin.sgml:
7759 * docs/gst/tmpl/gstcompat.sgml:
7760 * docs/gst/tmpl/gstfakesink.sgml:
7761 * docs/gst/tmpl/gstfakesrc.sgml:
7762 * docs/gst/tmpl/gstfilesink.sgml:
7763 * docs/gst/tmpl/gstfilesrc.sgml:
7764 * docs/gst/tmpl/gstindex.sgml:
7765 * docs/manual/appendix-quotes.xml:
7766 * gst/base/gstbasesrc.h:
7767 * gst/elements/gstfakesrc.h:
7769 start pulling in base classes and elements in our docs
7771 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7773 * docs/gst/Makefile.am:
7774 * docs/libs/Makefile.am:
7775 fixed make distcheck with gtk-doc 1.3
7777 2005-06-23 Wim Taymans <wim@fluendo.com>
7779 * gst/gstelement.c: (gst_element_get_state_func),
7780 (gst_element_set_state), (gst_element_change_state):
7781 When the state did not change, also report NO_PREROLL
7784 2005-06-23 Wim Taymans <wim@fluendo.com>
7786 * gst/gstpad.c: (gst_pad_event_default):
7787 * gst/gstqueue.c: (gst_queue_loop):
7788 No unsafe task pausing please.
7790 2005-06-23 Wim Taymans <wim@fluendo.com>
7792 * gst/schedulers/threadscheduler.c:
7793 (gst_thread_scheduler_task_start),
7794 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7795 Ref the task before pushing it on the threadpool. This
7796 makes sure that we have a ref when the threadfunction is
7799 2005-06-23 Andy Wingo <wingo@pobox.com>
7801 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7802 offset is greater than the file's size.
7804 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7805 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7806 * gst/gstobject.c (gst_object_class_init): Make the class lock
7807 recursive. Wim won't let me drop deep_notify. Decodebin works
7810 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7811 internal pad, and hacks accordingly. Doesn't do it on the target
7812 pad because we change its caps. Probably catches all cases of
7814 (gst_ghost_pad_set_property): Connect to notify::caps as
7817 * tests/network-clock.scm (plot-simulation): Pipe data to the
7818 elite python skript.
7820 * tests/network-clock-utils.scm (define-parameter): New macro,
7821 defines a parameter that can be set via the command line.
7822 (set-parameter!, parse-parameter-arguments): Command line args
7825 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7828 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7830 * gst/elements/gsttypefindelement.c:
7831 (gst_type_find_element_handle_event):
7832 Don't restart typefinding on a discont.
7833 * gst/gstelement.c: (gst_element_set_state):
7835 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7836 Allow changing mode of an active pad.
7838 * gst/registries/gstlibxmlregistry.c: (load_feature):
7839 Don't cast a static pad template to a normal pad template.
7841 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7843 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7844 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7845 remove gst_strtoll completely, since it didn't actually do
7846 anything more than what g_ascii_strtoull already does.
7847 check for range errors when deserializing
7848 do a cast for the unsigned cases; but further fixing needs
7849 a decision on what the interpretation of "(int)" and
7850 deserialization should be for values that fall outside the
7851 type's boundaries (ie, refuse, or interpret as casting)
7853 2005-06-23 Wim Taymans <wim@fluendo.com>
7855 * check/Makefile.am:
7856 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7857 * docs/design/part-live-source.txt:
7858 * docs/design/part-states.txt:
7859 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7860 (gst_basesrc_set_live), (gst_basesrc_is_live),
7861 (gst_basesrc_get_range), (gst_basesrc_activate),
7862 (gst_basesrc_change_state):
7863 * gst/base/gstbasesrc.h:
7864 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7865 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7866 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7867 * gst/gstelement.c: (gst_element_get_state_func),
7868 (gst_element_set_state):
7871 * tools/gst-launch.c: (event_loop), (main):
7872 Added support for live sources and other elements that
7874 Updated design docs, added live-source design doc.
7875 Implemented live source functionality in basesrc
7876 Fix error condition in _bin_get_state()
7877 Implement live source handling in -launch.
7878 Added check for live sources.
7879 Fixed case in GstBin where elements were changed state
7883 2005-06-23 Andy Wingo <wingo@pobox.com>
7885 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7888 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7889 gst_caps_replace takes care of this for us.
7891 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7892 gst_pad_set_caps on the target, not just its setcaps() function.
7894 * tests/network-clock.scm:
7895 * tests/network-clock-utils.scm: A network clock simulator.
7896 Something of an algorithmic testbed before doing something in C.
7898 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7900 * check/Makefile.am:
7901 * check/gst/capslist.h:
7902 copy over from 0.8, and add two with bitmasks specified with
7904 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7905 add test to parse everything from capslist.h
7906 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7908 add test for structure deserialization
7909 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7910 add tests for deserialization of strings to int types
7911 * gst/gststructure.c: (gst_structure_nth_field_name):
7912 * gst/gststructure.h:
7913 add a way to get the name of a field referenced by index
7914 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7915 instead of checking if the resulting long long lies between
7916 min and max, we check if the long long would fit into
7917 a number of bytes for the final type.
7918 This fixes cases where a string represents 2^32 - 1, which
7919 when cast to int would be the (valid) -1, but is bigger than
7922 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7924 * gst/parse/grammar.y:
7925 add a log line for type deserialization
7927 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7929 * check/gst/gstvalue.c: (START_TEST):
7930 * gst/gstvalue.c: (gst_value_deserialize):
7931 return long long, not int, so gint64 deserialization actually
7932 works. Is there any flag that makes the compiler check this ?
7935 2005-06-22 Wim Taymans <wim@fluendo.com>
7938 Added convenience macros for setting buffers in GValue.
7940 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7942 * check/gst/.cvsignore:
7943 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7944 add a test deserializing int64, and comment part out because
7947 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7949 * check/Makefile.am:
7950 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7951 * testsuite/Makefile.am:
7952 * testsuite/caps/Makefile.am:
7953 * testsuite/caps/value_serialize.c:
7954 * testsuite/test_gst_init.c:
7955 move a value_serialize test over
7957 2005-06-20 Wim Taymans <wim@fluendo.com>
7962 * gst/gstvalue.c: (gst_value_compare_buffer),
7963 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7964 (gst_value_compare_flags), (gst_value_serialize_flags),
7965 (gst_value_deserialize_flags), (_gst_value_initialize):
7966 Fix serialisation of buffers, they are not boxed types anymore
7968 2005-06-20 Wim Taymans <wim@fluendo.com>
7970 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7971 Testcase to show error in buffer-on-caps serialisation.
7973 2005-06-20 Andy Wingo <wingo@pobox.com>
7975 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7976 will be adding to later.
7978 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7979 if its socks fill with rocks.
7980 (gst_system_clock_obtain): Set the name on object construction.
7981 Avoid double-checked locking.
7983 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7985 * gst/gsturi.c: (gst_element_make_from_uri):
7986 Fix potential endless loop.
7988 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7990 * check/Makefile.am:
7992 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7994 move over from testsuite dir and clean up
7997 * testsuite/Makefile.am:
7998 * testsuite/tags/.cvsignore:
7999 * testsuite/tags/Makefile.am:
8000 * testsuite/tags/merge.c:
8001 remove testsuite/tags
8003 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8005 * docs/gst/gstreamer-sections.txt:
8006 * docs/gst/tmpl/gstenumtypes.sgml:
8007 * win32/gstenumtypes.c:
8008 clean up documentation build a little
8010 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8013 add macros for checking refcounts on objects and caps
8014 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8015 add some more unit tests
8016 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8017 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8018 fix leaked refcounts (I hope :)) so unittest works
8022 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8024 * configure.ac: back to HEAD
8026 === release 0.9.1 ===
8028 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8034 2005-06-17 Andy Wingo <wingo@pobox.com>
8036 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8037 assert; it's always possible that the pad gets deactivated in
8038 between the checks in gstpad.c and the implementation. Rely on
8039 finish_preroll() to return a FLUSHING or similar instead of on the
8042 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8043 clock and post an EOS message if we come out of finish_preroll in
8046 2005-06-16 David Schleef <ds@schleef.org>
8048 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8049 (gst_capsfilter_set_property): Allow NULL as possible value
8050 for filter_caps property, indicating GST_CAPS_ANY.
8052 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8054 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8056 * gst/schedulers/Makefile.am:
8058 * gstreamer.spec.in:
8061 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8063 * gstreamer.spec.in:
8066 2005-06-08 Andy Wingo <wingo@pobox.com>
8068 * gst/gstutils.c: RPAD fixes all around.
8069 (gst_element_link_pads): Refcounting fixes.
8071 * tools/gst-inspect.c:
8072 * tools/gst-xmlinspect.c:
8074 * gst/base/gsttypefindhelper.c:
8075 * gst/base/gstbasesink.c:
8076 * gst/gstqueue.c: RPAD fixes.
8078 * gst/gstghostpad.h:
8079 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8080 pads. The tricky thing is they provide both source and sink
8081 interfaces, since they proxy the internal pad for the external
8082 pad, and vice versa. Implement with lower-level ProxyPad objects,
8083 with the interior proxy pad as a child of the exterior ghost pad.
8084 Should write a doc on this.
8086 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8087 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8090 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8091 pads are real pads. No ghost pads in this file. Not documenting
8092 the myriad s/RPAD/PAD/ and REALIZE fixes.
8093 (gst_pad_class_init): Add properties for "direction" and
8094 "template". Both are construct-only, so they can't change during
8095 the life of the pad. Fixes properly deriving from GstPad.
8096 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8097 derived objects, just set properties when creating the objects via
8099 (gst_pad_get_parent): Implement as a function, return NULL if the
8100 parent is not an element.
8101 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8102 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8104 * gst/gstobject.c (gst_object_class_init): Make name a construct
8105 property. Don't set it in the object init.
8107 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8108 with UNKNOWN direction.
8109 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8110 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8111 (gst_element_remove_pad): Remove ghost-pad special cases.
8112 (gst_element_pads_activate): Remove rpad cruft.
8114 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8115 catch the pad's-parent-not-an-element case.
8117 * gst/gst.h: Include gstghostpad.h.
8119 * gst/gst.c (init_post): No more real, ghost pads.
8121 * gst/Makefile.am: Add gstghostpad.[ch].
8123 * check/Makefile.am:
8124 * check/gst/gstbin.c:
8125 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8126 into a bin creates ghost pads, and that the refcounts are right.
8127 Partly moved from gstbin.c.
8129 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8131 * check/gst-libs/.cvsignore:
8132 * check/gst/.cvsignore:
8133 * check/pipelines/.cvsignore:
8135 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8136 (START_TEST), (cleanup_suite), (main):
8137 add some tests related to cleanup after running pipelines
8139 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8141 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8142 add a testsuite for GstBuffer
8144 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8146 * gst/gstminiobject.h:
8147 add defines for accessing the refcount
8149 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8151 * Makefile.am: added support for html unit test coverage reports
8153 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8155 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8156 Free existing caps if the capsfilter changes. Add a FIXME about
8157 setting those caps on the pads.
8159 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8160 Before adding a ghost pad to a parent bin, check that there isn't
8161 already one for the element on the bin. Prevents infinite recursion
8162 when using decodebin in parse pipelines. Andy says he'll rewrite the
8163 way this works anyway, so ignore the hack.
8165 2005-06-02 Andy Wingo <wingo@pobox.com>
8167 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8168 file size, pass it on to the type find helper.
8170 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8171 segment_start and segment_end properly according to the seek
8172 method. Segment_end is still a bit flaky because offset can be
8173 negative for CUR and END cases, but it takes -1 as an "unset"
8176 2005-06-02 Wim Taymans <wim@fluendo.com>
8178 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8179 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8180 (gst_basesink_activate):
8181 * gst/base/gstbasesink.h:
8182 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8183 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8184 (gst_pad_query), (gst_pad_start_task):
8186 * gst/gstqueue.c: (gst_queue_bufferalloc),
8187 (gst_queue_handle_sink_event), (gst_queue_chain):
8188 Bufferalloc: return GstFlowReturn to more accuratly report
8189 why allocation failed.
8191 2005-06-02 Wim Taymans <wim@fluendo.com>
8193 * gst/gstpipeline.c: (gst_pipeline_send_event):
8194 Take snapshot of state without blocking.
8196 2005-06-02 Wim Taymans <wim@fluendo.com>
8198 * docs/design/part-TODO.txt:
8199 * docs/design/part-caps.txt:
8200 * docs/design/part-clocks.txt:
8201 * docs/design/part-negotiation.txt:
8202 * docs/design/part-preroll.txt:
8205 2005-05-30 Wim Taymans <wim@fluendo.com>
8207 * gst/elements/gstidentity.c: (gst_identity_event),
8208 (gst_identity_transform), (gst_identity_get_property):
8209 Protect last_message property as it is accessed from
8212 2005-05-30 Wim Taymans <wim@fluendo.com>
8214 * gst/gstelement.c: (gst_element_init),
8215 (gst_element_pads_activate), (gst_element_change_state):
8216 Slicker pad activation code.
8218 2005-05-30 Wim Taymans <wim@fluendo.com>
8222 * gst/gstelementfactory.h:
8224 Move elementfactory methods to separate .h file.
8226 2005-05-30 Wim Taymans <wim@fluendo.com>
8228 * docs/design/part-overview.txt:
8229 * gst/gstsystemclock.h:
8230 Small typo fixes, doc updates.
8232 2005-05-30 Wim Taymans <wim@fluendo.com>
8234 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8235 (init_popt_callback):
8236 Remove cpu-opt flag.
8238 2005-05-30 Wim Taymans <wim@fluendo.com>
8240 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8241 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8243 Avoid typechecking in places where not needed.
8244 Added accessor for malloc_data.
8246 2005-05-30 Wim Taymans <wim@fluendo.com>
8248 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8249 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8250 (gst_pad_configure_sink), (gst_pad_configure_src),
8251 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8252 (gst_pad_start_task):
8253 Propagate errors from _set_caps() in configure_src/sink
8254 functions instead of returning TRUE.
8255 FLUSH events can travel up and downstream
8258 2005-05-30 Wim Taymans <wim@fluendo.com>
8260 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8261 (gst_basesink_activate):
8262 Handle EOS in preroll.
8264 2005-05-30 Wim Taymans <wim@fluendo.com>
8266 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8267 (gst_queue_loop), (gst_queue_handle_src_event):
8268 Remove old pieces of code
8269 Flushing the queue in an upstream event is a very bad idea.
8271 2005-05-26 Andy Wingo <wingo@pobox.com>
8273 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8274 gst_value_set_mini_object so as to add a ref on the object (which
8275 will be removed when the value is unset).
8277 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8278 arg type in ::handoff.
8280 * gst/gstelement.c (gst_element_change_state): Also deactivate
8281 pads in READY->NULL, just in case the element didn't make it to
8282 PAUSED. Wingo tested, Wim approved.
8284 2005-05-26 Wim Taymans <wim@fluendo.com>
8286 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8287 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8288 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8289 A flushing pad cannot be used to alloc_buffer from.
8291 2005-05-26 Wim Taymans <wim@fluendo.com>
8293 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8294 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8295 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8296 (gst_bus_create_watch), (gst_bus_add_watch_full):
8298 Implement a real GSource and use g_main_context_wakeup() to
8299 signal new messages instead of the socketpair.
8301 2005-05-25 Wim Taymans <wim@fluendo.com>
8303 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8304 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8305 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8306 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8307 (gst_pad_send_event), (gst_pad_start_task):
8308 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8309 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8310 (gst_queue_sink_activate), (gst_queue_src_activate),
8311 (gst_queue_change_state):
8313 Fix state changes for non sinks. We now change sinks, then elements
8314 with unconnected srcpads, then the rest.
8315 More efficient queue unlocking in flush and state changes.
8316 Set the pad activate mode even if it does not have an activate
8319 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8321 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8322 Don't go in pull mode for non-seekable sources.
8323 * gst/elements/gsttypefindelement.h:
8324 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8325 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8326 (free_entry), (stop_typefinding),
8327 (gst_type_find_element_handle_event), (find_peek),
8328 (gst_type_find_element_chain), (do_pull_typefind),
8329 (gst_type_find_element_change_state):
8330 Allow typefinding (w/o seeking) in push-mode, simplified version
8332 * gst/gstutils.c: (gst_buffer_join):
8334 gst_buffer_join() from 0.8.
8336 2005-05-25 Wim Taymans <wim@fluendo.com>
8338 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8339 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8340 (gst_pad_send_event), (gst_pad_start_task):
8341 Disable attempt at mode switching until it is figured out.
8343 2005-05-25 Wim Taymans <wim@fluendo.com>
8345 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8346 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8347 (gst_basesink_finish_preroll), (gst_basesink_chain),
8348 (gst_basesink_loop), (gst_basesink_activate),
8349 (gst_basesink_change_state):
8350 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8351 (gst_basesrc_get_range), (gst_basesrc_loop),
8352 (gst_basesrc_activate):
8353 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8354 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8355 (gst_real_pad_init), (gst_real_pad_set_property),
8356 (gst_real_pad_get_property), (gst_pad_set_active),
8357 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8358 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8359 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8360 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8361 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8362 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8363 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8364 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8365 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8366 (gst_pad_stop_task):
8368 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8369 (gst_queue_loop), (gst_queue_src_activate):
8370 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8371 (gst_task_get_state):
8373 * gst/schedulers/threadscheduler.c:
8374 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8375 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8377 Remove ACTIVE pad flag, use FLUSHING everywhere
8378 Added _pad_chain(), _pad_get_range() to call chain/getrange
8380 Add locks around IS_FLUSHING when reading.
8381 Take STREAM lock in chain(), get_range() functions so plugins
8382 don't need to take it anymore.
8386 2005-05-25 Wim Taymans <wim@fluendo.com>
8388 * tools/gst-launch.c: (event_loop):
8389 Unref message after using its contents instead of
8392 2005-05-24 Wim Taymans <wim@fluendo.com>
8394 * docs/design/draft-ghostpads.txt:
8395 * docs/design/draft-push-pull.txt:
8396 * docs/design/draft-query.txt:
8397 * docs/design/part-overview.txt:
8398 Docs updates, added general overview doc.
8400 2005-05-21 David Schleef <ds@schleef.org>
8402 * docs/gst/tmpl/old/GstBin.sgml:
8403 * docs/gst/tmpl/old/GstBuffer.sgml:
8404 * docs/gst/tmpl/old/GstCaps.sgml:
8405 * docs/gst/tmpl/old/GstClock.sgml:
8406 * docs/gst/tmpl/old/GstCompat.sgml:
8407 * docs/gst/tmpl/old/GstData.sgml:
8408 * docs/gst/tmpl/old/GstElement.sgml:
8409 * docs/gst/tmpl/old/GstEvent.sgml:
8410 * docs/gst/tmpl/old/GstIndex.sgml:
8411 * docs/gst/tmpl/old/GstStructure.sgml:
8412 * docs/gst/tmpl/old/GstTag.sgml:
8413 * docs/gst/tmpl/old/cothreads.sgml:
8414 * docs/gst/tmpl/old/cothreads_compat.sgml:
8415 * docs/gst/tmpl/old/gettext.sgml:
8416 * docs/gst/tmpl/old/gobject2gtk.sgml:
8417 * docs/gst/tmpl/old/grammar.tab.sgml:
8418 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8419 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8420 * docs/gst/tmpl/old/gst_private.sgml:
8421 * docs/gst/tmpl/old/gstaggregator.sgml:
8422 * docs/gst/tmpl/old/gstarch.sgml:
8423 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8424 * docs/gst/tmpl/old/gstbufferstore.sgml:
8425 * docs/gst/tmpl/old/gstdata_private.sgml:
8426 * docs/gst/tmpl/old/gstdisksink.sgml:
8427 * docs/gst/tmpl/old/gstdisksrc.sgml:
8428 * docs/gst/tmpl/old/gstelementfactory.sgml:
8429 * docs/gst/tmpl/old/gstextratypes.sgml:
8430 * docs/gst/tmpl/old/gstfakesink.sgml:
8431 * docs/gst/tmpl/old/gstfakesrc.sgml:
8432 * docs/gst/tmpl/old/gstfdsink.sgml:
8433 * docs/gst/tmpl/old/gstfdsrc.sgml:
8434 * docs/gst/tmpl/old/gstfilesink.sgml:
8435 * docs/gst/tmpl/old/gstfilesrc.sgml:
8436 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8437 * docs/gst/tmpl/old/gstidentity.sgml:
8438 * docs/gst/tmpl/old/gstindexfactory.sgml:
8439 * docs/gst/tmpl/old/gstmarshal.sgml:
8440 * docs/gst/tmpl/old/gstmd5sink.sgml:
8441 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8442 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8443 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8444 * docs/gst/tmpl/old/gstpipefilter.sgml:
8445 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8446 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8447 * docs/gst/tmpl/old/gstshaper.sgml:
8448 * docs/gst/tmpl/old/gstspider.sgml:
8449 * docs/gst/tmpl/old/gstspideridentity.sgml:
8450 * docs/gst/tmpl/old/gststatistics.sgml:
8451 * docs/gst/tmpl/old/gsttee.sgml:
8452 * docs/gst/tmpl/old/gsttimecache.sgml:
8453 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8454 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8455 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8456 * docs/gst/tmpl/old/types.sgml:
8457 I didn't intend to add these or check them in.
8459 2005-05-19 David Schleef <ds@schleef.org>
8461 * configure.ac: Use -no-common everywhere. In a sane world, it
8462 would be the default in libtool, because without it, you can't
8463 build DLLs on Windows.
8464 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8465 * docs/gst/gstreamer-sections.txt:
8466 * docs/gst/tmpl/gstcpu.sgml:
8467 * docs/gst/tmpl/gstdata.sgml:
8468 * docs/gst/tmpl/gstthread.sgml:
8470 2005-05-19 David Schleef <ds@schleef.org>
8472 * gst/gstminiobject.c: (gst_value_set_mini_object),
8473 (gst_value_take_mini_object), (gst_value_get_mini_object):
8474 * gst/gstminiobject.h: Add GValue set/get functions.
8476 2005-05-19 Wim Taymans <wim@fluendo.com>
8478 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8479 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8480 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8482 * gst/gstbus.c: (gst_bus_post):
8483 * gst/gstelement.c: (gst_element_get_random_pad):
8484 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8485 Make subbufer unref the parent in finalize.
8486 some more debugging info.
8489 2005-05-19 Wim Taymans <wim@fluendo.com>
8491 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8492 (gst_basesink_init), (gst_basesink_finalize),
8493 (gst_basesink_activate), (gst_basesink_change_state):
8494 Don't free preroll queue too early.
8496 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8500 Hi, I'm outdated. Please shoot me.
8502 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8504 * gst/gstpipeline.c: (gst_pipeline_send_event):
8505 Do not access variables after they have been deleted.
8507 2005-05-19 Wim Taymans <wim@fluendo.com>
8509 * tools/gst-inspect.c: (print_plugin_features):
8510 A plugin feature does unfortunatly not use the
8513 2005-05-18 Wim Taymans <wim@fluendo.com>
8515 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8516 Port _span() functions to new subbuffers.
8518 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8520 * gst/gstbin.c: (gst_bin_add_func):
8521 Fix clock settery in bins when adding kids after the clock has
8524 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8526 * gst/elements/gstidentity.c: (gst_identity_class_init):
8527 Workaround until signals support GstMiniObject.
8529 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8532 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8534 2005-05-18 Wim Taymans <wim@fluendo.com>
8536 * gst/base/Makefile.am:
8537 * gst/base/gstadapter.c: (gst_adapter_base_init),
8538 (gst_adapter_class_init), (gst_adapter_init),
8539 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8540 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8541 (gst_adapter_flush), (gst_adapter_available),
8542 (gst_adapter_available_fast):
8543 * gst/base/gstadapter.h:
8544 Ported and added adapter to the base classes.
8546 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8550 Make sure the class is reffed/unreffed once before threads can be
8551 used. Fixes #304551.
8553 2005-05-17 Wim Taymans <wim@fluendo.com>
8555 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8556 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8557 * gst/gstminiobject.c: (gst_mini_object_get_type),
8558 (gst_mini_object_free):
8559 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8560 (gst_pad_push), (gst_pad_push_event):
8561 * gst/gstqueue.c: (gst_queue_change_state):
8562 Don't queue buffers in basesink when we are flushing.
8563 Unref buffer when flushing in basesink.
8564 Flush queue when going to READY
8565 Unref buffer when _push() returns an error.
8566 Don't free MiniObject instance when refcount is incremented
8567 in _finalize() so that we can recover objects.
8569 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8571 * docs/manual/advanced-schedulers.xml:
8572 * docs/manual/appendix-checklist.xml:
8573 * docs/pwg/advanced-clock.xml:
8574 * docs/pwg/advanced-interfaces.xml:
8575 * docs/pwg/advanced-request.xml:
8576 * docs/pwg/advanced-types.xml:
8577 * docs/pwg/intro-preface.xml:
8578 * examples/plugins/example.c: (gst_example_get_type),
8579 (gst_example_class_init), (gst_example_chain),
8580 (gst_example_set_property), (gst_example_get_property),
8581 (gst_example_change_state), (plugin_init):
8582 * examples/plugins/example.h:
8585 2005-05-17 Wim Taymans <wim@fluendo.com>
8587 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8588 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8589 * gst/gstqueue.c: (gst_queue_change_state):
8590 Clear queue when going to READY.
8591 Remove IN_SETCAPS flag too.
8593 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8595 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8596 Remove implicit cast from gboolean to GstElementStateReturn;
8597 make sure we still return failure in paused => ready case if
8598 the parent class fails to change state and our own stop
8601 2005-05-17 Wim Taymans <wim@fluendo.com>
8603 * tools/gst-launch.c: (event_loop):
8604 Message was unreffed too soon.
8606 2005-05-16 Andy Wingo <wingo@pobox.com>
8608 * gst/gstbin.c (sink_iterator_filter): Err... um...
8610 * check/gst/gstbin.c (test_ghost_pads): New test for the
8611 ghosting-if-elements-not-in-same-bin behavior.
8613 2005-05-16 David Schleef <ds@schleef.org>
8615 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8616 accessing refcount directly.
8618 2005-05-15 David Schleef <ds@schleef.org>
8620 * check/Makefile.am: remove GstData checks
8621 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8622 * gst/Makefile.am: add miniobject, remove data
8623 * gst/gst.h: add miniobject, remove data
8624 * gst/gstdata.c: remove
8625 * gst/gstdata.h: remove
8626 * gst/gstdata_private.h: remove
8627 * gst/gsttypes.h: remove GstEvent and GstMessage
8628 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8629 * gst/gstmarshal.list: change BOXED -> OBJECT
8631 Implement GstMiniObject.
8632 * gst/gstminiobject.c:
8633 * gst/gstminiobject.h:
8635 Modify to be subclasses of GstMiniObject.
8636 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8637 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8638 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8639 (gst_subbuffer_get_type), (gst_subbuffer_init),
8640 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8643 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8644 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8645 (_gst_event_copy), (gst_event_new):
8647 * gst/gstmessage.c: (_gst_message_initialize),
8648 (gst_message_get_type), (gst_message_class_init),
8649 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8650 (gst_message_new), (gst_message_new_error),
8651 (gst_message_new_warning), (gst_message_new_tag),
8652 (gst_message_new_state_changed), (gst_message_new_application):
8654 * gst/gstprobe.c: (gst_probe_perform),
8655 (gst_probe_dispatcher_dispatch):
8657 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8658 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8659 (_gst_query_copy), (gst_query_new):
8661 Update elements for GstData -> GstMiniObject changes
8663 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8664 (gst_queue_chain), (gst_queue_loop):
8665 * gst/elements/gstbufferstore.c:
8666 (gst_buffer_store_add_buffer_func),
8667 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8668 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8669 (gst_fakesink_render):
8670 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8671 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8672 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8673 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8674 (gst_filesrc_create_read):
8675 * gst/elements/gstidentity.c: (gst_identity_class_init):
8676 * gst/elements/gsttypefindelement.c:
8677 (gst_type_find_element_src_event), (free_entry_buffers),
8678 (gst_type_find_element_handle_event):
8679 * libs/gst/dataprotocol/dataprotocol.c:
8680 (gst_dp_header_from_buffer):
8681 * libs/gst/dataprotocol/dataprotocol.h:
8682 * libs/gst/dataprotocol/dp-private.h:
8684 2005-05-15 David Schleef <ds@schleef.org>
8686 * gst/elements/gstelements.c: Don't include headers that were
8689 2005-05-15 David Schleef <ds@schleef.org>
8691 * gst/elements/Makefile.am: Remove some elements that don't
8692 need to be in the core (or even exist at all).
8693 * gst/elements/gstaggregator.c:
8694 * gst/elements/gstaggregator.h:
8695 * gst/elements/gstmd5sink.c:
8696 * gst/elements/gstmd5sink.h:
8697 * gst/elements/gstmultifilesrc.c:
8698 * gst/elements/gstmultifilesrc.h:
8699 * gst/elements/gstpipefilter.c:
8700 * gst/elements/gstpipefilter.h:
8701 * gst/elements/gstshaper.c:
8702 * gst/elements/gstshaper.h:
8703 * gst/elements/gststatistics.c:
8704 * gst/elements/gststatistics.h:
8705 * po/POTFILES.in: Remove above files.
8707 2005-05-14 Andy Wingo <wingo@pobox.com>
8709 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8710 so as to get the refs right.
8711 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8712 unreffing objects that don't pass the filter.
8714 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8715 gst_element_set_bus.
8716 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8717 normal cases, this will destroy the bus.
8719 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8722 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8725 2005-05-13 Andy Wingo <wingo@pobox.com>
8727 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8728 gst_pad_link, call pad_link_maybe_ghosting,
8729 (pad_link_maybe_ghosting): Links pads, making sure that the
8730 elements being linked are in the same bin.
8731 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8732 Helpers for pad_link_maybe_ghosting.
8734 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8737 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8739 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8741 * docs/design/part-element-source.txt:
8744 2005-05-12 Wim Taymans <wim@fluendo.com>
8746 * gst/base/gstbasesink.c: (gst_basesink_init),
8747 (gst_basesink_activate):
8748 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8749 (gst_basesrc_is_seekable):
8750 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8751 (bin_element_is_sink), (gst_bin_change_state):
8752 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8754 Identify sinks by their flag to avoid overly complicated
8756 Do state changes even for elements not reachable from the
8758 BaseSink is a sink now :)
8759 Some more debugging info in the basesrc.
8762 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8764 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8765 Implement _query on a bin, similar to _send_event.
8767 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8769 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8770 Discont event offset format should be GST_FORMAT_BYTES,
8771 not GST_FORMAT_TIME.
8773 2005-05-12 Wim Taymans <wim@fluendo.com>
8775 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8776 Same fix as Ronald's but without the signal.
8778 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8780 * gst/gstutils.c: (gst_element_query_position):
8781 No, an element is not a pad.
8783 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8785 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8786 (gst_bin_get_state):
8787 If a child is removed from a bin while we remove the child from
8788 the bin and while we're retrieving its state, signal this to the
8789 get_state function so we abort the wait (instead of waiting for
8790 a timeout) and can immediately re-iterate over all other elements.
8792 2005-05-12 Wim Taymans <wim@fluendo.com>
8794 * gst/base/Makefile.am:
8795 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8796 (gst_basesrc_start):
8797 * gst/base/gstbasesrc.h:
8798 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8799 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8800 (gst_pushsrc_init), (gst_pushsrc_create):
8801 * gst/base/gstpushsrc.h:
8802 Added is_seekable to BaseSrc
8803 Added simple PushSrc.
8805 2005-05-11 Wim Taymans <wim@fluendo.com>
8807 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8808 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8809 (gst_element_link_pads), (gst_element_query_position),
8810 (gst_element_query_convert), (intersect_caps_func),
8811 (gst_pad_query_position), (gst_pad_query_convert):
8812 Fix refcounting in utils function.
8813 No point in trying to activate a pad when it's added, it could
8814 be added from the state change function and then we deadlock, the
8815 element has to decide what to do.
8817 2005-05-10 Andy Wingo <wingo@pobox.com>
8819 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8820 *all* the arguments.
8822 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8823 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8824 lock (according to the docs -- if this is wrong change the docs).
8826 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8827 flush messages in the NULL state.
8829 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8830 message immediately and return.
8831 (gst_bus_set_flushing): New function. If a bus is flushing, it
8832 flushes out any queued messages and immediately unrefs new
8833 messages. This is so when an element goes to NULL, all of the
8834 unhandled messages coming from it can be freed, and their
8835 references to the element dropped. In other words: message source
8836 ref considered harmful :P
8838 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8839 we're finished with it.
8841 * gst/gstmessage.c (gst_message_new_state_changed):
8843 2005-05-10 Wim Taymans <wim@fluendo.com>
8845 * gst/gstvalue.c: (gst_value_compare_flags),
8846 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8847 (_gst_value_initialize):
8848 Added flags serialize/deserialize/compare code.
8850 2005-05-09 Andy Wingo <wingo@pobox.com>
8852 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8853 Intersect the peer's caps with our caps.
8855 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8857 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8858 * gst/elements/gsttypefindelement.c: (find_peek):
8859 Handle negative offsets better. Fixes decodebin.
8861 2005-05-09 Wim Taymans <wim@fluendo.com>
8863 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8864 (gst_base_transform_event):
8865 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8866 Implement accept_caps.
8867 Fix silly lock/unlock mismatch in base class.
8869 2005-05-09 Wim Taymans <wim@fluendo.com>
8871 * docs/design/draft-push-pull.txt:
8872 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8873 * gst/elements/gstfilesink.c: (gst_filesink_init),
8874 (gst_filesink_query):
8875 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8876 (gst_type_find_handle_src_query), (find_element_get_length):
8877 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8881 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8882 (gst_real_pad_get_caps_unlocked),
8883 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8884 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8885 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8886 (gst_real_pad_dispose), (gst_real_pad_finalize),
8887 (gst_pad_load_and_link), (gst_pad_save_thyself),
8888 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8889 (gst_pad_check_pull_range), (gst_pad_pull_range),
8890 (gst_pad_template_get_type), (gst_pad_template_class_init),
8891 (gst_pad_template_init), (gst_pad_template_dispose),
8892 (name_is_valid), (gst_static_pad_template_get),
8893 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8894 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8895 (gst_pad_get_element_private), (gst_pad_start_task),
8896 (gst_pad_pause_task), (gst_pad_stop_task),
8897 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8898 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8899 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8900 (gst_ghost_pad_new):
8902 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8903 (gst_query_new_position), (gst_query_set_position),
8904 (gst_query_parse_position), (gst_query_new_convert),
8905 (gst_query_set_convert), (gst_query_parse_convert):
8907 * gst/gstqueryutils.c:
8908 * gst/gstqueryutils.h:
8909 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8910 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8911 (gst_queue_handle_src_query):
8912 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8913 (gst_element_query_position), (gst_element_query_convert),
8914 (intersect_caps_func), (gst_pad_query_position),
8915 (gst_pad_query_convert):
8917 * tools/gst-inspect.c: (print_pad_info):
8918 * tools/gst-xmlinspect.c: (print_element_info):
8919 Remove old query functions. Ported old code.
8920 Added position/convert helper functions to gstutils.
8921 Reordered gstpad.c code, grouping relevant things.
8922 Remove gst_message_new(), always need to speficy a specific
8926 2005-05-09 Andy Wingo <wingo@pobox.com>
8928 * gst/gstiterator.h: Add some includes.
8930 * gst/gstqueryutils.h: Include more headers.
8933 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8934 some uses of gst_pad_query.
8936 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8937 NULL out parameters.
8938 (gst_query_new_position): New proc, allocates a new position
8941 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8942 gstqueryutils.c to the build.
8944 * gst/gststructure.c (gst_structure_set_valist): Implement with
8945 the generic G_VALUE_COLLECT.
8947 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8949 * gst/Makefile.am: (gst_headers):
8950 Added gstqueryutils.h to the list of headers to install, that was
8951 a 'nachty' move wingo :)
8953 2005-05-06 Andy Wingo <wingo@pobox.com>
8956 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8957 GstData, init a memchunk.
8958 (standard_definitions): Add a few query types, deprecate a few.
8959 (gst_query_get_type): New proc.
8960 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8962 (gst_query_new_application, gst_query_get_structure): New public
8965 * docs/design/draft-query.txt: Removed LINKS from the query types,
8966 because all the rest can be dispatched to other pads -- seemed
8967 ugly to have a query that couldn't be dispatched. internal_links
8968 is fine as a pad method.
8970 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8971 in gstpad.c, but maintain binary compatibility for the moment.
8972 Will fix before 0.9 is out.
8974 * gst/gstqueryutils.c:
8975 * gst/gstqueryutils.h: New files, implement 3 methods for each
8976 query type: parse_query, parse_response, and set. Probably need an
8979 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8981 * gst/elements/gstfilesink.c (gst_filesink_query2):
8982 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8983 query_types, and formats methods.
8985 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8986 (gst_pad_set_query2_function): New functions.
8987 (gst_real_pad_init): Set query2_default as the default query2
8988 function. Basically just dispatches to internally linked pads.
8992 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8993 without using the atomic operations. Only one thread can possibly
8994 be accessing the data at this point. Changed so as to avoid
8995 gst_atomic operations.
8997 2005-05-06 Wim Taymans <wim@fluendo.com>
8999 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9000 Also set caps if we use the fallback buffer alloc.
9002 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9004 * docs/gst/Makefile.am:
9005 * docs/gst/gstreamer-docs.sgml:
9006 * docs/gst/gstreamer-sections.txt:
9007 * docs/gst/tmpl/gstatomic.sgml:
9008 * docs/gst/tmpl/gstmemchunk.sgml:
9009 * testsuite/elements/struct_i386.h:
9010 * win32/GStreamer.vcproj:
9012 Purge GstAtomic stuff from docs and win32 makefiles as well
9014 2005-05-06 Wim Taymans <wim@fluendo.com>
9016 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9017 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9018 * gst/gstpad.c: (gst_pad_peer_get_caps):
9019 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9020 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9021 (gst_queue_src_activate), (gst_queue_change_state):
9023 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9024 (intersect_caps_func):
9025 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9026 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9027 Some fixes for the peer_get_caps() change.
9029 2005-05-06 Wim Taymans <wim@fluendo.com>
9031 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9032 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9033 (gst_basesink_activate):
9034 Actually do something with error codes returned from the push
9037 2005-05-06 Wim Taymans <wim@fluendo.com>
9039 * docs/design/part-element-sink.txt:
9040 * docs/design/part-element-source.txt:
9041 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9042 (gst_basesink_event), (gst_basesink_activate):
9043 * gst/base/gstbasesink.h:
9044 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9045 (gst_basesrc_activate):
9046 * gst/base/gstbasesrc.h:
9047 * gst/gstelement.c: (gst_element_pads_activate):
9048 Some more documentation.
9049 Fixed scheduling decision in _pads_activate().
9051 2005-05-05 Andy Wingo <wingo@pobox.com>
9053 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9056 2005-05-05 Wim Taymans <wim@fluendo.com>
9058 * gst/base/Makefile.am:
9059 * gst/base/gstbasesink.h:
9060 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9061 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9062 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9063 (gst_collectpads_class_init), (gst_collectpads_init),
9064 (gst_collectpads_finalize), (gst_collectpads_new),
9065 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9066 (find_pad), (gst_collectpads_remove_pad),
9067 (gst_collectpads_is_active), (gst_collectpads_collect),
9068 (gst_collectpads_collect_range), (gst_collectpads_start),
9069 (gst_collectpads_stop), (gst_collectpads_peek),
9070 (gst_collectpads_pop), (gst_collectpads_available),
9071 (gst_collectpads_read), (gst_collectpads_flush),
9072 (gst_collectpads_chain):
9073 * gst/base/gstcollectpads.h:
9074 * gst/elements/Makefile.am:
9075 * gst/elements/gstelements.c:
9076 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9077 (gst_fakesink_get_times), (gst_fakesink_event),
9078 (gst_fakesink_preroll), (gst_fakesink_render):
9079 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9080 (gst_filesink_init), (gst_filesink_set_location),
9081 (gst_filesink_open_file), (gst_filesink_close_file),
9082 (gst_filesink_pad_query), (gst_filesink_event),
9083 (gst_filesink_render), (gst_filesink_change_state):
9084 * gst/elements/gstfilesink.h:
9085 Added object to help in making collect pad based elements.
9087 Make event function in sink baseclass return gboolean.
9089 2005-05-05 Wim Taymans <wim@fluendo.com>
9091 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9092 (gst_bin_get_by_name):
9094 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9095 (gst_clock_finalize):
9096 * gst/gstdata.c: (gst_data_replace):
9098 * gst/gstelement.c: (gst_element_request_pad),
9099 (gst_element_pads_activate):
9100 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9102 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9103 (gst_pad_set_checkgetrange_function),
9104 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9105 (gst_pad_check_pull_range), (gst_pad_pull_range),
9106 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9107 (gst_pad_pause_task), (gst_pad_stop_task):
9108 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9109 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9110 Fix name lookup in GstBin.
9111 Added _data_replace() function and _buffer_replace()
9112 Use finalize method to clean up clock.
9113 Fix refcounting on request pads.
9114 Fix pad schedule mode error.
9115 Some more object refcounting debug info,
9118 2005-05-04 Andy Wingo <wingo@pobox.com>
9120 * check/Makefile.am:
9121 * docs/gst/tmpl/gstatomic.sgml:
9122 * docs/gst/tmpl/gstplugin.sgml:
9123 * gst/base/gstbasesink.c: (gst_basesink_activate):
9124 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9125 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9126 (gst_basesrc_query), (gst_basesrc_set_property),
9127 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9128 (gst_basesrc_activate):
9129 * gst/base/gstbasesrc.h:
9130 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9131 (gst_base_transform_src_activate):
9132 * gst/elements/gstelements.c:
9133 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9134 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9135 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9136 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9137 (gst_type_find_element_checkgetrange),
9138 (gst_type_find_element_activate):
9139 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9140 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9141 (gst_caps_load_thyself):
9142 * gst/gstelement.c: (gst_element_pads_activate),
9143 (gst_element_save_thyself), (gst_element_restore_thyself):
9144 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9145 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9147 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9148 (gst_xml_parse_file), (gst_xml_parse_memory),
9149 (gst_xml_get_element), (gst_xml_make_element):
9150 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9151 (_file_index_id_save_xml), (gst_file_index_commit):
9152 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9153 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9155 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9156 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9157 * tools/gst-complete.c: (main):
9158 * tools/gst-compprep.c: (main):
9159 * tools/gst-inspect.c: (print_element_properties_info):
9160 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9161 * tools/gst-xmlinspect.c: (print_element_properties):
9164 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9166 * gst/gstplugin.c: (gst_plugin_check_module),
9167 (gst_plugin_check_file), (gst_plugin_load_file):
9168 apply patch from #172526 to make register work on MacOSX
9170 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9172 * docs/gst/tmpl/gstconfig.sgml:
9173 * gst/gstconfig.h.in:
9174 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9175 * testsuite/debug/printf_extension.c: (main):
9176 Do not use GST_PTR_FORMAT on pointers to types with
9177 sizeof < sizeof(gpointer). Fixes test on 64-bit
9178 * testsuite/elements/property.h:
9179 use correct printf format
9181 2005-05-02 Wim Taymans <wim@fluendo.com>
9183 * docs/design/draft-push-pull.txt:
9184 * docs/design/draft-query.txt:
9185 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9186 (gst_basesrc_start):
9187 Added draft for new query API.
9188 Added draft for better selecting scheduling methods.
9189 Make basesrc ignore length if the subclass does not support
9192 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9195 possible fixes for automake-1.5 - _LIBADD is reserved
9197 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9199 * docs/faq/Makefile.am:
9200 * docs/manual/Makefile.am:
9202 * docs/pwg/Makefile.am:
9204 possible fixes for automake-1.5
9206 2005-04-28 Wim Taymans <wim@fluendo.com>
9208 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9209 (gst_basesink_pad_getcaps), (gst_basesink_init),
9210 (gst_basesink_do_sync):
9211 * gst/gstclock.c: (gst_clock_entry_new):
9212 * gst/gstevent.c: (gst_event_discont_get_value):
9213 * gst/gstpipeline.c: (pipeline_bus_handler),
9214 (gst_pipeline_change_state):
9215 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9216 Better debugging of clocking info.
9217 Allow NULL values when getting discont values.
9219 2005-04-27 Wim Taymans <wim@fluendo.com>
9221 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9222 * check/gst/gstpad.c: (gst_pad_suite):
9223 Increase timeout for checks.
9225 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9227 * check/Makefile.am:
9228 fix the broken rule for cleanup. Apparently this rule is
9229 only needed on FC2, so maybe this warrants further autotool
9232 2005-04-26 Wim Taymans <wim@fluendo.com>
9234 * gst/gsttrashstack.h:
9235 Ooohh. a nasty one! After having a failed pop() from the stack,
9236 it's possible that the stack is empty. In that case, don't
9237 follow the NULL pointer.
9239 2005-04-25 Wim Taymans <wim@fluendo.com>
9241 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9242 (gst_pad_set_checkgetrange_function),
9243 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9244 (gst_pad_check_pull_range), (gst_pad_pull_range),
9245 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9246 (gst_pad_pause_task), (gst_pad_stop_task):
9247 * gst/gstplugin.c: (gst_plugin_load):
9249 Remove gst_library_load as it does more harm than good with
9250 the new g_module flags.
9251 Revert bogus caps template check in pad linking, pad caps
9252 are important when linking not the template, which is more
9253 general than the current caps.
9255 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9257 * gst/autoplug/.cvsignore:
9258 * gst/autoplug/Makefile.am:
9259 * gst/autoplug/gstsearchfuncs.c:
9260 * gst/autoplug/gstsearchfuncs.h:
9261 * gst/autoplug/gstspider.c:
9262 * gst/autoplug/gstspider.h:
9263 * gst/autoplug/gstspideridentity.c:
9264 * gst/autoplug/gstspideridentity.h:
9265 * gst/autoplug/spidertest.c:
9268 2005-04-25 Wim Taymans <wim@fluendo.com>
9270 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9271 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9272 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9273 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9275 Added stubs for unimplemented functions.
9277 2005-04-24 David Schleef <ds@schleef.org>
9279 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9282 2005-04-24 David Schleef <ds@schleef.org>
9284 Convert everything from GstAtomicInt to g_atomic_int_*, and
9289 * gst/gstatomic_impl.h:
9297 * gst/gstdata_private.h:
9304 * gst/gststructure.c:
9305 * gst/gststructure.h:
9306 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9309 2005-04-24 David Schleef <ds@schleef.org>
9311 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9312 make the regressions tests work. Remove some code that is no
9314 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9315 Disable warning for pads without templates.
9317 2005-04-24 David Schleef <ds@schleef.org>
9319 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9320 functions that handle filtered links.
9321 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9323 * gst/gstutils.c: Fix/remove utility functions that handle
9326 * gst/gstvalue.c: Add serialization/deserialization of caps
9327 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9328 requires fixing so that the filter caps notation creates
9329 a capsfilter element and sets the filter_caps property. I
9330 think everyone probably wants to keep the shorthand notation.
9331 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9332 * docs/gst/tmpl/gstpad.sgml:
9334 * gst/elements/gstelements.c: Register capsfilter element.
9335 * gst/Makefile.am: fix spacing
9336 * docs/random/ds/0.9-suggested-changes: random
9338 2005-04-23 David Schleef <ds@schleef.org>
9340 * gst/elements/Makefile.am:
9341 * gst/elements/gstcapsfilter.c: New element that acts like an
9342 identity, but filters caps. Will eventually replace filtered
9343 caps in pad linking.
9344 * gst/gstutils.c: (gst_element_create_all_pads): New function
9345 to create all the ALWAYS pads that are registered with an
9346 element class. This functionality should eventually be
9347 merged in with GstElement initialization.
9349 * testsuite/trigger/README: part of trigger test code that should
9350 have been checked in a long time ago.
9352 2005-04-23 David Schleef <ds@schleef.org>
9354 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9355 needed with new versions of libtool (nobody will confirm this),
9356 and hard to carry around.
9357 * gst/autoplug/Makefile.am:
9358 * gst/base/Makefile.am:
9359 * gst/elements/Makefile.am:
9360 * gst/indexers/Makefile.am:
9361 * gst/schedulers/Makefile.am:
9362 * libs/gst/bytestream/Makefile.am:
9363 * libs/gst/control/Makefile.am:
9364 * libs/gst/dataprotocol/Makefile.am:
9365 * libs/gst/getbits/Makefile.am:
9367 2005-04-21 Wim Taymans <wim@fluendo.com>
9369 * docs/design/draft-push-pull.txt:
9370 * docs/design/part-MT-refcounting.txt:
9371 * docs/design/part-TODO.txt:
9372 * docs/design/part-caps.txt:
9373 * docs/design/part-events.txt:
9374 * docs/design/part-gstbus.txt:
9375 * docs/design/part-gstpipeline.txt:
9376 * docs/design/part-messages.txt:
9377 * docs/design/part-push-pull.txt:
9378 * docs/design/part-query.txt:
9381 2005-04-21 Wim Taymans <wim@fluendo.com>
9383 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9384 (gst_message_new), (gst_message_new_error),
9385 (gst_message_new_warning), (gst_message_new_tag),
9386 (gst_message_new_state_changed), (gst_message_new_application),
9387 (gst_message_get_structure):
9389 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9390 (gst_structure_copy_conditional):
9391 Use parent refcount in GstMessage to ensure GstStructure
9393 Cleaned up headers a bit.
9396 2005-04-20 Wim Taymans <wim@fluendo.com>
9398 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9399 (gst_basesink_pad_getcaps), (gst_basesink_init),
9400 (gst_basesink_chain_unlocked):
9401 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9402 (gst_type_find_helper):
9403 * gst/elements/gsttypefindelement.c:
9404 (gst_type_find_element_have_type), (gst_type_find_element_init),
9405 (stop_typefinding), (gst_type_find_element_handle_event),
9406 (find_suggest), (gst_type_find_element_chain),
9407 (gst_type_find_element_checkgetrange),
9408 (gst_type_find_element_getrange), (do_typefind),
9409 (gst_type_find_element_activate):
9410 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9411 (gst_buffer_default_free), (gst_buffer_default_copy),
9412 (gst_buffer_set_caps):
9413 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9415 * gst/gstmessage.c: (gst_message_new),
9416 (gst_message_new_state_changed):
9417 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9418 (gst_pad_set_checkgetrange_function),
9419 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9420 (gst_pad_set_caps), (gst_pad_check_pull_range),
9421 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9423 * gst/gsttypefind.c: (gst_type_find_register):
9424 Make gst_caps_replace() work like other _replace() functions.
9425 Use _caps_replace() where possible.
9426 Make sure _message_new() initialises its field.
9427 Add gst_static_pad_template_get_caps()
9430 2005-04-18 Andy Wingo <wingo@pobox.com>
9432 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9433 on the peer, not the pad. I think that was a typo. Pass an extra
9434 arg to see if random access is possible. Activate the pads as
9435 PULL_RANGE if possible.
9437 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9439 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9440 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9443 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9445 * docs/faq/using.xml:
9446 Add note on gstreamer-properties (#154996).
9448 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9450 * docs/random/bbb/optional-properties:
9451 Some analysis on optional properties.
9453 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9455 * docs/gst/tmpl/gstelementfactory.sgml:
9457 * gst/gstelementfactory.c: (gst_element_factory_init),
9458 (gst_element_factory_cleanup), (gst_element_register),
9459 (__gst_element_factory_add_static_pad_template),
9460 (gst_element_factory_get_static_pad_templates),
9461 (gst_element_factory_can_src_caps),
9462 (gst_element_factory_can_sink_caps):
9463 * gst/registries/Makefile.am:
9464 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9465 (gst_xml_registry_class_init), (gst_xml_registry_init),
9466 (gst_xml_registry_new), (gst_xml_registry_set_property),
9467 (gst_xml_registry_get_property), (get_time), (make_dir),
9468 (gst_xml_registry_get_perms_func),
9469 (plugin_times_older_than_recurse), (plugin_times_older_than),
9470 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9471 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9472 (add_to_char_array), (read_string), (read_uint), (read_enum),
9473 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9474 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9475 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9476 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9477 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9478 (gst_xml_registry_rebuild):
9479 * gst/registries/gstlibxmlregistry.h:
9480 * tools/gst-compprep.c: (main):
9481 * tools/gst-inspect.c: (print_pad_templates_info):
9482 * tools/gst-xmlinspect.c: (print_element_info):
9483 Use libxml2 for registry parsing, use staticpadtemplates in
9484 elementfactories. Makes gst_init() +/- 10x faster.
9486 2005-04-12 Wim Taymans <wim@fluendo.com>
9488 * gst/base/Makefile.am:
9489 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9490 (gst_basesink_pad_getcaps), (gst_basesink_init),
9491 (gst_basesink_event), (gst_basesink_change_state):
9492 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9493 (gst_basesrc_init), (gst_basesrc_query),
9494 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9495 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9496 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9497 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9498 (gst_basesrc_stop), (gst_basesrc_activate),
9499 (gst_basesrc_change_state):
9500 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9501 (helper_find_suggest), (gst_type_find_helper):
9502 * gst/base/gsttypefindhelper.h:
9503 * gst/elements/Makefile.am:
9504 * gst/elements/gstelements.c:
9505 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9506 (gst_fakesink_get_times), (gst_fakesink_event),
9507 (gst_fakesink_preroll), (gst_fakesink_render):
9508 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9509 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9510 (gst_fakesrc_get_property), (gst_fakesrc_create),
9511 (gst_fakesrc_start), (gst_fakesrc_stop):
9512 * gst/elements/gstfakesrc.h:
9513 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9514 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9515 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9516 (gst_filesrc_create_read), (gst_filesrc_create),
9517 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9518 (gst_filesrc_start):
9519 * gst/elements/gsttypefindelement.c:
9520 (gst_type_find_element_have_type), (gst_type_find_element_init),
9521 (start_typefinding), (stop_typefinding), (push_buffer_store),
9522 (gst_type_find_element_handle_event),
9523 (gst_type_find_element_chain),
9524 (gst_type_find_element_checkgetrange),
9525 (gst_type_find_element_getrange), (do_typefind),
9526 (gst_type_find_element_activate),
9527 (gst_type_find_element_change_state):
9528 * gst/elements/gsttypefindelement.h:
9529 * gst/gstpipeline.c: (pipeline_bus_handler):
9530 Added typefind helper.
9531 Small preroll fix in the base sink.
9532 Disable typefind code in basesrc.
9533 Crude port of typefindelement.
9537 2005-04-11 Wim Taymans <wim@fluendo.com>
9539 * check/gst/gstbus.c: (gstbus_suite):
9540 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9542 Fix up the timeout so that the test does not fail.
9544 2005-04-06 Wim Taymans <wim@fluendo.com>
9547 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9548 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9549 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9550 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9551 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9552 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9553 (gst_basesrc_stop), (gst_basesrc_activate),
9554 (gst_basesrc_change_state), (basesrc_find_peek),
9555 (basesrc_find_suggest), (gst_basesrc_type_find):
9556 * gst/base/gstbasesrc.h:
9557 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9558 (gst_filesrc_class_init), (gst_filesrc_init),
9559 (gst_filesrc_finalize), (gst_filesrc_set_location),
9560 (gst_filesrc_set_property), (gst_filesrc_get_property),
9561 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9562 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9563 (gst_filesrc_create_read), (gst_filesrc_create),
9564 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9565 * gst/elements/gstfilesrc.h:
9566 * gst/gstelement.c: (gst_element_get_state_func),
9567 (gst_element_lost_state), (gst_element_pads_activate):
9568 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9569 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9570 (gst_pad_pull_range):
9572 More work on the generic source base class, implement seeking,
9574 Make filesrc extend the base source class.
9575 Added gst_pad_set_checkgetrange_function to GstPad.
9577 2005-04-06 Andy Wingo <wingo@pobox.com>
9579 * pkgconfig/gstreamer-base.pc.in:
9580 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9582 * pkgconfig/Makefile.am:
9583 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9585 2005-04-04 Wim Taymans <wim@fluendo.com>
9587 * gst/base/Makefile.am:
9589 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9590 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9591 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9592 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9593 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9594 (gst_basesrc_base_init), (gst_basesrc_class_init),
9595 (gst_basesrc_init), (gst_basesrc_get_formats),
9596 (gst_basesrc_get_query_types), (gst_basesrc_query),
9597 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9598 (gst_basesrc_set_property), (gst_basesrc_get_property),
9599 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9600 (gst_basesrc_loop), (gst_basesrc_activate),
9601 (gst_basesrc_change_state):
9602 * gst/base/gstbasesrc.h:
9603 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9604 (gst_fakesrc_class_init), (gst_fakesrc_init),
9605 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9606 (gst_fakesrc_get_property), (gst_fakesrc_create):
9607 * gst/elements/gstfakesrc.h:
9608 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9609 (gst_filesrc_open_file), (gst_filesrc_loop),
9610 (gst_filesrc_activate), (filesrc_find_peek),
9611 (gst_filesrc_type_find):
9612 Made base source class, make fakesrc extend it.
9613 Add comments to basesink class.
9614 Some filesrc cleanup.
9616 2005-03-31 David Schleef <ds@schleef.org>
9618 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9619 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9620 expected to link against libgstreamer.
9621 * gst/base/Makefile.am: link against libgstreamer
9622 * gst/elements/Makefile.am: same
9624 2005-03-31 Andy Wingo <wingo@pobox.com>
9626 * tests/instantiate/Makefile.am:
9627 * tests/instantiate/caps.c: Add test to test speed of caps copy
9630 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9631 GMemChunk to be fair.
9633 * gst/gsttrashstack.h: Remove warning about using the fallback
9634 trash stack implementation, it's still faster than malloc.
9636 2005-03-30 Andy Wingo <wingo@pobox.com>
9638 * tests/complexity.c: Add a copyright.
9640 2005-03-31 Wim Taymans <wim@fluendo.com>
9642 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9643 (gst_base_transform_class_init), (gst_base_transform_init),
9644 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9645 (gst_base_transform_get_property),
9646 (gst_base_transform_sink_activate),
9647 (gst_base_transform_src_activate),
9648 (gst_base_transform_change_state):
9649 * gst/base/gstbasetransform.h:
9650 * gst/elements/gstidentity.c: (gst_identity_class_init),
9651 (gst_identity_event), (gst_identity_check_perfect),
9652 (gst_identity_transform), (gst_identity_start),
9653 (gst_identity_stop):
9654 Added start/stop methods to transform base class so subclasses
9655 don't need to deal with state changes even.
9657 2005-03-31 Wim Taymans <wim@fluendo.com>
9659 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9660 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9662 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9663 (gst_pad_pull_range):
9664 Added rate to the discont event to prepare for variable speed
9665 and reverse playback.
9667 2005-03-29 David Schleef <ds@schleef.org>
9670 * testsuite/trigger/Makefile.am:
9671 * testsuite/trigger/trigger.c: A little example program to show
9672 how trigger-based elements can work.
9674 2005-03-29 Wim Taymans <wim@fluendo.com>
9676 * gst/base/Makefile.am:
9678 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9679 (gst_basesink_base_init), (gst_basesink_class_init),
9680 (gst_basesink_pad_getcaps), (gst_basesink_init),
9681 (gst_basesink_activate), (gst_basesink_change_state):
9682 * gst/base/gstbasesink.h:
9683 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9684 (gst_base_transform_base_init), (gst_base_transform_finalize),
9685 (gst_base_transform_class_init), (gst_base_transform_init),
9686 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9687 (gst_base_transform_event), (gst_base_transform_getrange),
9688 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9689 (gst_base_transform_set_property),
9690 (gst_base_transform_get_property),
9691 (gst_base_transform_sink_activate),
9692 (gst_base_transform_src_activate),
9693 (gst_base_transform_change_state):
9694 * gst/base/gstbasetransform.h:
9695 * gst/elements/gstidentity.c: (gst_identity_finalize),
9696 (gst_identity_class_init), (gst_identity_init),
9697 (gst_identity_event), (gst_identity_check_perfect),
9698 (gst_identity_transform), (gst_identity_set_property),
9699 (gst_identity_get_property), (gst_identity_change_state):
9700 * gst/elements/gstidentity.h:
9701 * gst/gstelement.c: (gst_element_get_state_func),
9702 (gst_element_lost_state), (gst_element_pads_activate):
9703 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9704 (gst_pad_check_pull_range), (gst_pad_pull_range):
9706 Simplify pad activation.
9707 Added function to check if pull_range can be performed.
9708 Error out when pulling inactive or flushing pads.
9709 Removed const from refcounted types as it does not make sense.
9710 Simplify pad templates in basesink
9711 Added base class for simple 1-to-1 transforms.
9712 Make identity subclass the base transform.
9714 2005-03-29 Andy Wingo <wingo@pobox.com>
9716 * docs/libs/gstreamer-libs-overrides.txt:
9717 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9718 really don't understand what's going on, but like whatever. I want
9721 * docs/gst/Makefile.am:
9722 * docs/libs/Makefile.am: Dist the overrides files.
9724 * check/Makefile.am (clean-local): Remove .libs directories.
9726 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9727 elements to EXTRA_DIST, so po/ files are happy.
9729 * po/POTFILES.in: Er, remove it here.
9731 * po/POTFILES: Remove gstspider.c.
9733 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9735 * docs/libs/gstreamer-libs-docs.sgml:
9736 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9739 * tests/complexity.c (main): Set the length of the preroll queue
9740 on the sinks to prevent a lockup.
9742 * libs/gst/dataprotocol/Makefile.am:
9743 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9744 the same as the one in check/gst-libs/gdp.c.
9746 * po/, docs/gst/: Commit automatic changes to docs and po files.
9748 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9749 the versioned libgstbase.
9751 * check/Makefile.am: Depend on an unversioned gst-register, seems
9752 to make autoconf happier.
9754 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9756 2005-03-28 Wim Taymans <wim@fluendo.com>
9759 * docs/design/part-gstelement.txt:
9760 * docs/design/part-negotiation.txt:
9761 * docs/design/part-preroll.txt:
9762 * docs/design/part-scheduling.txt:
9763 * docs/design/part-states.txt:
9765 * gst/base/Makefile.am:
9767 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9768 (gst_basesink_base_init), (gst_basesink_class_init),
9769 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9770 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9771 (gst_basesink_set_pad_functions),
9772 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9773 (gst_basesink_set_property), (gst_basesink_get_property),
9774 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9775 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9776 (gst_basesink_preroll_queue_push),
9777 (gst_basesink_preroll_queue_empty),
9778 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9779 (gst_basesink_event), (gst_basesink_get_times),
9780 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9781 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9782 (gst_basesink_loop), (gst_basesink_activate),
9783 (gst_basesink_change_state):
9784 * gst/base/gstbasesink.h:
9785 * gst/elements/Makefile.am:
9786 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9787 (gst_fakesink_class_init), (gst_fakesink_init),
9788 (gst_fakesink_set_property), (gst_fakesink_get_property),
9789 (gst_fakesink_get_times), (gst_fakesink_event),
9790 (gst_fakesink_preroll), (gst_fakesink_render),
9791 (gst_fakesink_change_state):
9792 * gst/elements/gstfakesink.h:
9793 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9794 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9795 * gst/gstelement.c: (gst_element_add_pad),
9796 (gst_element_get_state_func), (gst_element_abort_state),
9797 (gst_element_commit_state), (gst_element_lost_state),
9798 (gst_element_set_state), (gst_element_pads_activate):
9799 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9800 * gst/gstpipeline.c: (gst_pipeline_send_event),
9801 (gst_pipeline_change_state):
9802 Added state change code.
9804 Added sink base class, make fakesink extend the base class.
9805 Small cleanups in GstPipeline.
9807 2005-03-26 David Schleef <ds@schleef.org>
9809 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9810 is broken and should be implemented in a different library.
9811 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9812 * gst/gst.h: remove gstcpu.h
9813 * gst/gstcpu.c: remove
9814 * gst/gstcpu.h: remove
9815 * gst/Makefile.am.future: Remove this file. It's ancient.
9817 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9819 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9820 (gst_bin_send_event):
9821 Add default event/set_manager handlers. The set_manager handler
9822 takes care that the manager is distributed over kids that were
9823 already in the bin before the manager was set. The event handler
9824 is a utility virtual function that sends the event over all sinks,
9825 so that gst_element_send_event (bin, event); has the expected
9827 * gst/gstpad.c: (gst_pad_event_default):
9828 Re-install default event handling for discontinuities, so that
9829 seeking works without requiring hacks in applications or extra
9831 * gst/gstpipeline.c: (gst_pipeline_class_init),
9832 (gst_pipeline_send_event):
9833 Half hack, half utility: set a pipeline to PAUSED for seek events,
9834 since that is the only way we can guarantee a/v sync. Means that
9835 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9836 and it "just works".
9838 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9840 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9841 Lock/unlock mismatch.
9843 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9845 * docs/faq/gst-uninstalled:
9846 add gst-plugins-base
9847 * docs/gst/Makefile.am:
9848 don't error out until docs are fixed
9849 * docs/gst/gstreamer.types:
9852 2005-03-22 Wim Taymans <wim@fluendo.com>
9854 * check/Makefile.am:
9855 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9856 * gst/gststructure.c: (gst_structure_set_valist),
9857 (gst_structure_copy_conditional):
9858 Activated more tests.
9860 Added G_TYPE_POINTER to GstStructure.
9863 2005-03-22 Wim Taymans <wim@fluendo.com>
9865 * docs/design/part-TODO.txt:
9866 * docs/design/part-events.txt:
9867 * docs/design/part-gstbin.txt:
9868 * docs/design/part-gstbus.txt:
9869 * docs/design/part-gstpipeline.txt:
9870 * docs/design/part-messages.txt:
9875 2005-03-21 Wim Taymans <wim@fluendo.com>
9877 * gst/gstbus.c: (gst_bus_post):
9878 Fix copy-and-paste error.
9880 2005-03-21 Wim Taymans <wim@fluendo.com>
9882 * check/Makefile.am:
9884 * gst/elements/Makefile.am:
9885 * gst/elements/gstelements.c:
9886 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9887 (gst_fakesink_event), (gst_fakesink_chain):
9888 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9889 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9890 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9891 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9892 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9893 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9894 (gst_fakesrc_loop), (gst_fakesrc_activate),
9895 (gst_fakesrc_change_state):
9896 * gst/elements/gstfakesrc.h:
9897 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9898 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9899 (gst_filesrc_open_file), (gst_filesrc_loop),
9900 (gst_filesrc_activate), (gst_filesrc_change_state),
9901 (filesrc_find_peek), (filesrc_find_suggest),
9902 (gst_filesrc_type_find):
9903 * gst/elements/gstidentity.c: (gst_identity_finalize),
9904 (gst_identity_class_init), (gst_identity_init),
9905 (gst_identity_proxy_getcaps), (identity_queue_push),
9906 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9907 (gst_identity_getrange), (gst_identity_chain),
9908 (gst_identity_sink_loop), (gst_identity_src_loop),
9909 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9910 (gst_identity_set_property), (gst_identity_get_property),
9911 (gst_identity_change_state):
9912 * gst/elements/gstidentity.h:
9913 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9914 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9915 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9916 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9917 (gst_tee_sink_activate):
9918 * gst/elements/gsttee.h:
9919 * gst/gst.c: (gst_register_core_elements), (init_post):
9921 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9922 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9923 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9924 (gst_bin_change_state):
9926 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9927 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9928 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9929 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9930 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9931 (bus_watch_callback), (bus_watch_destroy),
9932 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9933 (poll_timeout), (gst_bus_poll):
9937 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9938 (gst_element_post_message), (gst_element_message_full),
9939 (gst_element_get_state_func), (gst_element_get_state),
9940 (gst_element_abort_state), (gst_element_commit_state),
9941 (gst_element_lost_state), (gst_element_set_state),
9942 (gst_element_pads_activate), (gst_element_change_state),
9943 (gst_element_dispose), (gst_element_set_manager_func),
9944 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9945 (gst_element_set_manager), (gst_element_get_manager),
9946 (gst_element_set_bus), (gst_element_get_bus),
9947 (gst_element_set_scheduler), (gst_element_get_scheduler):
9949 * gst/gstevent.c: (gst_event_new_segment_seek),
9950 (gst_event_new_flush):
9952 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9953 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9954 (gst_message_new_eos), (gst_message_new_error),
9955 (gst_message_new_warning), (gst_message_new_tag),
9956 (gst_message_new_state_changed), (gst_message_new_application),
9957 (gst_message_get_structure), (gst_message_parse_tag),
9958 (gst_message_parse_state_changed), (gst_message_parse_error),
9959 (gst_message_parse_warning):
9961 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9962 (gst_real_pad_set_property), (gst_pad_set_active),
9963 (gst_pad_is_active), (gst_pad_set_blocked_async),
9964 (gst_pad_set_blocked), (gst_pad_is_blocked),
9965 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9966 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9967 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9968 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9969 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9970 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9971 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9972 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9973 (gst_pad_set_caps), (gst_pad_configure_sink),
9974 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9975 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9976 (gst_real_pad_dispose), (gst_real_pad_finalize),
9977 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9978 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9979 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9981 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9982 (pipeline_bus_handler), (gst_pipeline_change_state),
9983 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9984 * gst/gstpipeline.h:
9986 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9987 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9988 (gst_queue_link_src), (gst_queue_bufferalloc),
9989 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9990 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9991 (gst_queue_loop), (gst_queue_handle_src_event),
9992 (gst_queue_handle_src_query), (gst_queue_src_activate),
9993 (gst_queue_change_state):
9995 * gst/gstscheduler.c: (gst_scheduler_init),
9996 (gst_scheduler_dispose), (gst_scheduler_create_task),
9997 (gst_scheduler_factory_create):
9998 * gst/gstscheduler.h:
9999 * gst/gststructure.c: (gst_structure_get_type),
10000 (gst_structure_copy_conditional):
10001 * gst/gststructure.h:
10002 * gst/gsttaginterface.h:
10003 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10004 (gst_task_init), (gst_task_dispose), (gst_task_create),
10005 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10011 * gst/schedulers/Makefile.am:
10012 * gst/schedulers/cothreads_compat.h:
10013 * gst/schedulers/entryscheduler.c:
10014 * gst/schedulers/faircothreads.c:
10015 * gst/schedulers/faircothreads.h:
10016 * gst/schedulers/fairscheduler.c:
10017 * gst/schedulers/gstbasicscheduler.c:
10018 * gst/schedulers/gstoptimalscheduler.c:
10019 * gst/schedulers/gthread-cothreads.h:
10020 * gst/schedulers/threadscheduler.c:
10021 (gst_thread_scheduler_task_get_type),
10022 (gst_thread_scheduler_task_class_init),
10023 (gst_thread_scheduler_task_init),
10024 (gst_thread_scheduler_task_start),
10025 (gst_thread_scheduler_task_stop),
10026 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10027 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10028 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10029 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10031 * libs/gst/Makefile.am:
10032 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10033 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10034 (gst_file_pad_parent_set):
10035 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10036 (gst_dp_event_from_packet):
10037 * tests/complexity.c: (main):
10038 * tests/mass_elements.c: (main):
10039 * testsuite/states/locked.c: (message_received), (main):
10040 * testsuite/states/parent.c: (main):
10041 * tools/gst-inspect.c: (print_element_flag_info),
10042 (print_implementation_info), (print_pad_info):
10043 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10045 * tools/gst-md5sum.c: (event_loop), (main):
10046 * tools/gst-typefind.c: (main):
10047 * tools/gst-xmlinspect.c: (print_element_info):
10049 Added GstBus for mainloop integration.
10050 Added GstMessage for sending notifications on the bus.
10051 Added GstTask as an abstraction for pipeline entry points.
10053 Removed Schedulers.
10054 Simplified GstQueue for multithreaded core.
10055 Made _link threadsafe, removed old capsnego.
10056 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10057 Added pad blocking functions.
10058 Reworked scheduling functions in GstPad to prepare for
10059 scheduling updates soon.
10060 Moved events out of data stream.
10061 Simplified GstEvent types.
10062 Added return values to push/pull.
10063 Removed clocking from GstElement.
10064 Added prototypes for state change function for next merge.
10065 Removed iterate from bins and state change management.
10066 Fixed some elements, disabled others for now.
10067 Fixed -inspect and -launch.
10068 Added check for GstBus.
10070 2005-03-10 Wim Taymans <wim@fluendo.com>
10072 * docs/design/part-MT-refcounting.txt:
10073 * docs/design/part-clocks.txt:
10074 * docs/design/part-gstelement.txt:
10075 * docs/design/part-gstobject.txt:
10076 * docs/design/part-standards.txt:
10077 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10078 (gst_bin_remove_func), (gst_bin_remove):
10082 * testsuite/clock/clock1.c: (main):
10083 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10085 * testsuite/dlopen/loadgst.c: (do_test):
10086 * testsuite/refcounting/bin.c: (add_remove_test1),
10087 (add_remove_test2), (main):
10088 * testsuite/refcounting/element.c: (main):
10089 * testsuite/refcounting/element_pad.c: (main):
10090 * testsuite/refcounting/pad.c: (main):
10091 * tools/gst-launch.c: (sigint_handler_sighandler):
10092 * tools/gst-typefind.c: (main):
10094 Added doc about clock.
10095 removed gst_bin_iterate_recurse_up(), marked methods
10097 Fix more testsuites.
10099 2005-03-09 Wim Taymans <wim@fluendo.com>
10101 * gst/gstpad.c: (gst_pad_get_direction),
10102 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10103 (gst_pad_collect_valist):
10104 * testsuite/bins/interface.c: (main):
10105 * testsuite/caps/audioscale.c: (test_caps):
10106 * testsuite/caps/caps.c: (test1), (test2), (test3):
10107 * testsuite/caps/deserialize.c: (main):
10108 * testsuite/caps/enumcaps.c: (main):
10109 * testsuite/caps/filtercaps.c: (main):
10110 * testsuite/caps/intersect2.c: (main):
10111 * testsuite/caps/random.c: (main):
10112 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10113 * testsuite/caps/sets.c: (check_caps):
10114 * testsuite/caps/simplify.c: (check_caps), (main):
10115 * testsuite/caps/subtract.c: (check_caps):
10116 Fix _pad_get_direction wrt ghostpads.
10117 Fix caps testsuite.
10119 2005-03-09 Wim Taymans <wim@fluendo.com>
10121 * check/Makefile.am:
10122 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10123 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10124 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10125 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10126 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10127 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10128 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10129 (bin_element_is_sink), (gst_bin_iterate_sinks),
10130 (gst_bin_iterate_all_by_interface):
10132 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10133 (gst_element_change_state), (gst_element_dispose),
10134 (gst_element_finalize), (gst_element_set_loop_function):
10135 * gst/gstelement.h:
10136 * gst/gstiterator.c: (find_custom_fold_func):
10137 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10138 (gst_pad_collectv), (gst_pad_collect_valist),
10139 (gst_pad_template_new):
10140 * gst/gstpipeline.c: (gst_pipeline_class_init),
10141 (gst_pipeline_dispose), (gst_pipeline_set_property),
10142 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10143 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10144 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10146 * gst/schedulers/entryscheduler.c:
10147 * gst/schedulers/gstbasicscheduler.c:
10148 (gst_basic_scheduler_cothreaded_chain),
10149 (gst_basic_scheduler_chain_add_element):
10150 * testsuite/bins/interface.c: (main):
10152 Added GstSystemClock test.
10153 Implemented clock distribution code in GstBin.
10154 Implemented iterate sinks method for future use.
10155 Rearranged gstelement.h
10156 Fix GstIterator comparison bug.
10157 Moved some code to GstPipeline, mostly clocking related.
10159 2005-03-09 Wim Taymans <wim@fluendo.com>
10162 * gst/gst_private.h:
10163 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10164 (gst_bin_remove_func), (gst_bin_remove),
10165 (gst_bin_get_by_name_recurse_up):
10166 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10167 (gst_clock_id_compare_func), (gst_clock_id_wait),
10168 (gst_clock_id_wait_async), (gst_clock_init),
10169 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10170 * gst/gstelement.h:
10171 * gst/gstinfo.c: (_gst_debug_init):
10173 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10174 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10176 Bump version number, we're now 0.9.0
10177 Add future debugging category.
10178 Fix NULL _unref() in _get_by_name_recurse_up
10179 Rearrange gstpad.h.
10182 2005-03-08 Wim Taymans <wim@fluendo.com>
10184 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10185 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10186 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10187 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10188 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10189 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10190 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10191 * gst/elements/gstidentity.c: (gst_identity_class_init):
10192 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10193 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10194 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10195 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10196 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10198 * gst/gstelement.c: (gst_element_class_init),
10199 (gst_element_base_class_init), (gst_element_init),
10200 (gst_element_get_random_pad), (gst_element_wait_state_change),
10201 (gst_element_change_state), (gst_element_dispose),
10202 (gst_element_finalize), (gst_element_set_loop_function):
10203 * gst/gstelement.h:
10204 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10205 * gst/gstthread.c: (gst_thread_class_init),
10206 (gst_thread_release_children_locks), (gst_thread_change_state):
10207 * gst/schedulers/gstbasicscheduler.c:
10208 (gst_basic_scheduler_loopfunc_wrapper),
10209 (gst_basic_scheduler_chain_wrapper),
10210 (gst_basic_scheduler_src_wrapper),
10211 (gst_basic_scheduler_remove_element):
10212 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10213 Remove threadsafe properties. Fix elements because GObject
10214 complains when installing a property before declaring a
10215 set/get_property handler.
10216 Rearrange gstelement.h file, use STATE macros for state locks.
10217 Free mutexes in the finalize method instead of dispose.
10219 2005-03-08 Wim Taymans <wim@fluendo.com>
10221 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10222 * gst/gstthread.c: (gst_thread_release_children_locks):
10223 Added parentage check.
10224 Fix build og GstThread again.
10226 2005-03-08 Wim Taymans <wim@fluendo.com>
10228 * docs/design/part-MT-refcounting.txt:
10229 * docs/design/part-conventions.txt:
10230 * docs/design/part-gstobject.txt:
10231 * docs/design/part-relations.txt:
10232 * docs/design/part-standards.txt:
10233 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10234 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10235 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10236 (gst_bin_iterate_all_by_interface):
10239 * gst/gstelement.c: (gst_element_class_init),
10240 (gst_element_change_state), (gst_element_set_loop_function):
10241 * gst/gstelement.h:
10242 * gst/gstiterator.c:
10243 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10244 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10245 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10246 (gst_object_set_parent), (gst_object_unparent),
10247 (gst_object_check_uniqueness):
10249 Docs updates, clean up some headers.
10251 2005-03-07 Wim Taymans <wim@fluendo.com>
10253 * check/.cvsignore:
10254 * check/Makefile.am:
10255 * check/gst-libs/.cvsignore:
10256 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10257 * check/gst/.cvsignore:
10258 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10259 (START_TEST), (gstbus_suite), (main):
10260 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10261 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10262 (gst_data_suite), (main):
10263 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10264 (add_fold_func), (gstiterator_suite), (main):
10265 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10266 (thread_name_object), (thread_name_object_default),
10267 (gst_object_name_compare), (gst_object_suite), (main):
10268 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10269 (gst_pad_suite), (main):
10270 * check/gstcheck.c: (gst_check_log_message_func),
10271 (gst_check_log_critical_func), (gst_check_init):
10272 * check/gstcheck.h:
10273 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10274 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10277 2005-03-07 Wim Taymans <wim@fluendo.com>
10279 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10280 (gst_list_iterator_next), (gst_list_iterator_resync),
10281 (gst_list_iterator_free), (gst_iterator_new_list),
10282 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10283 (gst_iterator_free), (gst_iterator_push), (filter_next),
10284 (filter_resync), (filter_uninit), (filter_free),
10285 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10286 (gst_iterator_foreach), (find_custom_fold_func),
10287 (gst_iterator_find_custom):
10288 * gst/gstiterator.h:
10289 Added missing files.
10291 2005-03-07 Wim Taymans <wim@fluendo.com>
10295 * docs/design/part-MT-refcounting.txt:
10296 * docs/design/part-conventions.txt:
10297 * docs/design/part-gstobject.txt:
10298 * docs/design/part-relations.txt:
10299 * examples/mixer/mixer.c: (main):
10300 * examples/thread/thread.c: (eos), (main):
10302 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10303 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10304 (gst_spider_plug_from_srcpad):
10305 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10306 (gst_spider_identity_change_state),
10307 (gst_spider_identity_sink_loop_type_finding):
10308 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10309 * gst/elements/gstidentity.c: (gst_identity_init):
10310 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10311 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10312 * gst/elements/gsttypefindelement.c: (free_entry):
10315 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10316 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10317 (gst_bin_set_index), (gst_bin_set_element_sched),
10318 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10319 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10320 (gst_bin_iterate_elements), (iterate_child_recurse),
10321 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10322 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10323 (compare_interface), (gst_bin_get_by_interface),
10324 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10326 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10327 (gst_buffer_default_free), (gst_buffer_default_copy),
10328 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10329 (gst_buffer_create_sub):
10331 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10332 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10333 (gst_caps_unref), (gst_static_caps_get),
10334 (gst_caps_remove_and_get_structure), (gst_caps_append),
10335 (gst_caps_append_structure), (gst_caps_remove_structure),
10336 (gst_caps_copy_nth), (gst_caps_set_simple),
10337 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10338 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10339 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10340 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10341 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10342 (gst_caps_structure_figure_out_union),
10343 (gst_caps_switch_structures), (gst_caps_do_simplify),
10344 (gst_caps_replace), (gst_caps_from_string),
10345 (gst_caps_copy_conditional):
10347 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10348 (_gst_clock_id_free), (gst_clock_id_unref),
10349 (gst_clock_id_compare_func), (gst_clock_id_wait),
10350 (gst_clock_id_wait_async), (gst_clock_class_init),
10351 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10352 (gst_clock_get_time), (gst_clock_set_time_adjust),
10353 (gst_clock_set_property), (gst_clock_get_property):
10356 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10357 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10359 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10360 (gst_element_requires_clock), (gst_element_provides_clock),
10361 (gst_element_set_clock), (gst_element_clock_wait),
10362 (gst_element_wait), (gst_element_set_time_delay),
10363 (gst_element_is_indexable), (gst_element_add_pad),
10364 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10365 (pad_compare_name), (gst_element_get_static_pad),
10366 (gst_element_request_pad), (gst_element_get_request_pad),
10367 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10368 (gst_element_class_get_pad_template_list),
10369 (gst_element_class_get_pad_template), (gst_element_error_func),
10370 (gst_element_get_random_pad), (gst_element_get_event_masks),
10371 (gst_element_send_event), (gst_element_seek),
10372 (gst_element_get_query_types), (gst_element_query),
10373 (gst_element_get_formats), (gst_element_convert),
10374 (gst_element_is_locked_state), (gst_element_set_locked_state),
10375 (gst_element_sync_state_with_parent), (gst_element_change_state),
10376 (gst_element_finalize), (gst_element_yield),
10377 (gst_element_interrupt), (gst_element_set_scheduler),
10378 (gst_element_get_scheduler), (gst_element_set_loop_function):
10379 * gst/gstelement.h:
10381 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10382 (gst_format_get_by_nick), (gst_format_get_details),
10383 (gst_format_iterate_definitions):
10385 * gst/gstindex.c: (gst_index_gtype_resolver):
10388 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10389 (gst_mem_chunk_free):
10390 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10391 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10392 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10393 (gst_object_dispatch_properties_changed),
10394 (gst_object_set_name_default), (gst_object_set_name),
10395 (gst_object_get_name), (gst_object_set_name_prefix),
10396 (gst_object_get_name_prefix), (gst_object_set_parent),
10397 (gst_object_get_parent), (gst_object_unparent),
10398 (gst_object_check_uniqueness), (gst_object_save_thyself),
10399 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10400 (gst_object_set_property), (gst_object_get_property),
10401 (gst_object_get_path_string):
10403 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10404 (gst_real_pad_init), (gst_real_pad_get_property),
10405 (gst_pad_custom_new), (gst_pad_get_direction),
10406 (gst_pad_set_active), (gst_pad_is_active),
10407 (gst_pad_set_event_function), (gst_pad_is_linked),
10408 (gst_pad_link_free), (gst_pad_link_intersect),
10409 (gst_pad_link_fixate), (gst_pad_set_caps),
10410 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10411 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10412 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10413 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10414 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10415 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10416 (gst_pad_realize), (gst_pad_get_allowed_caps),
10417 (gst_real_pad_dispose), (gst_real_pad_finalize),
10418 (gst_pad_collectv), (gst_pad_collect_valist),
10419 (gst_pad_template_dispose), (gst_pad_template_new),
10420 (gst_pad_get_internal_links):
10422 * gst/gstpipeline.c: (gst_pipeline_dispose),
10423 (gst_pipeline_change_state):
10424 * gst/gstpipeline.h:
10426 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10427 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10428 * gst/gstpluginfeature.h:
10429 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10430 * gst/gstquery.c: (_gst_query_type_initialize),
10431 (gst_query_type_register), (gst_query_type_get_by_nick),
10432 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10434 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10435 * gst/gstscheduler.c: (gst_scheduler_add_element),
10436 (gst_scheduler_factory_create):
10437 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10438 (gst_structure_free), (gst_structure_set_name),
10439 (gst_structure_id_set_value), (gst_structure_set_value),
10440 (gst_structure_set_valist), (gst_structure_remove_field),
10441 (gst_structure_remove_fields),
10442 (gst_structure_remove_fields_valist),
10443 (gst_structure_remove_all_fields), (gst_structure_foreach),
10444 (gst_structure_map_in_place),
10445 (gst_caps_structure_fixate_field_nearest_int),
10446 (gst_caps_structure_fixate_field_nearest_double):
10447 * gst/gststructure.h:
10448 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10449 (gst_system_clock_init), (gst_system_clock_dispose),
10450 (gst_system_clock_async_thread),
10451 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10452 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10453 * gst/gstsystemclock.h:
10454 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10455 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10456 * gst/gsttaginterface.c:
10457 * gst/gstthread.c: (gst_thread_dispose),
10458 (gst_thread_release_children_locks), (gst_thread_change_state),
10459 (gst_thread_main_loop):
10460 * gst/gsttrashstack.h:
10461 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10463 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10464 (gst_element_request_pad), (gst_element_get_pad_from_template),
10465 (gst_element_request_compatible_pad),
10466 (gst_element_get_compatible_pad_filtered),
10467 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10468 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10469 (gst_element_link_many), (gst_element_link),
10470 (gst_element_link_pads), (gst_element_unlink_pads),
10471 (gst_element_unlink_many), (gst_element_unlink),
10472 (gst_pad_can_link_filtered), (gst_pad_can_link),
10473 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10474 (gst_object_default_error), (gst_bin_add_many),
10475 (gst_bin_remove_many), (gst_element_populate_std_props),
10476 (gst_element_class_install_std_props), (gst_buffer_merge),
10477 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10478 (link_fold_func), (gst_pad_proxy_setcaps):
10480 * gst/gstvalue.c: (gst_value_deserialize_string):
10481 * gst/parse/grammar.y:
10482 * gst/schedulers/gstbasicscheduler.c:
10483 (gst_basic_scheduler_cothreaded_chain),
10484 (gst_basic_scheduler_chain_recursive_add),
10485 (gst_basic_scheduler_pad_link):
10486 * gst/schedulers/gstoptimalscheduler.c:
10487 (get_group_schedule_function),
10488 (gst_opt_scheduler_state_transition),
10489 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10490 * libs/gst/bytestream/bytestream.c:
10491 * libs/gst/dataprotocol/dataprotocol.c:
10492 (gst_dp_header_from_buffer):
10495 * tests/threadstate/threadstate2.c: (eos):
10496 * tools/gst-compprep.c: (main):
10497 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10498 (print_pad_info), (print_children_info):
10499 * tools/gst-launch.c: (idle_func), (main):
10500 * tools/gst-md5sum.c: (idle_func), (main):
10501 * tools/gst-xmlinspect.c: (print_element_info):
10502 First THREADED backport attempt, focusing on adding locks and
10503 making sure the API is threadsafe. Needs more work. More docs
10506 2005-02-24 Andy Wingo <wingo@pobox.com>
10508 * tests/bench-complexity.scm:
10509 * tests/complexity.gnuplot: New files, good for running complexity
10512 * tests/Makefile.am:
10513 * tests/complexity.c: New test, sets up N elements, at each level
10514 teeing into M streams per element. Eeeenteresting.
10516 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10517 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10518 running bench-mass_elements.scm.
10520 * tests/bench-mass_elements.scm: New script, runs mass_elements
10521 for various numbers of identities, outputting the results to a
10522 file. Requires guile 1.6. Just for testing.
10524 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10526 * gst/schedulers/fairscheduler.c:
10527 compile with debug disabled
10529 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10532 hunting season on 0.9 is now OPEN