1 2005-11-10 Andy Wingo <wingo@pobox.com>
3 * check/gst/gstbin.c (test_message_state_changed_children): Style
6 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7 gst_bus_poll with the signal watch. Ensures that poll and a signal
8 watch see the same messages.
10 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
11 a poll and a watch at the same time get the same messages.
13 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16 * gst/gstcaps.c: (gst_caps_intersect):
17 Don't call gst_caps_do_simplify - it doesn't respect order of caps
20 2005-11-10 Wim Taymans <wim@fluendo.com>
22 * docs/design/part-TODO.txt:
25 2005-11-10 Wim Taymans <wim@fluendo.com>
27 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
28 * gst/base/gstbasesrc.c: (gst_base_src_wait),
29 (gst_base_src_do_sync), (gst_base_src_get_range):
30 Implement clock sync in base class.
32 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
34 patch by: Tim-Philipp Müller <tim at centricular dot net>
36 * gst/gststructure.c: (gst_structure_parse_field),
37 (gst_structure_from_string):
38 Forward-port a 0.8 patch to handle escaped spaces in structure string,
39 so that gst_parse_launch() can deal with spaces in filtered link
41 * check/gst/capslist.h:
42 * check/gst/gststructure.c: (GST_START_TEST):
43 add unit tests for this change
45 2005-11-10 Wim Taymans <wim@fluendo.com>
47 * docs/gst/gstreamer-sections.txt:
50 Fix docs, move some STATE macros to private.
52 2005-11-10 Wim Taymans <wim@fluendo.com>
54 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
55 Added check for bug #317341
59 Some more spiffifying.
61 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
62 Call peer linkfunction if we are a source pad. Totally fixes
66 Update docs, source pads should call the peer linkfunction
67 so they can atomically perform the pad link.
69 2005-11-09 Wim Taymans <wim@fluendo.com>
73 Uber-spiffy-spiffify some more.
75 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
77 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
78 * gst/elements/gstfilesink.c: (gst_file_sink_init):
79 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
80 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
81 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
82 * gst/gstpad.c: (gst_pad_init):
83 Use GST_DEBUG_FUNCPTR() more extensively.
85 2005-11-09 Wim Taymans <wim@fluendo.com>
87 * gst/gstobject.c: (gst_object_class_init):
91 2005-11-09 Edward Hervey <edward@fluendo.com>
93 * gst/gsttypefindfactory.c:
96 2005-11-09 Edward Hervey <edward@fluendo.com>
98 * gst/base/gsttypefindhelper.c:
103 2005-11-09 Wim Taymans <wim@fluendo.com>
112 2005-11-09 Wim Taymans <wim@fluendo.com>
118 2005-11-09 Wim Taymans <wim@fluendo.com>
120 * docs/gst/gstreamer-sections.txt:
121 Moved the message async delivery private lock and cond
122 to the private section.
128 2005-11-09 Edward Hervey <edward@fluendo.com>
130 * docs/gst/gstreamer-sections.txt:
133 Document GstURIHandler
135 2005-11-09 Wim Taymans <wim@fluendo.com>
137 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
138 (gst_iterator_find_custom):
142 2005-11-09 Wim Taymans <wim@fluendo.com>
145 Document another field.
147 * gst/gststructure.c:
148 * gst/gststructure.h:
151 2005-11-09 Wim Taymans <wim@fluendo.com>
156 2005-11-09 Wim Taymans <wim@fluendo.com>
158 * docs/gst/gstreamer-sections.txt:
159 Added some new macros.
166 2005-11-09 Wim Taymans <wim@fluendo.com>
168 * docs/design/part-TODO.txt:
169 Some more items for the TODO
175 2005-11-09 Andy Wingo <wingo@pobox.com>
177 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
178 to work on something else now tho...
180 * gst/base/gstadapter.c: More adapter docs.
182 * gst/elements/gstfilesink.c (gst_file_sink_start)
183 (gst_file_sink_stop): New functions, replace the state change
185 (gst_file_sink_class_init): Hook up the start and stop functions.
186 (gst_file_sink_base_init): Don't set the state change handler any
187 more. It was a bit ugly too, being set from here...
188 (gst_file_sink_get_property, gst_file_sink_set_property):
190 (gst_file_sink_set_location): More robust check that doesn't call
193 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
195 * gst/base/gstbasetransform.c: (gst_base_transform_event):
196 Hold STREAM_LOCK while pushing newsegment or tag events as well.
198 2005-11-08 Wim Taymans <wim@fluendo.com>
200 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
201 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
202 (gst_base_sink_chain), (gst_base_sink_change_state):
203 * gst/base/gstbasesink.h:
204 * gst/base/gstbasesrc.h:
207 Avoid excessive typechecking in macros.
209 * gst/gstminiobject.c: (gst_mini_object_get_type),
210 (gst_mini_object_init), (gst_mini_object_new),
211 (gst_mini_object_free):
212 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
213 (gst_object_finalize):
214 Remove cruft code, optimize alloc_trace.
216 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
218 * docs/faq/gst-uninstalled:
219 fix up PS1 for systems that try to reset it
221 2005-11-07 Wim Taymans <wim@fluendo.com>
223 * gst/base/gstbasesrc.c: (gst_base_src_init),
224 (gst_base_src_get_range):
225 Set the segment_end to -1 initially. Fixed typefind.
227 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
229 * gst/base/gstadapter.c:
230 Debug category should be 'adapter', not 'GstAdapter'.
232 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
233 (gst_collectpads_class_init), (gst_collectpads_init),
234 (gst_collectpads_peek), (gst_collectpads_pop),
235 (gst_collectpads_event), (gst_collectpads_chain):
236 Add debug category and some debugging output. Use boilerplate
237 macros. Remove some extraneous words from docs.
239 2005-11-05 Andy Wingo <wingo@pobox.com>
241 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
244 2005-11-04 Stefan Kost <ensonic@users.sf.net>
246 * docs/gst/gstreamer-sections.txt:
249 * gst/gstminiobject.h:
254 2005-11-04 Wim Taymans <wim@fluendo.com>
256 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
257 Small update to stop at the configured segment_end
260 2005-11-04 Stefan Kost <ensonic@users.sf.net>
266 2005-11-04 Edward Hervey <edward@fluendo.com>
268 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
269 Check if we are doing a segment seek and have arrived at the
272 2005-11-04 Wim Taymans <wim@fluendo.com>
274 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
275 Don't leak a mutex unlock in case of an error.
280 2005-11-04 Wim Taymans <wim@fluendo.com>
282 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
284 Get the context to wake up only once.
286 2005-11-03 Wim Taymans <wim@fluendo.com>
288 * check/states/sinks.c: (GST_START_TEST):
289 Uncomment fixed check.
291 * docs/design/part-TODO.txt:
294 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
295 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
296 (gst_base_sink_get_position):
297 If we are going to PLAYING, post the right pending state
298 when we post the intermediate paused message.
300 * gst/gstelement.c: (gst_element_continue_state),
301 (gst_element_set_state_func), (gst_element_change_state):
302 Don't post state changes that were between the same state
305 2005-11-03 Stefan Kost <ensonic@users.sf.net>
307 * docs/gst/gstreamer-sections.txt:
310 * gst/gstminiobject.h:
313 more docs and doc style fixes
315 2005-11-03 Stefan Kost <ensonic@users.sf.net>
317 * docs/gst/gstreamer-sections.txt:
319 * gst/gstminiobject.c:
322 2005-11-03 Andy Wingo <wingo@pobox.com>
324 * check/states/sinks.c (test_livesrc_sink): Add checks that the
325 state-changed messages actually have the right order and the right
328 2005-11-03 Wim Taymans <wim@fluendo.com>
330 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
331 Added some more checks. Specifically the case where NO_PREROLL
332 elements are in the pipeline.
334 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
335 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
336 (gst_base_sink_get_position):
337 Post READY->PAUSED state change messages too.
338 Fix bug where VOID was posted as pending state...
340 * gst/gstbin.c: (gst_bin_recalc_state):
341 use _element_continue_state() to continue the state change.
343 * gst/gstelement.c: (gst_element_continue_state),
344 (gst_element_commit_state), (gst_element_set_state_func),
345 (gst_element_change_state), (gst_element_change_state_func):
346 Lots of state change cleanups, assign the STATE_RETURN in
347 a new continue_state() function that also propagates the
348 last return value from a state change to the app.
349 Update some debug statements with proper category.
351 2005-11-03 Wim Taymans <wim@fluendo.com>
353 * docs/design/part-events.txt:
354 * docs/design/part-gstpipeline.txt:
355 * docs/design/part-messages.txt:
356 * docs/design/part-overview.txt:
357 * docs/design/part-seeking.txt:
358 * docs/design/part-states.txt:
359 * docs/design/part-trickmodes.txt:
360 * docs/manual/advanced-position.xml:
364 People think !! is ugly, this looks better.
366 * gst/gstpad.c: (gst_pad_set_blocked_async):
367 Remove !! since it's fixed elsewhere now.
369 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
371 * gst/gstminiobject.h:
373 Add !! to _FLAG_IS_SET macros to make the result boolean.
375 2005-11-03 Edward Hervey <edward@fluendo.com>
377 * gst/gstpad.c: (gst_pad_set_blocked_async):
378 comparing a flag and a gboolean rarely returns coherent results...
379 Added two characters (!!) to make that work correctly.
381 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
383 * gst/gstbus.c: (gst_bus_class_init):
386 * gst/gstqueue.c: (gst_queue_loop):
387 Don't assume a miniobject that isn't a buffer is an
388 event (it could be that there is a refcounting
389 problem somewhere and the pointer is stale and
390 refers to an already destroyed miniobject).
392 2005-11-03 Julien MOUTTE <julien@moutte.net>
394 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
396 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
398 * docs/manual/advanced-position.xml:
399 Update seek example and explanations to current 0.9 API.
401 * gst/elements/gsttypefindelement.c:
402 (gst_type_find_element_activate):
403 Remove FIXME comment now that the found caps
406 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
408 * gst/gstregistryxml.c: (load_feature):
409 Add another GST_STR_NULL instance
411 2005-11-02 Edward Hervey <edward@fluendo.com>
413 * gst/gstpad.c: (handle_pad_block):
414 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
416 2005-11-02 Wim Taymans <wim@fluendo.com>
421 * gst/gstelement.c: (gst_element_commit_state):
425 Mention that the returned element is reffed in the docs.
427 2005-11-02 Wim Taymans <wim@fluendo.com>
429 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
430 (gst_pad_push), (gst_pad_push_event):
431 Unlock blocked pads when they are flushed.
433 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
436 * docs/gst/gstreamer-sections.txt:
439 * gst/gstregistry.c: (gst_registry_scan_path_level):
440 fix for a nasty little missed situation where an installed plug-in
441 which was in the cache did not get overridden by an uninstalled one
442 which was earlier in the plugin path because the newly created plugin
443 for the uninstalled one (not in the registry) didn't get its
444 ->registered set to TRUE
446 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
448 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
449 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
450 (gst_collectpads_is_active), (gst_collectpads_collect),
451 (gst_collectpads_collect_range), (gst_collectpads_start),
452 (gst_collectpads_stop), (gst_collectpads_peek),
453 (gst_collectpads_pop), (gst_collectpads_available),
454 (gst_collectpads_read), (gst_collectpads_flush):
455 Guard public API with assertions.
458 Fix docs for gst_pad_set_link_function().
460 2005-11-02 Johan Dahlin <johan@gnome.org>
462 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
463 Unref found_caps after we used it.
465 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
467 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
468 Don't try to ref NULL.
470 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
472 * win32/common/config.h.in:
473 provide a GST_FUNCTION that just gives a string for now
475 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
477 * win32/common/gstenumtypes.c: (register_gst_object_flags),
478 (gst_object_flags_get_type), (register_gst_bin_flags),
479 (gst_bin_flags_get_type), (register_gst_buffer_flag),
480 (gst_buffer_flag_get_type), (register_gst_bus_flags),
481 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
482 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
483 (gst_clock_return_get_type), (register_gst_clock_entry_type),
484 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
485 (gst_clock_flags_get_type), (register_gst_state),
486 (gst_state_get_type), (register_gst_state_change_return),
487 (gst_state_change_return_get_type), (register_gst_state_change),
488 (gst_state_change_get_type), (register_gst_element_flags),
489 (gst_element_flags_get_type), (register_gst_core_error),
490 (gst_core_error_get_type), (register_gst_library_error),
491 (gst_library_error_get_type), (register_gst_resource_error),
492 (gst_resource_error_get_type), (register_gst_stream_error),
493 (gst_stream_error_get_type), (register_gst_event_type),
494 (gst_event_type_get_type), (register_gst_seek_type),
495 (gst_seek_type_get_type), (register_gst_seek_flags),
496 (gst_seek_flags_get_type), (register_gst_format),
497 (gst_format_get_type), (register_gst_index_certainty),
498 (gst_index_certainty_get_type), (register_gst_index_entry_type),
499 (gst_index_entry_type_get_type),
500 (register_gst_index_lookup_method),
501 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
502 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
503 (gst_index_resolver_method_get_type), (register_gst_index_flags),
504 (gst_index_flags_get_type), (register_gst_debug_level),
505 (gst_debug_level_get_type), (register_gst_debug_color_flags),
506 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
507 (gst_iterator_result_get_type), (register_gst_iterator_item),
508 (gst_iterator_item_get_type), (register_gst_message_type),
509 (gst_message_type_get_type), (register_gst_mini_object_flags),
510 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
511 (gst_pad_link_return_get_type), (register_gst_flow_return),
512 (gst_flow_return_get_type), (register_gst_activate_mode),
513 (gst_activate_mode_get_type), (register_gst_pad_direction),
514 (gst_pad_direction_get_type), (register_gst_pad_flags),
515 (gst_pad_flags_get_type), (register_gst_pad_presence),
516 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
517 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
518 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
519 (gst_plugin_error_get_type), (register_gst_plugin_flags),
520 (gst_plugin_flags_get_type), (register_gst_rank),
521 (gst_rank_get_type), (register_gst_query_type),
522 (gst_query_type_get_type), (register_gst_tag_merge_mode),
523 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
524 (gst_tag_flag_get_type), (register_gst_task_state),
525 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
526 (gst_alloc_trace_flags_get_type),
527 (register_gst_type_find_probability),
528 (gst_type_find_probability_get_type), (register_gst_uri_type),
529 (gst_uri_type_get_type), (register_gst_parse_error),
530 (gst_parse_error_get_type):
531 * win32/common/gstversion.h:
534 2005-11-01 Luca Ognibene <luogni@tin.it>
537 fix docs. popt is dead, long live GOption.
539 2005-10-31 Wim Taymans <wim@fluendo.com>
544 2005-10-31 Andy Wingo <wingo@pobox.com>
548 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
550 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
551 need to serialize property notifications on GLib 2.8. GLib 2.6 has
552 the possibility of deadlocks here if code calling notify() or
553 set() has a lock that can be taken in another notify handler (ABBA
554 with class lock and e.g. python GIL state lock).
556 2005-10-28 Julien MOUTTE <julien@moutte.net>
558 * gst/gstbus.c: Doc updates.
560 2005-10-28 Wim Taymans <wim@fluendo.com>
562 * docs/design/part-TODO.txt:
564 * gst/gstsystemclock.c:
565 * gst/gstsystemclock.h:
568 2005-10-28 Edward Hervey <edward@fluendo.com>
570 * docs/gst/gstreamer-docs.sgml:
571 * docs/gst/gstreamer-sections.txt:
572 the GstURIType documentation page is private, it only defines GstURIType
573 which should be defined in the GstURIHandler page
575 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
577 * gst/gstbin.c: (gst_bin_class_init):
580 Documentation updates.
582 2005-10-28 Wim Taymans <wim@fluendo.com>
584 * docs/gst/gstreamer-sections.txt:
587 Documented the clocks.
589 2005-10-28 Stefan Kost <ensonic@users.sf.net>
591 * docs/gst/gstreamer-sections.txt:
592 move some macros to private sections
593 * gst/gstminiobject.c:
594 * gst/gstminiobject.h:
595 add descriptions provided by ds and some more
597 mark macro as to be removed
599 2005-10-28 Wim Taymans <wim@fluendo.com>
601 * docs/design/part-TODO.txt:
604 * gst/gstiterator.c: (gst_iterator_fold),
605 (gst_iterator_find_custom):
609 2005-10-28 Wim Taymans <wim@fluendo.com>
611 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
612 (gst_base_transform_init):
615 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
616 An EOS event marks the queue as completely filled.
618 2005-10-27 Wim Taymans <wim@fluendo.com>
620 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
621 (gst_base_sink_do_sync), (gst_base_sink_get_position):
624 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
625 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
626 (gst_base_transform_event), (gst_base_transform_getrange),
627 (gst_base_transform_chain):
628 * gst/base/gstbasetransform.h:
630 Protect transform and concurrent buffer alloc with a new lock.
631 Try not to break ABI/API.
633 2005-10-27 Wim Taymans <wim@fluendo.com>
635 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
636 (gst_base_src_init), (gst_base_src_query),
637 (gst_base_src_default_newsegment),
638 (gst_base_src_configure_segment), (gst_base_src_do_seek),
639 (gst_base_src_send_event), (gst_base_src_event_handler),
640 (gst_base_src_pad_get_range), (gst_base_src_loop),
641 (gst_base_src_unlock), (gst_base_src_default_negotiate),
642 (gst_base_src_start), (gst_base_src_deactivate),
643 (gst_base_src_activate_push), (gst_base_src_change_state):
644 Move some stuff around and cleanup things.
646 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
648 * gst/base/gstbasesrc.c: (gst_base_src_query):
649 Add missing break statements.
651 2005-10-27 Wim Taymans <wim@fluendo.com>
653 * check/gst/gstbin.c: (GST_START_TEST):
654 An extra refcount is taken in basesrc.
656 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
657 (gst_base_src_get_range), (gst_base_src_pad_get_range),
659 Small cleanups, check for flushing after being unlocked from the
660 LIVE_LOCK. take refcounts correctly (not yet everywhere).
661 Don't send out EOS when going to READY.
663 2005-10-27 Wim Taymans <wim@fluendo.com>
665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
666 (gst_base_sink_get_position):
669 * gst/gstbin.c: (message_check), (bin_replace_message),
670 (bin_remove_messages), (is_eos), (gst_bin_add_func),
671 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
672 (bin_query_duration_init), (bin_query_duration_fold),
673 (bin_query_duration_done), (bin_query_generic_fold),
675 * tools/gst-launch.c: (main):
678 2005-10-26 Stefan Kost <ensonic@users.sf.net>
680 * examples/controller/audio-example.c: (main):
681 * examples/queue/queue.c: (event_loop):
682 * gst/base/gstbasetransform.h:
683 * gst/gstelement.c: (gst_element_send_event):
685 * gst/gstpad.c: (gst_pad_send_event):
688 changing log priority in error situations
690 2005-10-25 Wim Taymans <wim@fluendo.com>
692 * gst/gstbin.c: (message_check), (bin_replace_message),
693 (bin_remove_messages), (is_eos), (gst_bin_add_func),
694 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
695 (bin_query_duration_init), (bin_query_duration_fold),
696 (bin_query_duration_done), (bin_query_generic_fold),
698 Some doc and debug updates.
699 Cache previously requested query DURATION for speed. invalidate
700 cached duration if element posts a DURATION message.
702 2005-10-25 Wim Taymans <wim@fluendo.com>
704 * docs/design/part-TODO.txt:
707 * gst/gstbin.c: (message_check), (bin_replace_message),
708 (bin_remove_messages), (is_eos), (gst_bin_add_func),
709 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
710 (bin_query_duration_init), (bin_query_duration_fold),
711 (bin_query_duration_done), (bin_query_generic_fold),
713 Handle SEGMENT_START/DONE messages correctly.
714 More evolved query algorithm that handles duration queries
717 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
718 (gst_element_get_state_func), (gst_element_abort_state),
719 (gst_element_commit_state), (gst_element_lost_state):
725 2005-10-25 Wim Taymans <wim@fluendo.com>
727 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
728 Don't use invalid stream_time.
730 * gst/gstevent.c: (gst_event_new_newsegment):
731 stream_time in newsegment cannot be undefined.
733 2005-10-24 Wim Taymans <wim@fluendo.com>
738 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
740 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
742 2005-10-24 Stefan Kost <ensonic@users.sf.net>
744 * docs/libs/tmpl/gstdparam.sgml:
745 * docs/libs/tmpl/gstdplinint.sgml:
746 * docs/libs/tmpl/gstdpman.sgml:
747 * docs/libs/tmpl/gstdpsmooth.sgml:
748 * docs/libs/tmpl/gstunitconvert.sgml:
751 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
756 === release 0.9.4 ===
758 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
761 releasing 0.9.4, "Tyrannosaurus Rex"
763 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
765 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
766 (gst_file_sink_get_current_offset):
767 Use fseeko() and ftello() if available. When falling back on
768 lseek() to get the current offset, fflush() first to make sure
769 everything is up-to-date and we get the right offset.
771 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
774 * gst/base/gstbasesrc.c: (gst_base_src_loop):
775 * gst/gsterror.c: (_gst_stream_errors_init):
777 * gst/gstqueue.c: (gst_queue_loop):
779 remove prematurely added error category and clean up the instances
781 2005-10-21 Wim Taymans <wim@fluendo.com>
783 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
784 (gst_base_sink_get_position), (gst_base_sink_query),
785 (gst_base_sink_change_state):
786 Simply set the right flag when going to playing, that's all
787 we need to do instead of calling a function inside the object
788 lock (that could take the lock as well and deadlock)
790 2005-10-21 Wim Taymans <wim@fluendo.com>
792 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
794 Don't warn, the peer element knows what to do best when
795 the seek failed, it might try something else.
797 2005-10-21 Wim Taymans <wim@fluendo.com>
799 * gst/base/gstbasesrc.c: (gst_base_src_init),
800 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
803 2005-10-21 Wim Taymans <wim@fluendo.com>
805 * docs/design/part-segments.txt:
808 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
809 Correctly set caps, even on the subbufer.
811 2005-10-21 Wim Taymans <wim@fluendo.com>
813 * docs/gst/gstreamer-docs.sgml:
814 * docs/gst/gstreamer-sections.txt:
821 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
825 And 2% more doc coverage.
827 2005-10-21 Andy Wingo <wingo@pobox.com>
829 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
832 2005-10-20 Wim Taymans <wim@fluendo.com>
834 * gst/gsterror.c: (gst_error_get_message):
837 * gst/gststructure.c:
842 2005-10-20 Wim Taymans <wim@fluendo.com>
847 Another 1% more coverage.
849 2005-10-20 Wim Taymans <wim@fluendo.com>
851 * docs/gst/gstreamer-sections.txt:
852 * gst/gstelement.c: (gst_element_get_state_func),
853 (gst_element_abort_state), (gst_element_commit_state),
854 (gst_element_lost_state):
856 * gst/gstquery.c: (gst_query_set_position),
857 (gst_query_parse_position), (gst_query_set_duration),
858 (gst_query_parse_duration), (gst_query_new_convert):
860 Yay! 1% more docs coverage.
862 2005-10-20 Wim Taymans <wim@fluendo.com>
865 * gst/gstquery.c: (gst_query_set_position),
866 (gst_query_parse_position), (gst_query_set_duration),
867 (gst_query_parse_duration), (gst_query_new_convert):
869 * gst/gstutils.c: (gst_element_query_convert):
871 Docs and consistency fixes.
873 2005-10-20 Wim Taymans <wim@fluendo.com>
879 2005-10-20 Wim Taymans <wim@fluendo.com>
881 * gst/gstbin.c: (message_check), (bin_replace_message),
882 (bin_remove_messages), (is_eos), (gst_bin_add_func),
883 (update_degree), (gst_bin_sort_iterator_next),
884 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
885 Reworked the message handling a bit, cache the messages instead of
886 only the senders. alows us to do more in the future.
888 2005-10-20 Wim Taymans <wim@fluendo.com>
890 * docs/design/part-TODO.txt:
893 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
894 (gst_base_sink_query):
895 Don't use clock time to report position when in EOS.
897 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
899 * tools/gst-inspect.c: (print_interfaces),
900 (print_element_properties_info), (print_element_info):
901 Fix interface output with gst-inspect -a; don't print
902 newlines after double/float properties.
904 2005-10-20 Wim Taymans <wim@fluendo.com>
906 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
907 (gst_base_sink_query):
908 Speed up current position calculation.
910 * gst/base/gstbasesrc.c: (gst_base_src_query),
911 (gst_base_src_default_newsegment):
912 Correctly set stream position in newsegment.
914 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
915 (update_degree), (gst_bin_sort_iterator_next),
916 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
917 * gst/gstmessage.c: (gst_message_new_custom):
918 Clean up debugging info
920 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
921 (gst_queue_loop), (gst_queue_handle_src_query):
924 2005-10-19 Wim Taymans <wim@fluendo.com>
926 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
927 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
928 Fix query handling again.
930 2005-10-19 Wim Taymans <wim@fluendo.com>
932 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
933 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
934 * gst/base/gstbasesrc.c: (gst_base_src_query):
935 * gst/elements/gstfilesink.c: (gst_file_sink_query):
936 * gst/elements/gsttypefindelement.c:
937 (gst_type_find_handle_src_query), (find_element_get_length),
938 (gst_type_find_element_activate):
941 * gst/gstquery.c: (gst_query_new_position),
942 (gst_query_set_position), (gst_query_parse_position),
943 (gst_query_new_duration), (gst_query_set_duration),
944 (gst_query_parse_duration), (gst_query_set_segment),
945 (gst_query_parse_segment):
947 Bundling query position/duration is not a good idea since duration
948 does not change much and we don't want to recalculate it for every
949 position query, so they are separated again..
950 Base value in segment query is not needed.
952 * gst/gstqueue.c: (gst_queue_handle_src_query):
953 * gst/gstutils.c: (gst_element_query_position),
954 (gst_element_query_duration), (gst_pad_query_position),
955 (gst_pad_query_duration):
957 Updates for query API change.
958 Added some docs here and there.
960 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
962 * check/gst/gstbin.c: (GST_START_TEST):
963 * check/gst/gstghostpad.c: (GST_START_TEST):
964 * check/pipelines/cleanup.c: (GST_START_TEST):
965 wait on thread to die so we can check refcount correctly
967 2005-10-18 Wim Taymans <wim@fluendo.com>
969 * check/pipelines/stress.c: (GST_START_TEST):
970 Make check a little more time consuming.
972 2005-10-18 Wim Taymans <wim@fluendo.com>
975 * check/pipelines/stress.c: (GST_START_TEST),
976 (simple_launch_lines_suite), (main):
977 Small state change torture test.
979 * docs/design/part-states.txt:
980 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
981 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
982 (gst_base_sink_change_state):
983 Never take state lock from streaming thread, clean up ugly
984 hacks. Unfortunatly core does not yet support nice ways to
987 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
989 Start state recalc if a STATE_DIRTY message is posted, but only
992 * gst/gstelement.c: (gst_element_sync_state_with_parent),
993 (gst_element_get_state_func), (gst_element_abort_state),
994 (gst_element_commit_state), (gst_element_lost_state),
995 (gst_element_set_state_func), (gst_element_change_state):
997 State variables are now protected with the LOCK, the state
998 lock is only used to serialize _set_state().
1000 2005-10-18 Wim Taymans <wim@fluendo.com>
1002 * check/gst/gstbin.c: (GST_START_TEST):
1003 * check/gst/gstmessage.c: (GST_START_TEST):
1004 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1005 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1007 * gst/gstelement.c: (gst_element_abort_state),
1008 (gst_element_commit_state), (gst_element_lost_state):
1009 * gst/gstmessage.c: (gst_message_new_state_changed),
1010 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1011 (gst_message_new_segment_done), (gst_message_new_duration),
1012 (gst_message_parse_state_changed),
1013 (gst_message_parse_segment_start),
1014 (gst_message_parse_segment_done), (gst_message_parse_duration):
1016 * tools/gst-launch.c: (event_loop):
1017 Seriously, this is better than a previous commit as we only need
1018 to notify the fact that an element changed state in a streaming
1019 thread, marking the state of the parents dirty, hence the
1020 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1023 2005-10-18 Wim Taymans <wim@fluendo.com>
1025 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1026 (gst_bin_recalc_func):
1027 * gst/gstelement.c: (gst_element_set_clock),
1028 (gst_element_abort_state), (gst_element_lost_state):
1029 Cleanups, prepare for state change fixes.
1031 2005-10-18 Wim Taymans <wim@fluendo.com>
1034 * gst/gstelement.c: (gst_element_class_init),
1035 (gst_element_set_state), (gst_element_set_state_func):
1037 Pending ABI changes.
1038 GThreadPool in GstBinClass to monitor async state changes.
1039 state_cookie in GstElement to detect concurrent gst/set state.
1040 set_state is now virtual too in case a very complicated element
1041 has to be constructed.
1043 2005-10-18 Wim Taymans <wim@fluendo.com>
1045 * check/gst/gstbin.c: (GST_START_TEST):
1046 * check/gst/gstmessage.c: (GST_START_TEST):
1047 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1048 * gst/gstbin.c: (bin_bus_handler):
1049 * gst/gstelement.c: (gst_element_commit_state),
1050 (gst_element_lost_state):
1051 * gst/gstmessage.c: (gst_message_new_state_changed),
1052 (gst_message_new_segment_start), (gst_message_new_segment_done),
1053 (gst_message_new_duration), (gst_message_parse_state_changed),
1054 (gst_message_parse_segment_start),
1055 (gst_message_parse_segment_done), (gst_message_parse_duration):
1057 * tools/gst-launch.c: (event_loop):
1058 Make messages future proof.
1059 state-change gets a flag if it was a message comming from the
1061 segment-start/stop can also be specified in other formats.
1062 A message to notify an app that a pipeline changed playback
1064 Also fix a GstMessage leak in -launch
1066 2005-10-18 Andy Wingo <wingo@pobox.com>
1068 * gst/gstelement.c (gst_element_dispose): More helpful message.
1070 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1072 * gst/gstregistry.c: (gst_registry_scan_path_level):
1073 unref a plug-in we get that was already initialized
1075 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1077 * docs/gst/gstreamer-sections.txt:
1078 * docs/libs/gstreamer-libs-sections.txt:
1083 2005-10-17 Andy Wingo <wingo@pobox.com>
1085 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1088 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1090 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1092 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1093 (gst_element_get_state_func): Better debug message.
1094 (gst_element_commit_state): s/INFO/DEBUG/.
1095 (gst_element_lost_state, gst_element_change_state):
1097 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1098 (gst_message_new_custom): s/INFO/LOG/.
1100 2005-10-17 Michael Smith <msmith@fluendo.com>
1102 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1103 Check if end time is valid using end time, not start time.
1105 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1107 * check/gst-libs/controller.c: (GST_START_TEST),
1108 (gst_controller_suite):
1109 * libs/gst/controller/gstcontroller.c:
1110 (gst_controlled_property_set_interpolation_mode):
1111 * libs/gst/controller/gstcontroller.h:
1112 * libs/gst/controller/gstinterpolation.c:
1113 * testsuite/controller/.cvsignore:
1114 * testsuite/controller/Makefile.am:
1115 * testsuite/controller/interpolator.c:
1116 merge controller testsuites
1118 remove mem-chunk from docs
1120 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1122 * gst/gstmemchunk.c:
1123 * gst/gstmemchunk.h:
1124 * gst/gsttrashstack.c:
1125 * gst/gsttrashstack.h:
1126 out. get out. you're fired. to the Attic !
1128 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1130 * gst/gstcaps.c: (gst_caps_intersect):
1131 fix signedness issues in a (hopefully) correct way
1132 * gst/gstelement.c: (gst_element_pads_activate):
1134 * gst/gstobject.c: (gst_object_set_parent):
1137 2005-10-17 Julien MOUTTE <julien@moutte.net>
1139 * gst/gstvalue.h: Fix prototypes.
1141 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1143 * docs/gst/gstreamer-sections.txt:
1144 * gst/gst.c: (gst_version_string):
1146 * gst/gstversion.h.in:
1147 * win32/common/libgstreamer.def:
1148 add gst_version_string ()
1150 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1154 * gst/gst.c: (init_post):
1155 * win32/common/config.h.in:
1157 * gst/gstcaps.c: (gst_caps_intersect):
1158 use gint64, the range could be bigger than a guint
1160 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1163 document potential problem in 2038
1165 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1167 * gst/gstcaps.c: (gst_caps_intersect):
1168 Fix guint j diving under 0
1170 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1173 * win32/common/config.h:
1174 * win32/common/config.h.in:
1175 check for process.h, declares getpid() on Windows
1177 include process.h if we have it
1178 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1179 * gst/gstmemchunk.h:
1180 fix signedness issues
1181 * win32/common/libgstreamer.def:
1184 2005-10-16 Julien MOUTTE <julien@moutte.net>
1186 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1187 fix. Because of unsigned ints, caps intersection was going nuts and
1188 trying to access structures with G_MAXUINT index. That fixes
1189 videotestsrc ! ffmpegcolorspace ! fakesink
1190 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1193 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1196 use the gettext macro
1197 * gst/elements/gstelements.c:
1199 * gst/indexers/gstindexers.c:
1200 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1201 * win32/common/config.h:
1203 * win32/common/config.h.in:
1204 add the template to generate config.h
1205 * win32/common/gstenumtypes.c:
1206 * win32/common/gstversion.h:
1209 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1211 * gst/gst.c: (gst_version):
1212 * gst/gstversion.h.in:
1215 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1218 Oops, add missing closing bracket.
1220 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1223 use common m4's for argument checking
1225 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1227 * docs/gst/gstreamer-sections.txt:
1229 Add GST_EVENT_TYPE_NAME() macro.
1231 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1234 * gst/gstpluginfeature.c:
1236 privatize more symbols
1238 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1241 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1242 everything that uses GStreamer API should have the includes
1244 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1246 * docs/gst/gstreamer-sections.txt:
1247 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1249 give each value a _get_type, removes the DATA exports
1251 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1255 remove _gst_registry_auto_load, not used anymore
1256 * gst/gstbin.c: (gst_bin_get_type):
1258 * gst/gstelement.c: (gst_element_get_type):
1260 * gst/gstobject.c: (gst_object_get_type):
1262 * gst/gstpad.c: (gst_pad_get_type):
1264 make _get_type functions similar, fixes data export from library
1266 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1269 correctly make conditionals
1270 * gst/elements/Makefile.am:
1271 * gst/elements/gstelements.c:
1272 fix typo causing fdsrc not to build
1274 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1276 * testsuite/Makefile.am:
1277 * testsuite/bytestream/.cvsignore:
1278 * testsuite/bytestream/Makefile.am:
1279 * testsuite/bytestream/filepadsink.c:
1280 * testsuite/bytestream/gstbstest.c:
1281 * testsuite/bytestream/test1.c:
1282 * testsuite/bytestream/testfile1:
1283 * testsuite/caps/normalisation.c:
1284 * testsuite/caps/random.c: (main):
1285 * testsuite/cleanup/.cvsignore:
1286 * testsuite/cleanup/Makefile.am:
1287 * testsuite/cleanup/cleanup1.c:
1288 * testsuite/cleanup/cleanup2.c:
1289 * testsuite/cleanup/cleanup3.c:
1290 * testsuite/cleanup/cleanup4.c:
1291 * testsuite/cleanup/cleanup5.c:
1292 * testsuite/controller/interpolator.c:
1293 * testsuite/debug/printf_extension.c: (main):
1294 * testsuite/elements/tee.c:
1295 * testsuite/negotiation/.cvsignore:
1296 * testsuite/negotiation/Makefile.am:
1297 * testsuite/negotiation/pad_link.c:
1298 * testsuite/pad/Makefile.am:
1299 * testsuite/pad/chainnopull.c:
1300 * testsuite/pad/getnopush.c:
1301 * testsuite/pad/link.c:
1302 * testsuite/refcounting/sched.c: (create_pipeline):
1303 * testsuite/registry/Makefile.am:
1304 * testsuite/registry/gst-print-formats.c:
1305 * testsuite/schedulers/.cvsignore:
1306 * testsuite/schedulers/142183-2.c:
1307 * testsuite/schedulers/142183.c:
1308 * testsuite/schedulers/143777-2.c:
1309 * testsuite/schedulers/143777.c:
1310 * testsuite/schedulers/147713.c:
1311 * testsuite/schedulers/147819.c:
1312 * testsuite/schedulers/147894-2.c:
1313 * testsuite/schedulers/147894.c:
1314 * testsuite/schedulers/Makefile.am:
1315 * testsuite/schedulers/group_link.c:
1316 * testsuite/schedulers/queue_link.c:
1317 * testsuite/schedulers/relink.c:
1318 * testsuite/schedulers/unlink.c:
1319 * testsuite/schedulers/unref.c:
1320 * testsuite/schedulers/useless_iteration.c:
1321 * testsuite/states/bin.c:
1322 clean out/remove some stuff from the testsuite directories
1324 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1327 check for some headers
1328 * gst/elements/Makefile.am:
1329 * gst/elements/gstelements.c:
1330 don't compile fdsrc without sys/socket.h
1331 * gst/indexers/Makefile.am:
1332 * gst/indexers/gstindexers.c: (plugin_init):
1333 don't compile fileindex without mmap
1335 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1342 * check/Makefile.am:
1343 * docs/gst/Makefile.am:
1344 * examples/helloworld/Makefile.am:
1346 * gst/base/Makefile.am:
1347 * gst/check/Makefile.am:
1348 * gst/elements/Makefile.am:
1349 * gst/indexers/Makefile.am:
1350 * gst/parse/Makefile.am:
1351 * libs/gst/controller/Makefile.am:
1352 * libs/gst/dataprotocol/Makefile.am:
1353 * examples/helloworld/helloworld.c: (event_loop):
1354 compile fixes, though it's not being compiled currently
1356 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1358 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1359 Add some simple tests for the new taglist date API.
1361 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1363 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1364 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1365 Beautify 'last-message' output: print 'none' for buffer timestamps
1366 and durations if none is set; improve alignment with next messages.
1368 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1370 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1371 * gst/gstpluginfeature.h:
1372 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1373 * gst/gstregistry.h:
1374 * docs/gst/gstreamer-sections.txt:
1375 Add new API to check plugin feature version requirements.
1377 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1378 Some basic tests for the above.
1380 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1382 * gst/gststructure.c: (gst_structure_to_string):
1383 guard against NULL printf - happens when for example
1384 a message structure with GstClock gets serialized
1386 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1388 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1389 Fix presumable copy'n'pasto.
1391 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1393 * gst/elements/gstfakesrc.h:
1394 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1395 * gst/elements/gsttypefindelement.c:
1397 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1398 I wonder if this could actually write +2GB files before
1400 2005-10-13 Andy Wingo <wingo@pobox.com>
1402 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1403 Fix Timmeke Waymans bug.
1404 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1405 string of the proper length to gst_caps_from_string. There's a
1406 potential for, before this fix, that this could cause someone
1407 connecting over the network to cause a segfault if the payload is
1410 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1412 * docs/design/draft-push-pull.txt:
1413 * docs/design/part-overview.txt:
1414 * docs/random/TODO-pre-0.9:
1415 * docs/random/old/ChangeLog.gstreamer:
1416 * gst/base/gstpushsrc.c:
1420 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1422 * gst/glib-compat.c: (gst_flags_get_first_value):
1423 * gst/glib-compat.h:
1424 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1425 (gst_value_compare_double), (gst_value_serialize_flags):
1426 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1429 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1432 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1434 * tools/gst-launch.c: (event_loop):
1435 print out clock nicely
1437 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1439 * docs/gst/gstreamer-sections.txt:
1441 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1442 (gst_tag_list_get_date_index):
1443 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1444 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1446 2005-10-13 Julien MOUTTE <julien@moutte.net>
1448 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1449 (gst_collectpads_chain):
1450 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1453 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1455 * docs/gst/gstreamer-sections.txt:
1458 * tools/gst-inspect.c: (main):
1459 * tools/gst-launch.c: (main):
1460 * tools/gst-run.c: (main):
1461 * tools/gst-xmlinspect.c: (main):
1462 fix GOption context leaks
1465 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1469 * win32/common/config.h:
1471 * win32/vs6/grammar.dsp:
1472 * win32/vs6/libgstelements.dsp:
1473 * win32/vs6/libgstreamer.dsp:
1476 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1478 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1479 * gst/base/gstbasesrc.c: (gst_base_src_query):
1480 fix more guint64<->gdouble conversions
1482 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1485 add win32-update target
1486 * win32/common/gstconfig.h:
1487 * win32/common/gstenumtypes.c:
1488 * win32/common/gstenumtypes.h:
1489 * win32/common/gstversion.h:
1490 add files that visual studio can't generate
1492 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1495 add a win32-update target
1498 2005-10-12 Wim Taymans <wim@fluendo.com>
1500 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1501 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1502 * gst/gstelement.c: (gst_element_commit_state),
1503 (gst_element_set_state):
1504 Protect flags with proper lock.
1505 unref provided cached clock in dispose.
1507 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1510 * gst/gstminiobject.h:
1512 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1513 removed unused flags from miniobject
1516 2005-10-12 Wim Taymans <wim@fluendo.com>
1518 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1519 (gst_file_sink_event), (gst_file_sink_render):
1520 Flush before seeking.
1522 2005-10-12 Andy Wingo <wingo@pobox.com>
1524 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1525 always been the case.
1527 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1529 * check/gst/gstbin.c: (GST_START_TEST):
1530 * docs/gst/gstreamer-sections.txt:
1531 * gst/base/gstbasesink.c: (gst_base_sink_init):
1532 * gst/base/gstbasesrc.c: (gst_base_src_init),
1533 (gst_base_src_get_range), (gst_base_src_check_get_range),
1534 (gst_base_src_start), (gst_base_src_stop):
1535 * gst/base/gstbasesrc.h:
1536 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1537 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1538 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1542 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1544 * gst/gstelement.c: (gst_element_is_locked_state),
1545 (gst_element_set_locked_state), (gst_element_commit_state),
1546 (gst_element_set_state):
1548 * gst/gstindex.c: (gst_index_init):
1550 * gst/gstminiobject.h:
1551 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1552 (gst_object_set_parent):
1554 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1555 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1557 * gst/gstpadtemplate.h:
1558 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1559 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1560 * gst/gstpipeline.h:
1561 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1562 (gst_file_index_commit):
1563 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1564 * testsuite/pad/link.c: (gst_test_src_init),
1565 (gst_test_filter_init), (gst_test_sink_init):
1566 * testsuite/states/locked.c: (main):
1567 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1568 moved bitshift from macro to enum definition
1570 2005-10-12 Wim Taymans <wim@fluendo.com>
1572 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1573 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1574 (gst_file_sink_render):
1575 Some more debugging info.
1577 2005-10-12 Wim Taymans <wim@fluendo.com>
1579 * docs/design/part-states.txt:
1580 * tools/gst-launch.c: (main):
1582 Revert non-intentional change.
1584 2005-10-12 Wim Taymans <wim@fluendo.com>
1586 * check/gst/gstbin.c: (GST_START_TEST):
1587 * check/gst/gstelement.c: (GST_START_TEST):
1588 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1589 * check/gst/gstghostpad.c: (GST_START_TEST):
1590 * check/gst/gstpipeline.c: (GST_START_TEST):
1591 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1592 * check/states/sinks.c: (GST_START_TEST):
1593 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1594 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1595 (gst_bin_remove_func), (gst_bin_get_state_func),
1596 (gst_bin_recalc_state), (gst_bin_change_state_func),
1598 * gst/gstelement.c: (gst_element_get_state_func),
1599 (gst_element_get_state), (gst_element_abort_state),
1600 (gst_element_commit_state), (gst_element_set_state),
1601 (gst_element_change_state), (gst_element_change_state_func):
1603 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1604 (gst_pipeline_provide_clock_func):
1605 * gst/gstutils.c: (gst_element_link_pads_filtered):
1606 * tools/gst-launch.c: (main):
1607 * tools/gst-typefind.c: (main):
1608 Use GstClockTime in _get_state() instead of GTimeVal.
1609 Remove old code in gstutils.c
1611 2005-10-12 Andy Wingo <wingo@pobox.com>
1613 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1616 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1617 there is no task. Shouldn't affect any code, as nothing in our
1618 plugins checks this return value.
1619 (gst_pad_stop_task): Also take the stream lock if the pad has no
1622 2005-10-12 Wim Taymans <wim@fluendo.com>
1624 * gst/gstpad.c: (pre_activate), (post_activate),
1625 (gst_pad_activate_pull), (gst_pad_activate_push):
1626 Cleanup activation code. Reset old state if
1629 2005-10-12 Wim Taymans <wim@fluendo.com>
1631 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1632 (gst_base_sink_change_state):
1633 No need to prerol after receiving EOS.
1635 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1636 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1637 * gst/elements/gstidentity.c: (gst_identity_event):
1638 Print events more verbosely.
1640 2005-10-12 Wim Taymans <wim@fluendo.com>
1642 * check/Makefile.am:
1643 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1644 * check/states/sinks2.c:
1645 Moved sinks2 testcode in sinks check.
1647 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1648 (gst_bin_remove_func), (gst_bin_recalc_state),
1649 (gst_bin_change_state_func), (bin_bus_handler):
1650 Fix potential race condition when _get_state() iterated over an
1651 ASYNC element right before it posted a state completion.
1654 Do proper cast here.
1656 * gst/gstevent.c: (gst_event_new_newsegment),
1657 (gst_event_parse_newsegment):
1658 A playback rate of 0.0 is not allowed.
1660 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1662 * win32/common/config.h:
1663 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1664 (_trewinddir), (_ttelldir), (_tseekdir):
1665 * win32/common/dirent.h:
1666 * win32/common/gtchar.h:
1667 * win32/common/libgstbase.def:
1668 * win32/common/libgstreamer.def:
1669 * win32/vs6/grammar.dsp:
1670 * win32/vs6/gst_inspect.dsp:
1671 * win32/vs6/gst_launch.dsp:
1672 * win32/vs6/gstreamer.dsw:
1673 * win32/vs6/libgstbase.dsp:
1674 * win32/vs6/libgstelements.dsp:
1675 * win32/vs6/libgstreamer.dsp:
1676 Visual Studio 6 project files, and a new common directory.
1679 2005-10-11 Wim Taymans <wim@fluendo.com>
1681 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1682 (gst_base_sink_do_sync), (gst_base_sink_query),
1683 (gst_base_sink_change_state):
1684 * gst/base/gstbasesink.h:
1685 Correctly parse newsegment info.
1687 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1689 * gst/gst.c: (init_post):
1690 split plugin paths correctly
1692 2005-10-11 Wim Taymans <wim@fluendo.com>
1694 * check/gst/gstevent.c: (GST_START_TEST):
1695 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1696 (gst_base_sink_change_state):
1697 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1698 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1699 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1700 * gst/gstevent.c: (gst_event_new_newsegment),
1701 (gst_event_parse_newsegment):
1703 Added extra flag to newsegment for future API freeze.
1704 Updated check and base elements.
1706 2005-10-11 Julien MOUTTE <julien@moutte.net>
1708 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1709 (gst_collectpads_add_pad), (gst_collectpads_pop),
1710 (gst_collectpads_event), (gst_collectpads_chain):
1711 * gst/base/gstcollectpads.h: Handle EOS correctly.
1713 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1715 * tools/gst-launch.c: (main):
1716 more null protecting
1718 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1720 * gst/gst-i18n-lib.h:
1721 check for ENABLE_NLS, not GETTEXT_PACKAGE
1722 * gst/gstregistry.c: (gst_registry_add_plugin),
1723 (gst_registry_scan_path_level),
1724 (_gst_registry_remove_cache_plugins):
1725 protect possibly NULL strings
1726 * gst/parse/types.h:
1727 config.h already included before
1728 * tools/gst-inspect.c: (main):
1729 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1730 check for ENABLE_NLS, not GETTEXT_PACKAGE
1731 * tools/gst-launch.c: (main):
1732 check for ENABLE_NLS, not GETTEXT_PACKAGE
1734 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1737 if we don't have glib, fail before testing 2.8
1738 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1739 fix a leak, should fix plugins-base testsuite
1741 2005-10-11 Andy Wingo <wingo@pobox.com>
1743 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1744 take the mode we're going to as an arg. Go head and set the mode
1745 and flushing flags now, so that if the activate function starts a
1746 thread all the flags will be in the right state.
1747 (post_activate): Renamed also. Just handle making sure streaming
1748 finishes for the deactivation case, and setting the deactivated
1750 (gst_pad_set_active): Complain loudly if deactivation fails.
1751 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1752 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1753 remove the terrible hack.
1755 2005-10-11 Wim Taymans <wim@fluendo.com>
1757 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1758 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1759 (gst_bin_recalc_state), (gst_bin_change_state_func),
1760 (gst_bin_dispose), (bin_bus_handler):
1762 Prepare to make current EOS message queue more generic.
1765 * gst/gstevent.c: (gst_event_new_newsegment),
1766 (gst_event_parse_newsegment):
1768 Rename base to stream_time.
1773 2005-10-11 Wim Taymans <wim@fluendo.com>
1775 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1776 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1777 (gst_bin_change_state_func), (bin_bus_handler):
1779 Work on proper clock selection.
1781 2005-10-11 Edward Hervey <edward@fluendo.com>
1783 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1784 * libs/gst/controller/gstcontroller.h:
1785 Added GList* version of _remove_properties() in order to be able to wrap
1788 2005-10-11 Wim Taymans <wim@fluendo.com>
1790 * docs/design/part-states.txt:
1793 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1794 (gst_bin_change_state_func), (bin_bus_handler):
1795 Doc updates. Don't distribute the same clock over and over again.
1801 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1802 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1803 (gst_pad_send_event):
1805 Make probe emission threadsafe again.
1806 Register quarks and move _get_name() from utils.
1809 * gst/gstpipeline.c: (gst_pipeline_class_init),
1810 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1811 Only redistribute the clock of it changed.
1813 * gst/gstsystemclock.h:
1818 Moved the _flow_get_name() to GstPad.
1820 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1822 * check/gst-libs/gdp.c: (GST_START_TEST):
1823 * check/gst/gstcaps.c: (GST_START_TEST):
1824 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1825 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1826 (gst_dp_packet_from_caps):
1827 fix more valgrind warnings before turning up the heat
1829 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1831 * gst/parse/grammar.y:
1832 some cleanup before the hacking
1834 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1836 * gst/base/gstbasesrc.c: (gst_base_src_query):
1838 * gst/gstutils.c: (gst_guint64_to_gdouble),
1839 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1841 externalize, basesrc uses it
1842 obviously the implementation needs testing
1844 2005-10-10 Wim Taymans <wim@fluendo.com>
1846 * tests/sched/Makefile.am:
1847 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1848 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1850 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1852 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1853 apparently converting from guint64 to double is not implemented
1856 2005-10-10 Wim Taymans <wim@fluendo.com>
1858 * check/Makefile.am:
1859 * check/generic/states.c: (GST_START_TEST):
1860 * check/gst/gstbin.c: (GST_START_TEST):
1861 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1862 * check/states/sinks.c: (GST_START_TEST):
1863 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1865 Check fixes, use API as stated in design docs, remove hacks.
1867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1868 (gst_base_sink_change_state):
1869 Catch stopping our task while we're shutting down.
1871 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1872 (gst_bin_remove_func), (gst_bin_get_state_func),
1873 (gst_bin_recalc_state), (gst_bin_change_state_func),
1876 * gst/gstelement.c: (gst_element_init),
1877 (gst_element_get_state_func), (gst_element_abort_state),
1878 (gst_element_commit_state), (gst_element_lost_state),
1879 (gst_element_set_state), (gst_element_change_state),
1880 (gst_element_change_state_func):
1882 New state change algorithm (see #318116)
1884 * gst/gstpipeline.c: (gst_pipeline_class_init),
1885 (gst_pipeline_init), (gst_pipeline_set_property),
1886 (gst_pipeline_get_property), (do_pipeline_seek),
1887 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1888 * gst/gstpipeline.h:
1889 Remove crude state change hacks.
1894 * tools/gst-launch.c: (main):
1895 Fixes for state change. Needs some more work to fully use the
1898 2005-10-10 Andy Wingo <wingo@pobox.com>
1900 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1902 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1903 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1906 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1908 * gst/gstiterator.c: (gst_iterator_new):
1909 Fix my previous commit: GTypes passed to gst_iterator_new()
1910 can be fundamental types.
1912 2005-10-10 Wim Taymans <wim@fluendo.com>
1914 * gst/gstelement.c: (gst_element_iterate_pad_list),
1915 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1916 (gst_element_iterate_sink_pads):
1917 Use src/sink pads lists for the respective iterators instead
1920 2005-10-10 Andy Wingo <wingo@pobox.com>
1922 Merged in popt removal + GOption addition patch from Ronald, bug
1925 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1926 GstElement macros around, remove popt-related symbols, add goption
1929 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1931 * docs/gst/Makefile.am:
1932 * docs/libs/Makefile.am: No POPT_CFLAGS.
1934 * examples/manual/Makefile.am:
1935 * docs/manual/basics-init.xml: Doc updates with an example.
1937 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1938 (gst_init), (parse_one_option), (parse_goption_arg):
1939 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1940 bit of hand merging and debugging to get the GOption stuff working
1943 * tests/Makefile.am:
1944 * tools/Makefile.am:
1945 * tools/gst-inspect.c: (main):
1946 * tools/gst-launch.c: (main):
1947 * tools/gst-run.c: (main):
1948 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1950 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1952 * gst/gstiterator.c: (gst_iterator_new):
1953 Add assertions to make sure passed GType is likely to really
1954 be a GType (as the compiler won't catch it if the size and
1955 GType arguments get mixed up, see #318447).
1957 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1959 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1961 * gst/gstbin.c: (gst_bin_iterate_sorted):
1962 Pass GType and size arguments to gst_iterator_new() in the right
1963 order (maybe we should make _new() take the GType as first argument
1964 just like _new_list()?) (#318447).
1967 2005-10-10 Wim Taymans <wim@fluendo.com>
1969 * gst/gstelement.c: (gst_element_finalize):
1970 And free the GStaticRecMutex too
1972 2005-10-10 Andy Wingo <wingo@pobox.com>
1974 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1975 Allocate and free the mutex properly.
1977 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1979 (GstElement): The state_lock is now recursive. Rebuild your
1980 plugins, suckers. Old macros adapted.
1982 * docs/gst/gstreamer-sections.txt: Doc updates.
1985 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1986 (g_static_rec_cond_wait): Ported from state changes patch, while
1987 we wait on bug #317802 to be solved in a well-distributed GLib.
1989 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1990 gst_element_change_state, variable name changes.
1991 (gst_element_change_state): Split out of gst_element_set_state in
1992 preparation for the state change merge. Doesn't pay attention to
1993 the 'transition' argument.
1994 (gst_element_set_state): Updates, hopefully purely cosmetic.
1995 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1997 (gst_element_get_state_func): Renamed from get_state, cosmetic
2000 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2002 * gst/elements/gstelements.c:
2003 * win32/GStreamer.vcproj:
2005 * win32/dirent.c: (_tseekdir):
2006 * win32/gst-inspect.vcproj:
2007 * win32/gst-launch.vcproj:
2008 * win32/gstconfig.h:
2009 * win32/gstelements.vcproj:
2010 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2011 * win32/gstreamer.def:
2013 updates for the win32 build (patch from Sebastien Moutte)
2015 2005-10-10 Andy Wingo <wingo@pobox.com>
2017 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2018 gst_bin_get_state, cleaned up (but no logic changes).
2019 (bin_element_is_sink): Comment updates.
2020 (sink_iterator_filter): Remove needless cast.
2021 (gst_bin_iterate_sinks): Doc update.
2022 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2023 cleaned up (but no logic changes).
2025 * check/states/sinks.c (test_src_sink): Cleanups from the state
2027 (test_livesrc_sink): Sync on the state.
2029 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2030 the state change patch.
2032 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2035 * check/gst/gstbin.c: Merge in some style fixes and additional
2036 checks from Wim's state change patch.
2038 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2040 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2041 (gst_type_find_helper):
2042 Check whether we have the requested data already in our list of
2043 cached buffers before pulling a new buffer; also make the buffer
2044 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2046 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2051 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2052 don't use long long, it's not portable. Replacing with
2053 gint64 seems to work; let's hope no skeletons fall out of the closet.
2055 2005-10-10 Andy Wingo <wingo@pobox.com>
2057 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2059 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2061 * docs/gst/gstreamer-sections.txt:
2066 * gst/gstmessage.c: (gst_message_parse_state_changed):
2069 more docs, fix compilation
2071 2005-10-09 Philippe Khalaf <burger@speedy.org>
2073 Fixed a few forgotten variables on previous commit
2075 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2077 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2078 Fix evil typefind crasher: getrange() might return a short
2079 buffer at the end of a file, but gst_type_find_peek() must
2080 either return the full data as requested or NULL, but
2081 never a short buffer.
2083 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2085 * gst/gstmessage.c: (gst_message_new_state_changed),
2086 (gst_message_parse_state_changed):
2088 don't use "new", it's a C++ keyword
2090 2005-10-08 Wim Taymans <wim@fluendo.com>
2092 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2093 * gst/gstelement.c: (gst_element_post_message):
2094 * gst/gstpipeline.c: (gst_pipeline_change_state):
2095 Small docs and debug updates.
2097 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2099 * docs/gst/gstreamer-sections.txt:
2100 * gst/gstelementfactory.c:
2105 2005-10-08 Wim Taymans <wim@fluendo.com>
2107 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2108 (gst_bin_dispose), (bin_bus_handler):
2109 Fix typos, add comments.
2110 Clear EOS list when going to PAUSED from any direction and do it
2111 in a threadsafe way.
2112 Get base time in a threadsafe way too.
2113 Fix confusing debug in the change_state function.
2114 Various other small cleanups.
2116 * gst/gstelement.c: (gst_element_post_message):
2117 Fix very verbose bus posting code.
2119 * gst/gstpipeline.c: (gst_pipeline_class_init),
2120 (gst_pipeline_set_property), (gst_pipeline_get_property),
2121 (gst_pipeline_change_state):
2122 Small ARG_ -> PROP_ cleanup
2124 2005-10-08 Wim Taymans <wim@fluendo.com>
2126 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2127 Do a less CPU demanding EOS check because we can.
2129 2005-10-08 Wim Taymans <wim@fluendo.com>
2131 * libs/gst/dataprotocol/dataprotocol.c:
2132 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2133 (gst_dp_packet_from_event):
2134 * libs/gst/dataprotocol/dataprotocol.h:
2135 * libs/gst/dataprotocol/dp-private.h:
2136 It's about time we bump the version number.
2137 Since event types don't fit in the guint8 anymore describing
2138 the payload type, make payload type 16 bits wide.
2140 2005-10-08 Wim Taymans <wim@fluendo.com>
2142 * docs/design/part-TODO.txt:
2143 * docs/design/part-clocks.txt:
2144 * docs/design/part-events.txt:
2145 * docs/design/part-gstbin.txt:
2146 * docs/design/part-gstelement.txt:
2147 * docs/design/part-gstpipeline.txt:
2148 * docs/design/part-live-source.txt:
2149 * docs/design/part-messages.txt:
2150 * docs/design/part-overview.txt:
2151 * docs/design/part-states.txt:
2154 2005-10-08 Wim Taymans <wim@fluendo.com>
2158 Fix event quark registration.
2159 Add some space between events so we can insert them in the
2162 2005-10-08 Wim Taymans <wim@fluendo.com>
2164 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2165 (gst_base_sink_handle_buffer):
2172 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2173 (gst_queue_set_property), (gst_queue_get_property):
2175 Remove old unused properties.
2177 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2178 * docs/gst/gstreamer-sections.txt:
2181 * gst/gstminiobject.c:
2182 * gst/gstminiobject.h:
2186 lots of new docs and doc fixes
2188 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2190 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2192 * gst/gstregistry.c: (gst_registry_lookup_locked),
2193 (gst_registry_scan_path_level):
2194 * gst/gstregistryxml.c: (load_plugin):
2195 Only ever load one plugin for a given plugin basename.
2196 This ensures correct overriding of GST_PLUGIN_PATH over
2197 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2198 system installed plugins.
2200 2005-10-08 Wim Taymans <wim@fluendo.com>
2202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2203 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2204 Prepare for doing QOS.
2206 2005-10-08 Wim Taymans <wim@fluendo.com>
2208 * check/gst/gstbin.c: (GST_START_TEST):
2209 * check/pipelines/cleanup.c: (GST_START_TEST):
2210 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2211 Allow new clock message too.
2213 2005-10-08 Wim Taymans <wim@fluendo.com>
2215 * gst/gstmessage.c: (gst_message_new_error),
2216 (gst_message_new_warning), (gst_message_new_tag),
2217 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2218 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2219 (gst_message_new_segment_start), (gst_message_new_segment_done),
2220 (gst_message_parse_state_changed),
2221 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2222 (gst_message_parse_new_clock):
2224 Also carry the clock in question.
2226 2005-10-08 Wim Taymans <wim@fluendo.com>
2228 * gst/gstmessage.c: (gst_message_new_custom),
2229 (gst_message_new_eos), (gst_message_new_error),
2230 (gst_message_new_warning), (gst_message_new_tag),
2231 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2232 (gst_message_new_new_clock), (gst_message_new_segment_start),
2233 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2234 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2237 Added clock related messages.
2239 * gst/gstpipeline.c: (gst_pipeline_change_state):
2240 Post message when the clock changed.
2242 * tools/gst-launch.c: (event_loop):
2245 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2247 * tools/gst-inspect.c: (print_element_properties_info):
2248 Can't pass NULL strings to g_print() on windows.
2250 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2253 * docs/gst/Makefile.am:
2254 * docs/gst/gstreamer-docs.sgml:
2255 * docs/gst/running.xml:
2256 * docs/version.entities.in:
2257 add a chapter on running GStreamer.
2258 document GST_DEBUG and GST_PLUGIN* env vars
2260 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2265 remove PLUGINS_BUILDDIR stuff
2266 * gst/gst.c: (init_post):
2267 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2269 remove, it was condescending and not needed
2271 2005-10-08 Wim Taymans <wim@fluendo.com>
2273 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2274 (gst_base_sink_handle_object), (gst_base_sink_event),
2275 (gst_base_sink_wait), (gst_base_sink_handle_event),
2276 (gst_base_sink_change_state):
2277 * gst/base/gstbasesink.h:
2278 Repost EOS message while going to PLAYING if still EOS.
2279 Make sure that when receiving a FLUSH_START we don't attempt
2280 to sync on the clock anymore.
2282 2005-10-08 Wim Taymans <wim@fluendo.com>
2284 * tools/gst-launch.c: (event_loop):
2285 Better message printout.
2287 2005-10-08 Wim Taymans <wim@fluendo.com>
2289 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2290 (gst_bin_child_proxy_get_children_count):
2291 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2292 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2293 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2294 (gst_child_proxy_set_valist):
2295 * gst/parse/grammar.y:
2296 Make ChildProxy threadsafe and fix mem leaks.
2298 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2300 * gst/gst.c: (init_post):
2301 debug the GST_PLUGIN_ env vars
2303 2005-10-08 Wim Taymans <wim@fluendo.com>
2305 * check/gst/gstbin.c: (GST_START_TEST):
2306 * check/gst/gstmessage.c: (GST_START_TEST):
2307 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2308 * gst/gstelement.c: (gst_element_commit_state),
2309 (gst_element_lost_state):
2310 * gst/gstmessage.c: (gst_message_new_state_changed),
2311 (gst_message_parse_state_changed):
2313 * tools/gst-launch.c: (event_loop):
2314 Added extra field to STATE_CHANGE message with the pending
2315 state, which will be different from the new state soon.
2317 2005-10-08 Wim Taymans <wim@fluendo.com>
2319 * gst/gstbus.c: (gst_bus_pop):
2321 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2322 Small cleanups and doc updates.
2324 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2326 * gst/gst.c: (init_pre):
2327 * gst/gstbin.c: (gst_bin_add_func):
2328 log distributing clocks and base time
2329 * gst/gstregistry.c: (gst_registry_add_plugin),
2330 (gst_registry_scan_path_level), (gst_registry_scan_path):
2331 clean up the debugging output a little
2332 * gst/gstutils.c: (gst_element_state_get_name):
2333 warn about a memleak (I've actually seen this be used, though
2334 it was probably a bug)
2336 2005-10-07 Wim Taymans <wim@fluendo.com>
2338 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2339 (gst_base_src_init), (gst_base_src_default_newsegment),
2340 (gst_base_src_newsegment), (gst_base_src_do_seek),
2341 (gst_base_src_loop), (gst_base_src_start):
2342 * gst/base/gstbasesrc.h:
2343 Make the newsegment event customizable by subclasses.
2345 2005-10-07 Wim Taymans <wim@fluendo.com>
2347 * gst/gstevent.c: (gst_event_new_buffersize),
2348 (gst_event_parse_buffersize):
2350 New event for future idea.
2352 2005-10-07 Andy Wingo <wingo@pobox.com>
2354 * gst/gstelement.c (gst_element_post_message): Doc update.
2356 * docs/gst/gstreamer-sections.txt: Update.
2358 * gst/gstmessage.c (gst_message_new_application): Made into a
2359 function like honest API calls.
2360 (gst_message_new_element): New message type.
2362 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2364 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2365 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2368 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2369 NO_PREROLL from gst_element_change_state to fall through.
2371 2005-10-07 Wim Taymans <wim@fluendo.com>
2373 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2374 (gst_ghost_pad_do_activate_push):
2375 Activating a ghostpad with no internal pad in push mode
2378 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2381 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2382 Fixes compilation on Windows.
2384 2005-10-07 Michael Smith <msmith@fluendo.com>
2386 * tools/gst-inspect.c:
2387 Print out feature and plugin count at the end when printing out
2390 2005-10-04 Michael Smith <msmith@fluendo.com>
2392 * gst/gsterror.c: (_gst_stream_errors_init):
2393 Add another error string used in a few existing plugins.
2396 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2397 * tools/gst-inspect.c: (print_element_info):
2398 When a feature disappears from a plugin (and the feature exists in
2399 the cached registry file), things went horribly wrong. This isn't a
2400 complete fix, we should actually be removing the 'missing' features
2401 from the features list when we load the actual plugin. That's not
2404 2005-10-04 Johan Dahlin <johan@gnome.org>
2406 * check/gst/gstiterator.c: (GST_START_TEST):
2407 * gst/gstbin.c: (gst_bin_iterate_elements),
2408 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2409 * gst/gstelement.c: (gst_element_iterate_pads):
2410 * gst/gstformat.c: (gst_format_iterate_definitions):
2411 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2412 (gst_iterator_new_list), (gst_iterator_filter):
2413 * gst/gstiterator.h:
2414 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2415 Add a GType to GstIterator, update callsites and tests.
2417 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2419 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2420 give events a chance to be handled by event probes when the pad
2423 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2425 * gst/gstevent.c: (gst_event_type_get_name),
2426 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2428 add string representations for event types
2430 2005-10-06 Wim Taymans <wim@fluendo.com>
2432 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2433 Don't use NULL pointers.
2435 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2437 * gst/gst_private.h:
2441 * gst/gstpluginfeature.c:
2442 widen the debug category in output to fit the biggest one we have
2443 add a bus category and use it
2444 play with the colors
2445 fix up some categories
2447 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2449 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2450 add push activation of sink ghost pads.
2451 Andye, please verify
2453 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2455 * gst/gstutils.c: (gst_element_link_pads):
2456 fix a bug in the case where neither element has a pad
2457 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2458 add a test for that case
2460 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2462 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2463 emit have-data before checking for peers. This allows
2464 for probe handlers to connect elements. This helps autopluggers.
2465 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2467 add six checks, linked/unlinked with no/true/false probe
2469 2005-10-04 Wim Taymans <wim@fluendo.com>
2471 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2472 (gst_fake_sink_event), (gst_fake_sink_preroll),
2473 (gst_fake_sink_render), (gst_fake_sink_change_state):
2474 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2475 (gst_fake_src_get_property), (gst_fake_src_create),
2476 (gst_fake_src_stop):
2477 * gst/elements/gstidentity.c: (gst_identity_stop):
2478 Protect last_message with lock.
2480 2005-10-04 Edward Hervey <edward@fluendo.com>
2483 Added precision in the comments for GST_FORMAT_DEFAULT
2485 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2487 * tools/gst-launch.c: (main):
2488 Don't try to run erroneous pipelines.
2490 2005-10-04 Julien MOUTTE <julien@moutte.net>
2492 * gst/gstbus.c: We don't need this header.
2494 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2499 === release 0.9.3 ===
2501 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2505 Releasing 0.9.3, "Unregistered"
2507 2005-10-03 Andy Wingo <wingo@pobox.com>
2509 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2510 whereby calling a pad's activatepush() function can start a thread
2511 that starts to push or pull before the pad gets the FLUSHING flag
2512 unset. Hack around it by holding the stream lock until the flag is
2513 set. Need to replace this with a proper solution. Together with
2514 the ghost pad fixes, this fixes mp3 playing/tagreading.
2516 * docs/design/part-gstghostpad.txt: Add a note about activation of
2517 proxy pads outside of ghost pads.
2519 * gst/gstghostpad.c: Implement the ghost pad activation design.
2521 2005-10-02 Andy Wingo <wingo@pobox.com>
2523 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2524 It is volatile, after all.
2526 * docs/design/part-gstghostpad.txt: Flesh out activation with
2529 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2532 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2535 Fix (unused) AM_CONDITIONAL tests.
2537 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2539 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2541 * gst/gstutils.c: (gst_pad_query_convert):
2542 Add assertion that makes sure src_val is >=0, just like
2543 gst_query_new_convert() has. (#315895)
2545 2005-09-30 Edward Hervey <edward@fluendo.com>
2547 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2548 Let's not iterate pads we're not interested in, it avoids getting
2549 sky-high refcounts on sinkpad.
2551 2005-09-30 Wim Taymans <wim@fluendo.com>
2553 * gst/gstelement.c: (gst_element_set_state),
2554 (gst_element_change_state):
2555 Small tweak, element in ASYNC remains ASYNC.
2557 2005-09-30 Wim Taymans <wim@fluendo.com>
2559 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2560 Only error is an error.
2562 * gst/gstbin.c: (gst_bin_change_state):
2565 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2566 Also call pad_block in pad alloc.
2568 * gst/gstutils.c: (gst_flow_get_name):
2571 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2573 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2574 (gst_base_src_get_range):
2575 Fix documentation typos. Add some more debug info.
2577 2005-09-29 David Schleef <ds@schleef.org>
2579 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2580 more end-user friendly.
2581 * tools/gst-inspect.c: (main): Check if command-line argument is
2582 a file and attempt to load that file as a plugin.
2584 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2586 * check/gst/gstbin.c:
2587 * check/states/sinks.c:
2588 fix tests for the new warning
2589 * check/gst/gstpipeline.c:
2590 add a test for pipeline and bus interaction
2592 elements should be NULL if they get disposed; add a warning if not
2594 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2597 for 2.6 refcounting, make debug log more correct by printing
2598 the actual refcounts at the time of swap (Wim)
2600 2005-09-29 Andy Wingo <wingo@pobox.com>
2602 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2603 removes signal watches previously added via
2604 gst_bus_add_signal_watch.
2605 (gst_bus_add_signal_watch): Don't return the source id, just store
2606 it on the bus if there wasn't an id already.
2608 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2609 add_signal_watch and remove_signal_watch.
2611 2005-09-29 Edward Hervey <edward@fluendo.com>
2613 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2614 Better if we actually iterate the list :)
2616 2005-09-29 Wim Taymans <wim@fluendo.com>
2618 * check/gst/gstbin.c: (GST_START_TEST):
2619 Change for new bus API.
2621 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2622 (send_messages), (GST_START_TEST), (gstbus_suite):
2623 Change for new bus signal API.
2625 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2626 (gst_bus_source_prepare), (gst_bus_source_check),
2627 (gst_bus_create_watch), (gst_bus_add_watch_full),
2628 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2629 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2631 Remove support for multiple GSources operating on different
2632 message types as it is too complex and unneeded when using
2634 Added support for receiving signals from the bus.
2636 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2638 * docs/libs/tmpl/gstdataprotocol.sgml:
2639 * docs/manual/advanced-dataaccess.xml:
2640 * gst/elements/gstcapsfilter.c:
2642 rename filter-caps to caps property
2644 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2646 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2647 More robust fraction string parsing.
2649 * docs/pwg/appendix-porting.xml:
2650 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2652 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2654 * gst/gstcaps.c: (gst_caps_do_simplify):
2655 Thou shalt not free a structure and then continue using it
2656 in the next loop iteration.
2658 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2660 Add test case for caps simplification.
2662 2005-09-29 Wim Taymans <wim@fluendo.com>
2664 * check/gst/gstbin.c: (GST_START_TEST):
2667 2005-09-29 Wim Taymans <wim@fluendo.com>
2669 * check/gst/gstbin.c: (GST_START_TEST):
2672 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2673 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2674 (find_element), (gst_bin_sort_iterator_next),
2675 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2676 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2677 (gst_bin_change_state), (gst_bin_dispose):
2678 A bin does not have a bus, it gets the bus from the parent.
2680 * gst/gstelement.c: (gst_element_requires_clock),
2681 (gst_element_provides_clock), (gst_element_is_indexable),
2682 (gst_element_is_locked_state), (gst_element_change_state),
2683 (gst_element_set_bus_func):
2686 * gst/gstpipeline.c: (gst_pipeline_class_init),
2687 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2688 The pipeline provides a bus.
2690 2005-09-28 Johan Dahlin <johan@gnome.org>
2692 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2693 gst_structure_get_enum instead of gst_structure_get_int
2695 * gst/gststructure.c (gst_structure_get_enum): Impl.
2697 * gst/gststructure.h (gst_structure_get_enum): Add
2699 * docs/gst/gstreamer-sections.txt: Ditto
2701 * gst/gstmessage.c (gst_message_new_state_changed): Use
2702 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2703 which does introspection.
2704 Reviewed by Christian Schaller
2706 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2708 * gst/gstinfo.c: (gst_debug_log_default):
2709 don't do dummy g_strdup()s
2710 * libs/gst/controller/gstcontroller.c:
2711 (on_object_controlled_property_changed),
2712 (gst_controlled_property_new), (gst_controller_new_valist),
2713 (gst_controller_new_list),
2714 (gst_controller_remove_properties_valist), (gst_controller_set),
2715 (gst_controller_get), (gst_controller_sync_values),
2716 (gst_controller_get_value_array), (_gst_controller_class_init),
2717 (gst_controller_get_type):
2718 * libs/gst/controller/gstcontroller.h:
2719 * libs/gst/controller/gstinterpolation.c:
2720 (gst_controlled_property_find_timed_value_node):
2721 convert // to /**/ comments
2723 2005-09-28 Wim Taymans <wim@fluendo.com>
2725 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2726 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2727 (gst_bus_sync_signal_handler):
2729 Added async-message and sync-message signals to the bus.
2730 Added helper BusFunc to emit signals for all posted messages.
2732 * gst/gstmessage.c: (gst_message_type_get_name),
2733 (gst_message_type_to_quark), (gst_message_get_type):
2735 Register quarks for message names.
2737 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2739 * docs/libs/gstreamer-libs-sections.txt:
2740 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2741 (gst_controller_new_list):
2742 * libs/gst/controller/gstcontroller.h:
2743 added another constructor for language bindings
2745 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2747 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2751 * gst/gstinfo.c: (_gst_debug_init):
2752 slightly more readable color for refcount debugging
2754 2005-09-28 Wim Taymans <wim@fluendo.com>
2756 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2757 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2758 (find_element), (gst_bin_sort_iterator_next),
2759 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2760 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2761 (gst_bin_change_state), (gst_bin_dispose):
2762 Small doc fixes. get_clock -> provide_clock.
2764 * gst/gstelement.c: (gst_element_class_init),
2765 (gst_element_provides_clock), (gst_element_provide_clock),
2766 (gst_element_get_clock), (gst_element_commit_state),
2767 (gst_element_lost_state):
2769 Make get/set_clock() symetric. Add provide_clock vmethod since
2770 that is actually what this function does.
2772 * gst/gstpipeline.c: (gst_pipeline_class_init),
2773 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2774 (gst_pipeline_get_clock):
2775 get_clock -> provide_clock.
2777 2005-09-28 Andy Wingo <wingo@pobox.com>
2779 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2780 lieu of real docs...
2782 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2784 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2786 * gst/elements/gstcapsfilter.c:
2787 * gst/elements/gstfakesink.c:
2788 * gst/elements/gstfakesrc.c:
2789 * gst/elements/gstfdsink.c:
2790 * gst/elements/gstfdsrc.c:
2791 * gst/elements/gstfilesink.c:
2792 * gst/elements/gstfilesrc.c:
2793 * gst/elements/gstidentity.c:
2794 * gst/elements/gsttee.c:
2795 * gst/elements/gsttypefindelement.c:
2796 Make element details static.
2798 2005-09-28 Wim Taymans <wim@fluendo.com>
2800 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2801 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2802 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2803 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2804 (gst_bin_change_state), (gst_bin_dispose):
2805 Some documentation updates.
2806 Clean up dispose handlers.
2808 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2809 * gst/gstpad.c: (gst_pad_dispose):
2810 Clean up dispose handler.
2812 * gst/gstpipeline.c: (gst_pipeline_change_state):
2813 Removed spurious UNLOCK.
2815 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2817 * docs/gst/gstreamer-sections.txt:
2818 * gst/base/gstbasesrc.h:
2823 * gst/gstpipeline.c:
2824 * gst/gstpipeline.h:
2827 added two new functions to the docs
2828 documents all undocumented GstXXXFlags
2829 completed some incomplete docs
2831 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2833 * gst/gstbin.c: (gst_bin_dispose):
2834 * gst/gstelement.c: (gst_element_dispose):
2835 remove now useless and leaky resurrection code in dispose
2836 * gst/base/gstbasesrc.c: (gst_base_src_init):
2837 * gst/gstelementfactory.c: (gst_element_factory_create):
2838 * gst/gstobject.c: (gst_object_set_parent):
2841 2005-09-27 Wim Taymans <wim@fluendo.com>
2843 * docs/design/part-TODO.txt:
2846 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2847 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2848 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2849 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2850 (gst_bin_change_state):
2852 Remove element variable, we keep element info in the iterator now.
2854 2005-09-27 Andy Wingo <wingo@pobox.com>
2856 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2859 2005-09-27 Wim Taymans <wim@fluendo.com>
2861 * check/gst/gstbin.c: (GST_START_TEST):
2862 Enable check that works now.
2864 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2865 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2866 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2867 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2868 (gst_bin_change_state):
2870 Redid the state change algorithm using a topological sort algo.
2871 Handles all cases correctly.
2872 Exposed iterator for state change order.
2875 Temp storage for state changes. Need to get rid of this soon.
2877 2005-09-27 Wim Taymans <wim@fluendo.com>
2879 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2880 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2881 (link_fold_func), (gst_pad_proxy_setcaps):
2882 Leak fixes, the fold functions need to unref the passed object and
2883 _get_parent_*() returns ref to parent.
2885 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2887 * check/gst/gstbuffer.c: (test_make_writable):
2888 Plug leak in test case and fix 'make check-valgrind'
2890 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2892 * gst/gstbuffer.c: (gst_subbuffer_init):
2893 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2894 works correctly in all circumstances (we could have just copied
2895 the parent buffer's readonly flag, but conceptually it seems
2896 cleaner to mark all subbuffers as read-only). (based on patch
2897 by Alessandro Decina, #314710).
2899 * check/gst/gstbuffer.c: (create_read_only_buffer),
2900 (test_make_writable), (test_subbuffer_make_writable),
2902 Add some tests for gst_buffer_make_writable().
2904 2005-09-27 Wim Taymans <wim@fluendo.com>
2906 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2907 use gst_object_has_ancestor().
2909 * gst/gstobject.c: (gst_object_has_ancestor):
2911 gst_object_has_ancestor() copied from gstbin.c as it is a
2914 * tests/instantiate/create.c: (create_all_elements):
2915 * tests/lat.c: (handoff_src), (handoff_sink):
2916 * tests/sched/runxml.c: (main):
2917 * tests/seeking/seeking1.c: (main):
2918 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2920 Fix compilation of some tests.
2922 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2925 Remove comment. GST_TYPE_G_ERROR is here to stay,
2926 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2929 2005-09-26 Wim Taymans <wim@fluendo.com>
2931 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2932 Added check that shows error in state change order.
2934 2005-09-26 Wim Taymans <wim@fluendo.com>
2936 * gst/gstbin.c: (gst_bin_change_state):
2937 Make state change function use 3 queues again, we were
2938 adding elements in the wrong order.
2940 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2943 * gst/gstpad.c: (gst_pad_dispose):
2944 Added some debug info first.
2946 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2948 * docs/design/draft-push-pull.txt:
2949 * docs/design/part-events.txt:
2950 * docs/design/part-overview.txt:
2951 * docs/design/part-scheduling.txt:
2952 Replace all _pull_region() with _pull_range()
2954 2005-09-26 Andy Wingo <wingo@pobox.com>
2956 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2958 * check/gst-libs/controller.c: Update for controller api change.
2961 * tests/Makefile.am:
2962 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2963 over by GLib bug 118439.
2965 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2966 routines to a function.
2968 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2970 * libs/gst/controller/gsthelper.c:
2971 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2972 (gst_object_sync_values): Renamed from sink_values. Ugh.
2974 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2976 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2977 Renamed from controller_key, as it is exported.
2979 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2981 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2986 * gst/gstpadtemplate.h:
2989 * gst/gstqueryutils.c:
2990 * gst/gstqueryutils.h:
2991 remove queryutils headers after moving the two used functions
2992 to gstquery. also fixes build problem for gstsiddec
2994 2005-09-26 Michael Smith <msmith@fluendo.com>
2996 * tools/gst-launch.1.in:
2997 Correct documentation in manpage of debug syntax
2999 2005-09-26 Wim Taymans <wim@fluendo.com>
3001 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3002 (gst_base_src_is_seekable), (gst_base_src_change_state):
3003 Some more debugging info.
3005 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3007 * docs/gst/gstreamer-sections.txt:
3008 * gst/base/gstbasetransform.h:
3012 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3014 * docs/gst/.cvsignore:
3015 * docs/gst/tmpl/.cvsignore:
3016 * docs/gst/tmpl/gstpipeline.sgml:
3017 * docs/gst/tmpl/gstplugin.sgml:
3018 * gst/gstpipeline.c:
3021 inlined the last two docs files
3022 removed the tmpl directory from cvs (no more conflicts here!)
3024 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3026 * docs/gst/gstreamer-sections.txt:
3027 * docs/gst/tmpl/.cvsignore:
3028 * docs/gst/tmpl/gstpad.sgml:
3029 * docs/gst/tmpl/gstpadtemplate.sgml:
3031 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3032 (gst_pad_finalize), (gst_pad_set_pad_template):
3034 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3035 (gst_pad_template_class_init), (gst_pad_template_init),
3036 (gst_pad_template_dispose), (name_is_valid),
3037 (gst_static_pad_template_get), (gst_pad_template_new),
3038 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3039 (gst_pad_template_pad_created):
3040 * gst/gstpadtemplate.h:
3041 inlined two more docs
3042 factored gstpadtemplate out of gstpad
3044 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3046 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3047 (test_children_state_change_order_semi_sink):
3048 Fix test case: we can't rely on a fixed state change order when
3049 going from READY => PAUSED because the sink might commit its
3050 new state first when the first buffer created by the source
3051 reaches the sink before the source has finished its change state.
3052 (Test case still fails at times, see #316856, comment 5 onwards)
3054 2005-09-24 Wim Taymans <wim@fluendo.com>
3056 * docs/design/part-events.txt:
3057 * docs/design/part-gstbus.txt:
3058 * docs/design/part-gstpipeline.txt:
3059 * docs/design/part-messages.txt:
3060 * docs/design/part-overview.txt:
3061 * docs/design/part-segments.txt:
3068 * gst/gstiterator.c:
3069 Various documentation updates.
3071 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3074 Well, that's embarassing. Luckily we weren't using
3075 GST_CLOCK_DIFF anywhere.
3077 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3079 * common/gtk-doc.mak:
3080 don't fail on building XML, FC4 slave shows a bunch of doc
3081 missing bits that I don't get
3083 * gst/gstpipeline.c:
3084 * gst/gststructure.c:
3087 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3089 * docs/design/part-gstbin.txt:
3090 * docs/design/part-gstbus.txt:
3092 Add blurb about how the bus goes into flushing mode and
3093 drops all messages when its bin goes from READY into NULL
3096 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3098 * docs/gst/gstreamer-sections.txt:
3099 * gst/gststructure.c: (gst_structure_get_clock_time):
3100 * gst/gststructure.h:
3101 add a method to get a GstClockTime out of a structure
3103 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3105 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3106 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3107 Added test to check state change order in bins (can still be made
3108 to fail here under heavy disk load; bails out with 'Push on pad
3109 fakesink:sink0, but it was not activated in push mode').
3111 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3112 Fix state change order when there is only a semi sink (#316856)
3114 * gst/gstbus.c: (gst_bus_class_init):
3115 Use _class_peek_parent(), not _class_ref(); fix docs to say
3116 'default main context' instead of 'mainloop' where that is
3119 * gst/gstelement.c: (gst_element_commit_state),
3120 (gst_element_set_state):
3121 Fix typos in debug messages
3123 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3126 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3127 * gst/gstpluginfeature.c:
3130 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3131 change an assert into an error until it gets fixed properly
3133 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3135 * docs/gst/gstreamer-sections.txt:
3136 * docs/gst/tmpl/.cvsignore:
3137 * docs/gst/tmpl/gstelement.sgml:
3138 * docs/gst/tmpl/gstinfo.sgml:
3139 * docs/gst/tmpl/gstobject.sgml:
3144 * gst/gstobject.c: (gst_object_class_init):
3146 inlined 3 more biiiig doc files and added some missing docs on the fly
3148 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3150 * check/gst/.cvsignore:
3151 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3152 * gst/gstregistryxml.c: (load_plugin),
3153 (gst_registry_xml_save_plugin):
3154 put back source in registry. add checks for find_plugin.
3155 * testsuite/states/bin.c: (assert_state), (empty_bin),
3156 (test_adding_one_element), (main):
3157 * testsuite/states/locked.c: (main):
3158 some compile/run fixes
3160 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3162 * check/gst/gstvalue.c: (GST_START_TEST):
3163 fix leaks in the test itself
3165 2005-09-22 Wim Taymans <wim@fluendo.com>
3167 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3168 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3169 (gst_base_sink_query):
3170 Prepare for more accurate position reporting and query
3173 * gst/gstelement.c: (gst_element_send_event),
3174 (gst_element_set_state):
3177 2005-09-22 Wim Taymans <wim@fluendo.com>
3179 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3180 (gst_query_parse_segment):
3183 Add segment query for future use.
3185 2005-09-22 Wim Taymans <wim@fluendo.com>
3187 * gst/gstbin.c: (gst_bin_add_func):
3188 Some more debug info.
3190 * gst/gstelement.c: (gst_element_send_event):
3194 Don't know how flags got broken.
3199 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3201 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3202 Add simplistic test suite for GST_TYPE_DATE serialisation and
3205 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3207 * docs/gst/gstreamer-sections.txt:
3208 * gst/gststructure.c: (gst_structure_set_valist),
3209 (gst_structure_get_date):
3210 * gst/gststructure.h:
3211 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3212 (gst_date_copy), (gst_value_compare_date),
3213 (gst_value_serialize_date), (gst_value_deserialize_date),
3214 (gst_value_transform_date_string),
3215 (gst_value_transform_string_date), (_gst_value_initialize):
3217 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3218 bunch of utility functions along with a hack that checks that
3219 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3220 is required. Part of the grand scheme in #170777.
3222 2005-09-22 Andy Wingo <wingo@pobox.com>
3224 * gst/gstconfig.h.in: Psych out gtk-doc.
3226 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3228 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3230 * tools/gst-inspect.c (print_element_list): Plug some
3231 inconsequential leaks.
3233 * gst/gstregistry.c (gst_registry_get_default): Doc.
3235 * check/gst/gstplugin.c:
3236 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3237 * gst/gstelementfactory.c (gst_element_factory_create):
3238 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3241 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3242 (gst_plugin_feature_load): Doc, don't eat refs.
3244 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3245 (gst_plugin_list_free): Doc.
3246 (gst_plugin_load_file): Doc updates.
3248 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3249 accessors returning refcounted objects, return a ref.
3251 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3252 accessor for caps. IDEMPOTENCE. Oh yes.
3254 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3256 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3258 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3259 (_gst_debug_register_funcptr):
3260 Add mutex to serialise access to the hash table with
3261 the function pointer => function name string mapping;
3262 make that hash table static scope (#316809).
3264 * gst/registries/.cvsignore:
3265 Remove left-over file.
3267 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3269 * docs/pwg/appendix-porting.xml:
3270 And something about newsegment events and caps-on-buffers to
3271 the porting guide (feel free to improve).
3273 2005-09-21 Andy Wingo <wingo@pobox.com>
3275 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3276 data and event probes on the same pad.
3277 (test_buffer_probe_once): Test that removing probes from within
3278 the probe functions works.
3280 2005-09-21 Andy Wingo <wingo@pobox.com>
3282 * check/gst/gstutils.c: New file.
3283 (test_buffer_probe_n_times): A simple buffer probe test. More to
3286 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3287 have-data::buffer, not have-data.
3288 (gst_pad_add_event_probe): Likewise for have-data::event.
3289 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3290 peer' isn't quite right yet though.
3291 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3292 (gst_pad_remove_data_probe): Change to take the guint handler_id
3293 as their arg, not the function+data, which is more glib-like.
3295 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3296 the signal emission to indicate if the data is a buffer or an
3298 (gst_pad_get_type): Initialize buffer and event quarks.
3299 (gst_pad_class_init): have-data is now a detailed signal, yes it
3302 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3304 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3305 * gst/gstutils.c: (gst_util_set_value_from_string),
3306 (gst_util_set_object_arg):
3307 Don't put functional code in g_return_if_fail() or
3308 g_return_val_if_fail() statements, otherwise things will
3309 break when G_DISABLE_CHECKS is defined during compilation.
3311 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3313 * docs/gst/tmpl/.cvsignore:
3314 * docs/gst/tmpl/gstvalue.sgml:
3317 inlied another one and added some obvious docs
3319 2005-09-21 Wim Taymans <wim@fluendo.com>
3321 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3322 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3323 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3324 (gst_fdsrc_get_property), (gst_fdsrc_create):
3325 * gst/elements/gstfdsrc.h:
3326 Properly implement fdsrc. Removed signal and timeout,
3327 better implemented somewhere else.
3329 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3331 * docs/gst/tmpl/.cvsignore:
3332 * docs/gst/tmpl/gstimplementsinterface.sgml:
3333 * gst/gstinterface.c:
3336 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3338 * docs/gst/gstreamer-sections.txt:
3339 * docs/gst/tmpl/.cvsignore:
3340 * docs/gst/tmpl/gstenumtypes.sgml:
3341 remove obsolete doc file
3343 2005-09-21 David Schleef <ds@schleef.org>
3345 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3346 little beer, fix a little leak.
3348 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3350 * docs/gst/gstreamer-docs.sgml:
3351 * docs/gst/gstreamer-sections.txt:
3352 * docs/gst/tmpl/.cvsignore:
3357 * gst/gstindex.c: (gst_index_class_init):
3359 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3360 (gst_index_factory_class_init), (gst_index_factory_init),
3361 (gst_index_factory_finalize), (gst_index_factory_new),
3362 (gst_index_factory_destroy), (gst_index_factory_find),
3363 (gst_index_factory_create), (gst_index_factory_make):
3364 * gst/gstindexfactory.h:
3365 * gst/gstpluginfeature.c:
3366 * gst/gstpluginfeature.h:
3367 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3368 more docs inlined, splitted gstindex.{c,h}
3370 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3372 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3375 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3377 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3378 Set sync to FALSE by default.
3380 2005-09-20 Wim Taymans <wim@fluendo.com>
3382 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3383 (gst_base_sink_init):
3384 Make sync property settable from subclass.
3386 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3387 (gst_fake_sink_change_state):
3388 Set sync to FALSE by default.
3390 2005-09-20 Wim Taymans <wim@fluendo.com>
3392 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3393 * tools/gst-launch.c: (main):
3394 The timeout handler should have lower priority than the source
3395 so we don't timeout before popping a message with 0 timeout.
3396 Dump error messages after failed state change.
3398 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3400 * tools/gst-inspect.c: (print_element_properties_info):
3403 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3405 * check/gst/gstevent.c:
3406 * gst/elements/gstfakesink.c:
3407 * gst/elements/gstfakesink.h:
3408 remove the sync property from fakesink.
3409 has the side effect of setting sync TRUE
3410 for fakesink, which is a change. Anyone who knows how
3411 to fix this nicely in a GObject-y way, feel free.
3413 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3415 * docs/gst/gstreamer-docs.sgml:
3416 remove probe refsection
3418 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3420 * check/Makefile.am:
3421 disable valgrinding the controller test again
3422 * docs/gst/gstreamer-sections.txt:
3423 update for api-changes
3425 2005-09-20 Wim Taymans <wim@fluendo.com>
3427 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3428 (gst_base_sink_set_property), (gst_base_sink_get_property),
3429 (gst_base_sink_do_sync):
3430 * gst/base/gstbasesink.h:
3431 Added sync property to basesink to disable clock sync.
3433 2005-09-20 Andy Wingo <wingo@pobox.com>
3435 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3436 eating the caller's refcount.
3438 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3439 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3442 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3443 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3444 of GLib 2.8 public, so we can know which refcount to check in
3447 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3448 (gst_object_init): Only set the gst refcount if we're going ahead
3449 with the refcount hack.
3451 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3453 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3454 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3455 more leaks plumbed, added more debug-logging
3459 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3462 remove include of gstmemchunk.h
3464 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3466 * gst/gstclock.c: (_gst_clock_id_free):
3467 Commit from the Political Party For More Atomic CVS Commits,
3468 so that people don't waste too much of their day fishing
3469 out obvious leaks out of massive commits.
3470 Oh, and fix a pretty damn obvious leak in the memchunk
3473 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3475 * check/Makefile.am:
3476 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3477 plug mem-leak, re-add to valgrindable tests
3479 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3482 unbreak the build for those who have chronic arthritis
3483 and typing "make check" is just too taxing on the hands
3485 2005-09-20 Andy Wingo <wingo@pobox.com>
3487 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3488 really want it out, you should fix plugins at the same time.
3490 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3493 * docs/gst/gstreamer-sections.txt:
3495 added missing symbols to api docs
3496 disable ref-count hack if we have glib >= 2.8
3498 2005-09-19 David Schleef <ds@schleef.org>
3500 * docs/gst/Makefile.am: Ignore a few more internal headers
3501 * docs/gst/gstreamer-docs.sgml: Remove old sections
3502 * docs/gst/gstreamer-sections.txt: Remove old sections
3503 * docs/gst/tmpl/gstobject.sgml: update
3504 * docs/gst/tmpl/gstplugin.sgml: update
3505 * docs/gst/tmpl/gstpluginfeature.sgml: update
3506 * docs/random/ds/0.9-suggested-changes: update.
3507 * gst/Makefile.am: remove memchunk and trashstack, since they're
3509 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3510 * gst/gst.h: don't include some headers
3511 * gst/gstchildproxy.c: add gstmarshal.h
3512 * gst/gstclock.c: Don't use memchunks
3513 * gst/gstminiobject.c: Add some docs
3514 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3515 * gst/gstobject.h: same
3516 * gst/gstplugin.c: include gstmacros.h
3517 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3518 * gst/gstquery.c: don't use memchunks
3519 * gst/gstregistry.c: rename gst_registry_deinit()
3520 * gst/gstregistry.h: same
3522 2005-09-19 David Schleef <ds@schleef.org>
3524 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3525 * docs/libs/gstreamer-libs-sections.txt:
3526 * docs/libs/tmpl/gstgetbits.sgml:
3527 * docs/libs/tmpl/gstputbits.sgml:
3529 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3531 * win32/gstenumtypes.c:
3532 * win32/gstenumtypes.h:
3535 2005-09-19 Wim Taymans <wim@fluendo.com>
3537 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3538 Automatically PAUSE and RESUME a pipeline when a flushing seek
3541 2005-09-19 Andy Wingo <wingo@pobox.com>
3543 * gst/gstregistry.h: Spacing fixen.
3545 2005-09-19 Wim Taymans <wim@fluendo.com>
3547 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3548 Handle state change failure more correctly.
3550 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3552 * check/Makefile.am:
3553 * check/pipelines/cleanup.c: (run_pipeline):
3554 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3556 enable cleanup again after fixing the leak
3558 some more info on docs
3560 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3562 * check/Makefile.am:
3563 re-enable tests now that leaks are plugged
3565 * check/gst/gstbin.c:
3566 * check/gst/gstpipeline.c:
3567 add some more tests while fixing leaks
3569 make sure binaries are uptodate when valgrinding/gdbing
3571 * gst/gstelementfactory.c:
3572 remove a ref too many, and add a FIXME for when we get
3573 round to disposing of classes
3575 fix the refcounting when loading a plugin from a file and
3576 the code pretends that the pointer is the same even though
3577 of course it can change
3578 * gst/gstpluginfeature.c:
3579 unref plugins marked cached (a bit confusing as a name)
3580 as the docs state should be done
3581 various doc additions to explain refcounting
3582 * gst/gstregistry.c:
3583 * gst/gstregistryxml.c:
3586 2005-09-19 Wim Taymans <wim@fluendo.com>
3588 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3589 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3590 (send_messages), (GST_START_TEST), (gstbus_suite):
3591 * check/gst/gstpipeline.c: (GST_START_TEST):
3592 * check/pipelines/cleanup.c: (run_pipeline):
3593 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3595 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3596 (gst_bus_source_check), (gst_bus_source_dispatch),
3597 (gst_bus_create_watch), (gst_bus_add_watch_full),
3598 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3600 * tools/gst-launch.c: (event_loop):
3601 * tools/gst-md5sum.c: (event_loop):
3602 GstBusHandler -> GstBusFunc, return value has the same meaning as
3603 any other GSource (FALSE == remove source).
3604 _add_watch() and _add_watch_full() now take a MessageType mask to
3605 only handle specific types of messages.
3606 _poll() returns the GstMessage instead of the message type to avoid
3608 _have_pending() takes a MessageType mask now too.
3609 Added testsuite for multiple bus watches.
3610 Fix testsuites and applications for new bus API.
3612 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3614 * check/Makefile.am:
3615 mark a bunch of the tests as to fix until we fix them
3617 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3620 use GST_PLUGIN settings for valgrind tests as well, so we're
3621 valgrinding the correct thing
3622 * gst/gst.c: (init_post):
3625 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3627 * gst/gst.c: (init_post), (gst_deinit):
3628 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3629 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3630 * gst/gstindex.c: (gst_index_factory_class_init),
3631 (gst_index_factory_finalize):
3632 * gst/gstobject.c: (gst_object_dispose):
3633 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3634 (gst_plugin_load_file), (gst_plugin_desc_free):
3635 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3636 (gst_plugin_feature_finalize):
3637 * gst/gstregistry.c: (gst_registry_class_init),
3638 (gst_registry_init), (gst_registry_finalize),
3639 (gst_registry_get_default), (gst_registry_deinit):
3640 * gst/gstregistry.h:
3641 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3642 various cleanups and memleak plugging. make valgrind is happy now.
3644 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3647 add a check-valgrind target
3649 2005-09-18 David Schleef <ds@schleef.org>
3651 * tools/gst-inspect.c: Revert the GOption code.
3653 2005-09-17 David Schleef <ds@schleef.org>
3655 * check/Makefile.am: Fix environment variables.
3656 * check/gst/gstplugin.c: Fix for API changes.
3657 * tools/gst-inspect.c: Fix for API changes.
3658 * tools/gst-xmlinspect.c: Fix for API changes.
3659 * gst/gstelementfactory.c:
3662 * gst/gstpluginfeature.c:
3663 * gst/gstpluginfeature.h:
3664 * gst/gstregistry.c:
3665 * gst/gstregistry.h:
3666 * gst/gstregistryxml.c:
3667 * gst/gsttypefind.c:
3668 * gst/gsttypefindfactory.c:
3669 * gst/indexers/gstfileindex.c:
3670 * gst/indexers/gstmemindex.c:
3671 * gst/schedulers/Makefile.am:
3672 Change registry to keep track of both plugins and features,
3673 removing the feature tracking from plugins themselves.
3675 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3677 * check/Makefile.am:
3678 * tools/gst-register.1.in:
3681 2005-09-15 David Schleef <ds@schleef.org>
3683 * check/gst/gstplugin.c:
3684 * gst/gstelementfactory.c:
3686 * gst/gstpluginfeature.c:
3687 * gst/gstregistry.c:
3688 Getting tired of debugging. Disabled all the unreffing of
3689 plugins and features, which fixes the segfaults, but of
3690 course leaks like crazy. At least playbin works.
3692 2005-09-15 David Schleef <ds@schleef.org>
3694 * check/gst/gstplugin.c: (register_check_elements),
3695 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3697 * gst/elements/gsttypefindelement.c: Fix refcounting.
3698 * gst/gsttypefind.c:
3699 * gst/gsttypefindfactory.c:
3700 * gst/gsttypefindfactory.h:
3702 2005-09-15 David Schleef <ds@schleef.org>
3704 * gst/gstindex.c: get refcounting correct.
3705 * gst/gstregistry.c: Handle the case where a feature/plugin is
3708 2005-09-15 David Schleef <ds@schleef.org>
3710 * check/Makefile.am:
3711 * check/gst/gstplugin.c: Add test
3712 * gst/gstplugin.c: Fix problems noticed by testsuite
3714 * gst/gstregistry.c:
3715 * gst/gstregistry.h:
3717 2005-09-15 David Schleef <ds@schleef.org>
3719 * gst/gstplugin.c: Implement semi-decent recounting and locking
3720 in plugins and plugin features.
3722 * gst/gstpluginfeature.c:
3723 * gst/gstpluginfeature.h:
3724 * gst/gstregistry.c:
3726 2005-09-15 Michael Smith <msmith@fluendo.com>
3728 * gst/gstregistry.c: (gst_registry_get_feature_list):
3729 Implement this. Makes oggdemux work; decodebin still broken.
3731 2005-09-14 David Schleef <ds@schleef.org>
3733 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3735 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3736 * gst/check/Makefile.am:
3737 * libs/gst/controller/Makefile.am:
3738 * libs/gst/dataprotocol/Makefile.am:
3740 2005-09-14 David Schleef <ds@schleef.org>
3742 * configure.ac: Remove getbits library. Nothing uses it, and
3743 it should be in something like liboil if someone did want
3745 * libs/gst/Makefile.am:
3746 * libs/gst/getbits/Makefile.am:
3747 * libs/gst/getbits/gbtest.c:
3748 * libs/gst/getbits/getbits.c:
3749 * libs/gst/getbits/getbits.h:
3750 * libs/gst/getbits/gstgetbits_generic.c:
3751 * libs/gst/getbits/gstgetbits_i386.s:
3752 * libs/gst/getbits/gstgetbits_inl.h:
3754 2005-09-14 David Schleef <ds@schleef.org>
3756 * gst/Makefile.am: Dist glib-compat.h
3758 2005-09-14 David Schleef <ds@schleef.org>
3760 * configure.ac: Remove gst/registries, since it's no longer used.
3761 * gst/registries/Makefile.am:
3762 * gst/registries/gstlibxmlregistry.c:
3763 * gst/registries/gstlibxmlregistry.h:
3764 * gst/registries/gstxmlregistry.c:
3765 * gst/registries/gstxmlregistry.h:
3766 * gst/registries/registrytest.c:
3768 2005-09-14 David Schleef <ds@schleef.org>
3770 * gst/glib-compat.h:
3771 * gst/gstregistryxml.c:
3772 Convergence is near. Seriously.
3774 2005-09-14 David Schleef <ds@schleef.org>
3776 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3777 * gst/glib-compat.h:
3778 Attempt #4 to appease the buildbots.
3780 2005-09-14 David Schleef <ds@schleef.org>
3782 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3785 2005-09-14 David Schleef <ds@schleef.org>
3787 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3790 2005-09-14 David Schleef <ds@schleef.org>
3792 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3795 2005-09-14 David Schleef <ds@schleef.org>
3797 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3798 * gst/glib-compat.h: Add some functions that are in newer versions
3799 of glib than we care to require.
3800 * gst/gstregistryxml.c: Use them.
3802 2005-09-14 David Schleef <ds@schleef.org>
3804 * po/POTFILES.in: remove gst-register.c
3806 2005-09-14 David Schleef <ds@schleef.org>
3808 * docs/gst/gstreamer-docs.sgml:
3809 * docs/gst/gstreamer-sections.txt:
3810 * docs/gst/gstreamer.types:
3811 * docs/gst/tmpl/gstelement.sgml:
3812 * docs/gst/tmpl/gstplugin.sgml:
3813 * docs/gst/tmpl/gstpluginfeature.sgml:
3814 Documentation updates for registry changes.
3816 2005-09-14 David Schleef <ds@schleef.org>
3818 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3819 because we don't require glib-2.8.
3821 2005-09-14 David Schleef <ds@schleef.org>
3823 * gst/gstregistryxml.c: Added. Essentially moved out of the
3824 registries directory.
3826 2005-09-14 David Schleef <ds@schleef.org>
3828 * check/Makefile.am:
3829 * check/generic/states.c:
3833 * gst/gst_private.h:
3834 * gst/gstelementfactory.c:
3839 * gst/gstpluginfeature.c:
3840 * gst/gstpluginfeature.h:
3841 * gst/gstregistry.c:
3842 * gst/gstregistry.h:
3843 * gst/gstregistrypool.c: remove
3844 * gst/gstregistrypool.h: remove
3845 * gst/gsttypefind.c:
3846 * gst/gsttypefindfactory.c:
3848 * tools/Makefile.am:
3849 * tools/gst-compprep.c:
3850 * tools/gst-inspect.c:
3851 * tools/gst-register.c: remove
3852 * tools/gst-xmlinspect.c:
3853 Registry rewrite. Changes registry from being a file created
3854 by a tool into a simple cache file created automatically by
3855 libgstreamer. Removed gst-register (because it's no longer
3856 needed). Remove registry pools, because we only have one
3857 registry implementation (XML). Fix up other subsystems as
3860 2005-09-13 Michael Smith <msmith@fluendo.com>
3862 * gst/gstconfig.h.in:
3863 Don't Use windows linking attributes for MinGW. Fixes #316157
3865 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3867 * gst/gstutils.c: (set_state_async_thread_func),
3868 (gst_element_set_state_async):
3869 Apparently people think it's better if this function doesn't
3870 try to set the state to whatever state was asked for on the first
3871 call to this function for any object. Seriously.
3873 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3875 * check/gst/gstpipeline.c: (GST_START_TEST):
3876 * docs/gst/gstreamer-sections.txt:
3877 * gst/gstutils.c: (set_state_async_thread_func),
3878 (gst_element_set_state_async):
3880 add a "gst_element_set_state_async" method that
3881 sets the state and starts a thread to make sure the state
3882 change completes as best as it can
3884 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3886 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3887 codify design+behaviour in testsuite after discussion
3889 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3891 * docs/gst/tmpl/gstelement.sgml:
3892 * docs/manual/appendix-quotes.xml:
3894 * gst/gstelement.c: (gst_element_set_state):
3897 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3899 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3900 (gst_base_transform_prepare_output_buf),
3901 (gst_base_transform_handle_buffer):
3902 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3903 (gst_capsfilter_prepare_buf):
3904 Remove the requirement for sub-classes to call the parent
3905 implementation of prepare_output_buffer with a wrapper function.
3908 * gst/gsttagsetter.h:
3911 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3913 * docs/gst/gstreamer-sections.txt:
3916 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3918 * docs/gst/gstreamer-sections.txt:
3919 * docs/gst/tmpl/gstelement.sgml:
3920 * docs/gst/tmpl/gstplugin.sgml:
3921 * gst/gstminiobject.c:
3923 docs now stop throwing warnings
3925 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3927 * docs/gst/gstreamer-sections.txt:
3928 * docs/gst/gstreamer.types:
3929 * docs/gst/tmpl/gstpad.sgml:
3930 * docs/gst/tmpl/gsttypes.sgml:
3931 * gst/base/gstadapter.h:
3932 * gst/base/gstbasesink.h:
3933 * gst/base/gstbasesrc.h:
3943 * gst/gststructure.c:
3944 * gst/registries/gstlibxmlregistry.h:
3945 various documentation fixes
3947 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3949 * docs/gst/gstreamer-sections.txt:
3950 * docs/gst/tmpl/gstvalue.sgml:
3951 rearrange gstvalue section
3952 * gst/gstutils.c: (gst_element_state_get_name):
3954 * gst/gstvalue.c: (_gst_value_initialize):
3958 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3960 * check/gst-libs/controller.c:
3962 * gst/base/gstbasetransform.c:
3963 (gst_base_transform_default_prepare_buf),
3964 (gst_base_transform_handle_buffer):
3965 * gst/base/gstbasetransform.h:
3966 Some more basetransform changes and fixes to enable sub-classes
3967 that modify buffer metadata only.
3968 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3969 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3970 (gst_capsfilter_prepare_buf):
3971 If the output pad has fixed allowed caps and input buffers
3972 don't have any, set the fixed caps on outgoing buffers.
3974 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3975 * check/elements/identity.c: (GST_START_TEST):
3976 Make the error a little clearer when the test fails because
3977 identity made a copy of the buffer.
3978 * docs/gst/gstreamer-sections.txt:
3979 New symbols in gstbasetransform.h
3980 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3981 (gst_base_transform_init), (gst_base_transform_transform_size),
3982 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3983 (gst_base_transform_default_prepare_buf),
3984 (gst_base_transform_get_unit_size),
3985 (gst_base_transform_buffer_alloc),
3986 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3987 (gst_base_transform_change_state),
3988 (gst_base_transform_set_passthrough),
3989 (gst_base_transform_set_in_place),
3990 (gst_base_transform_is_in_place):
3991 * gst/base/gstbasetransform.h:
3992 Change BaseTransform to separate in_place operate from same_caps
3993 output. in_place implies that the element can perform the transform
3994 on incoming buffers in-place, even if the caps on the output are
3996 Sub-class elements can now implement special buffer allocation
3997 methods for outgoing buffers if they wish to.
3998 Big documentation addition.
3999 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4000 * gst/elements/gstelements.c:
4001 Changes for basetransform modifications.
4002 * gst/elements/Makefile.am:
4003 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4004 Compile fix. Extra debug output.
4006 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4008 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4010 add tests for valid pad naming
4011 * gst/check/gstcheck.c: (gst_check_log_message_func),
4012 (gst_check_log_critical_func):
4014 remove printing of code, it is fragile when the code contains
4015 % and the line number is enough info
4016 * gst/check/gstcheck.h:
4017 * gst/gstpad.c: (gst_pad_template_new):
4020 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4023 say what CHECK flags we use
4024 * docs/libs/gstreamer-libs.types:
4025 * libs/gst/controller/Makefile.am:
4026 * libs/gst/controller/gst-controller.c:
4027 * libs/gst/controller/gst-controller.h:
4028 * libs/gst/controller/gst-helper.c:
4029 * libs/gst/controller/gst-interpolation.c:
4030 * libs/gst/controller/gstcontroller.c:
4031 * libs/gst/controller/gsthelper.c:
4032 * libs/gst/controller/gstinterpolation.c:
4033 * tools/gst-inspect.c: (print_plugin_info):
4034 we don't use dashes in header names
4036 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4038 * check/Makefile.am:
4039 * check/gst/.cvsignore:
4040 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4041 (gst_pipeline_suite), (main):
4042 adding a test for pipelines and state changes
4043 * gst/gstutils.c: (get_state_func):
4045 * gstreamer.spec.in:
4048 2005-09-08 Michael Smith <msmith@fluendo.com>
4050 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4051 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4052 (gst_file_src_is_seekable), (gst_file_src_get_size),
4053 (gst_file_src_start):
4054 * gst/elements/gstfilesrc.h:
4055 Various fixes for unseekable, unmmapable, and non-normal files, so
4056 that fallback to read() rather than mmap() works.
4057 * gst/gstevent.c: (gst_event_new_newsegment):
4058 Allow newsegment events with segment_start == segment_end, as will
4059 correctly happen if you use filesrc on a zero-size file, for
4062 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4064 * gst/gstplugin.c: (gst_plugin_load_file):
4065 Call g_module_close when we don't load the module
4067 * gst/registries/gstlibxmlregistry.c:
4068 (gst_xml_registry_get_property):
4069 Port leak fix from 0.8
4071 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4073 * docs/gst/gstreamer-docs.sgml:
4074 * docs/gst/tmpl/.cvsignore:
4075 * docs/gst/tmpl/gsttrace.sgml:
4076 * docs/gst/tmpl/gsttrashstack.sgml:
4085 * gst/gsttaginterface.c:
4086 * gst/gsttaginterface.h:
4089 * gst/gsttagsetter.c:
4090 * gst/gsttagsetter.h:
4093 * gst/gsttrashstack.c:
4094 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4095 inlined docs for gsttrace, gsttrashstack
4097 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4100 * gst/elements/gstbufferstore.h:
4101 * gst/elements/gsttypefindelement.c:
4102 * gst/elements/gsttypefindelement.h:
4104 * gst/gsttypefind.c:
4105 * gst/gsttypefind.h:
4106 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4107 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4108 (gst_type_find_factory_dispose),
4109 (gst_type_find_factory_unload_thyself),
4110 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4111 (gst_type_find_factory_get_caps),
4112 (gst_type_find_factory_get_extensions),
4113 (gst_type_find_factory_call_function):
4114 * gst/gsttypefindfactory.h:
4115 * gst/registries/gstlibxmlregistry.c:
4116 * gst/registries/gstxmlregistry.c:
4117 splitted gsttypefind into gsttypefind, gsttypefindfactory
4119 2005-09-07 Andy Wingo <wingo@pobox.com>
4121 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4122 condition whereby the pad's task function is entered before the
4123 pad_mode variable was set.
4125 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4127 * gst/gstpad.c: (gst_pad_alloc_buffer):
4128 Catch misbehaving pad_alloc functions that don't
4129 set up caps and do it for them.
4131 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4133 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4135 * docs/gst/tmpl/.cvsignore:
4136 * docs/gst/tmpl/gstmemchunk.sgml:
4137 * docs/gst/tmpl/gstparse.sgml:
4138 * docs/gst/tmpl/gsttaglist.sgml:
4139 * docs/gst/tmpl/gsttagsetter.sgml:
4140 * docs/gst/tmpl/gsttypefind.sgml:
4141 * docs/gst/tmpl/gsttypefindfactory.sgml:
4142 * gst/gstmemchunk.c:
4145 * gst/gsttaginterface.c:
4146 * gst/gsttypefind.c:
4147 * gst/gsttypefind.h:
4150 === release 0.9.2 ===
4152 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4157 releasing 0.9.2, "South"
4159 2005-09-05 Andy Wingo <wingo@pobox.com>
4161 * gst/registries/gstxmlregistry.h:
4162 * gst/registries/gstxmlregistry.c: Um... resurrect...
4164 * gst/registries/gstxmlregistry.h:
4165 * gst/registries/gstxmlregistry.c: and update to newer API.
4166 Incidentally they should be a bit faster now that they don't have
4169 2005-09-05 Andy Wingo <wingo@pobox.com>
4171 * gst/registries/gstxmlregistry.h:
4172 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4173 replaced by the libxml registry a while back
4175 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4177 * docs/gst/tmpl/gstplugin.sgml:
4178 * gst/elements/gstelements.c:
4180 * gst/gstplugin.c: (gst_plugin_register_func),
4181 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4182 (gst_plugin_get_source):
4184 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4185 (gst_xml_registry_save_plugin):
4186 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4187 (gst_xml_registry_save_plugin):
4188 * tools/gst-inspect.c: (print_plugin_info):
4189 add a "source" plugin description field, to represent the source
4190 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4191 will set it to PACKAGE, which is automake's idea of the name of
4194 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4200 * docs/faq/Makefile.am:
4201 * docs/gst/tmpl/gstelement.sgml:
4202 * docs/gst/tmpl/gsttypes.sgml:
4203 * docs/htmlinstall.mak:
4204 * docs/manual/Makefile.am:
4205 * docs/pwg/Makefile.am:
4206 reorganize doc build a little
4207 split out docbook and gtk-doc stuff
4208 have two separate --enable's and enable them through autogen
4209 but disable by default in configure (to be similar to other
4211 * gstreamer.spec.in:
4212 clean up docs install
4232 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4234 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4237 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4238 (gst_fake_sink_change_state):
4239 Make state change function thread-safe.
4241 * gst/gstpad.c: (gst_pad_alloc_buffer):
4242 Set offset on generic buffer allocated by fallback.
4244 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4246 * docs/gst/gstreamer-sections.txt:
4247 * docs/gst/tmpl/gstelement.sgml:
4249 * libs/gst/controller/gst-controller.c:
4250 (gst_controlled_property_set_interpolation_mode),
4251 (gst_controlled_property_new),
4252 (gst_controller_find_controlled_property):
4253 run the wingo-magic script against the docs
4255 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4257 * docs/gst/gstreamer-docs.sgml:
4258 * docs/gst/gstreamer-sections.txt:
4259 * docs/gst/tmpl/.cvsignore:
4260 * docs/gst/tmpl/gstelementdetails.sgml:
4261 * docs/gst/tmpl/gstelementfactory.sgml:
4264 * gst/gstelementfactory.c:
4265 * gst/gstelementfactory.h:
4266 merged elementdetails docs into elementfactory docs
4269 2005-09-02 Andy Wingo <wingo@pobox.com>
4271 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4272 consider this enum an enum and not a flags.
4274 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4276 * docs/gst/gstreamer-docs.sgml:
4277 * docs/gst/tmpl/.cvsignore:
4278 * docs/gst/tmpl/gstghostpad.sgml:
4279 * docs/gst/tmpl/gstiterator.sgml:
4280 * docs/gst/tmpl/gstmacros.sgml:
4281 * docs/gst/tmpl/gstrealpad.sgml:
4282 * docs/gst/tmpl/gstregistry.sgml:
4283 * docs/gst/tmpl/gstregistrypool.sgml:
4284 * docs/gst/tmpl/gststructure.sgml:
4285 * docs/gst/tmpl/gstsystemclock.sgml:
4286 * docs/gst/tmpl/gsttrace.sgml:
4287 * gst/gstghostpad.c:
4289 * gst/gstmemchunk.c:
4290 * gst/gstmemchunk.h:
4292 * gst/gstregistry.c:
4293 * gst/gstregistrypool.c:
4294 * gst/gststructure.c:
4295 * gst/gstsystemclock.c:
4298 2005-09-02 Andy Wingo <wingo@pobox.com>
4300 * gst/gstelement.h (GstState): Renamed from GstElementState,
4301 changed to be a normal enum instead of flags.
4302 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4303 munged to be GST_STATE_CHANGE_*.
4304 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4305 work with the new state representation.
4306 (GstStateChange): New enumeration of possible state transitions.
4307 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4308 (GstElementClass::change_state): Pass the GstStateChange along as
4309 an argument. Helps language bindings, so they don't have to use
4310 tricky lock-needing macros like GST_STATE_CHANGE ().
4312 * scripts/update-states (file): New script. Run it on a file to
4313 update it for state naming and API changes. Updates files in
4316 * All files updated for the new API.
4318 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4320 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4321 * gst/gstutils.c: (gst_util_set_value_from_string),
4322 (gst_util_set_object_arg):
4323 fix a bunch of unchecked return values
4324 * tools/gst-complete.c: (main):
4325 * gstreamer.spec.in:
4328 2005-09-01 Wim Taymans <wim@fluendo.com>
4330 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4331 (gst_base_sink_event), (gst_base_sink_do_sync),
4332 (gst_base_sink_handle_event):
4333 * gst/base/gstbasesink.h:
4334 Handle newsegments more correctly.
4339 * gst/gstevent.c: (gst_event_new_newsegment):
4340 A newsegment cannot have a start_time of -1
4342 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4344 * win32/gstenumtypes.c:
4345 * win32/gstenumtypes.h:
4348 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4350 * libs/gst/controller/gst-controller.c:
4351 (gst_controlled_property_set_interpolation_mode),
4352 (gst_controlled_property_new):
4355 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4357 * docs/faq/gst-uninstalled:
4362 * gst/gstutils.c: (gst_element_link_filtered):
4364 add gst_element_link_filtered
4366 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4368 * docs/gst/gstreamer-docs.sgml:
4369 * docs/gst/gstreamer-sections.txt:
4370 * docs/gst/tmpl/.cvsignore:
4371 * docs/gst/tmpl/gsterror.sgml:
4372 * docs/gst/tmpl/gstfilter.sgml:
4373 * docs/gst/tmpl/gsturihandler.sgml:
4374 * docs/gst/tmpl/gsturitype.sgml:
4375 * docs/gst/tmpl/gstutils.sgml:
4376 * docs/gst/tmpl/gstxml.sgml:
4384 inlined more docs, fixed double id-ref
4386 2005-08-31 Wim Taymans <wim@fluendo.com>
4388 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4389 (gst_base_transform_handle_buffer):
4390 Passthrough elements don't need the caps as they don't care.
4392 2005-08-31 Wim Taymans <wim@fluendo.com>
4394 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4395 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4396 Don't leak refcounts on buffers.
4398 2005-08-31 Wim Taymans <wim@fluendo.com>
4400 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4401 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4402 (gst_base_transform_chain), (gst_base_transform_change_state):
4403 * gst/base/gstbasetransform.h:
4404 Handle the case where we are not negotiated more gracefully.
4406 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4408 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4409 (gst_file_src_map_region):
4410 Set READONLY flag on mmap'ed buffers, otherwise
4411 gst_buffer_make_writable() won't work properly (#314708).
4413 2005-08-31 Wim Taymans <wim@fluendo.com>
4415 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4416 passthrough elements can even do inplace on non writable
4417 buffers (as they don't touch them).
4419 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4421 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4422 (gst_test_mono_source_set_property),
4423 (gst_test_mono_source_class_init), (GST_START_TEST),
4424 (gst_controller_suite):
4425 more tests (hehe I have the most)
4427 describe popping messages whenusing mulltiple sources
4428 * libs/gst/controller/gst-controller.c:
4429 (gst_controlled_property_set_interpolation_mode),
4430 (gst_controlled_property_new):
4431 * libs/gst/controller/gst-controller.h:
4432 * libs/gst/controller/gst-interpolation.c:
4433 implement boolean properties
4435 2005-08-31 Wim Taymans <wim@fluendo.com>
4437 * gst/gstminiobject.c: (gst_mini_object_ref):
4438 Cannot assert that the refcount has to be positive
4439 since a disposed object can be resurrected.
4441 2005-08-31 Wim Taymans <wim@fluendo.com>
4443 * gst/gstpad.c: (gst_pad_init):
4444 Revert change, need to first fix badly behaving
4447 2005-08-30 Wim Taymans <wim@fluendo.com>
4449 * check/elements/fakesrc.c: (setup_fakesrc):
4450 * check/elements/identity.c: (setup_identity):
4451 Activate pads before using them.
4453 2005-08-30 Wim Taymans <wim@fluendo.com>
4455 * gst/base/gstadapter.c: (gst_adapter_flush):
4456 Flushing out 0 bytes is ok for this function.
4458 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4459 no newsegment gives a warning and sets the start/stop to
4462 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4463 (gst_base_transform_set_passthrough):
4466 * gst/gstminiobject.c: (gst_mini_object_ref):
4467 Check refcount here too.
4469 * gst/gstpad.c: (gst_pad_init):
4470 Pads are initially flushing and refusing data.
4472 * gst/gstutils.c: (gst_element_link_pads_filtered):
4473 When adding a capsfilter element make sure it has the
4474 same state as the parent bin.
4476 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4478 * docs/gst/tmpl/.cvsignore:
4479 * docs/gst/tmpl/gstformat.sgml:
4480 * docs/gst/tmpl/gstversion.sgml:
4484 * gst/gstversion.h.in:
4485 more docs and two more inlined
4487 2005-08-30 Wim Taymans <wim@fluendo.com>
4489 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4490 Don't sync to clock.
4492 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4494 * docs/gst/gstreamer-sections.txt:
4495 ultral33t func10ns deserve to appear in the docs actually
4496 * docs/gst/tmpl/.cvsignore:
4497 * docs/gst/tmpl/gstcompat.sgml:
4498 * docs/gst/tmpl/gstconfig.sgml:
4499 * gst/check/gstcheck.c:
4501 * gst/gstconfig.h.in:
4504 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4506 * docs/gst/tmpl/.cvsignore:
4507 * docs/gst/tmpl/gstquery.sgml:
4508 * docs/gst/tmpl/gstutils.sgml:
4511 inlined and extended docs
4513 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4515 * check/gst-libs/controller.c: (GST_START_TEST),
4516 (gst_controller_suite):
4518 * docs/gst/tmpl/gstutils.sgml:
4519 * docs/libs/gstreamer-libs-sections.txt:
4520 * docs/libs/tmpl/gstdataprotocol.sgml:
4522 * examples/controller/audio-example.c: (main):
4523 controller example works now
4526 * tools/gst-inspect.c: (print_element_properties_info):
4527 show param spec flags
4529 2005-08-29 Andy Wingo <wingo@pobox.com>
4531 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4533 2005-08-28 Andy Wingo <wingo@pobox.com>
4535 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4536 as having two arguments instead of just one. Allows superclasses
4537 to access information on subclasses -- see the terrible for() loop
4538 in gtype.c:g_type_create_instance for the reason why. All callers
4541 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4543 * docs/design/part-messages.txt:
4545 * docs/gst/tmpl/.cvsignore:
4546 * docs/gst/tmpl/gstcaps.sgml:
4547 * docs/gst/tmpl/gstclock.sgml:
4554 added descriptions for bus and message
4555 inline caps and clock docs
4557 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4563 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4565 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4568 2005-08-26 Andy Wingo <wingo@pobox.com>
4570 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4571 element_set_state's return val.
4572 (test_2_elements): Add test that's been disabled for months.
4574 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4575 can-activate-pull properties.
4577 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4578 can-activate-pull properties. Implement is_seekable so fakesrc can
4579 operate in pull mode.
4581 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4583 (gst_base_sink_activate, gst_base_sink_activate_pull)
4584 (gst_base_sink_activate_push): Make activation mode choosing work.
4586 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4587 is right. Make pull mode work. Post an eos before pausing in pull
4589 (gst_base_sink_change_state): Pay attention to the core's
4590 change_state() return val.
4592 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4593 has-getrange properties. Cleanups.
4595 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4596 has_getrange and replace with can_activate_pull and
4599 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4600 locking comments. Remove has_loop, has_chain and replace with
4601 can_activate_pull and can_activate_push.
4603 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4606 * examples/Makefile.am:
4607 * examples/metadata/Makefile.am:
4608 * examples/metadata/read-metadata.c: (message_loop),
4609 (have_pad_handler), (make_pipeline), (print_tag), (main):
4610 Add metadata reading example that loops over a list of filenames,
4611 dumping any tags found.
4613 * gst/gstbus.c: (gst_bus_dispose):
4614 * gst/gstelement.c: (gst_element_dispose):
4615 Release a few potentially-held references in dispose.
4617 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4619 * docs/gst/tmpl/gstminiobject.sgml:
4620 do *not* add tmpl/*.sgml files to CVS!
4622 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4624 * libs/gst/bytestream/.cvsignore:
4625 * libs/gst/bytestream/Makefile.am:
4626 * libs/gst/bytestream/adapter.c:
4627 * libs/gst/bytestream/adapter.h:
4628 * libs/gst/bytestream/bytestream.c:
4629 * libs/gst/bytestream/bytestream.h:
4630 * libs/gst/bytestream/filepad.c:
4631 * libs/gst/bytestream/filepad.h:
4632 removing obsolete files
4634 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4636 * docs/gst/gstreamer-docs.sgml:
4637 * docs/libs/gstreamer-libs-docs.sgml:
4638 disabed additional index entries again, as this makes docs-gen just
4639 slow and they aren't useful yet
4640 * docs/libs/gstreamer-libs-sections.txt:
4641 little -section.txt cleanup for libs
4643 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4646 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4647 fix up some debugging
4648 (gst_base_transform_get_unit_size),
4649 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4650 (gst_base_transform_handle_buffer):
4651 * gst/base/gstbasetransform.h:
4652 handle and store timed NEWSEGMENT events so that subclasses that
4653 calculate time by counting samples have a segment_start time they
4654 need to add to their timestamps - see audioresample
4656 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4659 removed ';' from the end of macro defs
4660 * docs/gst/gstreamer-docs.sgml:
4661 * docs/gst/gstreamer-sections.txt:
4662 * docs/gst/tmpl/.cvsignore:
4664 * gst/gstelement.c: (gst_element_class_init),
4665 (gst_element_set_state), (activate_pads),
4666 (gst_element_save_thyself):
4667 * gst/gstevent.c: (gst_event_new_newsegment):
4669 * gst/gstiterator.c:
4670 * gst/gstiterator.h:
4673 * gst/gstutils.c: (gst_pad_query_convert):
4675 fixed parameter name mismatches between source, header and docs
4676 added some more docs, resolved the last batch of unused elements in
4677 docs (now someone needs to doc them)
4679 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4681 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4682 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4683 don't walk through the plugins backwards. Where is all this
4684 reversed logic coming from ?
4686 2005-08-25 Wim Taymans <wim@fluendo.com>
4688 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4689 (gst_base_transform_transform_size),
4690 (gst_base_transform_configure_caps),
4691 (gst_base_transform_get_unit_size),
4692 (gst_base_transform_buffer_alloc),
4693 (gst_base_transform_change_state):
4694 * gst/base/gstbasetransform.h:
4695 Cache caps unit_size.
4696 Make sure we cannot negotiate up and downstream at the
4699 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4701 * gst/gst.c: (init_pre), (init_post):
4702 register the installed plugin path after the env var
4703 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4704 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4705 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4706 directories, so the tests can prefer uninstalled over installed
4708 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4710 * gst/base/gstbasetransform.h:
4715 2005-08-25 Wim Taymans <wim@fluendo.com>
4717 * gst/gstbin.c: (bin_bus_handler):
4718 Be a bit more conservative about the posted message.
4720 * gst/gstbus.c: (gst_bus_post):
4721 Some cleanups, warn wrong return values.
4723 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4725 * check/gst/gstbin.c: (GST_START_TEST):
4726 * gst/gstbin.c: (bin_bus_handler):
4727 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4728 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4729 (gst_message_new_warning), (gst_message_new_tag),
4730 (gst_message_new_state_changed), (gst_message_new_segment_start),
4731 (gst_message_new_segment_done), (gst_message_new_custom):
4733 * tools/gst-launch.c: (event_loop):
4734 * tools/gst-md5sum.c: (event_loop):
4735 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4737 2005-08-25 Wim Taymans <wim@fluendo.com>
4739 * check/generic/states.c: (GST_START_TEST):
4740 Cleanup can be done at the end.
4742 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4743 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4744 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4745 Oh boy.. Thanks for finding this, Thomas.
4747 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4749 * docs/gst/gstreamer.types:
4752 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4754 * docs/gst/gstreamer-docs.sgml:
4755 * docs/gst/gstreamer-sections.txt:
4756 * docs/gst/tmpl/.cvsignore:
4758 * gst/gstiterator.c:
4760 * gst/registries/gstxmlregistry.h:
4761 added missing classes and symbols (123 more to go)
4762 removed removed symbols from section file
4763 fixed many doc-comments
4765 2005-08-24 Wim Taymans <wim@fluendo.com>
4767 * check/generic/states.c: (GST_START_TEST):
4768 Make sure all tasks are stopped.
4770 * check/gst/gstbin.c: (GST_START_TEST):
4771 Unref after usage for proper valgrinding.
4773 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4774 Really wait for the task to stop before destroying the
4777 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4778 (gst_queue_src_activate_push):
4779 Small cleanups. Don't stop the task when we did not start
4782 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4783 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4784 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4787 Protect the stream lock with the object lock.
4788 Disallow setting the stream lock when running.
4789 Add cleanup_all to wait for the threadpool to finish.
4790 Remove code to autoallocate a mutex if none was provided.
4791 Add _join() to wait for a task to stop.
4792 Protect the thread pool with a global lock.
4794 2005-08-24 Wim Taymans <wim@fluendo.com>
4796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4797 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4798 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4799 * gst/base/gstbasesink.h:
4800 Handle newsegment events correctly.
4801 Drop buffers out of the segment range.
4803 2005-08-22 Andy Wingo <wingo@pobox.com>
4805 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4806 macro, implements an interface and gstimplementsinterface for a
4809 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4811 * check/Makefile.am:
4812 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4813 add a test that does a bunch of state changes on elements
4814 needs some fixing for valgrind
4815 * check/states/sinks.c: (gst_object_suite):
4818 add prototype for gst_caps_is_equal_fixed
4820 * gst/gstregistrypool.c:
4823 2005-08-24 Andy Wingo <wingo@pobox.com>
4825 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4826 convert a negative value. Doesn't make much sense. Mostly this is
4827 here to force callers to ensure -1 maps to -1.
4829 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4831 * docs/pwg/advanced-types.xml:
4832 Well done to Michael for catching my deliberate introduction
4833 of this spelling mistake.
4834 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4836 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4837 unlink pads before removing the element from the bin.
4839 2005-08-24 Andy Wingo <wingo@pobox.com>
4841 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4842 the same thing as GST_DEBUG=*:4.
4843 (parse_debug_level, parse_debug_category): New helper parsers.
4845 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4847 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4848 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4849 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4850 (gst_base_transform_buffer_alloc),
4851 (gst_base_transform_handle_buffer):
4852 use gboolean return values and pointers to size so we can use the
4853 full GST_BUFFER_SIZE range (guint) for buffer sizes
4854 use GstPadDirection for transform_caps
4855 * gst/base/gstbasetransform.h:
4856 rename get_size to get_unit_size since that's what it is
4857 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4858 use GstPadDirection for transform_caps
4859 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4861 cleanup and debugging
4863 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4865 * gst/gstelement.c: (gst_element_class_init),
4866 (gst_element_set_state), (activate_pads),
4867 (gst_element_save_thyself):
4868 * tools/gst-compprep.c: (main):
4869 * tools/gst-inspect.c: (print_element_properties_info):
4870 * tools/gst-xmlinspect.c: (print_element_properties):
4871 Fixed long standing mem-leak
4873 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4875 * check/gst/gstbin.c: (GST_START_TEST):
4876 * gst/gstbin.c: (bin_bus_handler):
4877 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4878 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4879 (gst_message_new_warning), (gst_message_new_tag),
4880 (gst_message_new_state_changed), (gst_message_new_segment_start),
4881 (gst_message_new_segment_done), (gst_message_new_custom):
4883 * tools/gst-launch.c: (event_loop):
4884 * tools/gst-md5sum.c: (event_loop):
4885 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4886 that applications can sensibly post custom messages with references
4887 to their own objects.
4889 2005-08-24 Andy Wingo <wingo@pobox.com>
4891 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4894 2005-08-24 Wim Taymans <wim@fluendo.com>
4896 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4897 (gst_base_transform_transform_caps),
4898 (gst_base_transform_transform_size),
4899 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4900 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4901 (gst_base_transform_handle_buffer):
4902 * gst/base/gstbasetransform.h:
4903 Many fixes and new features added by Thomas. Can now also do
4904 transforms with variable sizes and a custom fixate_caps function.
4906 2005-08-24 Wim Taymans <wim@fluendo.com>
4908 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4912 Cast to ClockTime before formatting to time.
4917 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4919 * check/gst-libs/controller.c: (GST_START_TEST),
4920 (gst_controller_suite):
4921 * docs/gst/tmpl/gstcaps.sgml:
4922 * docs/gst/tmpl/gstghostpad.sgml:
4923 * docs/gst/tmpl/gstquery.sgml:
4924 * docs/gst/tmpl/gstutils.sgml:
4925 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4926 (gst_object_sink_values), (gst_object_get_value_arrays),
4927 (gst_object_get_value_array):
4928 gracefully handle helper method calls to objects that are not beeing
4929 controlled, added test case for that
4931 2005-08-23 Wim Taymans <wim@fluendo.com>
4933 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4934 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4935 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4936 (gst_event_parse_qos), (gst_event_new_seek),
4937 (gst_event_parse_seek):
4939 Some more debugging output and doc cleanups.
4941 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4942 Fix possible deadlock.
4944 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4946 * docs/gst/gstreamer-docs.sgml:
4947 * docs/gst/gstreamer-sections.txt:
4948 * docs/gst/gstreamer.types:
4949 * docs/gst/tmpl/.cvsignore:
4954 added 100 symbols from gstreamer-unused.txt to the right sections
4955 fixed more broken comments
4956 added GstBus to docs
4958 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4960 * docs/gst/gstreamer-sections.txt:
4961 * docs/gst/tmpl/.cvsignore:
4962 * docs/gst/tmpl/gstbin.sgml:
4963 * docs/gst/tmpl/gstbuffer.sgml:
4964 * gst/base/gstbasesrc.c:
4965 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4968 * tools/gst-launch.1.in:
4969 inlined more doc comments, added missing comments and fixed comments
4972 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4974 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4978 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4980 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4981 * gst/gststructure.h:
4982 add a fixate function for booleans; add a FIXME that these func
4983 names should probably be gst_structure_fixate_*
4985 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4987 * docs/gst/gstreamer-docs.sgml:
4988 * docs/gst/gstreamer-sections.txt:
4990 * gst/gstbin.c: (gst_bin_get_type),
4991 (gst_bin_child_proxy_get_child_by_index),
4992 (gst_bin_child_proxy_get_children_count),
4993 (gst_bin_child_proxy_init):
4994 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4995 (gst_child_proxy_get_child_by_index),
4996 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4997 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4998 (gst_child_proxy_get), (gst_child_proxy_set_property),
4999 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5000 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5001 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5002 * gst/gstchildproxy.h:
5003 * gst/parse/grammar.y:
5004 * tools/gst-inspect.c: (print_interfaces),
5005 (print_element_properties_info), (print_element_info):
5006 ported gstchildproxy over from 0.8
5007 ported gst-inspect fixes and enhancements over from 0.8
5009 2005-08-22 Wim Taymans <wim@fluendo.com>
5011 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5012 (gst_base_transform_handle_buffer):
5013 Also call the transform function if we have ANY caps.
5015 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5018 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5020 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5021 Don't pretend to handle seek events if the source is not seekable
5023 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5025 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5026 Remove extra parameter to debug output
5028 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5029 (gst_base_src_do_seek), (gst_base_src_activate_push):
5030 Fix seek event handling.
5032 * gst/gstpipeline.c: (gst_pipeline_change_state):
5033 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5034 (gst_queue_src_activate_push):
5035 Don't start the src pad task on FLUSH_STOP if the pad
5039 2005-08-22 Wim Taymans <wim@fluendo.com>
5041 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5042 Added check for gst_static_caps_get() refcounting.
5044 2005-08-22 Wim Taymans <wim@fluendo.com>
5046 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5047 Make _static_caps_get() refcounting sane.
5049 * gst/gstelement.c: (gst_element_set_state):
5050 Add g_return_val_if_fail() to protect against segfaults.
5052 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5054 * docs/gst/tmpl/gstevent.sgml:
5057 inlined remaining docs, added missing doc comments
5059 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5061 * check/gst/gstbin.c: (GST_START_TEST):
5062 since we don't know when preroll is done, use refcount range
5064 * gst/check/gstcheck.h:
5065 add macro for checking refcount range
5067 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5069 * check/Makefile.am:
5070 clean up environment for when registry gets built versus
5071 when actual tests are run; valgrind seems to not report
5072 leaks if GST_PLUGIN_PATH is set to some specific values
5073 * check/gst/gstbin.c: (GST_START_TEST):
5074 add more refcounting checks; maybe this exposes a
5077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5078 * gst/check/gstcheck.h:
5079 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5080 (gst_bin_change_state):
5081 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5082 add/fix debugging/whitespace
5084 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5086 * check/gst/gstevent.c: (event_probe), (test_event),
5088 Er, don't call gst_bin_watch_for_state_change you idiot.
5090 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5092 * check/Makefile.am:
5093 Use CHECK_CFLAGS and CHECK_LIBS
5094 * check/gst/gstevent.c: (event_probe), (test_event),
5097 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5098 (gst_base_src_start), (gst_base_src_stop),
5099 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5100 (gst_base_src_change_state):
5101 Sprinkle gst_base_src_stop liberally around error paths to fix
5102 problems reusing a source after failed state changes.
5103 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5104 (helper_find_suggest), (gst_type_find_helper):
5105 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5107 * docs/gst/tmpl/gstevent.sgml:
5108 Migrate part of the docs from the SGML file. Wait for ensonic to
5109 tell me how I did it wrong ;)
5110 * tools/gst-typefind.c: (main):
5111 Extra robustness to state changes between files.
5113 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5115 * check/Makefile.am:
5116 don't valgrind the controller test - it's leaking - Stefan, HELP
5117 * gst/check/gstcheck.c: (gst_check_message_error),
5118 (gst_check_chain_func), (gst_check_setup_element),
5119 (gst_check_teardown_element), (gst_check_setup_src_pad),
5120 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5121 (gst_check_teardown_sink_pad):
5122 * gst/check/gstcheck.h:
5123 add a bunch of methods to set up elements, and src and sink pads
5124 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5125 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5130 whitespace/doc fixes
5132 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5135 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5136 be handled by the application and not always printed as well
5138 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5140 * check/Makefile.am:
5142 * gst/check/gstcheck.c: (gst_check_message_error):
5143 * gst/check/gstcheck.h:
5144 add a fail_unless_equals_int
5145 add fail_unless for error messages
5147 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5149 * check/Makefile.am:
5151 * common/Makefile.am:
5154 factor out some of the common stuff so we can use it
5156 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5158 * check/Makefile.am:
5159 * check/gst/gstiterator.c: (GST_START_TEST):
5160 * check/gst/gstsystemclock.c: (GST_START_TEST),
5161 (gst_systemclock_suite):
5162 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5166 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5168 * check/elements/.cvsignore:
5169 * check/elements/gstfakesrc.c:
5170 rename to name of element
5171 * check/elements/identity.c: (chain_func), (event_func),
5172 (setup_identity), (cleanup_identity), (GST_START_TEST),
5173 (identity_suite), (main):
5174 add a test for identity
5175 * check/Makefile.am:
5176 * pkgconfig/Makefile.am:
5177 * pkgconfig/gstreamer-check.pc.in:
5178 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5182 move the check stuff to a library that gets installed
5183 * check/gst-libs/controller.c: (GST_START_TEST):
5184 * check/gst-libs/gdp.c:
5185 * check/gst/gst.c: (GST_START_TEST):
5186 * check/gst/gstbin.c:
5187 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5188 * check/gst/gstbus.c:
5189 * check/gst/gstcaps.c: (GST_START_TEST):
5190 * check/gst/gstelement.c:
5191 * check/gst/gstghostpad.c:
5192 * check/gst/gstiterator.c:
5193 * check/gst/gstmessage.c:
5194 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5195 * check/gst/gstobject.c:
5196 * check/gst/gstpad.c: (GST_START_TEST):
5197 * check/gst/gststructure.c: (GST_START_TEST):
5198 * check/gst/gstsystemclock.c: (GST_START_TEST),
5199 (gst_systemclock_suite):
5200 * check/gst/gsttag.c: (gst_tag_suite):
5201 * check/gst/gstvalue.c:
5202 * check/pipelines/cleanup.c:
5203 * check/pipelines/simple_launch_lines.c:
5204 * check/states/sinks.c:
5205 change include statement
5207 * docs/gst/gstreamer-sections.txt:
5208 * docs/gst/tmpl/gstpad.sgml:
5209 document more pad stuff
5210 * gst/gstminiobject.c: (gst_mini_object_ref),
5211 (gst_mini_object_unref):
5214 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5216 * docs/gst/tmpl/gst.sgml:
5218 eliminate another tmpl file, fix spelling in the long-description
5220 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5222 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5223 (test_event), (timediff), (gstevents_suite):
5224 Should fix build on 64-bit arch's
5226 2005-08-18 Andy Wingo <wingo@pobox.com>
5228 Make sure that when a pipeline goes to PLAYING, that data has
5229 actually hit the sink.
5231 * check/states/sinks.c (test_sink): A sink that doesn't get any
5232 data shouldn't return SUCCESS for going to either PLAYING or
5233 PAUSED. Test also the return values on the way back down.
5235 * gst/gstelement.c (gst_element_set_state): When changing the
5236 state of an element currently changing state asynchronously, go to
5237 lost-state after commiting the pending state. Makes future calls
5238 to get_state continue to return ASYNC.
5240 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5241 ASYNC when going to PLAYING if we still don't have preroll, as can
5242 happen with live sources.
5244 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5246 * docs/pwg/advanced-types.xml:
5247 Hack long paragraph into 2 chunks as a workaround for buggy
5248 jadetex version in sid and breezy that loops infinitely and
5251 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5253 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5254 (test_event), (timediff), (gstevents_suite):
5255 Provide more error margin in clock measurements to allow for
5256 g_get_current_time inaccuracies.
5258 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5260 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5261 (test_event), (timediff), (gstevents_suite):
5262 Fix error message output so I might be able to tell why the
5263 test works here but fails on the build farm.
5265 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5267 * check/Makefile.am:
5268 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5269 (test_event), (timediff), (gstevents_suite), (main):
5272 * docs/design/part-seeking.txt:
5275 * docs/gst/tmpl/gstevent.sgml:
5276 * docs/gst/tmpl/gstfakesrc.sgml:
5279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5280 Treat a buffer-without-newsegment the same as a receiving
5281 a newsegment not in time format, and disable syncing to the clock
5284 * gst/gstbus.c: (gst_bus_set_sync_handler):
5285 Assert if anyone tries to replace the existing sync_handler for bus,
5286 as only the owner should be setting it.
5289 Have a fixed set of custom event enums with events identified by
5290 their structure name (as in 0.8), rather than a free-for-all
5291 allowing collisions between enum values from different plugins.
5293 * gst/gstpad.c: (gst_pad_class_init):
5296 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5297 Handle out-of-band downstream events from the sending thread.
5299 2005-08-17 Andy Wingo <wingo@pobox.com>
5301 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5302 play-timeout==0 to mean no timeout at all. In that case, don't
5303 bother with a get_state or a warning, just return directly, even
5306 * gst/base/gstbasetransform.c: Debug changes.
5309 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5310 ensure bins post state change messages. A bit of a hack but I can't
5311 think of a way to avoid it.
5313 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5315 2005-08-16 Andy Wingo <wingo@pobox.com>
5317 * gst/base/gstadapter.h:
5318 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5319 peek() but you own the data. Not terribly efficient atm.
5321 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5323 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5324 (gst_element_found_tags):
5326 Add two utility functions for tag handling.
5328 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5330 * docs/manual/advanced-dataaccess.xml:
5331 * docs/manual/basics-helloworld.xml:
5332 Fix docs to use _bin_add() before _link(), which fixes the examples
5333 with recent core versions (reported by Madhan Raj M
5334 <raj_madan@rediffmail.com>, #313199).
5336 2005-08-16 Wim Taymans <wim@fluendo.com>
5338 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5339 Added subtract checks.
5341 * docs/design/part-events.txt:
5342 Some more docs about newsegment
5344 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5347 * gst/gstcaps.c: (gst_caps_to_string):
5348 Add comments, cleanups.
5350 * gst/gstelement.c: (gst_element_save_thyself):
5353 * gst/gstvalue.c: (gst_value_collect_int_range),
5354 (gst_string_unwrap), (gst_value_union_int_int_range),
5355 (gst_value_union_int_range_int_range),
5356 (gst_value_intersect_int_int_range),
5357 (gst_value_intersect_int_range_int_range),
5358 (gst_value_intersect_double_double_range),
5359 (gst_value_intersect_double_range_double_range),
5360 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5361 (gst_value_subtract_int_range_int),
5362 (gst_value_subtract_double_range_double),
5363 (gst_value_subtract_double_range_double_range),
5364 (gst_value_subtract_from_list), (gst_value_subtract_list),
5365 (gst_value_can_compare), (gst_value_compare_fraction):
5366 Cleanups, add comments, remove unneeded asserts.
5368 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5370 * tools/gst-launch.c: (event_loop):
5371 don't convert NULL structures to strings
5373 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5375 * docs/gst/gstreamer-sections.txt:
5376 made some defines private
5377 * docs/gst/tmpl/gstconfig.sgml:
5378 * docs/gst/tmpl/gstqueue.sgml:
5379 * docs/gst/tmpl/gsttaglist.sgml:
5380 * docs/gst/tmpl/gsttypes.sgml:
5381 * docs/gst/tmpl/gstutils.sgml:
5382 * docs/pwg/appendix-porting.xml:
5383 * gst/base/gstbasesink.h:
5384 * gst/base/gstbasesrc.c:
5385 * gst/base/gstbasesrc.h:
5386 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5387 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5388 * gst/gstelement.c: (gst_element_class_init):
5389 * gst/gstpad.c: (gst_pad_class_init):
5390 * gst/gstqueue.c: (gst_queue_class_init):
5391 * gst/gstxml.c: (gst_xml_class_init):
5392 documented all undocumented signal inline
5393 * libs/gst/controller/gst-controller.h:
5396 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5398 * docs/pwg/appendix-porting.xml:
5399 Document _set_link_function -> _set_setcaps_function.
5401 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5403 * check/Makefile.am:
5404 add a .check target for running the check
5405 * check/gst-libs/controller.c: (GST_START_TEST):
5407 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5408 complete checks for gstbuffer; would be nice if I could get the
5409 gcov stuff to work so I can see if I actually completed gstbuffer.c
5411 add ASSERT_BUFFER_REFCOUNT
5413 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5415 * docs/gst/gstreamer-sections.txt:
5416 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5418 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5419 spew out a warning if a tag that is already registered
5420 is re-registered, unless it is re-registered with a
5421 different type (#308438).
5423 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5425 * docs/pwg/appendix-porting.xml:
5426 * docs/pwg/building-state.xml:
5427 Add some paragraphs about state changes in 0.9 to the PWG
5428 and the porting guide, in particular about the new meaning
5429 of GST_STATE_PAUSED and how to write state change functions
5430 with concurrent access by multiple threads in mind.
5432 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5434 * docs/gst/gstreamer-docs.sgml:
5435 * docs/libs/gstreamer-libs-docs.sgml:
5436 added deprecation and since indexes
5437 * libs/gst/controller/gst-controller.c:
5438 * libs/gst/controller/gst-helper.c:
5442 2005-08-11 Wim Taymans <wim@fluendo.com>
5444 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5445 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5446 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5447 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5448 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5449 (gst_ghost_pad_set_target):
5450 Actually implement (re)setting the target on a ghostpad
5451 as described in the docs.
5453 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5455 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5456 Check whether GST_DEBUG_NO_COLOR environment variable is
5457 set and disable coloured debug output if that is the case.
5459 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5461 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5462 (gst_type_find_helper):
5463 The memory returned by gst_type_find_peek() needs to
5464 stay valid until the end of a typefind function, and
5465 typefind functions may keep results from different
5466 offsets around, so we can't just unref the buffer from
5467 the previous _peek(), but have to save all buffers
5468 returned by _peek() until typefinding is done and only
5471 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5473 * docs/gst/gstreamer-sections.txt:
5475 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5477 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5479 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5480 Fix a pretty good memleak.
5482 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5484 * gst/gstiterator.h:
5485 Fix wrong include and 'make distcheck'.
5487 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5489 * gst/gstbin.c: (bin_bus_handler):
5490 Use gst_element_post_message() instead.
5492 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5494 * gst/base/gstadapter.h:
5495 * gst/base/gstbasesink.h:
5496 * gst/base/gstbasesrc.h:
5497 * gst/base/gstbasetransform.h:
5498 * gst/base/gstcollectpads.h:
5499 * gst/base/gstpushsrc.h:
5500 * gst/gstiterator.h:
5501 Add padding to our base elements' class and instance structs and
5502 to GstIterator (you will need to rebuild all plugins and apps!)
5504 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5506 * gst/gstbin.c: (bin_bus_handler):
5507 Make default message forwarding from child->bus to bin->bus
5508 threadsafe and make it not emit warnings if the parent has no bus.
5510 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5512 * gst/gstelement.c: (activate_pads):
5513 On paused->ready, set pad->caps to NULL, as is the documented
5514 behaviour in this state change. Fixes playback of series of
5515 media files when visualization is enabled in Totem.
5517 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5519 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5520 Allow NULL as filter-caps (which means "any").
5522 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5524 * docs/libs/gstreamer-libs-sections.txt:
5525 * libs/gst/controller/gst-controller.c:
5526 * libs/gst/controller/gst-controller.h:
5527 * libs/gst/controller/gst-helper.c:
5528 adding more entries to the docs and fix small doc-bugs
5530 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5532 * docs/gst/gstreamer-docs.sgml:
5533 * docs/gst/gstreamer-sections.txt:
5534 * docs/gst/gstreamer.types:
5535 * docs/gst/tmpl/gstbasesink.sgml:
5536 * docs/gst/tmpl/gstbasesrc.sgml:
5537 * docs/gst/tmpl/gstbasetransform.sgml:
5538 * docs/gst/tmpl/gstfakesrc.sgml:
5539 * gst/base/gstcollectpads.c:
5540 * gst/base/gstcollectpads.h:
5541 * libs/gst/controller/gst-controller.c:
5542 * libs/gst/controller/gst-controller.h:
5543 * libs/gst/controller/gst-helper.c:
5544 * libs/gst/controller/gst-interpolation.c:
5545 * libs/gst/controller/lib.c:
5546 added long/short desc for controller docs
5547 added collectpads base class docs
5548 added correct includes to base-class docs
5550 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5552 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5553 (gst_test_mono_source_set_property),
5554 (gst_test_mono_source_class_init), (GST_START_TEST),
5555 (gst_controller_suite):
5556 * docs/gst/gstreamer-docs.sgml:
5557 * docs/gst/gstreamer-sections.txt:
5558 * docs/gst/gstreamer.types:
5559 * docs/libs/gstreamer-libs-docs.sgml:
5560 * docs/libs/gstreamer-libs-sections.txt:
5561 * gst/base/gstadapter.c:
5562 * libs/gst/controller/gst-controller.c:
5563 (gst_controlled_property_new), (gst_controlled_property_free),
5564 (gst_controller_new_valist),
5565 (gst_controller_remove_properties_valist),
5566 (gst_controller_sink_values), (_gst_controller_finalize):
5567 * libs/gst/controller/gst-controller.h:
5568 * libs/gst/controller/gst-helper.c:
5569 (gst_object_control_properties), (gst_object_uncontrol_properties),
5570 (gst_object_get_controller), (gst_object_set_controller),
5571 (gst_object_sink_values), (gst_object_get_value_arrays),
5572 (gst_object_get_value_array):
5573 more tests (and fixes) for the controller
5574 more docs for the controller
5575 integrated companies docs for the adapter
5577 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5579 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5580 (GST_START_TEST), (fakesrc_suite):
5581 add tests for sizetype
5583 2005-08-04 Andy Wingo <wingo@pobox.com>
5585 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5586 fixes buffer_alloc proxying among other things.
5588 * gst/base/gstbasetransform.c:
5589 * gst/base/gstbasetransform.h:
5590 Revert patch to gstbasetransform from 7-28 removing
5593 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5594 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5595 Semantics changed, should return not the size of the output buffer
5596 but the byte size of a buffer with a given caps.
5598 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5600 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5601 out) are not the pad caps until setcaps finishes.
5602 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5603 not-in-place case as well. Deal with changing from in-place to
5604 not-in-place within calling pad_alloc_buffer. Still a bit
5605 concerned about the overhead here...
5607 2005-08-03 Andy Wingo <wingo@pobox.com>
5609 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5610 fixating is an error.
5612 2005-08-04 Edward Hervey <edward@fluendo.com>
5614 * gst/base/gstadapter.h:
5615 Added gst_adapter_get_type() to the header
5617 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5619 * check/Makefile.am:
5620 * check/gst-libs/controller.c:
5621 * libs/gst/controller/gst-controller.c:
5622 (gst_controller_new_valist):
5623 added check test suite for the controller
5624 * gst/base/gstpushsrc.c:
5627 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5629 * docs/gst/Makefile.am:
5630 * docs/gst/gstreamer-docs.sgml:
5631 * docs/gst/gstreamer-sections.txt:
5632 * docs/gst/gstreamer.types:
5633 * docs/gst/tmpl/gstfakesrc.sgml:
5635 * gst/base/gstbasesink.c:
5636 * gst/base/gstbasesink.h:
5637 * gst/base/gstbasesrc.c:
5638 * gst/base/gstbasesrc.h:
5639 * gst/base/gstbasetransform.c:
5640 * gst/base/gstpushsrc.c:
5641 * gst/base/gstpushsrc.h:
5642 add short/long description docs to base classes
5643 add pushsrc to the docs
5644 remove consolidated doc fragments
5646 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5649 * docs/libs/Makefile.am:
5650 * docs/libs/gstreamer-libs-docs.sgml:
5651 * docs/libs/gstreamer-libs-sections.txt:
5652 * docs/libs/gstreamer-libs.types:
5653 * examples/Makefile.am:
5654 * examples/controller/.cvsignore:
5655 * examples/controller/Makefile.am:
5656 * examples/controller/audio-example.c: (main):
5657 * libs/gst/Makefile.am:
5658 * libs/gst/controller/.cvsignore:
5659 * libs/gst/controller/Makefile.am:
5660 * libs/gst/controller/gst-controller.c:
5661 (on_object_controlled_property_changed), (gst_timed_value_compare),
5662 (gst_timed_value_find),
5663 (gst_controlled_property_set_interpolation_mode),
5664 (gst_controlled_property_new), (gst_controlled_property_free),
5665 (gst_controller_find_controlled_property),
5666 (gst_controller_new_valist), (gst_controller_new),
5667 (gst_controller_remove_properties_valist),
5668 (gst_controller_remove_properties), (gst_controller_set),
5669 (gst_controller_set_from_list), (gst_controller_unset),
5670 (gst_controller_get), (gst_controller_get_all),
5671 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5672 (gst_controller_get_value_array),
5673 (gst_controller_set_interpolation_mode),
5674 (_gst_controller_finalize), (_gst_controller_init),
5675 (_gst_controller_class_init), (gst_controller_get_type):
5676 * libs/gst/controller/gst-controller.h:
5677 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5678 (g_object_uncontrol_properties), (g_object_get_controller),
5679 (g_object_set_controller), (g_object_sink_values),
5680 (g_object_get_value_arrays), (g_object_get_value_array):
5681 * libs/gst/controller/gst-interpolation.c:
5682 (gst_controlled_property_find_timed_value_node),
5683 (interpolate_none_get), (interpolate_trigger_get),
5684 (interpolate_trigger_get_value_array):
5685 * libs/gst/controller/lib.c: (gst_controller_init):
5686 * pkgconfig/Makefile.am:
5687 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5688 * pkgconfig/gstreamer-control.pc.in:
5689 * testsuite/Makefile.am:
5690 * testsuite/controller/.cvsignore:
5691 * testsuite/controller/Makefile.am:
5692 * testsuite/controller/interpolator.c: (main):
5693 added controller code
5694 removed dparam pc files
5696 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5697 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5698 (gst_collectpads_stop):
5699 Broadcast the condition when shutting down, to make sure we wake all
5700 threads up. Shut down pads on finalize, for safety.
5702 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5703 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5704 (gst_base_transform_handle_buffer),
5705 (gst_base_transform_change_state):
5706 Handle PAUSED->READY->PAUSED transition after negotiation
5708 * gst/gstmessage.c: (gst_message_init):
5709 Extra piece of debug for new messages.
5711 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5714 * docs/gst/tmpl/gstbasesrc.sgml:
5715 * docs/gst/tmpl/gstelement.sgml:
5716 * docs/gst/tmpl/gstevent.sgml:
5717 * docs/gst/tmpl/gstfakesrc.sgml:
5718 * docs/gst/tmpl/gstformat.sgml:
5719 * docs/gst/tmpl/gstghostpad.sgml:
5720 * docs/gst/tmpl/gstpad.sgml:
5721 * docs/gst/tmpl/gstquery.sgml:
5722 * docs/gst/tmpl/gststructure.sgml:
5723 * docs/gst/tmpl/gsttaglist.sgml:
5724 * docs/gst/tmpl/gstvalue.sgml:
5725 * docs/libs/gstreamer-libs-docs.sgml:
5726 * docs/libs/gstreamer-libs-sections.txt:
5727 * docs/libs/gstreamer-libs.types:
5728 * libs/gst/Makefile.am:
5729 * libs/gst/control/.cvsignore:
5730 * libs/gst/control/Makefile.am:
5731 * libs/gst/control/control.c:
5732 * libs/gst/control/control.h:
5733 * libs/gst/control/dparam.c:
5734 * libs/gst/control/dparam.h:
5735 * libs/gst/control/dparam_smooth.c:
5736 * libs/gst/control/dparam_smooth.h:
5737 * libs/gst/control/dparamcommon.h:
5738 * libs/gst/control/dparammanager.c:
5739 * libs/gst/control/dparammanager.h:
5740 * libs/gst/control/dplinearinterp.c:
5741 * libs/gst/control/dplinearinterp.h:
5742 * libs/gst/control/unitconvert.c:
5743 * libs/gst/control/unitconvert.h:
5744 * testsuite/Makefile.am:
5745 * testsuite/dynparams/.cvsignore:
5746 * testsuite/dynparams/Makefile.am:
5747 * testsuite/dynparams/dparamstest.c:
5748 * tools/Makefile.am:
5749 * tools/gst-inspect.c: (print_element_info), (main):
5750 * tools/gst-xmlinspect.c: (print_element_info), (main):
5751 deactivate and remove dparams (libgstcontrol)
5753 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5755 * gst/elements/gsttypefindelement.c:
5756 (gst_type_find_element_have_type), (gst_type_find_element_init),
5757 (stop_typefinding), (gst_type_find_element_handle_event),
5758 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5759 * gst/elements/gsttypefindelement.h:
5760 Set caps on all outgoing buffers, not just the first one.
5762 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5764 * gst/elements/gsttypefindelement.c:
5765 (gst_type_find_element_have_type),
5766 (gst_type_find_element_check_set_buffer_caps),
5767 (gst_type_find_element_init), (stop_typefinding),
5768 (gst_type_find_element_handle_event),
5769 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5770 * gst/elements/gsttypefindelement.h:
5771 Set caps on first outgoing buffer when we've found the type.
5773 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5775 * docs/gst/gstreamer-docs.sgml:
5776 * docs/gst/gstreamer-sections.txt:
5777 * docs/gst/tmpl/gstscheduler.sgml:
5778 * docs/gst/tmpl/gstschedulerfactory.sgml:
5779 Remove some old cruft from docs.
5781 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5784 Fix inline docs for GstPadLinkReturn.
5786 * gst/gststructure.c: (gst_structure_has_name):
5787 * gst/gststructure.h:
5788 * docs/gst/gstreamer-sections.txt:
5789 New API: gst_structure_has_name().
5791 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5794 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5795 and _LARGEFILE_SOURCE in config.h as required. Do not
5796 export those flags in our .pc files any longer (#142209).
5798 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5800 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5801 (gst_file_sink_do_seek), (gst_file_sink_event),
5802 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5803 Redo seek/tell calls with large file support in mind; add some
5804 debugging messages; add log message that tells us when large
5805 file support is unavailable or not enabled for some reason.
5807 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5808 Add log message that tells us when large file support
5809 is unavailable or not enabled for some reason.
5811 2005-07-29 Wim Taymans <wim@fluendo.com>
5813 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5814 Added test for removing an element with ghostpad from a bin.
5815 Fixed test as current implementation does the right thing.
5817 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5818 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5819 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5820 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5821 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5822 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5823 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5824 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5825 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5826 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5827 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5828 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5829 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5830 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5831 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5832 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5833 * gst/gstghostpad.h:
5834 Clean up ghostpads, remove properties for internal stuff.
5837 Prepare for switching targets, not all use cases work yet.
5839 2005-07-29 Wim Taymans <wim@fluendo.com>
5841 * docs/design/part-gstghostpad.txt:
5844 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5845 (gst_bin_remove_func):
5846 Unlinking pads while holding the bin LOCK is not a good
5849 * gst/gstpad.c: (gst_pad_class_init),
5850 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5851 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5852 No prob setting template after creating the pad.
5854 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5856 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5857 (gst_bus_peek), (gst_bus_source_dispatch),
5858 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5859 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5860 gst_bus_poll may be called from other threads. Handle
5861 this nicely by not making poll_data disappear off the
5862 stack once gst_bus_poll returns.
5863 gst_bus_peek now increments the refcount on the returned
5866 2005-07-29 Wim Taymans <wim@fluendo.com>
5868 * docs/design/part-gstghostpad.txt:
5869 Overview of current GhostPad datastructures and use
5870 cases for changing the target.
5872 2005-07-28 Wim Taymans <wim@fluendo.com>
5874 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5875 Added checks for hierarchy consistency whan adding linked
5878 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5879 Added check to test element scheduling without bin/pipeline.
5881 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5882 First add elements to bin, then link.
5884 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5885 (gst_bin_remove_func):
5886 Unlink pads from elements added/removed from bin to maintain
5887 hierarchy consistency.
5889 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5891 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5892 (gst_base_transform_handle_buffer):
5893 * gst/base/gstbasetransform.h:
5894 Remove broken delay_configure (fixes renegotiation of software
5895 scaling pipelines); remove some leftover printf()s.
5897 2005-07-28 Wim Taymans <wim@fluendo.com>
5899 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5900 Added some more tests for wrong hierarchy
5902 * docs/design/part-overview.txt:
5905 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5908 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5909 (gst_element_dispose):
5912 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5913 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5914 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5915 (gst_pad_set_caps), (gst_pad_send_event):
5916 Check for correct hierarchy when linking pads. Moving to
5917 strict requirement for ghostpads when linking elements in
5921 Clean ups. Added WRONG_HIERARCHY return value.
5923 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5925 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5926 Better debug if no transform is possible.
5928 2005-07-27 Wim Taymans <wim@fluendo.com>
5930 * docs/random/wtay/network-transp:
5933 2005-07-27 Wim Taymans <wim@fluendo.com>
5935 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5936 (gst_dp_event_from_packet):
5937 Fix serialization of seek events.
5939 2005-07-27 Wim Taymans <wim@fluendo.com>
5941 * check/gst-libs/gdp.c: (GST_START_TEST):
5942 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5943 Fix compilation and fix event serialization.
5945 2005-07-27 Wim Taymans <wim@fluendo.com>
5948 * docs/design/part-TODO.txt:
5949 * docs/design/part-events.txt:
5952 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5953 (gst_base_sink_event), (gst_base_sink_do_sync),
5954 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5955 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5956 (gst_base_src_do_seek), (gst_base_src_event_handler),
5957 (gst_base_src_loop):
5958 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5959 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5960 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5961 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5962 (gst_base_transform_set_passthrough),
5963 (gst_base_transform_is_passthrough):
5964 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5965 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5971 * gst/gstelement.c: (gst_element_seek):
5973 Update gst_element_seek.
5975 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5976 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5977 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5978 (gst_event_new_eos), (gst_event_new_newsegment),
5979 (gst_event_parse_newsegment), (gst_event_new_tag),
5980 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5981 (gst_event_parse_qos), (gst_event_new_seek),
5982 (gst_event_parse_seek), (gst_event_new_navigation):
5984 Make GstEvent use GstStructure. Add parsing code, make sure the
5985 API is sufficiently generic.
5986 Mark possible directions of events and serialization.
5988 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5989 (_gst_message_copy), (gst_message_new_segment_start),
5990 (gst_message_new_segment_done), (gst_message_new_custom),
5991 (gst_message_parse_segment_start),
5992 (gst_message_parse_segment_done):
5995 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5996 (gst_pad_set_caps), (gst_pad_send_event):
5997 Update for new events.
5998 Catch events sent in wrong directions.
6000 * gst/gstqueue.c: (gst_queue_link_src),
6001 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6002 (gst_queue_handle_src_query):
6007 Remove event code from this file.
6009 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6010 (gst_dp_event_from_packet):
6013 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6015 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6016 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6017 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6018 Make debugging actually useful.
6020 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6022 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6023 (gst_pad_fixate_caps):
6024 Implement default fixation once again, so that gst_pad_fixate()
6025 actually does anything at all. This probably needs to be some
6026 sort of a last resort, and use profile-based fixation first, but
6027 since that doesn't exist yet, this is the best we have. Fixes
6028 visualization in Totem.
6030 2005-07-22 Wim Taymans <wim@fluendo.com>
6032 * docs/design/part-events.txt:
6035 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6036 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6037 (gst_base_sink_activate_pull):
6040 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6041 (gst_fake_src_create):
6042 Fix handoff marshall.
6044 * gst/elements/gstidentity.c: (gst_identity_class_init),
6045 (gst_identity_transform_ip):
6046 We're a real inplace element.
6048 * gst/gstbus.c: (gst_bus_post):
6049 Added some comments.
6051 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6052 * tests/muxing/case1.c: (main):
6053 * tests/sched/dynamic-pipeline.c: (main):
6054 * tests/sched/interrupt1.c: (main):
6055 * tests/sched/interrupt2.c: (main):
6056 * tests/sched/interrupt3.c: (main):
6057 * tests/sched/runxml.c: (main):
6058 * tests/sched/sched-stress.c: (main):
6059 * tests/seeking/seeking1.c: (event_received), (main):
6060 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6062 * tests/threadstate/threadstate3.c: (main):
6063 * tests/threadstate/threadstate4.c: (main):
6064 * tests/threadstate/threadstate5.c: (main):
6067 2005-07-21 Wim Taymans <wim@fluendo.com>
6069 * docs/design/part-seeking.txt:
6070 Some small additions.
6072 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6073 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6074 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6075 * gst/base/gstbasesink.h:
6076 discont values are gint64, handle the math correctly.
6078 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6079 Make the basesrc report error if the source pad is not linked.
6081 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6082 (gst_queue_loop), (gst_queue_handle_src_query),
6083 (gst_queue_src_activate_push):
6084 Make queue collect data even if the srcpad is not linked.
6085 Start pushing out data as soon as it is linked.
6087 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6089 Added gst_flow_get_name() to ease error reporting.
6091 2005-07-20 Wim Taymans <wim@fluendo.com>
6093 * gst/gstmessage.c: (gst_message_new_segment_start),
6094 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6095 (gst_message_parse_segment_done):
6097 Added a bunch of messages for advanced seeking.
6099 * gst/parse/grammar.y:
6100 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6101 (gst_dpman_state_changed):
6102 Fix some new-pad -> pad-added signals
6104 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6106 * docs/manual/appendix-porting.xml:
6107 * docs/pwg/appendix-porting.xml:
6108 Document new-pad/state-change signal renames and the FixedList
6111 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6113 * docs/manual/advanced-autoplugging.xml:
6114 * docs/manual/basics-helloworld.xml:
6115 * docs/manual/basics-pads.xml:
6116 * docs/random/ds/0.9-suggested-changes:
6117 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6122 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6123 (gst_structure_parse_array), (gst_structure_parse_value):
6124 * gst/gstvalue.c: (gst_type_is_fixed),
6125 (gst_value_list_prepend_value), (gst_value_list_append_value),
6126 (gst_value_list_get_size), (gst_value_list_get_value),
6127 (gst_value_transform_array_string), (gst_value_serialize_array),
6128 (gst_value_deserialize_array), (gst_value_intersect_array),
6129 (gst_value_is_fixed), (_gst_value_initialize):
6131 GstElement::new-pad -> pad-added, GstElement::state-change ->
6132 state-changed, GstValueFixedList -> GstValueArray, add format and
6133 flags as their own arguments in gst_element_seek() (should improve
6134 "bindeability"), remove function generators since they don't work
6135 under a whole bunch of compilers (they were deprecated already
6138 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6140 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6141 (_gst_debug_register_funcptr):
6143 Fix illegal cast on some platforms (#309253).
6145 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6147 * gst/gstmessage.c: (gst_message_new_custom):
6149 Add _new_custom, make _new_application a macro to _new_custom.
6151 2005-07-20 Wim Taymans <wim@fluendo.com>
6153 * gst/base/gstbasesrc.c: (gst_base_src_init),
6154 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6155 * gst/base/gstbasesrc.h:
6156 Add a gboolean to decide when to push out a discont.
6158 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6159 (gst_queue_loop), (gst_queue_handle_src_query),
6160 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6161 (gst_queue_set_property), (gst_queue_get_property):
6164 * tests/threadstate/threadstate1.c: (main):
6165 Make a thread test compile and run... very silly..
6168 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6170 * docs/manual/appendix-porting.xml:
6171 Mention removal of libgstgconf-0.9.la and existence of gconf
6174 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6176 * docs/pwg/advanced-clock.xml:
6177 * docs/pwg/appendix-porting.xml:
6178 * docs/pwg/intro-preface.xml:
6179 * docs/pwg/other-base.xml:
6180 * docs/pwg/other-manager.xml:
6181 * docs/pwg/other-nton.xml:
6182 * docs/pwg/other-ntoone.xml:
6183 * docs/pwg/other-oneton.xml:
6185 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6186 demuxer), remove n-to-n (was never written), fix some code examples
6187 and links and update the porting section to include all this.
6189 2005-07-19 Wim Taymans <wim@fluendo.com>
6191 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6192 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6193 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6194 (gst_queue_src_activate_push), (gst_queue_change_state),
6195 (gst_queue_get_property):
6197 Propagate GstFlowReturn more intelligently upstream and output
6198 an ERROR/EOS when streaming stopped due to fatal error.
6200 2005-07-19 Wim Taymans <wim@fluendo.com>
6202 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6203 Don't block forever for the state change to complete, the
6204 pipeline already did with a sensible timeout.
6206 2005-07-19 Wim Taymans <wim@fluendo.com>
6208 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6209 Make sure we never call the create function is we
6212 2005-07-19 Andy Wingo <wingo@pobox.com>
6214 * gst/parse/parse.l: Attempt to solve bug #172815.
6216 2005-07-19 Wim Taymans <wim@fluendo.com>
6218 * docs/design/part-clocks.txt:
6219 * docs/design/part-events.txt:
6220 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6222 Only update the seeking values when we are not
6225 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6227 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6228 Oops, ignore the result of gst_pad_push_event here.
6230 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6232 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6233 (gst_base_src_activate_push):
6234 Send discont event from the loop function, as pads
6235 aren't activated yet in the activate_push handler.
6237 * gst/gstbin.c: (bin_bus_handler):
6238 Don't leak element name.
6240 2005-07-18 Andy Wingo <wingo@pobox.com>
6242 * configure.ac: Use AS_LIBTOOL_TAGS.
6244 2005-07-18 Wim Taymans <wim@fluendo.com>
6246 * docs/gst/gstreamer.types:
6247 Remove deleted types.
6249 2005-07-18 Wim Taymans <wim@fluendo.com>
6251 * check/elements/gstfakesrc.c: (GST_START_TEST):
6254 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6255 (init_popt_callback):
6257 * gst/gst_private.h:
6258 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6259 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6262 * gst/gstconfig.h.in:
6263 * gst/gstelement.c: (gst_element_class_init),
6264 (gst_element_set_base_time), (gst_element_get_base_time),
6265 (iterator_fold_with_resync), (gst_element_change_state),
6266 (gst_element_dispose), (gst_element_get_bus):
6268 * gst/gstelementfactory.h:
6269 * gst/gsterror.c: (_gst_core_errors_init):
6272 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6274 * gst/gstinfo.c: (_gst_debug_init):
6275 * gst/gstmessage.c: (_gst_message_copy):
6277 * gst/gstminiobject.h:
6280 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6281 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6284 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6285 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6286 (gst_pipeline_get_last_stream_time):
6287 * gst/gstpipeline.h:
6288 * gst/gstpluginfeature.h:
6290 * gst/gstscheduler.c:
6291 * gst/gstscheduler.h:
6292 * gst/gststructure.h:
6293 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6294 (gst_task_finalize), (gst_task_func), (gst_task_create),
6295 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6296 (gst_task_stop), (gst_task_pause):
6298 * gst/gsttypefind.h:
6300 * gst/registries/gstlibxmlregistry.c: (load_feature),
6301 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6302 * gst/registries/gstxmlregistry.c:
6303 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6304 * gst/schedulers/threadscheduler.c:
6305 * libs/gst/control/dparammanager.h:
6306 * tools/gst-inspect.c: (print_element_list),
6307 (print_plugin_features), (print_element_features):
6308 * tools/gst-xmlinspect.c: (print_element_list),
6309 (print_plugin_info), (main):
6310 Removed plugable schedulers.
6311 Removed Scheduler/Manager from elements.
6312 Removed gsttypes.h, rearranged includes.
6313 Removed dependency pad<->element, element<>pipeline, and
6314 various others, fix includes.
6315 implement gst_pad_get_parent() with gst_object_get_parent()
6316 Make GstTask sefcontained.
6317 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6319 Fix endless loop in iterator_fold_with_resync.
6322 2005-07-18 Wim Taymans <wim@fluendo.com>
6328 2005-07-18 Wim Taymans <wim@fluendo.com>
6333 2005-07-18 Wim Taymans <wim@fluendo.com>
6339 2005-07-18 Wim Taymans <wim@fluendo.com>
6341 * docs/design/part-dynamic.txt:
6342 * docs/design/part-events.txt:
6343 * docs/design/part-seeking.txt:
6344 Some more docs in the works.
6346 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6347 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6348 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6349 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6350 (gst_base_transform_handle_buffer),
6351 (gst_base_transform_sink_activate_push),
6352 (gst_base_transform_src_activate_pull),
6353 (gst_base_transform_set_passthrough),
6354 (gst_base_transform_is_passthrough):
6357 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6360 * gst/gstevent.c: (gst_event_finalize):
6363 * gst/gstutils.c: (gst_element_unlink),
6364 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6365 (gst_pad_proxy_setcaps):
6367 Add _get_parent_element() to get a pads parent as an element.
6369 2005-07-18 Wim Taymans <wim@fluendo.com>
6371 * check/gst/gstbin.c: (GST_START_TEST):
6374 2005-07-18 Wim Taymans <wim@fluendo.com>
6376 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6377 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6378 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6379 (gst_base_sink_event), (gst_base_sink_do_sync),
6380 (gst_base_sink_chain), (gst_base_sink_loop),
6381 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6382 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6384 Fix logic for returning ASYNC when not prerolled.
6386 2005-07-18 Wim Taymans <wim@fluendo.com>
6388 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6389 Fix nasty refcount bug.
6391 2005-07-16 Philippe Khalaf <burger@speedy.org>
6393 * gst/elements/gstfdsrc.c:
6394 * gst/elements/gstfdsrc.h:
6395 * gst/elements/gstelements.c:
6396 * gst/elements/Makefile.am:
6397 Ported fdsrc to 0.9.
6399 2005-07-16 Wim Taymans <wim@fluendo.com>
6401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6402 (gst_base_sink_do_sync):
6405 2005-07-16 Wim Taymans <wim@fluendo.com>
6407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6408 (gst_base_sink_event), (gst_base_sink_get_times),
6409 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6410 * gst/base/gstbasesink.h:
6411 Store and use discont values when syncing buffers as described
6414 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6415 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6416 (gst_base_src_activate_push):
6417 Push discont event when starting.
6419 * gst/elements/gstidentity.c: (gst_identity_transform):
6422 * gst/gstbin.c: (gst_bin_change_state):
6423 Small cleanups in base_time distribution.
6425 * gst/gstelement.c: (gst_element_set_base_time),
6426 (gst_element_get_base_time), (gst_element_change_state):
6428 Added methods for the base_time of the element.
6431 * gst/gstpipeline.c: (gst_pipeline_send_event),
6432 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6433 (gst_pipeline_get_last_stream_time):
6434 * gst/gstpipeline.h:
6436 Handle seeking as described in design doc, remove stream_time
6438 Cleanups clock and stream_time selection code. Added accessors
6439 for the stream_time.
6442 2005-07-16 Andy Wingo <wingo@pobox.com>
6444 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6447 2005-07-16 Wim Taymans <wim@fluendo.com>
6449 * check/gst/gstbin.c: (GST_START_TEST):
6450 Make elements silent as the deep_notify refs the
6451 parent, which might make the test fail.
6453 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6454 Don't hold the lock for too long.
6456 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6458 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6459 Don't unref the caps we passed to gst_caps_make_writable() after
6460 passing them. gst_caps_make_writable() will do that for us.
6462 2005-07-15 Andy Wingo <wingo@pobox.com>
6464 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6467 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6468 own marshalling function for the handoff signal. Properly type the
6469 buffer as a buffer. Fixes some warnings. Should do a more general
6471 (gst_identity_class_init): Plug into the right marshaller.
6473 2005-07-15 Wim Taymans <wim@fluendo.com>
6475 * docs/design/part-TODO.txt:
6476 * docs/design/part-clocks.txt:
6477 * docs/design/part-element-sink.txt:
6478 * docs/design/part-events.txt:
6479 * docs/design/part-gstpipeline.txt:
6480 Updated docs, mostly DISCONT related.
6482 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6484 * docs/pwg/building-pads.xml:
6485 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6487 2005-07-15 Andy Wingo <wingo@pobox.com>
6489 * tools/gst-typefind.c: Update, add copyright block.
6491 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6492 Normalize and truncate caps before fixation.
6495 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6496 discards all but the first structure from its argument.
6498 2005-07-15 Wim Taymans <wim@fluendo.com>
6500 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6501 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6502 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6503 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6504 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6505 (gst_base_transform_chain), (gst_base_transform_change_state),
6506 (gst_base_transform_set_passthrough),
6507 (gst_base_transform_is_passthrough):
6508 * gst/base/gstbasetransform.h:
6509 Make passthrough work using the bufferpools.
6510 Changed API a bit, subclasses have to write into a buffer
6511 provided by the base class.
6512 More debug info in nego functions.
6514 * gst/elements/gstidentity.c: (gst_identity_init),
6515 (gst_identity_transform):
6516 Port to new base class.
6518 2005-07-15 Wim Taymans <wim@fluendo.com>
6520 * gst/gstmessage.c: (gst_message_new_state_changed):
6521 * tools/gst-launch.c: (event_loop), (main):
6522 Totally dump messages in -launch with the -m option.
6523 Fix message name for State messages,
6525 2005-07-14 Wim Taymans <wim@fluendo.com>
6527 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6528 Post error messages on errors.
6530 2005-07-14 Wim Taymans <wim@fluendo.com>
6532 * gst/gstcaps.c: (gst_caps_do_simplify):
6536 Define error for stream stopped.
6538 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6539 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6540 Do proper return values.
6542 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6543 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6544 (gst_pad_get_range):
6545 Better return values.
6548 Reorganise return values, add macro to check for fatal errors.
6550 * gst/gstqueue.c: (gst_queue_chain):
6551 Return proper GstFlowReturn values,
6553 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6555 * docs/gst/gstreamer-sections.txt:
6556 * docs/gst/gstreamer.types:
6557 * docs/gst/tmpl/gst.sgml:
6558 * docs/gst/tmpl/gstbasesink.sgml:
6559 * docs/gst/tmpl/gstbasesrc.sgml:
6560 * docs/gst/tmpl/gstbasetransform.sgml:
6561 * docs/gst/tmpl/gstbin.sgml:
6562 * docs/gst/tmpl/gstbuffer.sgml:
6563 * docs/gst/tmpl/gstcaps.sgml:
6564 * docs/gst/tmpl/gstclock.sgml:
6565 * docs/gst/tmpl/gstcompat.sgml:
6566 * docs/gst/tmpl/gstconfig.sgml:
6567 * docs/gst/tmpl/gstelement.sgml:
6568 * docs/gst/tmpl/gstelementdetails.sgml:
6569 * docs/gst/tmpl/gstelementfactory.sgml:
6570 * docs/gst/tmpl/gstenumtypes.sgml:
6571 * docs/gst/tmpl/gsterror.sgml:
6572 * docs/gst/tmpl/gstevent.sgml:
6573 * docs/gst/tmpl/gstfakesink.sgml:
6574 * docs/gst/tmpl/gstfakesrc.sgml:
6575 * docs/gst/tmpl/gstfilesink.sgml:
6576 * docs/gst/tmpl/gstfilesrc.sgml:
6577 * docs/gst/tmpl/gstfilter.sgml:
6578 * docs/gst/tmpl/gstformat.sgml:
6579 * docs/gst/tmpl/gstghostpad.sgml:
6580 * docs/gst/tmpl/gstimplementsinterface.sgml:
6581 * docs/gst/tmpl/gstindex.sgml:
6582 * docs/gst/tmpl/gstindexfactory.sgml:
6583 * docs/gst/tmpl/gstinfo.sgml:
6584 * docs/gst/tmpl/gstiterator.sgml:
6585 * docs/gst/tmpl/gstmacros.sgml:
6586 * docs/gst/tmpl/gstmemchunk.sgml:
6587 * docs/gst/tmpl/gstminiobject.sgml:
6588 * docs/gst/tmpl/gstobject.sgml:
6589 * docs/gst/tmpl/gstpad.sgml:
6590 * docs/gst/tmpl/gstpadtemplate.sgml:
6591 * docs/gst/tmpl/gstparse.sgml:
6592 * docs/gst/tmpl/gstpipeline.sgml:
6593 * docs/gst/tmpl/gstplugin.sgml:
6594 * docs/gst/tmpl/gstpluginfeature.sgml:
6595 * docs/gst/tmpl/gstquery.sgml:
6596 * docs/gst/tmpl/gstqueue.sgml:
6597 * docs/gst/tmpl/gstregistry.sgml:
6598 * docs/gst/tmpl/gstregistrypool.sgml:
6599 * docs/gst/tmpl/gstscheduler.sgml:
6600 * docs/gst/tmpl/gstschedulerfactory.sgml:
6601 * docs/gst/tmpl/gststructure.sgml:
6602 * docs/gst/tmpl/gstsystemclock.sgml:
6603 * docs/gst/tmpl/gsttaglist.sgml:
6604 * docs/gst/tmpl/gsttagsetter.sgml:
6605 * docs/gst/tmpl/gsttrace.sgml:
6606 * docs/gst/tmpl/gsttrashstack.sgml:
6607 * docs/gst/tmpl/gsttypefind.sgml:
6608 * docs/gst/tmpl/gsttypefindfactory.sgml:
6609 * docs/gst/tmpl/gsttypes.sgml:
6610 * docs/gst/tmpl/gsturihandler.sgml:
6611 * docs/gst/tmpl/gsturitype.sgml:
6612 * docs/gst/tmpl/gstutils.sgml:
6613 * docs/gst/tmpl/gstvalue.sgml:
6614 * docs/gst/tmpl/gstversion.sgml:
6615 * docs/gst/tmpl/gstxml.sgml:
6616 * docs/libs/tmpl/gstcontrol.sgml:
6617 * docs/libs/tmpl/gstdataprotocol.sgml:
6618 * docs/libs/tmpl/gstdparam.sgml:
6619 * docs/libs/tmpl/gstdplinint.sgml:
6620 * docs/libs/tmpl/gstdpman.sgml:
6621 * docs/libs/tmpl/gstdpsmooth.sgml:
6622 * docs/libs/tmpl/gstgetbits.sgml:
6623 * docs/libs/tmpl/gstunitconvert.sgml:
6624 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6625 (gst_push_src_base_init), (gst_push_src_class_init),
6626 (gst_push_src_init), (gst_push_src_create):
6627 * gst/base/gstpushsrc.h:
6628 * gst/elements/gstelements.c:
6629 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6630 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6631 (gst_fake_sink_init), (gst_fake_sink_set_property),
6632 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6633 (gst_fake_sink_event), (gst_fake_sink_preroll),
6634 (gst_fake_sink_render), (gst_fake_sink_change_state):
6635 * gst/elements/gstfakesink.h:
6636 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6637 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6638 (gst_fake_src_base_init), (gst_fake_src_class_init),
6639 (gst_fake_src_init), (gst_fake_src_event_handler),
6640 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6641 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6642 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6643 (gst_fake_src_create_buffer), (gst_fake_src_create),
6644 (gst_fake_src_start), (gst_fake_src_stop):
6645 * gst/elements/gstfakesrc.h:
6646 * gst/elements/gstfilesink.c: (_do_init),
6647 (gst_file_sink_base_init), (gst_file_sink_class_init),
6648 (gst_file_sink_init), (gst_file_sink_dispose),
6649 (gst_file_sink_set_location), (gst_file_sink_set_property),
6650 (gst_file_sink_get_property), (gst_file_sink_open_file),
6651 (gst_file_sink_close_file), (gst_file_sink_query),
6652 (gst_file_sink_event), (gst_file_sink_render),
6653 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6654 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6655 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6656 * gst/elements/gstfilesink.h:
6657 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6658 (gst_file_src_class_init), (gst_file_src_init),
6659 (gst_file_src_finalize), (gst_file_src_set_location),
6660 (gst_file_src_set_property), (gst_file_src_get_property),
6661 (gst_file_src_map_region), (gst_file_src_map_small_region),
6662 (gst_file_src_create_mmap), (gst_file_src_create_read),
6663 (gst_file_src_create), (gst_file_src_is_seekable),
6664 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6665 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6666 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6667 (gst_file_src_uri_handler_init):
6668 * gst/elements/gstfilesrc.h:
6669 more autistic cleanliness in functions/names/defines
6671 2005-07-13 Andy Wingo <wingo@pobox.com>
6673 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6674 source couldn't negotiate.
6676 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6680 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6681 function. I am channeling Hades. Put your boots on suckers!!!
6683 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6685 * testsuite/caps/Makefile.am:
6686 * testsuite/caps/value_compare.c:
6687 * testsuite/caps/value_intersect.c:
6688 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6689 move two testsuite apps over to the check dir
6691 2005-07-12 Wim Taymans <wim@fluendo.com>
6693 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6694 Added more debug info in the negotiate process.
6697 Prepare for segment playback.
6699 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6705 * tools/gst-launch.c: (main):
6706 NULL pipeline on errors.
6708 2005-07-12 Andy Wingo <wingo@pobox.com>
6710 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6711 not it comes from a malloc region. Make sure our copy gets freed.
6713 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6715 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6716 * check/gst/gstmessage.c: (GST_START_TEST):
6717 * check/gst/gststructure.c: (GST_START_TEST),
6718 (gst_structure_suite), (main):
6720 * gst/gstelement.c: (gst_element_message_full):
6721 clean up GError and debug string now that they get copied
6722 * gst/gstmessage.c: (gst_message_new_error),
6723 (gst_message_new_warning), (gst_message_parse_error),
6724 (gst_message_parse_warning):
6725 use GST_TYPE_G_ERROR for structure_new, and take copies of
6726 arguments, so that we don't mess up refcounting
6728 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6730 * check/Makefile.am:
6731 add per-test valgrind targets
6732 * check/gst-libs/gdp.c: (GST_START_TEST),
6733 (gst_data_protocol_suite), (main):
6736 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6738 * check/Makefile.am:
6739 instate more valgrindable tests
6740 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6741 (GST_START_TEST), (fakesrc_suite):
6742 * check/gst/gstpad.c: (GST_START_TEST):
6743 * check/gst/gststructure.c: (GST_START_TEST):
6745 * docs/gst/tmpl/gstminiobject.sgml:
6746 * gst/gstpad.c: (gst_pad_finalize):
6747 fix the static mutex leak
6749 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6751 * check/Makefile.am:
6752 add two more tests for valgrinding
6753 * check/gst/gstvalue.c: (GST_START_TEST):
6754 test refcount of deserialized buffer, found a leak
6755 * docs/gst/gstreamer-docs.sgml:
6756 * docs/gst/gstreamer-sections.txt:
6757 * docs/gst/gstreamer.types:
6758 * docs/gst/tmpl/gstminiobject.sgml:
6759 add miniobject to docs
6760 * gst/gstminiobject.c:
6762 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6763 (gst_string_unwrap):
6764 fix a hard-to-find invalid write for one of the tests
6765 fix a leak for deserialized buffers
6767 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6769 * docs/pwg/advanced-events.xml:
6770 * docs/pwg/advanced-request.xml:
6771 * docs/pwg/advanced-scheduling.xml:
6772 * docs/pwg/appendix-porting.xml:
6773 * docs/pwg/building-boiler.xml:
6774 * docs/pwg/intro-preface.xml:
6775 * docs/pwg/other-ntoone.xml:
6776 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6777 of example code and explanation for pad activation, loop() and
6778 getrange() functions and a bit more. Remove old comments pointing
6780 * examples/pwg/Makefile.am:
6781 Add loop/getrange examples.
6783 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6786 check for valgrind binary + some fixes
6788 valgrind suppressions for the tests
6789 * check/Makefile.am:
6790 add a valgrind: target that valgrinds the unit tests
6791 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6792 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6793 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6794 * check/gst/gstghostpad.c:
6796 * check/gst/gstdata.c:
6798 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6799 (thread_unref), (gst_mini_object_suite), (main):
6801 * gst/gst.c: (gst_deinit):
6803 add a method to clean up.
6804 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6805 (gst_system_clock_obtain):
6806 allow for disposing the system clock.
6807 * tools/gst-launch.c: (main):
6810 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6812 * docs/gst/tmpl/gstbasesrc.sgml:
6813 * docs/gst/tmpl/gstfakesrc.sgml:
6814 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6815 (gst_base_src_init), (gst_base_src_set_property),
6816 (gst_base_src_get_property), (gst_base_src_get_range),
6817 (gst_base_src_start):
6818 * gst/base/gstbasesrc.h:
6819 add num-buffers property
6820 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6821 (gst_fakesrc_init), (gst_fakesrc_set_property),
6822 (gst_fakesrc_get_property), (gst_fakesrc_create),
6823 (gst_fakesrc_start):
6824 remove num-buffers property
6826 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6828 * docs/gst/gstreamer-sections.txt:
6829 * docs/gst/tmpl/gstbasesink.sgml:
6830 * docs/gst/tmpl/gstbasesrc.sgml:
6831 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6832 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6833 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6834 (gst_base_sink_set_property), (gst_base_sink_get_property),
6835 (gst_base_sink_handle_object), (gst_base_sink_event),
6836 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6837 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6838 (gst_base_sink_loop), (gst_base_sink_deactivate),
6839 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6840 (gst_base_sink_change_state):
6841 * gst/base/gstbasesink.h:
6842 * gst/base/gstbasesrc.h:
6843 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6844 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6845 (gst_filesink_init):
6846 more macro splitting
6848 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6850 * gst/gstelement.c: (gst_element_get_bus):
6852 * tools/gst-launch.c: (check_intr), (event_loop):
6855 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6857 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6860 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6862 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6863 (gst_base_src_finalize):
6864 add finalize method and clean up properly
6865 * gst/gstpipeline.c: (gst_pipeline_dispose):
6868 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6870 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6872 add more things to check
6873 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6877 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6879 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6880 (GST_START_TEST), (fakesrc_suite):
6881 * check/gst-libs/gdp.c: (GST_START_TEST):
6882 * check/gst/gst.c: (GST_START_TEST):
6883 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6884 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6885 * check/gst/gstbus.c: (GST_START_TEST):
6886 * check/gst/gstcaps.c: (GST_START_TEST):
6887 * check/gst/gstdata.c: (GST_START_TEST):
6888 * check/gst/gstelement.c: (GST_START_TEST):
6889 * check/gst/gstghostpad.c: (GST_START_TEST):
6890 * check/gst/gstiterator.c: (GST_START_TEST):
6891 * check/gst/gstmessage.c: (GST_START_TEST):
6892 * check/gst/gstobject.c: (GST_START_TEST):
6893 * check/gst/gstpad.c: (GST_START_TEST):
6894 * check/gst/gststructure.c: (GST_START_TEST):
6895 * check/gst/gstsystemclock.c: (GST_START_TEST),
6896 (gst_systemclock_suite):
6897 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6898 * check/gst/gstvalue.c: (GST_START_TEST):
6899 * check/pipelines/cleanup.c: (GST_START_TEST):
6900 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6901 * check/states/sinks.c: (GST_START_TEST):
6902 * check/gstcheck.c: (gst_check_init):
6904 add debugging category
6905 use GST_START_TEST now, so we add a debug line
6907 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6909 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6910 add test for state change message on a bin
6911 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6913 * gst/gstbin.c: (gst_bin_init):
6914 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6915 * gst/gstelement.c: (gst_element_post_message),
6916 (gst_element_set_state):
6917 * gst/gstelementfactory.c: (gst_element_factory_create):
6918 * gst/gstmessage.c: (gst_message_new):
6919 * gst/gstscheduler.c:
6920 various debugging additions and cleanups
6922 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6924 * check/Makefile.am:
6925 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6927 adding tests for elements
6928 * gst/gstelement.c: (gst_element_dispose):
6930 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6932 * gst/registries/gstlibxmlregistry.c: (load_feature):
6933 plug more leaks. A simple gst_init() now is leakfree, yay.
6935 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6937 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6938 (gst_xml_registry_load):
6939 plug another memleak
6941 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6944 use GST_SET_ERROR_CFLAGS
6946 change to ERROR_CFLAGS
6948 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6951 make GST_ERROR_CFLAGS overridable and re-enable Werror
6953 add a note about error CFLAGS
6954 * docs/gst/tmpl/gstfakesrc.sgml:
6955 * gst/elements/gstfakesrc.c:
6956 comment out some unused code
6957 * gst/gst.c: (split_and_iterate):
6958 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6962 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6964 * common/Makefile.am:
6965 * common/gtk-doc.mak:
6966 * docs/gst/Makefile.am:
6967 factor out gtk-doc.mak
6969 2005-07-07 Wim Taymans <wim@fluendo.com>
6971 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6972 (gst_thread_scheduler_dispose):
6973 Unlock the STREAM_LOCK completely.
6975 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6977 * check/Makefile.am:
6978 * check/elements/.cvsignore:
6979 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6980 (START_TEST), (fakesrc_suite), (main):
6981 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6982 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6983 (gst_fakesrc_create), (gst_fakesrc_start):
6984 * gst/elements/gstfakesrc.h:
6985 adding a first element test
6987 2005-07-07 Andy Wingo <wingo@pobox.com>
6989 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6992 2005-07-07 Wim Taymans <wim@fluendo.com>
6998 2005-07-07 Wim Taymans <wim@fluendo.com>
7000 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7001 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7002 Allow subclasses to implement their own negotiation.
7004 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7006 * docs/design/part-gstbin.txt:
7007 * docs/design/part-gstpipeline.txt:
7008 Update design notes to reflect the movement of
7009 responsibility for bus handling from GstPipeline to
7012 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7015 Remove unnecessary queue2/3/4 examples.
7017 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7019 * examples/Makefile.am:
7020 * examples/helloworld/helloworld.c: (event_loop), (main):
7021 * examples/queue/queue.c: (event_loop), (main):
7022 * examples/queue2/queue2.c: (main):
7023 Update a couple of the examples to work again.
7025 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7026 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7027 Spelling corrections and extra debug.
7029 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7030 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7031 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7033 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7034 (gst_pipeline_change_state):
7035 * gst/gstpipeline.h:
7036 Move the bus handler for children to the GstBin, and create a
7037 separate bus for receiving messages from children to the one the
7038 bus sends 'upwards' on.
7040 2005-07-06 Wim Taymans <wim@fluendo.com>
7043 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7044 (gst_base_sink_handle_object), (gst_base_sink_loop),
7045 (gst_base_sink_change_state):
7046 * gst/base/gstbasesink.h:
7047 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7048 (gst_base_src_init), (gst_base_src_setcaps),
7049 (gst_base_src_getcaps), (gst_base_src_loop),
7050 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7051 (gst_base_src_start), (gst_base_src_change_state):
7052 * gst/base/gstbasesrc.h:
7053 Make basesrc negotiate.
7054 Handle the case where preroll fails in basesink.
7057 2005-07-06 Wim Taymans <wim@fluendo.com>
7059 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7060 Implement the fixate function.
7061 Clean up acceptcaps.
7063 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7065 * docs/pwg/building-filterfactory.xml:
7067 Remove never-written filter-factory chapter; I'll add the various
7068 base classes to part 4 ("other element types") later on.
7070 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7072 * docs/pwg/advanced-negotiation.xml:
7073 * docs/pwg/building-boiler.xml:
7074 * docs/pwg/building-pads.xml:
7076 * examples/pwg/Makefile.am:
7077 Add a chapter on caps negotiation, simplify the original code
7078 samples a bit w.r.t. caps negotiation, add link to the advanced
7079 section. Add a bunch of examples showing different use cases of
7080 different types of caps negotiation. Upstream renegotiation isn't
7081 fully documented yet since nobody knows how that works.
7083 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7085 * check/gst/gstpad.c:
7087 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7088 if pad has no parent, return NULL as list of internal links
7090 2005-07-05 Andy Wingo <wingo@pobox.com>
7092 * gst/elements/gstfilesrc.c:
7093 * gst/elements/gstfakesrc.c:
7094 * gst/base/gstpushsrc.c:
7095 * gst/base/gstbasesrc.h:
7096 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7098 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7101 better report generation target (lcov needs a patch)
7103 2005-07-05 Andy Wingo <wingo@pobox.com>
7105 * gst/elements, testsuite: Null if we got it...
7107 2005-07-05 Wim Taymans <wim@fluendo.com>
7110 * libs/gst/dataprotocol/Makefile.am:
7111 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7112 * libs/gst/dataprotocol/dataprotocol.h:
7113 * pkgconfig/Makefile.am:
7114 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7115 * pkgconfig/gstreamer-dataprotocol.pc.in:
7116 Ported dataprotol to 0.9.
7117 Added pkgconfig files.
7119 2005-07-05 Andy Wingo <wingo@pobox.com>
7121 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7122 Default to returning TRUE for the case when tranform_caps returns
7123 a fixed caps, like for identity or volume.
7125 * check/gst/gstbus.c (pound_bus_with_messages):
7126 * check/gst/gstmessage.c (START_TEST):
7127 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7130 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7131 logic weaks here: always run transform_caps, trying passthrough
7132 operation only if the original caps intersects with the transform.
7134 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7135 source and sink caps.
7137 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7138 Intersect the peer caps with the pad template before going into
7140 (gst_base_transform_transform_caps): More debugging.
7142 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7145 2005-07-04 Edward Hervey <edward@fluendo.com>
7149 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7152 2005-07-04 Andy Wingo <wingo@pobox.com>
7154 * check/gst/gstpad.c: Only set explicit caps on pads.
7156 2005-07-01 Andy Wingo <wingo@pobox.com>
7158 * tests/network-clock.scm: Commentary update.
7160 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7161 Didn't really make sense, not implementable with basetransform,
7163 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7164 attempt at implementing the sync property, needs an unlock method.
7166 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7167 New func, by default returns the same caps (the identity
7169 (gst_base_transform_getcaps): Uses transform_caps to return
7171 (gst_base_transform_setcaps): Complicated logic to get caps on
7172 both pads, even if they are different, and to call set_caps once
7173 for every time both pads get their caps set.
7174 (gst_base_transform_handle_buffer): Give the ref to the transform
7175 function. Allows in-place modification of the buffer.
7177 * gst/base/gstbasetransform.h (transform_caps): New class method.
7178 Given caps on one side, what can I do on the other.
7179 (set_caps): Take two caps, one for each side of the element.
7182 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7183 caps in place. This is safe because we can check the mutability of
7184 the caps, and a good idea because fixate functions are just called
7185 as a matter of last resort. (Not actually implemented.)
7186 (gst_pad_set_caps): If the caps we're setting is actually the same
7187 as the existing pad caps, just update the pointer without calling
7188 setcaps. Assert that caps is either NULL or fixed, as per the
7191 * gst/gstghostpad.c: Update for fixate changes.
7193 2005-07-02 Andy Wingo <wingo@pobox.com>
7196 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7197 two refcounts makes it immutable, which is enough. Doc more.
7199 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7201 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7202 Put the mini_object into GValue as a mini_object,
7203 not a gpointer, since that's how we declared
7206 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7208 * examples/pwg/Makefile.am:
7211 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7213 * docs/pwg/building-testapp.xml:
7215 * examples/pwg/Makefile.am:
7218 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7221 * examples/Makefile.am:
7222 * examples/pwg/Makefile.am:
7223 * examples/pwg/extract.pl:
7224 Enable building the PWG examples.
7225 * docs/pwg/advanced-interfaces.xml:
7226 Add URI interface stub.
7227 * docs/pwg/advanced-types.xml:
7228 * docs/pwg/other-autoplugger.xml:
7229 * docs/pwg/appendix-porting.xml:
7231 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7232 * docs/pwg/building-boiler.xml:
7233 * docs/pwg/building-chainfn.xml:
7234 * docs/pwg/building-pads.xml:
7235 * docs/pwg/building-props.xml:
7236 * docs/pwg/building-state.xml:
7237 * docs/pwg/building-testapp.xml:
7238 Update the building-*.xml parts for 0.9 changes. All examples
7239 code blocks compile in examples/pwg/*.
7241 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7243 * docs/manual/advanced-autoplugging.xml:
7244 * docs/manual/appendix-checklist.xml:
7245 * docs/manual/appendix-integration.xml:
7246 * docs/manual/highlevel-components.xml:
7247 Fix playbin/decodebin examples, update docs a bit, mention bus
7248 instead of signals in various places, mention kmplayer and
7249 kaffeine since they have a working GStreamer backend in the KDE
7252 2005-06-30 Wim Taymans <wim@fluendo.com>
7255 * docs/design/draft-ghostpads.txt:
7256 * docs/design/draft-push-pull.txt:
7257 * docs/design/draft-query.txt:
7258 * docs/design/part-TODO.txt:
7259 * docs/design/part-query.txt:
7260 Added CHANGES-0.9 doc, updated status of other docs.
7265 2005-06-30 Wim Taymans <wim@fluendo.com>
7267 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7268 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7269 (gst_base_sink_change_state):
7270 * gst/base/gstbasesink.h:
7271 Some tweaks, only EOS and a buffer complete a preroll.
7273 2005-06-30 Andy Wingo <wingo@pobox.com>
7275 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7276 activate_push down to the internal pad as well.
7278 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7280 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7282 * gst/gsttaginterface.c:
7283 Some documentation fixes (#307394 and #307397).
7285 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7287 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7289 * gst/gstvalue.c: (gst_value_intersect_list):
7290 Fix memleak (#309125).
7292 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7294 * docs/manual/advanced-dataaccess.xml:
7295 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7296 * docs/manual/basics-pads.xml:
7297 Add reference for filtered caps to above chapter.
7299 2005-06-30 Wim Taymans <wim@fluendo.com>
7301 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7302 (gst_bin_change_state):
7304 Lame attempt at making the state change function a bit
7307 2005-06-30 Wim Taymans <wim@fluendo.com>
7309 * docs/design/part-clocks.txt:
7310 * docs/design/part-element-sink.txt:
7311 * docs/design/part-events.txt:
7312 * docs/design/part-preroll.txt:
7313 * docs/design/part-states.txt:
7314 Some more tweeks and additions to the docs.
7316 2005-06-30 Wim Taymans <wim@fluendo.com>
7318 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7319 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7320 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7321 (gst_pad_check_pull_range), (gst_pad_get_range),
7322 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7324 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7325 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7326 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7327 (gst_pad_remove_buffer_probe):
7328 Removed atomic operations, use existing LOCK.
7329 Move exception handling out of main code path.
7331 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7333 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7334 (silly_return_true_function), (gst_pad_class_init),
7335 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7336 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7337 (gst_pad_send_event):
7338 Fix accumulator, add default value by using _emitv() instead
7339 of _emit() for signal emission.
7341 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7343 * docs/manual/advanced-dataaccess.xml:
7344 * examples/manual/Makefile.am:
7346 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7349 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7351 * gst/elements/gstfilesink.c: (gst_filesink_render):
7352 Simplify code so that we don't have to handle short
7353 writes and return GST_FLOW_ERROR if an error occured.
7355 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7357 * docs/gst/gstreamer-docs.sgml:
7360 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7362 * docs/gst/gstreamer-sections.txt:
7363 * docs/gst/tmpl/gstpad.sgml:
7364 * docs/gst/tmpl/gstprobe.sgml:
7366 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7367 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7368 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7369 (gst_pad_push_event), (gst_pad_send_event):
7371 * gst/gstutils.c: (gst_pad_add_data_probe),
7372 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7373 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7374 (gst_pad_remove_buffer_probe):
7376 Remove old probes, add new g-signal-based probes and some utility
7379 2005-06-29 Edward Hervey <edward@fluendo.com>
7381 * gst/gstelementfactory.c:
7384 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7385 the definition to the header file.
7387 2005-06-29 Andy Wingo <wingo@pobox.com>
7389 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7390 plugins from the source directory.
7392 2005-06-29 Wim Taymans <wim@fluendo.com>
7394 * docs/gst/tmpl/gstbuffer.sgml:
7395 * docs/gst/tmpl/gstclock.sgml:
7396 Some fixings for blantently wrong text.
7398 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7400 * check/Makefile.am:
7401 * gst/gst.c: (add_path_func), (init_pre):
7402 * gst/gstregistry.c: (gst_registry_add_path):
7403 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7404 only scan the GST_PLUGIN_PATH locations, and not add
7407 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7409 * docs/gst/gstreamer-sections.txt:
7410 * docs/gst/tmpl/gstbasesrc.sgml:
7417 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7419 * docs/manual/advanced-autoplugging.xml:
7420 Fix autoplugging example.
7422 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7424 * docs/manual/advanced-autoplugging.xml:
7425 * docs/manual/mime-world.fig:
7426 Try to get autoplugging working, fix type detection. Fix text
7427 in hello-world image.
7429 2005-06-29 Wim Taymans <wim@fluendo.com>
7431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7432 (gst_base_sink_change_state):
7436 map SIGNAL and BROADCAST to the right function.
7439 Remove redundant braces.
7441 * gst/gstpad.c: (gst_pad_set_caps):
7442 Don't call setcaps function when reseting caps to NULL.
7444 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7445 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7446 (gst_system_clock_id_unschedule):
7447 Use BROADCAST as this is what we do.
7449 2005-06-29 Wim Taymans <wim@fluendo.com>
7451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7452 We are actually prerolling before commiting the state
7455 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7457 * docs/manual/advanced-clocks.xml:
7458 * docs/manual/advanced-interfaces.xml:
7459 * docs/manual/advanced-metadata.xml:
7460 * docs/manual/advanced-position.xml:
7461 * docs/manual/advanced-schedulers.xml:
7462 * docs/manual/advanced-threads.xml:
7463 * docs/manual/appendix-porting.xml:
7464 * docs/manual/basics-bins.xml:
7465 * docs/manual/basics-bus.xml:
7466 * docs/manual/basics-elements.xml:
7467 * docs/manual/basics-helloworld.xml:
7468 * docs/manual/basics-pads.xml:
7469 * docs/manual/highlevel-components.xml:
7470 * docs/manual/manual.xml:
7471 * docs/manual/thread.fig:
7472 Update (until threads/scheduling) Application Development Manual;
7473 remove GstThread, add GstBus, add simple porting checklist, add
7474 documentation for tag writing, clocks, make all examples until this
7475 part compile and run.
7476 * examples/manual/Makefile.am:
7477 Update from changes to Application Development Manual; add bus
7478 example, remove thread example.
7480 2005-06-28 Wim Taymans <wim@fluendo.com>
7482 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7483 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7484 (gst_bus_source_dispatch):
7485 Add debugging messages.
7486 Make internal methods static.
7487 Handle the case where the bus is flushed in the handler.
7489 * gst/gstelement.c: (gst_element_get_bus):
7490 Fix refcount in _get_bus();
7492 * gst/gstpipeline.c: (gst_pipeline_change_state),
7493 (gst_pipeline_get_clock_func):
7494 Clock refcounting fixes.
7495 Handle the case where preroll timed out more gracefully.
7497 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7498 Clean up the internal thread in dispose. This is needed
7499 for subclasses that actually get disposed.
7501 * gst/schedulers/threadscheduler.c:
7502 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7503 (gst_thread_scheduler_dispose):
7504 Free thread pool in dispose.
7506 2005-06-28 Andy Wingo <wingo@pobox.com>
7508 * tests/network-clock-utils.scm (debug, print-event): New utils.
7510 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7511 (*packet-loss*): Unified loss probability.
7512 (network-time): Report out-of-band events.
7514 * tests/plot-data: Add support for out-of-band events. Hack it
7515 into this script instead of passing it down the pipe; should fix
7518 2005-06-28 Wim Taymans <wim@fluendo.com>
7520 * docs/gst/gstreamer.types:
7521 * docs/gst/tmpl/gstbasesrc.sgml:
7522 * docs/gst/tmpl/gstpad.sgml:
7525 2005-06-28 Wim Taymans <wim@fluendo.com>
7527 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7528 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7529 (gst_proxy_pad_do_fixatecaps):
7530 Correctly proxy the check_pull_range function.
7532 2005-06-28 Andy Wingo <wingo@pobox.com>
7534 * tests/network-clock.scm: Removed need for slib.
7536 2005-06-28 Wim Taymans <wim@fluendo.com>
7538 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7539 (gst_basesink_preroll_queue_flush):
7540 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7541 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7542 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7543 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7544 (gst_proxy_pad_set_property):
7547 * gst/gstqueue.c: (gst_queue_init):
7548 The deprecated pad loop function is removed now.
7550 2005-06-28 Andy Wingo <wingo@pobox.com>
7552 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7553 New parameters, simulate network packet loss.
7555 * tests/network-clock-utils.scm: Initialize the RNG.
7557 2005-06-28 Wim Taymans <wim@fluendo.com>
7559 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7560 (gst_basesink_event), (gst_basesink_deactivate):
7561 Flushing the preroll queue always needs to unlock the waiters.
7563 2005-06-28 Edward Hervey <edward@fluendo.com>
7565 * gst/gstpipeline.c: (gst_pipeline_send_event):
7566 Wheen a seek was successful on a pipeline, set the stream_time to the
7567 seek offset in order to have a synchronized stream_time.
7569 2005-06-28 Wim Taymans <wim@fluendo.com>
7571 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7572 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7573 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7574 (gst_proxy_pad_do_fixatecaps):
7575 Call wrapper function instead of just calling the function
7576 pointers. This takes care of any locking and whatmore.
7578 2005-06-28 Wim Taymans <wim@fluendo.com>
7580 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7581 (gst_pad_pull_range):
7583 CONNECTED -> LINKED.
7585 2005-06-28 Andy Wingo <wingo@pobox.com>
7587 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7588 source-munging commit!!!
7590 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7591 (gst_object_sink): Take gpointer arguments, not GstObject --
7592 avoids casts. Like GLib.
7594 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7597 2005-06-27 Andy Wingo <wingo@pobox.com>
7599 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7602 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7603 returns a sorted copy of the trace list.
7604 (gst_alloc_trace_print_live): New API, only prints traces with
7605 live objects. Sort the list.
7606 (gst_alloc_trace_print_all): Sort the list.
7607 (gst_alloc_trace_print): Align columns.
7609 * gst/elements/gstttypefindelement.c:
7610 * gst/elements/gsttee.c:
7611 * gst/base/gstbasesrc.c:
7612 * gst/base/gstbasesink.c:
7613 * gst/base/gstbasetransform.c:
7614 * gst/gstqueue.c: Adapt for pad activation changes.
7616 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7618 (gst_pipeline_dispose): Drop ref on sched.
7620 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7621 (gst_pad_activate_default): Push mode by default.
7622 (pre_activate_switch, post_activate_switch): New stubs, things to
7623 do before and after switching activation modes on pads.
7624 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7625 the pad's activate function to choose which mode to activate.
7626 Shortcut on deactivation and call the right function directly.
7627 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7629 (gst_pad_activate_push): New API, same for push mode.
7630 (gst_pad_set_activate_function)
7631 (gst_pad_set_activatepull_function)
7632 (gst_pad_set_activatepush_function): Setters for new API.
7634 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7635 Trace all miniobjects.
7636 (gst_mini_object_make_writable): Unref the arg if we copy, like
7637 gst_caps_make_writable.
7639 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7641 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7642 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7643 Adapt for new pad API.
7645 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7648 * gst/gstelement.c (gst_element_iterate_src_pads)
7649 (gst_element_iterate_sink_pads): New API functions.
7651 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7652 should fold into gstiterator.c in some form.
7653 (gst_element_pads_activate): Simplified via use of fold and
7654 delegation of decisions to gstpad->activate.
7656 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7659 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7660 class once in init, like gstmessage. Didn't run into this issue
7661 but it seems correct. Don't initialize a trace, gstminiobject does
7664 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7665 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7667 (assert_live_count): New util function, uses alloc traces to check
7670 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7671 To be modified when unlink drops the internal pad.
7673 2005-06-27 Wim Taymans <wim@fluendo.com>
7675 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7676 (gst_bin_change_state):
7677 Cleanup the get_state() function a little, make sure it
7678 iterates the same set of elements.
7679 Added stub iterate_state_order().
7681 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7683 * docs/gst/gstreamer-docs.sgml:
7684 * docs/gst/gstreamer-sections.txt:
7685 * docs/gst/gstreamer.types:
7686 * docs/gst/tmpl/gstbasesink.sgml:
7687 * docs/gst/tmpl/gstbasesrc.sgml:
7688 * docs/gst/tmpl/gstbasetransform.sgml:
7689 * docs/gst/tmpl/gstelement.sgml:
7690 * docs/gst/tmpl/gstiterator.sgml:
7691 * gst/base/gstbasesrc.c:
7692 * gst/base/gstbasesrc.h:
7693 * gst/base/gstbasetransform.h:
7695 * gst/gstiterator.h:
7696 adding basetransform and iterator docs
7698 2005-06-27 Andy Wingo <wingo@pobox.com>
7700 * docs/design/part-activation.txt: Notes on how activation should
7701 work -- not quite implemented yet.
7703 2005-06-25 Wim Taymans <wim@fluendo.com>
7705 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7706 At least get the chain function correct, needs more
7709 2005-06-25 Wim Taymans <wim@fluendo.com>
7711 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7712 (gst_basesink_handle_object), (gst_basesink_event),
7713 (gst_basesink_do_sync), (gst_basesink_handle_event),
7714 (gst_basesink_change_state):
7716 Right, two problems here: ghostpads don't take locks and
7717 glib _rec_mutex_lock_full() with depth==0 still locks.
7718 Catch illegal locking and g_warn them.
7720 2005-06-25 Wim Taymans <wim@fluendo.com>
7722 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7723 Have to check for completion now...
7725 2005-06-25 Wim Taymans <wim@fluendo.com>
7727 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7728 (gst_basesink_handle_object), (gst_basesink_event),
7729 (gst_basesink_do_sync), (gst_basesink_handle_event),
7730 (gst_basesink_change_state):
7732 Unlock STREAM_LOCK whatever the recursion was.
7734 2005-06-25 Wim Taymans <wim@fluendo.com>
7736 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7737 (gst_basesink_preroll_queue_empty),
7738 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7739 (gst_basesink_event), (gst_basesink_do_sync),
7740 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7741 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7742 (gst_basesink_change_state):
7743 Reworked the base sink, handle event and buffer serialisation
7744 correctly and removed possible deadlock.
7745 Handle EOS correctly.
7747 2005-06-25 Wim Taymans <wim@fluendo.com>
7749 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7750 (gst_pipeline_change_state):
7751 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7752 Allow elements to post EOS in the state change function.
7753 Fix up -launch, make it exit the poll loop when the
7754 pipeline actually changed state.
7755 Fix up warning parsing in -launch.
7757 2005-06-25 Wim Taymans <wim@fluendo.com>
7759 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7760 (gst_tee_sink_activate):
7761 Core takes STREAM_LOCK for us now.
7763 2005-06-25 Wim Taymans <wim@fluendo.com>
7765 * gst/gstelement.c: (gst_element_get_state_func),
7766 (gst_element_set_state):
7768 * gst/gstmessage.c: (gst_message_parse_error),
7769 (gst_message_parse_warning):
7770 Keep track of current target state while performing a state
7771 change so that subclasses can do something interesting.
7772 Fix parsing of warning/error messages when GError is NULL.
7774 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7776 * docs/gst/Makefile.am:
7777 * docs/gst/gstreamer-docs.sgml:
7778 * docs/gst/gstreamer-sections.txt:
7779 * docs/gst/gstreamer.types:
7780 * docs/gst/tmpl/gstbasesink.sgml:
7781 * docs/gst/tmpl/gstbasesrc.sgml:
7782 * docs/gst/tmpl/gstbin.sgml:
7783 * docs/gst/tmpl/gstcompat.sgml:
7784 * docs/gst/tmpl/gstfakesink.sgml:
7785 * docs/gst/tmpl/gstfakesrc.sgml:
7786 * docs/gst/tmpl/gstfilesink.sgml:
7787 * docs/gst/tmpl/gstfilesrc.sgml:
7788 * docs/gst/tmpl/gstindex.sgml:
7789 * docs/manual/appendix-quotes.xml:
7790 * gst/base/gstbasesrc.h:
7791 * gst/elements/gstfakesrc.h:
7793 start pulling in base classes and elements in our docs
7795 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7797 * docs/gst/Makefile.am:
7798 * docs/libs/Makefile.am:
7799 fixed make distcheck with gtk-doc 1.3
7801 2005-06-23 Wim Taymans <wim@fluendo.com>
7803 * gst/gstelement.c: (gst_element_get_state_func),
7804 (gst_element_set_state), (gst_element_change_state):
7805 When the state did not change, also report NO_PREROLL
7808 2005-06-23 Wim Taymans <wim@fluendo.com>
7810 * gst/gstpad.c: (gst_pad_event_default):
7811 * gst/gstqueue.c: (gst_queue_loop):
7812 No unsafe task pausing please.
7814 2005-06-23 Wim Taymans <wim@fluendo.com>
7816 * gst/schedulers/threadscheduler.c:
7817 (gst_thread_scheduler_task_start),
7818 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7819 Ref the task before pushing it on the threadpool. This
7820 makes sure that we have a ref when the threadfunction is
7823 2005-06-23 Andy Wingo <wingo@pobox.com>
7825 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7826 offset is greater than the file's size.
7828 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7829 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7830 * gst/gstobject.c (gst_object_class_init): Make the class lock
7831 recursive. Wim won't let me drop deep_notify. Decodebin works
7834 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7835 internal pad, and hacks accordingly. Doesn't do it on the target
7836 pad because we change its caps. Probably catches all cases of
7838 (gst_ghost_pad_set_property): Connect to notify::caps as
7841 * tests/network-clock.scm (plot-simulation): Pipe data to the
7842 elite python skript.
7844 * tests/network-clock-utils.scm (define-parameter): New macro,
7845 defines a parameter that can be set via the command line.
7846 (set-parameter!, parse-parameter-arguments): Command line args
7849 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7852 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7854 * gst/elements/gsttypefindelement.c:
7855 (gst_type_find_element_handle_event):
7856 Don't restart typefinding on a discont.
7857 * gst/gstelement.c: (gst_element_set_state):
7859 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7860 Allow changing mode of an active pad.
7862 * gst/registries/gstlibxmlregistry.c: (load_feature):
7863 Don't cast a static pad template to a normal pad template.
7865 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7867 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7868 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7869 remove gst_strtoll completely, since it didn't actually do
7870 anything more than what g_ascii_strtoull already does.
7871 check for range errors when deserializing
7872 do a cast for the unsigned cases; but further fixing needs
7873 a decision on what the interpretation of "(int)" and
7874 deserialization should be for values that fall outside the
7875 type's boundaries (ie, refuse, or interpret as casting)
7877 2005-06-23 Wim Taymans <wim@fluendo.com>
7879 * check/Makefile.am:
7880 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7881 * docs/design/part-live-source.txt:
7882 * docs/design/part-states.txt:
7883 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7884 (gst_basesrc_set_live), (gst_basesrc_is_live),
7885 (gst_basesrc_get_range), (gst_basesrc_activate),
7886 (gst_basesrc_change_state):
7887 * gst/base/gstbasesrc.h:
7888 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7889 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7890 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7891 * gst/gstelement.c: (gst_element_get_state_func),
7892 (gst_element_set_state):
7895 * tools/gst-launch.c: (event_loop), (main):
7896 Added support for live sources and other elements that
7898 Updated design docs, added live-source design doc.
7899 Implemented live source functionality in basesrc
7900 Fix error condition in _bin_get_state()
7901 Implement live source handling in -launch.
7902 Added check for live sources.
7903 Fixed case in GstBin where elements were changed state
7907 2005-06-23 Andy Wingo <wingo@pobox.com>
7909 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7912 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7913 gst_caps_replace takes care of this for us.
7915 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7916 gst_pad_set_caps on the target, not just its setcaps() function.
7918 * tests/network-clock.scm:
7919 * tests/network-clock-utils.scm: A network clock simulator.
7920 Something of an algorithmic testbed before doing something in C.
7922 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7924 * check/Makefile.am:
7925 * check/gst/capslist.h:
7926 copy over from 0.8, and add two with bitmasks specified with
7928 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7929 add test to parse everything from capslist.h
7930 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7932 add test for structure deserialization
7933 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7934 add tests for deserialization of strings to int types
7935 * gst/gststructure.c: (gst_structure_nth_field_name):
7936 * gst/gststructure.h:
7937 add a way to get the name of a field referenced by index
7938 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7939 instead of checking if the resulting long long lies between
7940 min and max, we check if the long long would fit into
7941 a number of bytes for the final type.
7942 This fixes cases where a string represents 2^32 - 1, which
7943 when cast to int would be the (valid) -1, but is bigger than
7946 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7948 * gst/parse/grammar.y:
7949 add a log line for type deserialization
7951 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7953 * check/gst/gstvalue.c: (START_TEST):
7954 * gst/gstvalue.c: (gst_value_deserialize):
7955 return long long, not int, so gint64 deserialization actually
7956 works. Is there any flag that makes the compiler check this ?
7959 2005-06-22 Wim Taymans <wim@fluendo.com>
7962 Added convenience macros for setting buffers in GValue.
7964 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7966 * check/gst/.cvsignore:
7967 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7968 add a test deserializing int64, and comment part out because
7971 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7973 * check/Makefile.am:
7974 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7975 * testsuite/Makefile.am:
7976 * testsuite/caps/Makefile.am:
7977 * testsuite/caps/value_serialize.c:
7978 * testsuite/test_gst_init.c:
7979 move a value_serialize test over
7981 2005-06-20 Wim Taymans <wim@fluendo.com>
7986 * gst/gstvalue.c: (gst_value_compare_buffer),
7987 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7988 (gst_value_compare_flags), (gst_value_serialize_flags),
7989 (gst_value_deserialize_flags), (_gst_value_initialize):
7990 Fix serialisation of buffers, they are not boxed types anymore
7992 2005-06-20 Wim Taymans <wim@fluendo.com>
7994 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7995 Testcase to show error in buffer-on-caps serialisation.
7997 2005-06-20 Andy Wingo <wingo@pobox.com>
7999 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8000 will be adding to later.
8002 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8003 if its socks fill with rocks.
8004 (gst_system_clock_obtain): Set the name on object construction.
8005 Avoid double-checked locking.
8007 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8009 * gst/gsturi.c: (gst_element_make_from_uri):
8010 Fix potential endless loop.
8012 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8014 * check/Makefile.am:
8016 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8018 move over from testsuite dir and clean up
8021 * testsuite/Makefile.am:
8022 * testsuite/tags/.cvsignore:
8023 * testsuite/tags/Makefile.am:
8024 * testsuite/tags/merge.c:
8025 remove testsuite/tags
8027 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8029 * docs/gst/gstreamer-sections.txt:
8030 * docs/gst/tmpl/gstenumtypes.sgml:
8031 * win32/gstenumtypes.c:
8032 clean up documentation build a little
8034 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8037 add macros for checking refcounts on objects and caps
8038 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8039 add some more unit tests
8040 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8041 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8042 fix leaked refcounts (I hope :)) so unittest works
8046 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8048 * configure.ac: back to HEAD
8050 === release 0.9.1 ===
8052 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8058 2005-06-17 Andy Wingo <wingo@pobox.com>
8060 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8061 assert; it's always possible that the pad gets deactivated in
8062 between the checks in gstpad.c and the implementation. Rely on
8063 finish_preroll() to return a FLUSHING or similar instead of on the
8066 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8067 clock and post an EOS message if we come out of finish_preroll in
8070 2005-06-16 David Schleef <ds@schleef.org>
8072 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8073 (gst_capsfilter_set_property): Allow NULL as possible value
8074 for filter_caps property, indicating GST_CAPS_ANY.
8076 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8078 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8080 * gst/schedulers/Makefile.am:
8082 * gstreamer.spec.in:
8085 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8087 * gstreamer.spec.in:
8090 2005-06-08 Andy Wingo <wingo@pobox.com>
8092 * gst/gstutils.c: RPAD fixes all around.
8093 (gst_element_link_pads): Refcounting fixes.
8095 * tools/gst-inspect.c:
8096 * tools/gst-xmlinspect.c:
8098 * gst/base/gsttypefindhelper.c:
8099 * gst/base/gstbasesink.c:
8100 * gst/gstqueue.c: RPAD fixes.
8102 * gst/gstghostpad.h:
8103 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8104 pads. The tricky thing is they provide both source and sink
8105 interfaces, since they proxy the internal pad for the external
8106 pad, and vice versa. Implement with lower-level ProxyPad objects,
8107 with the interior proxy pad as a child of the exterior ghost pad.
8108 Should write a doc on this.
8110 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8111 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8114 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8115 pads are real pads. No ghost pads in this file. Not documenting
8116 the myriad s/RPAD/PAD/ and REALIZE fixes.
8117 (gst_pad_class_init): Add properties for "direction" and
8118 "template". Both are construct-only, so they can't change during
8119 the life of the pad. Fixes properly deriving from GstPad.
8120 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8121 derived objects, just set properties when creating the objects via
8123 (gst_pad_get_parent): Implement as a function, return NULL if the
8124 parent is not an element.
8125 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8126 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8128 * gst/gstobject.c (gst_object_class_init): Make name a construct
8129 property. Don't set it in the object init.
8131 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8132 with UNKNOWN direction.
8133 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8134 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8135 (gst_element_remove_pad): Remove ghost-pad special cases.
8136 (gst_element_pads_activate): Remove rpad cruft.
8138 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8139 catch the pad's-parent-not-an-element case.
8141 * gst/gst.h: Include gstghostpad.h.
8143 * gst/gst.c (init_post): No more real, ghost pads.
8145 * gst/Makefile.am: Add gstghostpad.[ch].
8147 * check/Makefile.am:
8148 * check/gst/gstbin.c:
8149 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8150 into a bin creates ghost pads, and that the refcounts are right.
8151 Partly moved from gstbin.c.
8153 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8155 * check/gst-libs/.cvsignore:
8156 * check/gst/.cvsignore:
8157 * check/pipelines/.cvsignore:
8159 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8160 (START_TEST), (cleanup_suite), (main):
8161 add some tests related to cleanup after running pipelines
8163 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8165 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8166 add a testsuite for GstBuffer
8168 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8170 * gst/gstminiobject.h:
8171 add defines for accessing the refcount
8173 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8175 * Makefile.am: added support for html unit test coverage reports
8177 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8179 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8180 Free existing caps if the capsfilter changes. Add a FIXME about
8181 setting those caps on the pads.
8183 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8184 Before adding a ghost pad to a parent bin, check that there isn't
8185 already one for the element on the bin. Prevents infinite recursion
8186 when using decodebin in parse pipelines. Andy says he'll rewrite the
8187 way this works anyway, so ignore the hack.
8189 2005-06-02 Andy Wingo <wingo@pobox.com>
8191 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8192 file size, pass it on to the type find helper.
8194 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8195 segment_start and segment_end properly according to the seek
8196 method. Segment_end is still a bit flaky because offset can be
8197 negative for CUR and END cases, but it takes -1 as an "unset"
8200 2005-06-02 Wim Taymans <wim@fluendo.com>
8202 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8203 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8204 (gst_basesink_activate):
8205 * gst/base/gstbasesink.h:
8206 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8207 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8208 (gst_pad_query), (gst_pad_start_task):
8210 * gst/gstqueue.c: (gst_queue_bufferalloc),
8211 (gst_queue_handle_sink_event), (gst_queue_chain):
8212 Bufferalloc: return GstFlowReturn to more accuratly report
8213 why allocation failed.
8215 2005-06-02 Wim Taymans <wim@fluendo.com>
8217 * gst/gstpipeline.c: (gst_pipeline_send_event):
8218 Take snapshot of state without blocking.
8220 2005-06-02 Wim Taymans <wim@fluendo.com>
8222 * docs/design/part-TODO.txt:
8223 * docs/design/part-caps.txt:
8224 * docs/design/part-clocks.txt:
8225 * docs/design/part-negotiation.txt:
8226 * docs/design/part-preroll.txt:
8229 2005-05-30 Wim Taymans <wim@fluendo.com>
8231 * gst/elements/gstidentity.c: (gst_identity_event),
8232 (gst_identity_transform), (gst_identity_get_property):
8233 Protect last_message property as it is accessed from
8236 2005-05-30 Wim Taymans <wim@fluendo.com>
8238 * gst/gstelement.c: (gst_element_init),
8239 (gst_element_pads_activate), (gst_element_change_state):
8240 Slicker pad activation code.
8242 2005-05-30 Wim Taymans <wim@fluendo.com>
8246 * gst/gstelementfactory.h:
8248 Move elementfactory methods to separate .h file.
8250 2005-05-30 Wim Taymans <wim@fluendo.com>
8252 * docs/design/part-overview.txt:
8253 * gst/gstsystemclock.h:
8254 Small typo fixes, doc updates.
8256 2005-05-30 Wim Taymans <wim@fluendo.com>
8258 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8259 (init_popt_callback):
8260 Remove cpu-opt flag.
8262 2005-05-30 Wim Taymans <wim@fluendo.com>
8264 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8265 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8267 Avoid typechecking in places where not needed.
8268 Added accessor for malloc_data.
8270 2005-05-30 Wim Taymans <wim@fluendo.com>
8272 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8273 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8274 (gst_pad_configure_sink), (gst_pad_configure_src),
8275 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8276 (gst_pad_start_task):
8277 Propagate errors from _set_caps() in configure_src/sink
8278 functions instead of returning TRUE.
8279 FLUSH events can travel up and downstream
8282 2005-05-30 Wim Taymans <wim@fluendo.com>
8284 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8285 (gst_basesink_activate):
8286 Handle EOS in preroll.
8288 2005-05-30 Wim Taymans <wim@fluendo.com>
8290 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8291 (gst_queue_loop), (gst_queue_handle_src_event):
8292 Remove old pieces of code
8293 Flushing the queue in an upstream event is a very bad idea.
8295 2005-05-26 Andy Wingo <wingo@pobox.com>
8297 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8298 gst_value_set_mini_object so as to add a ref on the object (which
8299 will be removed when the value is unset).
8301 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8302 arg type in ::handoff.
8304 * gst/gstelement.c (gst_element_change_state): Also deactivate
8305 pads in READY->NULL, just in case the element didn't make it to
8306 PAUSED. Wingo tested, Wim approved.
8308 2005-05-26 Wim Taymans <wim@fluendo.com>
8310 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8311 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8312 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8313 A flushing pad cannot be used to alloc_buffer from.
8315 2005-05-26 Wim Taymans <wim@fluendo.com>
8317 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8318 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8319 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8320 (gst_bus_create_watch), (gst_bus_add_watch_full):
8322 Implement a real GSource and use g_main_context_wakeup() to
8323 signal new messages instead of the socketpair.
8325 2005-05-25 Wim Taymans <wim@fluendo.com>
8327 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8328 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8329 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8330 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8331 (gst_pad_send_event), (gst_pad_start_task):
8332 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8333 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8334 (gst_queue_sink_activate), (gst_queue_src_activate),
8335 (gst_queue_change_state):
8337 Fix state changes for non sinks. We now change sinks, then elements
8338 with unconnected srcpads, then the rest.
8339 More efficient queue unlocking in flush and state changes.
8340 Set the pad activate mode even if it does not have an activate
8343 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8345 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8346 Don't go in pull mode for non-seekable sources.
8347 * gst/elements/gsttypefindelement.h:
8348 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8349 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8350 (free_entry), (stop_typefinding),
8351 (gst_type_find_element_handle_event), (find_peek),
8352 (gst_type_find_element_chain), (do_pull_typefind),
8353 (gst_type_find_element_change_state):
8354 Allow typefinding (w/o seeking) in push-mode, simplified version
8356 * gst/gstutils.c: (gst_buffer_join):
8358 gst_buffer_join() from 0.8.
8360 2005-05-25 Wim Taymans <wim@fluendo.com>
8362 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8363 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8364 (gst_pad_send_event), (gst_pad_start_task):
8365 Disable attempt at mode switching until it is figured out.
8367 2005-05-25 Wim Taymans <wim@fluendo.com>
8369 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8370 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8371 (gst_basesink_finish_preroll), (gst_basesink_chain),
8372 (gst_basesink_loop), (gst_basesink_activate),
8373 (gst_basesink_change_state):
8374 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8375 (gst_basesrc_get_range), (gst_basesrc_loop),
8376 (gst_basesrc_activate):
8377 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8378 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8379 (gst_real_pad_init), (gst_real_pad_set_property),
8380 (gst_real_pad_get_property), (gst_pad_set_active),
8381 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8382 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8383 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8384 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8385 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8386 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8387 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8388 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8389 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8390 (gst_pad_stop_task):
8392 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8393 (gst_queue_loop), (gst_queue_src_activate):
8394 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8395 (gst_task_get_state):
8397 * gst/schedulers/threadscheduler.c:
8398 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8399 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8401 Remove ACTIVE pad flag, use FLUSHING everywhere
8402 Added _pad_chain(), _pad_get_range() to call chain/getrange
8404 Add locks around IS_FLUSHING when reading.
8405 Take STREAM lock in chain(), get_range() functions so plugins
8406 don't need to take it anymore.
8410 2005-05-25 Wim Taymans <wim@fluendo.com>
8412 * tools/gst-launch.c: (event_loop):
8413 Unref message after using its contents instead of
8416 2005-05-24 Wim Taymans <wim@fluendo.com>
8418 * docs/design/draft-ghostpads.txt:
8419 * docs/design/draft-push-pull.txt:
8420 * docs/design/draft-query.txt:
8421 * docs/design/part-overview.txt:
8422 Docs updates, added general overview doc.
8424 2005-05-21 David Schleef <ds@schleef.org>
8426 * docs/gst/tmpl/old/GstBin.sgml:
8427 * docs/gst/tmpl/old/GstBuffer.sgml:
8428 * docs/gst/tmpl/old/GstCaps.sgml:
8429 * docs/gst/tmpl/old/GstClock.sgml:
8430 * docs/gst/tmpl/old/GstCompat.sgml:
8431 * docs/gst/tmpl/old/GstData.sgml:
8432 * docs/gst/tmpl/old/GstElement.sgml:
8433 * docs/gst/tmpl/old/GstEvent.sgml:
8434 * docs/gst/tmpl/old/GstIndex.sgml:
8435 * docs/gst/tmpl/old/GstStructure.sgml:
8436 * docs/gst/tmpl/old/GstTag.sgml:
8437 * docs/gst/tmpl/old/cothreads.sgml:
8438 * docs/gst/tmpl/old/cothreads_compat.sgml:
8439 * docs/gst/tmpl/old/gettext.sgml:
8440 * docs/gst/tmpl/old/gobject2gtk.sgml:
8441 * docs/gst/tmpl/old/grammar.tab.sgml:
8442 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8443 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8444 * docs/gst/tmpl/old/gst_private.sgml:
8445 * docs/gst/tmpl/old/gstaggregator.sgml:
8446 * docs/gst/tmpl/old/gstarch.sgml:
8447 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8448 * docs/gst/tmpl/old/gstbufferstore.sgml:
8449 * docs/gst/tmpl/old/gstdata_private.sgml:
8450 * docs/gst/tmpl/old/gstdisksink.sgml:
8451 * docs/gst/tmpl/old/gstdisksrc.sgml:
8452 * docs/gst/tmpl/old/gstelementfactory.sgml:
8453 * docs/gst/tmpl/old/gstextratypes.sgml:
8454 * docs/gst/tmpl/old/gstfakesink.sgml:
8455 * docs/gst/tmpl/old/gstfakesrc.sgml:
8456 * docs/gst/tmpl/old/gstfdsink.sgml:
8457 * docs/gst/tmpl/old/gstfdsrc.sgml:
8458 * docs/gst/tmpl/old/gstfilesink.sgml:
8459 * docs/gst/tmpl/old/gstfilesrc.sgml:
8460 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8461 * docs/gst/tmpl/old/gstidentity.sgml:
8462 * docs/gst/tmpl/old/gstindexfactory.sgml:
8463 * docs/gst/tmpl/old/gstmarshal.sgml:
8464 * docs/gst/tmpl/old/gstmd5sink.sgml:
8465 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8466 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8467 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8468 * docs/gst/tmpl/old/gstpipefilter.sgml:
8469 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8470 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8471 * docs/gst/tmpl/old/gstshaper.sgml:
8472 * docs/gst/tmpl/old/gstspider.sgml:
8473 * docs/gst/tmpl/old/gstspideridentity.sgml:
8474 * docs/gst/tmpl/old/gststatistics.sgml:
8475 * docs/gst/tmpl/old/gsttee.sgml:
8476 * docs/gst/tmpl/old/gsttimecache.sgml:
8477 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8478 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8479 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8480 * docs/gst/tmpl/old/types.sgml:
8481 I didn't intend to add these or check them in.
8483 2005-05-19 David Schleef <ds@schleef.org>
8485 * configure.ac: Use -no-common everywhere. In a sane world, it
8486 would be the default in libtool, because without it, you can't
8487 build DLLs on Windows.
8488 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8489 * docs/gst/gstreamer-sections.txt:
8490 * docs/gst/tmpl/gstcpu.sgml:
8491 * docs/gst/tmpl/gstdata.sgml:
8492 * docs/gst/tmpl/gstthread.sgml:
8494 2005-05-19 David Schleef <ds@schleef.org>
8496 * gst/gstminiobject.c: (gst_value_set_mini_object),
8497 (gst_value_take_mini_object), (gst_value_get_mini_object):
8498 * gst/gstminiobject.h: Add GValue set/get functions.
8500 2005-05-19 Wim Taymans <wim@fluendo.com>
8502 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8503 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8504 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8506 * gst/gstbus.c: (gst_bus_post):
8507 * gst/gstelement.c: (gst_element_get_random_pad):
8508 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8509 Make subbufer unref the parent in finalize.
8510 some more debugging info.
8513 2005-05-19 Wim Taymans <wim@fluendo.com>
8515 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8516 (gst_basesink_init), (gst_basesink_finalize),
8517 (gst_basesink_activate), (gst_basesink_change_state):
8518 Don't free preroll queue too early.
8520 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8524 Hi, I'm outdated. Please shoot me.
8526 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8528 * gst/gstpipeline.c: (gst_pipeline_send_event):
8529 Do not access variables after they have been deleted.
8531 2005-05-19 Wim Taymans <wim@fluendo.com>
8533 * tools/gst-inspect.c: (print_plugin_features):
8534 A plugin feature does unfortunatly not use the
8537 2005-05-18 Wim Taymans <wim@fluendo.com>
8539 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8540 Port _span() functions to new subbuffers.
8542 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8544 * gst/gstbin.c: (gst_bin_add_func):
8545 Fix clock settery in bins when adding kids after the clock has
8548 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8550 * gst/elements/gstidentity.c: (gst_identity_class_init):
8551 Workaround until signals support GstMiniObject.
8553 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8556 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8558 2005-05-18 Wim Taymans <wim@fluendo.com>
8560 * gst/base/Makefile.am:
8561 * gst/base/gstadapter.c: (gst_adapter_base_init),
8562 (gst_adapter_class_init), (gst_adapter_init),
8563 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8564 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8565 (gst_adapter_flush), (gst_adapter_available),
8566 (gst_adapter_available_fast):
8567 * gst/base/gstadapter.h:
8568 Ported and added adapter to the base classes.
8570 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8574 Make sure the class is reffed/unreffed once before threads can be
8575 used. Fixes #304551.
8577 2005-05-17 Wim Taymans <wim@fluendo.com>
8579 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8580 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8581 * gst/gstminiobject.c: (gst_mini_object_get_type),
8582 (gst_mini_object_free):
8583 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8584 (gst_pad_push), (gst_pad_push_event):
8585 * gst/gstqueue.c: (gst_queue_change_state):
8586 Don't queue buffers in basesink when we are flushing.
8587 Unref buffer when flushing in basesink.
8588 Flush queue when going to READY
8589 Unref buffer when _push() returns an error.
8590 Don't free MiniObject instance when refcount is incremented
8591 in _finalize() so that we can recover objects.
8593 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8595 * docs/manual/advanced-schedulers.xml:
8596 * docs/manual/appendix-checklist.xml:
8597 * docs/pwg/advanced-clock.xml:
8598 * docs/pwg/advanced-interfaces.xml:
8599 * docs/pwg/advanced-request.xml:
8600 * docs/pwg/advanced-types.xml:
8601 * docs/pwg/intro-preface.xml:
8602 * examples/plugins/example.c: (gst_example_get_type),
8603 (gst_example_class_init), (gst_example_chain),
8604 (gst_example_set_property), (gst_example_get_property),
8605 (gst_example_change_state), (plugin_init):
8606 * examples/plugins/example.h:
8609 2005-05-17 Wim Taymans <wim@fluendo.com>
8611 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8612 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8613 * gst/gstqueue.c: (gst_queue_change_state):
8614 Clear queue when going to READY.
8615 Remove IN_SETCAPS flag too.
8617 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8619 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8620 Remove implicit cast from gboolean to GstElementStateReturn;
8621 make sure we still return failure in paused => ready case if
8622 the parent class fails to change state and our own stop
8625 2005-05-17 Wim Taymans <wim@fluendo.com>
8627 * tools/gst-launch.c: (event_loop):
8628 Message was unreffed too soon.
8630 2005-05-16 Andy Wingo <wingo@pobox.com>
8632 * gst/gstbin.c (sink_iterator_filter): Err... um...
8634 * check/gst/gstbin.c (test_ghost_pads): New test for the
8635 ghosting-if-elements-not-in-same-bin behavior.
8637 2005-05-16 David Schleef <ds@schleef.org>
8639 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8640 accessing refcount directly.
8642 2005-05-15 David Schleef <ds@schleef.org>
8644 * check/Makefile.am: remove GstData checks
8645 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8646 * gst/Makefile.am: add miniobject, remove data
8647 * gst/gst.h: add miniobject, remove data
8648 * gst/gstdata.c: remove
8649 * gst/gstdata.h: remove
8650 * gst/gstdata_private.h: remove
8651 * gst/gsttypes.h: remove GstEvent and GstMessage
8652 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8653 * gst/gstmarshal.list: change BOXED -> OBJECT
8655 Implement GstMiniObject.
8656 * gst/gstminiobject.c:
8657 * gst/gstminiobject.h:
8659 Modify to be subclasses of GstMiniObject.
8660 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8661 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8662 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8663 (gst_subbuffer_get_type), (gst_subbuffer_init),
8664 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8667 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8668 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8669 (_gst_event_copy), (gst_event_new):
8671 * gst/gstmessage.c: (_gst_message_initialize),
8672 (gst_message_get_type), (gst_message_class_init),
8673 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8674 (gst_message_new), (gst_message_new_error),
8675 (gst_message_new_warning), (gst_message_new_tag),
8676 (gst_message_new_state_changed), (gst_message_new_application):
8678 * gst/gstprobe.c: (gst_probe_perform),
8679 (gst_probe_dispatcher_dispatch):
8681 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8682 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8683 (_gst_query_copy), (gst_query_new):
8685 Update elements for GstData -> GstMiniObject changes
8687 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8688 (gst_queue_chain), (gst_queue_loop):
8689 * gst/elements/gstbufferstore.c:
8690 (gst_buffer_store_add_buffer_func),
8691 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8692 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8693 (gst_fakesink_render):
8694 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8695 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8696 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8697 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8698 (gst_filesrc_create_read):
8699 * gst/elements/gstidentity.c: (gst_identity_class_init):
8700 * gst/elements/gsttypefindelement.c:
8701 (gst_type_find_element_src_event), (free_entry_buffers),
8702 (gst_type_find_element_handle_event):
8703 * libs/gst/dataprotocol/dataprotocol.c:
8704 (gst_dp_header_from_buffer):
8705 * libs/gst/dataprotocol/dataprotocol.h:
8706 * libs/gst/dataprotocol/dp-private.h:
8708 2005-05-15 David Schleef <ds@schleef.org>
8710 * gst/elements/gstelements.c: Don't include headers that were
8713 2005-05-15 David Schleef <ds@schleef.org>
8715 * gst/elements/Makefile.am: Remove some elements that don't
8716 need to be in the core (or even exist at all).
8717 * gst/elements/gstaggregator.c:
8718 * gst/elements/gstaggregator.h:
8719 * gst/elements/gstmd5sink.c:
8720 * gst/elements/gstmd5sink.h:
8721 * gst/elements/gstmultifilesrc.c:
8722 * gst/elements/gstmultifilesrc.h:
8723 * gst/elements/gstpipefilter.c:
8724 * gst/elements/gstpipefilter.h:
8725 * gst/elements/gstshaper.c:
8726 * gst/elements/gstshaper.h:
8727 * gst/elements/gststatistics.c:
8728 * gst/elements/gststatistics.h:
8729 * po/POTFILES.in: Remove above files.
8731 2005-05-14 Andy Wingo <wingo@pobox.com>
8733 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8734 so as to get the refs right.
8735 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8736 unreffing objects that don't pass the filter.
8738 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8739 gst_element_set_bus.
8740 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8741 normal cases, this will destroy the bus.
8743 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8746 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8749 2005-05-13 Andy Wingo <wingo@pobox.com>
8751 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8752 gst_pad_link, call pad_link_maybe_ghosting,
8753 (pad_link_maybe_ghosting): Links pads, making sure that the
8754 elements being linked are in the same bin.
8755 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8756 Helpers for pad_link_maybe_ghosting.
8758 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8761 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8763 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8765 * docs/design/part-element-source.txt:
8768 2005-05-12 Wim Taymans <wim@fluendo.com>
8770 * gst/base/gstbasesink.c: (gst_basesink_init),
8771 (gst_basesink_activate):
8772 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8773 (gst_basesrc_is_seekable):
8774 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8775 (bin_element_is_sink), (gst_bin_change_state):
8776 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8778 Identify sinks by their flag to avoid overly complicated
8780 Do state changes even for elements not reachable from the
8782 BaseSink is a sink now :)
8783 Some more debugging info in the basesrc.
8786 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8788 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8789 Implement _query on a bin, similar to _send_event.
8791 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8793 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8794 Discont event offset format should be GST_FORMAT_BYTES,
8795 not GST_FORMAT_TIME.
8797 2005-05-12 Wim Taymans <wim@fluendo.com>
8799 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8800 Same fix as Ronald's but without the signal.
8802 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8804 * gst/gstutils.c: (gst_element_query_position):
8805 No, an element is not a pad.
8807 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8809 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8810 (gst_bin_get_state):
8811 If a child is removed from a bin while we remove the child from
8812 the bin and while we're retrieving its state, signal this to the
8813 get_state function so we abort the wait (instead of waiting for
8814 a timeout) and can immediately re-iterate over all other elements.
8816 2005-05-12 Wim Taymans <wim@fluendo.com>
8818 * gst/base/Makefile.am:
8819 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8820 (gst_basesrc_start):
8821 * gst/base/gstbasesrc.h:
8822 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8823 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8824 (gst_pushsrc_init), (gst_pushsrc_create):
8825 * gst/base/gstpushsrc.h:
8826 Added is_seekable to BaseSrc
8827 Added simple PushSrc.
8829 2005-05-11 Wim Taymans <wim@fluendo.com>
8831 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8832 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8833 (gst_element_link_pads), (gst_element_query_position),
8834 (gst_element_query_convert), (intersect_caps_func),
8835 (gst_pad_query_position), (gst_pad_query_convert):
8836 Fix refcounting in utils function.
8837 No point in trying to activate a pad when it's added, it could
8838 be added from the state change function and then we deadlock, the
8839 element has to decide what to do.
8841 2005-05-10 Andy Wingo <wingo@pobox.com>
8843 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8844 *all* the arguments.
8846 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8847 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8848 lock (according to the docs -- if this is wrong change the docs).
8850 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8851 flush messages in the NULL state.
8853 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8854 message immediately and return.
8855 (gst_bus_set_flushing): New function. If a bus is flushing, it
8856 flushes out any queued messages and immediately unrefs new
8857 messages. This is so when an element goes to NULL, all of the
8858 unhandled messages coming from it can be freed, and their
8859 references to the element dropped. In other words: message source
8860 ref considered harmful :P
8862 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8863 we're finished with it.
8865 * gst/gstmessage.c (gst_message_new_state_changed):
8867 2005-05-10 Wim Taymans <wim@fluendo.com>
8869 * gst/gstvalue.c: (gst_value_compare_flags),
8870 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8871 (_gst_value_initialize):
8872 Added flags serialize/deserialize/compare code.
8874 2005-05-09 Andy Wingo <wingo@pobox.com>
8876 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8877 Intersect the peer's caps with our caps.
8879 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8881 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8882 * gst/elements/gsttypefindelement.c: (find_peek):
8883 Handle negative offsets better. Fixes decodebin.
8885 2005-05-09 Wim Taymans <wim@fluendo.com>
8887 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8888 (gst_base_transform_event):
8889 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8890 Implement accept_caps.
8891 Fix silly lock/unlock mismatch in base class.
8893 2005-05-09 Wim Taymans <wim@fluendo.com>
8895 * docs/design/draft-push-pull.txt:
8896 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8897 * gst/elements/gstfilesink.c: (gst_filesink_init),
8898 (gst_filesink_query):
8899 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8900 (gst_type_find_handle_src_query), (find_element_get_length):
8901 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8905 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8906 (gst_real_pad_get_caps_unlocked),
8907 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8908 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8909 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8910 (gst_real_pad_dispose), (gst_real_pad_finalize),
8911 (gst_pad_load_and_link), (gst_pad_save_thyself),
8912 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8913 (gst_pad_check_pull_range), (gst_pad_pull_range),
8914 (gst_pad_template_get_type), (gst_pad_template_class_init),
8915 (gst_pad_template_init), (gst_pad_template_dispose),
8916 (name_is_valid), (gst_static_pad_template_get),
8917 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8918 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8919 (gst_pad_get_element_private), (gst_pad_start_task),
8920 (gst_pad_pause_task), (gst_pad_stop_task),
8921 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8922 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8923 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8924 (gst_ghost_pad_new):
8926 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8927 (gst_query_new_position), (gst_query_set_position),
8928 (gst_query_parse_position), (gst_query_new_convert),
8929 (gst_query_set_convert), (gst_query_parse_convert):
8931 * gst/gstqueryutils.c:
8932 * gst/gstqueryutils.h:
8933 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8934 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8935 (gst_queue_handle_src_query):
8936 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8937 (gst_element_query_position), (gst_element_query_convert),
8938 (intersect_caps_func), (gst_pad_query_position),
8939 (gst_pad_query_convert):
8941 * tools/gst-inspect.c: (print_pad_info):
8942 * tools/gst-xmlinspect.c: (print_element_info):
8943 Remove old query functions. Ported old code.
8944 Added position/convert helper functions to gstutils.
8945 Reordered gstpad.c code, grouping relevant things.
8946 Remove gst_message_new(), always need to speficy a specific
8950 2005-05-09 Andy Wingo <wingo@pobox.com>
8952 * gst/gstiterator.h: Add some includes.
8954 * gst/gstqueryutils.h: Include more headers.
8957 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8958 some uses of gst_pad_query.
8960 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8961 NULL out parameters.
8962 (gst_query_new_position): New proc, allocates a new position
8965 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8966 gstqueryutils.c to the build.
8968 * gst/gststructure.c (gst_structure_set_valist): Implement with
8969 the generic G_VALUE_COLLECT.
8971 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8973 * gst/Makefile.am: (gst_headers):
8974 Added gstqueryutils.h to the list of headers to install, that was
8975 a 'nachty' move wingo :)
8977 2005-05-06 Andy Wingo <wingo@pobox.com>
8980 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8981 GstData, init a memchunk.
8982 (standard_definitions): Add a few query types, deprecate a few.
8983 (gst_query_get_type): New proc.
8984 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8986 (gst_query_new_application, gst_query_get_structure): New public
8989 * docs/design/draft-query.txt: Removed LINKS from the query types,
8990 because all the rest can be dispatched to other pads -- seemed
8991 ugly to have a query that couldn't be dispatched. internal_links
8992 is fine as a pad method.
8994 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8995 in gstpad.c, but maintain binary compatibility for the moment.
8996 Will fix before 0.9 is out.
8998 * gst/gstqueryutils.c:
8999 * gst/gstqueryutils.h: New files, implement 3 methods for each
9000 query type: parse_query, parse_response, and set. Probably need an
9003 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9005 * gst/elements/gstfilesink.c (gst_filesink_query2):
9006 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9007 query_types, and formats methods.
9009 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9010 (gst_pad_set_query2_function): New functions.
9011 (gst_real_pad_init): Set query2_default as the default query2
9012 function. Basically just dispatches to internally linked pads.
9016 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9017 without using the atomic operations. Only one thread can possibly
9018 be accessing the data at this point. Changed so as to avoid
9019 gst_atomic operations.
9021 2005-05-06 Wim Taymans <wim@fluendo.com>
9023 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9024 Also set caps if we use the fallback buffer alloc.
9026 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9028 * docs/gst/Makefile.am:
9029 * docs/gst/gstreamer-docs.sgml:
9030 * docs/gst/gstreamer-sections.txt:
9031 * docs/gst/tmpl/gstatomic.sgml:
9032 * docs/gst/tmpl/gstmemchunk.sgml:
9033 * testsuite/elements/struct_i386.h:
9034 * win32/GStreamer.vcproj:
9036 Purge GstAtomic stuff from docs and win32 makefiles as well
9038 2005-05-06 Wim Taymans <wim@fluendo.com>
9040 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9041 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9042 * gst/gstpad.c: (gst_pad_peer_get_caps):
9043 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9044 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9045 (gst_queue_src_activate), (gst_queue_change_state):
9047 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9048 (intersect_caps_func):
9049 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9050 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9051 Some fixes for the peer_get_caps() change.
9053 2005-05-06 Wim Taymans <wim@fluendo.com>
9055 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9056 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9057 (gst_basesink_activate):
9058 Actually do something with error codes returned from the push
9061 2005-05-06 Wim Taymans <wim@fluendo.com>
9063 * docs/design/part-element-sink.txt:
9064 * docs/design/part-element-source.txt:
9065 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9066 (gst_basesink_event), (gst_basesink_activate):
9067 * gst/base/gstbasesink.h:
9068 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9069 (gst_basesrc_activate):
9070 * gst/base/gstbasesrc.h:
9071 * gst/gstelement.c: (gst_element_pads_activate):
9072 Some more documentation.
9073 Fixed scheduling decision in _pads_activate().
9075 2005-05-05 Andy Wingo <wingo@pobox.com>
9077 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9080 2005-05-05 Wim Taymans <wim@fluendo.com>
9082 * gst/base/Makefile.am:
9083 * gst/base/gstbasesink.h:
9084 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9085 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9086 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9087 (gst_collectpads_class_init), (gst_collectpads_init),
9088 (gst_collectpads_finalize), (gst_collectpads_new),
9089 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9090 (find_pad), (gst_collectpads_remove_pad),
9091 (gst_collectpads_is_active), (gst_collectpads_collect),
9092 (gst_collectpads_collect_range), (gst_collectpads_start),
9093 (gst_collectpads_stop), (gst_collectpads_peek),
9094 (gst_collectpads_pop), (gst_collectpads_available),
9095 (gst_collectpads_read), (gst_collectpads_flush),
9096 (gst_collectpads_chain):
9097 * gst/base/gstcollectpads.h:
9098 * gst/elements/Makefile.am:
9099 * gst/elements/gstelements.c:
9100 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9101 (gst_fakesink_get_times), (gst_fakesink_event),
9102 (gst_fakesink_preroll), (gst_fakesink_render):
9103 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9104 (gst_filesink_init), (gst_filesink_set_location),
9105 (gst_filesink_open_file), (gst_filesink_close_file),
9106 (gst_filesink_pad_query), (gst_filesink_event),
9107 (gst_filesink_render), (gst_filesink_change_state):
9108 * gst/elements/gstfilesink.h:
9109 Added object to help in making collect pad based elements.
9111 Make event function in sink baseclass return gboolean.
9113 2005-05-05 Wim Taymans <wim@fluendo.com>
9115 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9116 (gst_bin_get_by_name):
9118 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9119 (gst_clock_finalize):
9120 * gst/gstdata.c: (gst_data_replace):
9122 * gst/gstelement.c: (gst_element_request_pad),
9123 (gst_element_pads_activate):
9124 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9126 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9127 (gst_pad_set_checkgetrange_function),
9128 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9129 (gst_pad_check_pull_range), (gst_pad_pull_range),
9130 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9131 (gst_pad_pause_task), (gst_pad_stop_task):
9132 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9133 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9134 Fix name lookup in GstBin.
9135 Added _data_replace() function and _buffer_replace()
9136 Use finalize method to clean up clock.
9137 Fix refcounting on request pads.
9138 Fix pad schedule mode error.
9139 Some more object refcounting debug info,
9142 2005-05-04 Andy Wingo <wingo@pobox.com>
9144 * check/Makefile.am:
9145 * docs/gst/tmpl/gstatomic.sgml:
9146 * docs/gst/tmpl/gstplugin.sgml:
9147 * gst/base/gstbasesink.c: (gst_basesink_activate):
9148 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9149 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9150 (gst_basesrc_query), (gst_basesrc_set_property),
9151 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9152 (gst_basesrc_activate):
9153 * gst/base/gstbasesrc.h:
9154 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9155 (gst_base_transform_src_activate):
9156 * gst/elements/gstelements.c:
9157 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9158 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9159 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9160 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9161 (gst_type_find_element_checkgetrange),
9162 (gst_type_find_element_activate):
9163 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9164 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9165 (gst_caps_load_thyself):
9166 * gst/gstelement.c: (gst_element_pads_activate),
9167 (gst_element_save_thyself), (gst_element_restore_thyself):
9168 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9169 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9171 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9172 (gst_xml_parse_file), (gst_xml_parse_memory),
9173 (gst_xml_get_element), (gst_xml_make_element):
9174 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9175 (_file_index_id_save_xml), (gst_file_index_commit):
9176 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9177 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9179 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9180 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9181 * tools/gst-complete.c: (main):
9182 * tools/gst-compprep.c: (main):
9183 * tools/gst-inspect.c: (print_element_properties_info):
9184 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9185 * tools/gst-xmlinspect.c: (print_element_properties):
9188 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9190 * gst/gstplugin.c: (gst_plugin_check_module),
9191 (gst_plugin_check_file), (gst_plugin_load_file):
9192 apply patch from #172526 to make register work on MacOSX
9194 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9196 * docs/gst/tmpl/gstconfig.sgml:
9197 * gst/gstconfig.h.in:
9198 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9199 * testsuite/debug/printf_extension.c: (main):
9200 Do not use GST_PTR_FORMAT on pointers to types with
9201 sizeof < sizeof(gpointer). Fixes test on 64-bit
9202 * testsuite/elements/property.h:
9203 use correct printf format
9205 2005-05-02 Wim Taymans <wim@fluendo.com>
9207 * docs/design/draft-push-pull.txt:
9208 * docs/design/draft-query.txt:
9209 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9210 (gst_basesrc_start):
9211 Added draft for new query API.
9212 Added draft for better selecting scheduling methods.
9213 Make basesrc ignore length if the subclass does not support
9216 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9219 possible fixes for automake-1.5 - _LIBADD is reserved
9221 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9223 * docs/faq/Makefile.am:
9224 * docs/manual/Makefile.am:
9226 * docs/pwg/Makefile.am:
9228 possible fixes for automake-1.5
9230 2005-04-28 Wim Taymans <wim@fluendo.com>
9232 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9233 (gst_basesink_pad_getcaps), (gst_basesink_init),
9234 (gst_basesink_do_sync):
9235 * gst/gstclock.c: (gst_clock_entry_new):
9236 * gst/gstevent.c: (gst_event_discont_get_value):
9237 * gst/gstpipeline.c: (pipeline_bus_handler),
9238 (gst_pipeline_change_state):
9239 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9240 Better debugging of clocking info.
9241 Allow NULL values when getting discont values.
9243 2005-04-27 Wim Taymans <wim@fluendo.com>
9245 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9246 * check/gst/gstpad.c: (gst_pad_suite):
9247 Increase timeout for checks.
9249 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9251 * check/Makefile.am:
9252 fix the broken rule for cleanup. Apparently this rule is
9253 only needed on FC2, so maybe this warrants further autotool
9256 2005-04-26 Wim Taymans <wim@fluendo.com>
9258 * gst/gsttrashstack.h:
9259 Ooohh. a nasty one! After having a failed pop() from the stack,
9260 it's possible that the stack is empty. In that case, don't
9261 follow the NULL pointer.
9263 2005-04-25 Wim Taymans <wim@fluendo.com>
9265 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9266 (gst_pad_set_checkgetrange_function),
9267 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9268 (gst_pad_check_pull_range), (gst_pad_pull_range),
9269 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9270 (gst_pad_pause_task), (gst_pad_stop_task):
9271 * gst/gstplugin.c: (gst_plugin_load):
9273 Remove gst_library_load as it does more harm than good with
9274 the new g_module flags.
9275 Revert bogus caps template check in pad linking, pad caps
9276 are important when linking not the template, which is more
9277 general than the current caps.
9279 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9281 * gst/autoplug/.cvsignore:
9282 * gst/autoplug/Makefile.am:
9283 * gst/autoplug/gstsearchfuncs.c:
9284 * gst/autoplug/gstsearchfuncs.h:
9285 * gst/autoplug/gstspider.c:
9286 * gst/autoplug/gstspider.h:
9287 * gst/autoplug/gstspideridentity.c:
9288 * gst/autoplug/gstspideridentity.h:
9289 * gst/autoplug/spidertest.c:
9292 2005-04-25 Wim Taymans <wim@fluendo.com>
9294 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9295 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9296 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9297 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9299 Added stubs for unimplemented functions.
9301 2005-04-24 David Schleef <ds@schleef.org>
9303 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9306 2005-04-24 David Schleef <ds@schleef.org>
9308 Convert everything from GstAtomicInt to g_atomic_int_*, and
9313 * gst/gstatomic_impl.h:
9321 * gst/gstdata_private.h:
9328 * gst/gststructure.c:
9329 * gst/gststructure.h:
9330 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9333 2005-04-24 David Schleef <ds@schleef.org>
9335 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9336 make the regressions tests work. Remove some code that is no
9338 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9339 Disable warning for pads without templates.
9341 2005-04-24 David Schleef <ds@schleef.org>
9343 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9344 functions that handle filtered links.
9345 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9347 * gst/gstutils.c: Fix/remove utility functions that handle
9350 * gst/gstvalue.c: Add serialization/deserialization of caps
9351 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9352 requires fixing so that the filter caps notation creates
9353 a capsfilter element and sets the filter_caps property. I
9354 think everyone probably wants to keep the shorthand notation.
9355 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9356 * docs/gst/tmpl/gstpad.sgml:
9358 * gst/elements/gstelements.c: Register capsfilter element.
9359 * gst/Makefile.am: fix spacing
9360 * docs/random/ds/0.9-suggested-changes: random
9362 2005-04-23 David Schleef <ds@schleef.org>
9364 * gst/elements/Makefile.am:
9365 * gst/elements/gstcapsfilter.c: New element that acts like an
9366 identity, but filters caps. Will eventually replace filtered
9367 caps in pad linking.
9368 * gst/gstutils.c: (gst_element_create_all_pads): New function
9369 to create all the ALWAYS pads that are registered with an
9370 element class. This functionality should eventually be
9371 merged in with GstElement initialization.
9373 * testsuite/trigger/README: part of trigger test code that should
9374 have been checked in a long time ago.
9376 2005-04-23 David Schleef <ds@schleef.org>
9378 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9379 needed with new versions of libtool (nobody will confirm this),
9380 and hard to carry around.
9381 * gst/autoplug/Makefile.am:
9382 * gst/base/Makefile.am:
9383 * gst/elements/Makefile.am:
9384 * gst/indexers/Makefile.am:
9385 * gst/schedulers/Makefile.am:
9386 * libs/gst/bytestream/Makefile.am:
9387 * libs/gst/control/Makefile.am:
9388 * libs/gst/dataprotocol/Makefile.am:
9389 * libs/gst/getbits/Makefile.am:
9391 2005-04-21 Wim Taymans <wim@fluendo.com>
9393 * docs/design/draft-push-pull.txt:
9394 * docs/design/part-MT-refcounting.txt:
9395 * docs/design/part-TODO.txt:
9396 * docs/design/part-caps.txt:
9397 * docs/design/part-events.txt:
9398 * docs/design/part-gstbus.txt:
9399 * docs/design/part-gstpipeline.txt:
9400 * docs/design/part-messages.txt:
9401 * docs/design/part-push-pull.txt:
9402 * docs/design/part-query.txt:
9405 2005-04-21 Wim Taymans <wim@fluendo.com>
9407 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9408 (gst_message_new), (gst_message_new_error),
9409 (gst_message_new_warning), (gst_message_new_tag),
9410 (gst_message_new_state_changed), (gst_message_new_application),
9411 (gst_message_get_structure):
9413 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9414 (gst_structure_copy_conditional):
9415 Use parent refcount in GstMessage to ensure GstStructure
9417 Cleaned up headers a bit.
9420 2005-04-20 Wim Taymans <wim@fluendo.com>
9422 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9423 (gst_basesink_pad_getcaps), (gst_basesink_init),
9424 (gst_basesink_chain_unlocked):
9425 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9426 (gst_type_find_helper):
9427 * gst/elements/gsttypefindelement.c:
9428 (gst_type_find_element_have_type), (gst_type_find_element_init),
9429 (stop_typefinding), (gst_type_find_element_handle_event),
9430 (find_suggest), (gst_type_find_element_chain),
9431 (gst_type_find_element_checkgetrange),
9432 (gst_type_find_element_getrange), (do_typefind),
9433 (gst_type_find_element_activate):
9434 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9435 (gst_buffer_default_free), (gst_buffer_default_copy),
9436 (gst_buffer_set_caps):
9437 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9439 * gst/gstmessage.c: (gst_message_new),
9440 (gst_message_new_state_changed):
9441 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9442 (gst_pad_set_checkgetrange_function),
9443 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9444 (gst_pad_set_caps), (gst_pad_check_pull_range),
9445 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9447 * gst/gsttypefind.c: (gst_type_find_register):
9448 Make gst_caps_replace() work like other _replace() functions.
9449 Use _caps_replace() where possible.
9450 Make sure _message_new() initialises its field.
9451 Add gst_static_pad_template_get_caps()
9454 2005-04-18 Andy Wingo <wingo@pobox.com>
9456 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9457 on the peer, not the pad. I think that was a typo. Pass an extra
9458 arg to see if random access is possible. Activate the pads as
9459 PULL_RANGE if possible.
9461 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9463 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9464 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9467 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9469 * docs/faq/using.xml:
9470 Add note on gstreamer-properties (#154996).
9472 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9474 * docs/random/bbb/optional-properties:
9475 Some analysis on optional properties.
9477 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9479 * docs/gst/tmpl/gstelementfactory.sgml:
9481 * gst/gstelementfactory.c: (gst_element_factory_init),
9482 (gst_element_factory_cleanup), (gst_element_register),
9483 (__gst_element_factory_add_static_pad_template),
9484 (gst_element_factory_get_static_pad_templates),
9485 (gst_element_factory_can_src_caps),
9486 (gst_element_factory_can_sink_caps):
9487 * gst/registries/Makefile.am:
9488 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9489 (gst_xml_registry_class_init), (gst_xml_registry_init),
9490 (gst_xml_registry_new), (gst_xml_registry_set_property),
9491 (gst_xml_registry_get_property), (get_time), (make_dir),
9492 (gst_xml_registry_get_perms_func),
9493 (plugin_times_older_than_recurse), (plugin_times_older_than),
9494 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9495 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9496 (add_to_char_array), (read_string), (read_uint), (read_enum),
9497 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9498 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9499 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9500 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9501 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9502 (gst_xml_registry_rebuild):
9503 * gst/registries/gstlibxmlregistry.h:
9504 * tools/gst-compprep.c: (main):
9505 * tools/gst-inspect.c: (print_pad_templates_info):
9506 * tools/gst-xmlinspect.c: (print_element_info):
9507 Use libxml2 for registry parsing, use staticpadtemplates in
9508 elementfactories. Makes gst_init() +/- 10x faster.
9510 2005-04-12 Wim Taymans <wim@fluendo.com>
9512 * gst/base/Makefile.am:
9513 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9514 (gst_basesink_pad_getcaps), (gst_basesink_init),
9515 (gst_basesink_event), (gst_basesink_change_state):
9516 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9517 (gst_basesrc_init), (gst_basesrc_query),
9518 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9519 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9520 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9521 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9522 (gst_basesrc_stop), (gst_basesrc_activate),
9523 (gst_basesrc_change_state):
9524 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9525 (helper_find_suggest), (gst_type_find_helper):
9526 * gst/base/gsttypefindhelper.h:
9527 * gst/elements/Makefile.am:
9528 * gst/elements/gstelements.c:
9529 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9530 (gst_fakesink_get_times), (gst_fakesink_event),
9531 (gst_fakesink_preroll), (gst_fakesink_render):
9532 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9533 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9534 (gst_fakesrc_get_property), (gst_fakesrc_create),
9535 (gst_fakesrc_start), (gst_fakesrc_stop):
9536 * gst/elements/gstfakesrc.h:
9537 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9538 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9539 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9540 (gst_filesrc_create_read), (gst_filesrc_create),
9541 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9542 (gst_filesrc_start):
9543 * gst/elements/gsttypefindelement.c:
9544 (gst_type_find_element_have_type), (gst_type_find_element_init),
9545 (start_typefinding), (stop_typefinding), (push_buffer_store),
9546 (gst_type_find_element_handle_event),
9547 (gst_type_find_element_chain),
9548 (gst_type_find_element_checkgetrange),
9549 (gst_type_find_element_getrange), (do_typefind),
9550 (gst_type_find_element_activate),
9551 (gst_type_find_element_change_state):
9552 * gst/elements/gsttypefindelement.h:
9553 * gst/gstpipeline.c: (pipeline_bus_handler):
9554 Added typefind helper.
9555 Small preroll fix in the base sink.
9556 Disable typefind code in basesrc.
9557 Crude port of typefindelement.
9561 2005-04-11 Wim Taymans <wim@fluendo.com>
9563 * check/gst/gstbus.c: (gstbus_suite):
9564 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9566 Fix up the timeout so that the test does not fail.
9568 2005-04-06 Wim Taymans <wim@fluendo.com>
9571 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9572 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9573 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9574 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9575 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9576 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9577 (gst_basesrc_stop), (gst_basesrc_activate),
9578 (gst_basesrc_change_state), (basesrc_find_peek),
9579 (basesrc_find_suggest), (gst_basesrc_type_find):
9580 * gst/base/gstbasesrc.h:
9581 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9582 (gst_filesrc_class_init), (gst_filesrc_init),
9583 (gst_filesrc_finalize), (gst_filesrc_set_location),
9584 (gst_filesrc_set_property), (gst_filesrc_get_property),
9585 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9586 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9587 (gst_filesrc_create_read), (gst_filesrc_create),
9588 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9589 * gst/elements/gstfilesrc.h:
9590 * gst/gstelement.c: (gst_element_get_state_func),
9591 (gst_element_lost_state), (gst_element_pads_activate):
9592 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9593 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9594 (gst_pad_pull_range):
9596 More work on the generic source base class, implement seeking,
9598 Make filesrc extend the base source class.
9599 Added gst_pad_set_checkgetrange_function to GstPad.
9601 2005-04-06 Andy Wingo <wingo@pobox.com>
9603 * pkgconfig/gstreamer-base.pc.in:
9604 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9606 * pkgconfig/Makefile.am:
9607 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9609 2005-04-04 Wim Taymans <wim@fluendo.com>
9611 * gst/base/Makefile.am:
9613 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9614 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9615 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9616 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9617 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9618 (gst_basesrc_base_init), (gst_basesrc_class_init),
9619 (gst_basesrc_init), (gst_basesrc_get_formats),
9620 (gst_basesrc_get_query_types), (gst_basesrc_query),
9621 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9622 (gst_basesrc_set_property), (gst_basesrc_get_property),
9623 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9624 (gst_basesrc_loop), (gst_basesrc_activate),
9625 (gst_basesrc_change_state):
9626 * gst/base/gstbasesrc.h:
9627 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9628 (gst_fakesrc_class_init), (gst_fakesrc_init),
9629 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9630 (gst_fakesrc_get_property), (gst_fakesrc_create):
9631 * gst/elements/gstfakesrc.h:
9632 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9633 (gst_filesrc_open_file), (gst_filesrc_loop),
9634 (gst_filesrc_activate), (filesrc_find_peek),
9635 (gst_filesrc_type_find):
9636 Made base source class, make fakesrc extend it.
9637 Add comments to basesink class.
9638 Some filesrc cleanup.
9640 2005-03-31 David Schleef <ds@schleef.org>
9642 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9643 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9644 expected to link against libgstreamer.
9645 * gst/base/Makefile.am: link against libgstreamer
9646 * gst/elements/Makefile.am: same
9648 2005-03-31 Andy Wingo <wingo@pobox.com>
9650 * tests/instantiate/Makefile.am:
9651 * tests/instantiate/caps.c: Add test to test speed of caps copy
9654 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9655 GMemChunk to be fair.
9657 * gst/gsttrashstack.h: Remove warning about using the fallback
9658 trash stack implementation, it's still faster than malloc.
9660 2005-03-30 Andy Wingo <wingo@pobox.com>
9662 * tests/complexity.c: Add a copyright.
9664 2005-03-31 Wim Taymans <wim@fluendo.com>
9666 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9667 (gst_base_transform_class_init), (gst_base_transform_init),
9668 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9669 (gst_base_transform_get_property),
9670 (gst_base_transform_sink_activate),
9671 (gst_base_transform_src_activate),
9672 (gst_base_transform_change_state):
9673 * gst/base/gstbasetransform.h:
9674 * gst/elements/gstidentity.c: (gst_identity_class_init),
9675 (gst_identity_event), (gst_identity_check_perfect),
9676 (gst_identity_transform), (gst_identity_start),
9677 (gst_identity_stop):
9678 Added start/stop methods to transform base class so subclasses
9679 don't need to deal with state changes even.
9681 2005-03-31 Wim Taymans <wim@fluendo.com>
9683 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9684 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9686 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9687 (gst_pad_pull_range):
9688 Added rate to the discont event to prepare for variable speed
9689 and reverse playback.
9691 2005-03-29 David Schleef <ds@schleef.org>
9694 * testsuite/trigger/Makefile.am:
9695 * testsuite/trigger/trigger.c: A little example program to show
9696 how trigger-based elements can work.
9698 2005-03-29 Wim Taymans <wim@fluendo.com>
9700 * gst/base/Makefile.am:
9702 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9703 (gst_basesink_base_init), (gst_basesink_class_init),
9704 (gst_basesink_pad_getcaps), (gst_basesink_init),
9705 (gst_basesink_activate), (gst_basesink_change_state):
9706 * gst/base/gstbasesink.h:
9707 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9708 (gst_base_transform_base_init), (gst_base_transform_finalize),
9709 (gst_base_transform_class_init), (gst_base_transform_init),
9710 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9711 (gst_base_transform_event), (gst_base_transform_getrange),
9712 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9713 (gst_base_transform_set_property),
9714 (gst_base_transform_get_property),
9715 (gst_base_transform_sink_activate),
9716 (gst_base_transform_src_activate),
9717 (gst_base_transform_change_state):
9718 * gst/base/gstbasetransform.h:
9719 * gst/elements/gstidentity.c: (gst_identity_finalize),
9720 (gst_identity_class_init), (gst_identity_init),
9721 (gst_identity_event), (gst_identity_check_perfect),
9722 (gst_identity_transform), (gst_identity_set_property),
9723 (gst_identity_get_property), (gst_identity_change_state):
9724 * gst/elements/gstidentity.h:
9725 * gst/gstelement.c: (gst_element_get_state_func),
9726 (gst_element_lost_state), (gst_element_pads_activate):
9727 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9728 (gst_pad_check_pull_range), (gst_pad_pull_range):
9730 Simplify pad activation.
9731 Added function to check if pull_range can be performed.
9732 Error out when pulling inactive or flushing pads.
9733 Removed const from refcounted types as it does not make sense.
9734 Simplify pad templates in basesink
9735 Added base class for simple 1-to-1 transforms.
9736 Make identity subclass the base transform.
9738 2005-03-29 Andy Wingo <wingo@pobox.com>
9740 * docs/libs/gstreamer-libs-overrides.txt:
9741 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9742 really don't understand what's going on, but like whatever. I want
9745 * docs/gst/Makefile.am:
9746 * docs/libs/Makefile.am: Dist the overrides files.
9748 * check/Makefile.am (clean-local): Remove .libs directories.
9750 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9751 elements to EXTRA_DIST, so po/ files are happy.
9753 * po/POTFILES.in: Er, remove it here.
9755 * po/POTFILES: Remove gstspider.c.
9757 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9759 * docs/libs/gstreamer-libs-docs.sgml:
9760 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9763 * tests/complexity.c (main): Set the length of the preroll queue
9764 on the sinks to prevent a lockup.
9766 * libs/gst/dataprotocol/Makefile.am:
9767 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9768 the same as the one in check/gst-libs/gdp.c.
9770 * po/, docs/gst/: Commit automatic changes to docs and po files.
9772 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9773 the versioned libgstbase.
9775 * check/Makefile.am: Depend on an unversioned gst-register, seems
9776 to make autoconf happier.
9778 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9780 2005-03-28 Wim Taymans <wim@fluendo.com>
9783 * docs/design/part-gstelement.txt:
9784 * docs/design/part-negotiation.txt:
9785 * docs/design/part-preroll.txt:
9786 * docs/design/part-scheduling.txt:
9787 * docs/design/part-states.txt:
9789 * gst/base/Makefile.am:
9791 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9792 (gst_basesink_base_init), (gst_basesink_class_init),
9793 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9794 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9795 (gst_basesink_set_pad_functions),
9796 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9797 (gst_basesink_set_property), (gst_basesink_get_property),
9798 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9799 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9800 (gst_basesink_preroll_queue_push),
9801 (gst_basesink_preroll_queue_empty),
9802 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9803 (gst_basesink_event), (gst_basesink_get_times),
9804 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9805 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9806 (gst_basesink_loop), (gst_basesink_activate),
9807 (gst_basesink_change_state):
9808 * gst/base/gstbasesink.h:
9809 * gst/elements/Makefile.am:
9810 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9811 (gst_fakesink_class_init), (gst_fakesink_init),
9812 (gst_fakesink_set_property), (gst_fakesink_get_property),
9813 (gst_fakesink_get_times), (gst_fakesink_event),
9814 (gst_fakesink_preroll), (gst_fakesink_render),
9815 (gst_fakesink_change_state):
9816 * gst/elements/gstfakesink.h:
9817 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9818 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9819 * gst/gstelement.c: (gst_element_add_pad),
9820 (gst_element_get_state_func), (gst_element_abort_state),
9821 (gst_element_commit_state), (gst_element_lost_state),
9822 (gst_element_set_state), (gst_element_pads_activate):
9823 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9824 * gst/gstpipeline.c: (gst_pipeline_send_event),
9825 (gst_pipeline_change_state):
9826 Added state change code.
9828 Added sink base class, make fakesink extend the base class.
9829 Small cleanups in GstPipeline.
9831 2005-03-26 David Schleef <ds@schleef.org>
9833 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9834 is broken and should be implemented in a different library.
9835 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9836 * gst/gst.h: remove gstcpu.h
9837 * gst/gstcpu.c: remove
9838 * gst/gstcpu.h: remove
9839 * gst/Makefile.am.future: Remove this file. It's ancient.
9841 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9843 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9844 (gst_bin_send_event):
9845 Add default event/set_manager handlers. The set_manager handler
9846 takes care that the manager is distributed over kids that were
9847 already in the bin before the manager was set. The event handler
9848 is a utility virtual function that sends the event over all sinks,
9849 so that gst_element_send_event (bin, event); has the expected
9851 * gst/gstpad.c: (gst_pad_event_default):
9852 Re-install default event handling for discontinuities, so that
9853 seeking works without requiring hacks in applications or extra
9855 * gst/gstpipeline.c: (gst_pipeline_class_init),
9856 (gst_pipeline_send_event):
9857 Half hack, half utility: set a pipeline to PAUSED for seek events,
9858 since that is the only way we can guarantee a/v sync. Means that
9859 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9860 and it "just works".
9862 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9864 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9865 Lock/unlock mismatch.
9867 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9869 * docs/faq/gst-uninstalled:
9870 add gst-plugins-base
9871 * docs/gst/Makefile.am:
9872 don't error out until docs are fixed
9873 * docs/gst/gstreamer.types:
9876 2005-03-22 Wim Taymans <wim@fluendo.com>
9878 * check/Makefile.am:
9879 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9880 * gst/gststructure.c: (gst_structure_set_valist),
9881 (gst_structure_copy_conditional):
9882 Activated more tests.
9884 Added G_TYPE_POINTER to GstStructure.
9887 2005-03-22 Wim Taymans <wim@fluendo.com>
9889 * docs/design/part-TODO.txt:
9890 * docs/design/part-events.txt:
9891 * docs/design/part-gstbin.txt:
9892 * docs/design/part-gstbus.txt:
9893 * docs/design/part-gstpipeline.txt:
9894 * docs/design/part-messages.txt:
9899 2005-03-21 Wim Taymans <wim@fluendo.com>
9901 * gst/gstbus.c: (gst_bus_post):
9902 Fix copy-and-paste error.
9904 2005-03-21 Wim Taymans <wim@fluendo.com>
9906 * check/Makefile.am:
9908 * gst/elements/Makefile.am:
9909 * gst/elements/gstelements.c:
9910 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9911 (gst_fakesink_event), (gst_fakesink_chain):
9912 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9913 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9914 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9915 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9916 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9917 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9918 (gst_fakesrc_loop), (gst_fakesrc_activate),
9919 (gst_fakesrc_change_state):
9920 * gst/elements/gstfakesrc.h:
9921 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9922 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9923 (gst_filesrc_open_file), (gst_filesrc_loop),
9924 (gst_filesrc_activate), (gst_filesrc_change_state),
9925 (filesrc_find_peek), (filesrc_find_suggest),
9926 (gst_filesrc_type_find):
9927 * gst/elements/gstidentity.c: (gst_identity_finalize),
9928 (gst_identity_class_init), (gst_identity_init),
9929 (gst_identity_proxy_getcaps), (identity_queue_push),
9930 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9931 (gst_identity_getrange), (gst_identity_chain),
9932 (gst_identity_sink_loop), (gst_identity_src_loop),
9933 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9934 (gst_identity_set_property), (gst_identity_get_property),
9935 (gst_identity_change_state):
9936 * gst/elements/gstidentity.h:
9937 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9938 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9939 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9940 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9941 (gst_tee_sink_activate):
9942 * gst/elements/gsttee.h:
9943 * gst/gst.c: (gst_register_core_elements), (init_post):
9945 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9946 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9947 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9948 (gst_bin_change_state):
9950 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9951 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9952 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9953 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9954 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9955 (bus_watch_callback), (bus_watch_destroy),
9956 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9957 (poll_timeout), (gst_bus_poll):
9961 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9962 (gst_element_post_message), (gst_element_message_full),
9963 (gst_element_get_state_func), (gst_element_get_state),
9964 (gst_element_abort_state), (gst_element_commit_state),
9965 (gst_element_lost_state), (gst_element_set_state),
9966 (gst_element_pads_activate), (gst_element_change_state),
9967 (gst_element_dispose), (gst_element_set_manager_func),
9968 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9969 (gst_element_set_manager), (gst_element_get_manager),
9970 (gst_element_set_bus), (gst_element_get_bus),
9971 (gst_element_set_scheduler), (gst_element_get_scheduler):
9973 * gst/gstevent.c: (gst_event_new_segment_seek),
9974 (gst_event_new_flush):
9976 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9977 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9978 (gst_message_new_eos), (gst_message_new_error),
9979 (gst_message_new_warning), (gst_message_new_tag),
9980 (gst_message_new_state_changed), (gst_message_new_application),
9981 (gst_message_get_structure), (gst_message_parse_tag),
9982 (gst_message_parse_state_changed), (gst_message_parse_error),
9983 (gst_message_parse_warning):
9985 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9986 (gst_real_pad_set_property), (gst_pad_set_active),
9987 (gst_pad_is_active), (gst_pad_set_blocked_async),
9988 (gst_pad_set_blocked), (gst_pad_is_blocked),
9989 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9990 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9991 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9992 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9993 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9994 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9995 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9996 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9997 (gst_pad_set_caps), (gst_pad_configure_sink),
9998 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9999 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10000 (gst_real_pad_dispose), (gst_real_pad_finalize),
10001 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10002 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10003 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10005 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10006 (pipeline_bus_handler), (gst_pipeline_change_state),
10007 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10008 * gst/gstpipeline.h:
10010 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10011 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10012 (gst_queue_link_src), (gst_queue_bufferalloc),
10013 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10014 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10015 (gst_queue_loop), (gst_queue_handle_src_event),
10016 (gst_queue_handle_src_query), (gst_queue_src_activate),
10017 (gst_queue_change_state):
10019 * gst/gstscheduler.c: (gst_scheduler_init),
10020 (gst_scheduler_dispose), (gst_scheduler_create_task),
10021 (gst_scheduler_factory_create):
10022 * gst/gstscheduler.h:
10023 * gst/gststructure.c: (gst_structure_get_type),
10024 (gst_structure_copy_conditional):
10025 * gst/gststructure.h:
10026 * gst/gsttaginterface.h:
10027 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10028 (gst_task_init), (gst_task_dispose), (gst_task_create),
10029 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10035 * gst/schedulers/Makefile.am:
10036 * gst/schedulers/cothreads_compat.h:
10037 * gst/schedulers/entryscheduler.c:
10038 * gst/schedulers/faircothreads.c:
10039 * gst/schedulers/faircothreads.h:
10040 * gst/schedulers/fairscheduler.c:
10041 * gst/schedulers/gstbasicscheduler.c:
10042 * gst/schedulers/gstoptimalscheduler.c:
10043 * gst/schedulers/gthread-cothreads.h:
10044 * gst/schedulers/threadscheduler.c:
10045 (gst_thread_scheduler_task_get_type),
10046 (gst_thread_scheduler_task_class_init),
10047 (gst_thread_scheduler_task_init),
10048 (gst_thread_scheduler_task_start),
10049 (gst_thread_scheduler_task_stop),
10050 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10051 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10052 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10053 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10055 * libs/gst/Makefile.am:
10056 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10057 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10058 (gst_file_pad_parent_set):
10059 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10060 (gst_dp_event_from_packet):
10061 * tests/complexity.c: (main):
10062 * tests/mass_elements.c: (main):
10063 * testsuite/states/locked.c: (message_received), (main):
10064 * testsuite/states/parent.c: (main):
10065 * tools/gst-inspect.c: (print_element_flag_info),
10066 (print_implementation_info), (print_pad_info):
10067 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10069 * tools/gst-md5sum.c: (event_loop), (main):
10070 * tools/gst-typefind.c: (main):
10071 * tools/gst-xmlinspect.c: (print_element_info):
10073 Added GstBus for mainloop integration.
10074 Added GstMessage for sending notifications on the bus.
10075 Added GstTask as an abstraction for pipeline entry points.
10077 Removed Schedulers.
10078 Simplified GstQueue for multithreaded core.
10079 Made _link threadsafe, removed old capsnego.
10080 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10081 Added pad blocking functions.
10082 Reworked scheduling functions in GstPad to prepare for
10083 scheduling updates soon.
10084 Moved events out of data stream.
10085 Simplified GstEvent types.
10086 Added return values to push/pull.
10087 Removed clocking from GstElement.
10088 Added prototypes for state change function for next merge.
10089 Removed iterate from bins and state change management.
10090 Fixed some elements, disabled others for now.
10091 Fixed -inspect and -launch.
10092 Added check for GstBus.
10094 2005-03-10 Wim Taymans <wim@fluendo.com>
10096 * docs/design/part-MT-refcounting.txt:
10097 * docs/design/part-clocks.txt:
10098 * docs/design/part-gstelement.txt:
10099 * docs/design/part-gstobject.txt:
10100 * docs/design/part-standards.txt:
10101 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10102 (gst_bin_remove_func), (gst_bin_remove):
10106 * testsuite/clock/clock1.c: (main):
10107 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10109 * testsuite/dlopen/loadgst.c: (do_test):
10110 * testsuite/refcounting/bin.c: (add_remove_test1),
10111 (add_remove_test2), (main):
10112 * testsuite/refcounting/element.c: (main):
10113 * testsuite/refcounting/element_pad.c: (main):
10114 * testsuite/refcounting/pad.c: (main):
10115 * tools/gst-launch.c: (sigint_handler_sighandler):
10116 * tools/gst-typefind.c: (main):
10118 Added doc about clock.
10119 removed gst_bin_iterate_recurse_up(), marked methods
10121 Fix more testsuites.
10123 2005-03-09 Wim Taymans <wim@fluendo.com>
10125 * gst/gstpad.c: (gst_pad_get_direction),
10126 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10127 (gst_pad_collect_valist):
10128 * testsuite/bins/interface.c: (main):
10129 * testsuite/caps/audioscale.c: (test_caps):
10130 * testsuite/caps/caps.c: (test1), (test2), (test3):
10131 * testsuite/caps/deserialize.c: (main):
10132 * testsuite/caps/enumcaps.c: (main):
10133 * testsuite/caps/filtercaps.c: (main):
10134 * testsuite/caps/intersect2.c: (main):
10135 * testsuite/caps/random.c: (main):
10136 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10137 * testsuite/caps/sets.c: (check_caps):
10138 * testsuite/caps/simplify.c: (check_caps), (main):
10139 * testsuite/caps/subtract.c: (check_caps):
10140 Fix _pad_get_direction wrt ghostpads.
10141 Fix caps testsuite.
10143 2005-03-09 Wim Taymans <wim@fluendo.com>
10145 * check/Makefile.am:
10146 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10147 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10148 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10150 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10151 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10152 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10153 (bin_element_is_sink), (gst_bin_iterate_sinks),
10154 (gst_bin_iterate_all_by_interface):
10156 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10157 (gst_element_change_state), (gst_element_dispose),
10158 (gst_element_finalize), (gst_element_set_loop_function):
10159 * gst/gstelement.h:
10160 * gst/gstiterator.c: (find_custom_fold_func):
10161 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10162 (gst_pad_collectv), (gst_pad_collect_valist),
10163 (gst_pad_template_new):
10164 * gst/gstpipeline.c: (gst_pipeline_class_init),
10165 (gst_pipeline_dispose), (gst_pipeline_set_property),
10166 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10167 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10168 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10170 * gst/schedulers/entryscheduler.c:
10171 * gst/schedulers/gstbasicscheduler.c:
10172 (gst_basic_scheduler_cothreaded_chain),
10173 (gst_basic_scheduler_chain_add_element):
10174 * testsuite/bins/interface.c: (main):
10176 Added GstSystemClock test.
10177 Implemented clock distribution code in GstBin.
10178 Implemented iterate sinks method for future use.
10179 Rearranged gstelement.h
10180 Fix GstIterator comparison bug.
10181 Moved some code to GstPipeline, mostly clocking related.
10183 2005-03-09 Wim Taymans <wim@fluendo.com>
10186 * gst/gst_private.h:
10187 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10188 (gst_bin_remove_func), (gst_bin_remove),
10189 (gst_bin_get_by_name_recurse_up):
10190 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10191 (gst_clock_id_compare_func), (gst_clock_id_wait),
10192 (gst_clock_id_wait_async), (gst_clock_init),
10193 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10194 * gst/gstelement.h:
10195 * gst/gstinfo.c: (_gst_debug_init):
10197 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10198 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10200 Bump version number, we're now 0.9.0
10201 Add future debugging category.
10202 Fix NULL _unref() in _get_by_name_recurse_up
10203 Rearrange gstpad.h.
10206 2005-03-08 Wim Taymans <wim@fluendo.com>
10208 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10209 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10210 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10211 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10212 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10213 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10214 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10215 * gst/elements/gstidentity.c: (gst_identity_class_init):
10216 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10217 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10218 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10219 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10220 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10222 * gst/gstelement.c: (gst_element_class_init),
10223 (gst_element_base_class_init), (gst_element_init),
10224 (gst_element_get_random_pad), (gst_element_wait_state_change),
10225 (gst_element_change_state), (gst_element_dispose),
10226 (gst_element_finalize), (gst_element_set_loop_function):
10227 * gst/gstelement.h:
10228 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10229 * gst/gstthread.c: (gst_thread_class_init),
10230 (gst_thread_release_children_locks), (gst_thread_change_state):
10231 * gst/schedulers/gstbasicscheduler.c:
10232 (gst_basic_scheduler_loopfunc_wrapper),
10233 (gst_basic_scheduler_chain_wrapper),
10234 (gst_basic_scheduler_src_wrapper),
10235 (gst_basic_scheduler_remove_element):
10236 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10237 Remove threadsafe properties. Fix elements because GObject
10238 complains when installing a property before declaring a
10239 set/get_property handler.
10240 Rearrange gstelement.h file, use STATE macros for state locks.
10241 Free mutexes in the finalize method instead of dispose.
10243 2005-03-08 Wim Taymans <wim@fluendo.com>
10245 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10246 * gst/gstthread.c: (gst_thread_release_children_locks):
10247 Added parentage check.
10248 Fix build og GstThread again.
10250 2005-03-08 Wim Taymans <wim@fluendo.com>
10252 * docs/design/part-MT-refcounting.txt:
10253 * docs/design/part-conventions.txt:
10254 * docs/design/part-gstobject.txt:
10255 * docs/design/part-relations.txt:
10256 * docs/design/part-standards.txt:
10257 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10258 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10259 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10260 (gst_bin_iterate_all_by_interface):
10263 * gst/gstelement.c: (gst_element_class_init),
10264 (gst_element_change_state), (gst_element_set_loop_function):
10265 * gst/gstelement.h:
10266 * gst/gstiterator.c:
10267 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10268 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10269 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10270 (gst_object_set_parent), (gst_object_unparent),
10271 (gst_object_check_uniqueness):
10273 Docs updates, clean up some headers.
10275 2005-03-07 Wim Taymans <wim@fluendo.com>
10277 * check/.cvsignore:
10278 * check/Makefile.am:
10279 * check/gst-libs/.cvsignore:
10280 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10281 * check/gst/.cvsignore:
10282 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10283 (START_TEST), (gstbus_suite), (main):
10284 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10285 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10286 (gst_data_suite), (main):
10287 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10288 (add_fold_func), (gstiterator_suite), (main):
10289 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10290 (thread_name_object), (thread_name_object_default),
10291 (gst_object_name_compare), (gst_object_suite), (main):
10292 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10293 (gst_pad_suite), (main):
10294 * check/gstcheck.c: (gst_check_log_message_func),
10295 (gst_check_log_critical_func), (gst_check_init):
10296 * check/gstcheck.h:
10297 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10298 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10301 2005-03-07 Wim Taymans <wim@fluendo.com>
10303 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10304 (gst_list_iterator_next), (gst_list_iterator_resync),
10305 (gst_list_iterator_free), (gst_iterator_new_list),
10306 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10307 (gst_iterator_free), (gst_iterator_push), (filter_next),
10308 (filter_resync), (filter_uninit), (filter_free),
10309 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10310 (gst_iterator_foreach), (find_custom_fold_func),
10311 (gst_iterator_find_custom):
10312 * gst/gstiterator.h:
10313 Added missing files.
10315 2005-03-07 Wim Taymans <wim@fluendo.com>
10319 * docs/design/part-MT-refcounting.txt:
10320 * docs/design/part-conventions.txt:
10321 * docs/design/part-gstobject.txt:
10322 * docs/design/part-relations.txt:
10323 * examples/mixer/mixer.c: (main):
10324 * examples/thread/thread.c: (eos), (main):
10326 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10327 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10328 (gst_spider_plug_from_srcpad):
10329 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10330 (gst_spider_identity_change_state),
10331 (gst_spider_identity_sink_loop_type_finding):
10332 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10333 * gst/elements/gstidentity.c: (gst_identity_init):
10334 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10335 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10336 * gst/elements/gsttypefindelement.c: (free_entry):
10339 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10340 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10341 (gst_bin_set_index), (gst_bin_set_element_sched),
10342 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10343 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10344 (gst_bin_iterate_elements), (iterate_child_recurse),
10345 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10346 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10347 (compare_interface), (gst_bin_get_by_interface),
10348 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10350 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10351 (gst_buffer_default_free), (gst_buffer_default_copy),
10352 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10353 (gst_buffer_create_sub):
10355 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10356 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10357 (gst_caps_unref), (gst_static_caps_get),
10358 (gst_caps_remove_and_get_structure), (gst_caps_append),
10359 (gst_caps_append_structure), (gst_caps_remove_structure),
10360 (gst_caps_copy_nth), (gst_caps_set_simple),
10361 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10362 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10363 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10364 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10365 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10366 (gst_caps_structure_figure_out_union),
10367 (gst_caps_switch_structures), (gst_caps_do_simplify),
10368 (gst_caps_replace), (gst_caps_from_string),
10369 (gst_caps_copy_conditional):
10371 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10372 (_gst_clock_id_free), (gst_clock_id_unref),
10373 (gst_clock_id_compare_func), (gst_clock_id_wait),
10374 (gst_clock_id_wait_async), (gst_clock_class_init),
10375 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10376 (gst_clock_get_time), (gst_clock_set_time_adjust),
10377 (gst_clock_set_property), (gst_clock_get_property):
10380 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10381 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10383 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10384 (gst_element_requires_clock), (gst_element_provides_clock),
10385 (gst_element_set_clock), (gst_element_clock_wait),
10386 (gst_element_wait), (gst_element_set_time_delay),
10387 (gst_element_is_indexable), (gst_element_add_pad),
10388 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10389 (pad_compare_name), (gst_element_get_static_pad),
10390 (gst_element_request_pad), (gst_element_get_request_pad),
10391 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10392 (gst_element_class_get_pad_template_list),
10393 (gst_element_class_get_pad_template), (gst_element_error_func),
10394 (gst_element_get_random_pad), (gst_element_get_event_masks),
10395 (gst_element_send_event), (gst_element_seek),
10396 (gst_element_get_query_types), (gst_element_query),
10397 (gst_element_get_formats), (gst_element_convert),
10398 (gst_element_is_locked_state), (gst_element_set_locked_state),
10399 (gst_element_sync_state_with_parent), (gst_element_change_state),
10400 (gst_element_finalize), (gst_element_yield),
10401 (gst_element_interrupt), (gst_element_set_scheduler),
10402 (gst_element_get_scheduler), (gst_element_set_loop_function):
10403 * gst/gstelement.h:
10405 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10406 (gst_format_get_by_nick), (gst_format_get_details),
10407 (gst_format_iterate_definitions):
10409 * gst/gstindex.c: (gst_index_gtype_resolver):
10412 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10413 (gst_mem_chunk_free):
10414 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10415 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10416 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10417 (gst_object_dispatch_properties_changed),
10418 (gst_object_set_name_default), (gst_object_set_name),
10419 (gst_object_get_name), (gst_object_set_name_prefix),
10420 (gst_object_get_name_prefix), (gst_object_set_parent),
10421 (gst_object_get_parent), (gst_object_unparent),
10422 (gst_object_check_uniqueness), (gst_object_save_thyself),
10423 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10424 (gst_object_set_property), (gst_object_get_property),
10425 (gst_object_get_path_string):
10427 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10428 (gst_real_pad_init), (gst_real_pad_get_property),
10429 (gst_pad_custom_new), (gst_pad_get_direction),
10430 (gst_pad_set_active), (gst_pad_is_active),
10431 (gst_pad_set_event_function), (gst_pad_is_linked),
10432 (gst_pad_link_free), (gst_pad_link_intersect),
10433 (gst_pad_link_fixate), (gst_pad_set_caps),
10434 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10435 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10436 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10437 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10438 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10439 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10440 (gst_pad_realize), (gst_pad_get_allowed_caps),
10441 (gst_real_pad_dispose), (gst_real_pad_finalize),
10442 (gst_pad_collectv), (gst_pad_collect_valist),
10443 (gst_pad_template_dispose), (gst_pad_template_new),
10444 (gst_pad_get_internal_links):
10446 * gst/gstpipeline.c: (gst_pipeline_dispose),
10447 (gst_pipeline_change_state):
10448 * gst/gstpipeline.h:
10450 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10451 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10452 * gst/gstpluginfeature.h:
10453 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10454 * gst/gstquery.c: (_gst_query_type_initialize),
10455 (gst_query_type_register), (gst_query_type_get_by_nick),
10456 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10458 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10459 * gst/gstscheduler.c: (gst_scheduler_add_element),
10460 (gst_scheduler_factory_create):
10461 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10462 (gst_structure_free), (gst_structure_set_name),
10463 (gst_structure_id_set_value), (gst_structure_set_value),
10464 (gst_structure_set_valist), (gst_structure_remove_field),
10465 (gst_structure_remove_fields),
10466 (gst_structure_remove_fields_valist),
10467 (gst_structure_remove_all_fields), (gst_structure_foreach),
10468 (gst_structure_map_in_place),
10469 (gst_caps_structure_fixate_field_nearest_int),
10470 (gst_caps_structure_fixate_field_nearest_double):
10471 * gst/gststructure.h:
10472 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10473 (gst_system_clock_init), (gst_system_clock_dispose),
10474 (gst_system_clock_async_thread),
10475 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10476 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10477 * gst/gstsystemclock.h:
10478 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10479 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10480 * gst/gsttaginterface.c:
10481 * gst/gstthread.c: (gst_thread_dispose),
10482 (gst_thread_release_children_locks), (gst_thread_change_state),
10483 (gst_thread_main_loop):
10484 * gst/gsttrashstack.h:
10485 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10487 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10488 (gst_element_request_pad), (gst_element_get_pad_from_template),
10489 (gst_element_request_compatible_pad),
10490 (gst_element_get_compatible_pad_filtered),
10491 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10492 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10493 (gst_element_link_many), (gst_element_link),
10494 (gst_element_link_pads), (gst_element_unlink_pads),
10495 (gst_element_unlink_many), (gst_element_unlink),
10496 (gst_pad_can_link_filtered), (gst_pad_can_link),
10497 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10498 (gst_object_default_error), (gst_bin_add_many),
10499 (gst_bin_remove_many), (gst_element_populate_std_props),
10500 (gst_element_class_install_std_props), (gst_buffer_merge),
10501 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10502 (link_fold_func), (gst_pad_proxy_setcaps):
10504 * gst/gstvalue.c: (gst_value_deserialize_string):
10505 * gst/parse/grammar.y:
10506 * gst/schedulers/gstbasicscheduler.c:
10507 (gst_basic_scheduler_cothreaded_chain),
10508 (gst_basic_scheduler_chain_recursive_add),
10509 (gst_basic_scheduler_pad_link):
10510 * gst/schedulers/gstoptimalscheduler.c:
10511 (get_group_schedule_function),
10512 (gst_opt_scheduler_state_transition),
10513 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10514 * libs/gst/bytestream/bytestream.c:
10515 * libs/gst/dataprotocol/dataprotocol.c:
10516 (gst_dp_header_from_buffer):
10519 * tests/threadstate/threadstate2.c: (eos):
10520 * tools/gst-compprep.c: (main):
10521 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10522 (print_pad_info), (print_children_info):
10523 * tools/gst-launch.c: (idle_func), (main):
10524 * tools/gst-md5sum.c: (idle_func), (main):
10525 * tools/gst-xmlinspect.c: (print_element_info):
10526 First THREADED backport attempt, focusing on adding locks and
10527 making sure the API is threadsafe. Needs more work. More docs
10530 2005-02-24 Andy Wingo <wingo@pobox.com>
10532 * tests/bench-complexity.scm:
10533 * tests/complexity.gnuplot: New files, good for running complexity
10536 * tests/Makefile.am:
10537 * tests/complexity.c: New test, sets up N elements, at each level
10538 teeing into M streams per element. Eeeenteresting.
10540 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10541 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10542 running bench-mass_elements.scm.
10544 * tests/bench-mass_elements.scm: New script, runs mass_elements
10545 for various numbers of identities, outputting the results to a
10546 file. Requires guile 1.6. Just for testing.
10548 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10550 * gst/schedulers/fairscheduler.c:
10551 compile with debug disabled
10553 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10556 hunting season on 0.9 is now OPEN