1 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3 * configure.ac: back to HEAD
7 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
10 releasing 0.9.5, "Bike Lunch Day"
12 2005-11-11 Wim Taymans <wim@fluendo.com>
14 * gst/gstbuffer.c: (_gst_buffer_copy):
17 * gst/gstcaps.c: (gst_caps_is_equal):
19 Make _is_equal fast in the trivial cases.
21 * gst/gstminiobject.c:
22 * gst/gstminiobject.h:
23 More docs. Spifify .h file.
28 2005-11-11 Wim Taymans <wim@fluendo.com>
30 * gst/base/gstbasetransform.c:
31 (gst_base_transform_prepare_output_buf),
32 (gst_base_transform_handle_buffer):
34 If we're processing a buffer and need to allocate an output
35 buffer, we cannot accept a format change. If we did get a
36 format change, we have to alloc a buffer ourselves of the
39 2005-11-11 Wim Taymans <wim@fluendo.com>
41 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
42 While checking the flag for reentrancy in the gstcaps function
43 is nice to detect recursive invocations, it also makes it
44 impossible to call getcaps from multiple threads, which must be
45 possible. So, checking for recursive calls has to go.
47 2005-11-11 Michael Smith <msmith@fluendo.com>
49 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
50 Don't sync on buffers that fall partially outside our current
51 segment. Prevents an assertion failure/abort playing some files.
53 2005-11-10 Andy Wingo <wingo@pobox.com>
55 * check/gst/gstbin.c (test_message_state_changed_children): Style
58 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
59 gst_bus_poll with the signal watch. Ensures that poll and a signal
60 watch see the same messages.
62 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
63 a poll and a watch at the same time get the same messages.
65 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
67 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
68 * gst/gstcaps.c: (gst_caps_intersect):
69 Don't call gst_caps_do_simplify - it doesn't respect order of caps
72 2005-11-10 Wim Taymans <wim@fluendo.com>
74 * docs/design/part-TODO.txt:
77 2005-11-10 Wim Taymans <wim@fluendo.com>
79 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
80 * gst/base/gstbasesrc.c: (gst_base_src_wait),
81 (gst_base_src_do_sync), (gst_base_src_get_range):
82 Implement clock sync in base class.
84 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
86 patch by: Tim-Philipp Müller <tim at centricular dot net>
88 * gst/gststructure.c: (gst_structure_parse_field),
89 (gst_structure_from_string):
90 Forward-port a 0.8 patch to handle escaped spaces in structure string,
91 so that gst_parse_launch() can deal with spaces in filtered link
93 * check/gst/capslist.h:
94 * check/gst/gststructure.c: (GST_START_TEST):
95 add unit tests for this change
97 2005-11-10 Wim Taymans <wim@fluendo.com>
99 * docs/gst/gstreamer-sections.txt:
102 Fix docs, move some STATE macros to private.
104 2005-11-10 Wim Taymans <wim@fluendo.com>
106 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
107 Added check for bug #317341
111 Some more spiffifying.
113 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
114 Call peer linkfunction if we are a source pad. Totally fixes
118 Update docs, source pads should call the peer linkfunction
119 so they can atomically perform the pad link.
121 2005-11-09 Wim Taymans <wim@fluendo.com>
125 Uber-spiffy-spiffify some more.
127 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
129 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
130 * gst/elements/gstfilesink.c: (gst_file_sink_init):
131 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
132 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
133 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
134 * gst/gstpad.c: (gst_pad_init):
135 Use GST_DEBUG_FUNCPTR() more extensively.
137 2005-11-09 Wim Taymans <wim@fluendo.com>
139 * gst/gstobject.c: (gst_object_class_init):
143 2005-11-09 Edward Hervey <edward@fluendo.com>
145 * gst/gsttypefindfactory.c:
148 2005-11-09 Edward Hervey <edward@fluendo.com>
150 * gst/base/gsttypefindhelper.c:
155 2005-11-09 Wim Taymans <wim@fluendo.com>
164 2005-11-09 Wim Taymans <wim@fluendo.com>
170 2005-11-09 Wim Taymans <wim@fluendo.com>
172 * docs/gst/gstreamer-sections.txt:
173 Moved the message async delivery private lock and cond
174 to the private section.
180 2005-11-09 Edward Hervey <edward@fluendo.com>
182 * docs/gst/gstreamer-sections.txt:
185 Document GstURIHandler
187 2005-11-09 Wim Taymans <wim@fluendo.com>
189 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
190 (gst_iterator_find_custom):
194 2005-11-09 Wim Taymans <wim@fluendo.com>
197 Document another field.
199 * gst/gststructure.c:
200 * gst/gststructure.h:
203 2005-11-09 Wim Taymans <wim@fluendo.com>
208 2005-11-09 Wim Taymans <wim@fluendo.com>
210 * docs/gst/gstreamer-sections.txt:
211 Added some new macros.
218 2005-11-09 Wim Taymans <wim@fluendo.com>
220 * docs/design/part-TODO.txt:
221 Some more items for the TODO
227 2005-11-09 Andy Wingo <wingo@pobox.com>
229 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
230 to work on something else now tho...
232 * gst/base/gstadapter.c: More adapter docs.
234 * gst/elements/gstfilesink.c (gst_file_sink_start)
235 (gst_file_sink_stop): New functions, replace the state change
237 (gst_file_sink_class_init): Hook up the start and stop functions.
238 (gst_file_sink_base_init): Don't set the state change handler any
239 more. It was a bit ugly too, being set from here...
240 (gst_file_sink_get_property, gst_file_sink_set_property):
242 (gst_file_sink_set_location): More robust check that doesn't call
245 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
247 * gst/base/gstbasetransform.c: (gst_base_transform_event):
248 Hold STREAM_LOCK while pushing newsegment or tag events as well.
250 2005-11-08 Wim Taymans <wim@fluendo.com>
252 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
253 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
254 (gst_base_sink_chain), (gst_base_sink_change_state):
255 * gst/base/gstbasesink.h:
256 * gst/base/gstbasesrc.h:
259 Avoid excessive typechecking in macros.
261 * gst/gstminiobject.c: (gst_mini_object_get_type),
262 (gst_mini_object_init), (gst_mini_object_new),
263 (gst_mini_object_free):
264 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
265 (gst_object_finalize):
266 Remove cruft code, optimize alloc_trace.
268 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
270 * docs/faq/gst-uninstalled:
271 fix up PS1 for systems that try to reset it
273 2005-11-07 Wim Taymans <wim@fluendo.com>
275 * gst/base/gstbasesrc.c: (gst_base_src_init),
276 (gst_base_src_get_range):
277 Set the segment_end to -1 initially. Fixed typefind.
279 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
281 * gst/base/gstadapter.c:
282 Debug category should be 'adapter', not 'GstAdapter'.
284 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
285 (gst_collectpads_class_init), (gst_collectpads_init),
286 (gst_collectpads_peek), (gst_collectpads_pop),
287 (gst_collectpads_event), (gst_collectpads_chain):
288 Add debug category and some debugging output. Use boilerplate
289 macros. Remove some extraneous words from docs.
291 2005-11-05 Andy Wingo <wingo@pobox.com>
293 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
296 2005-11-04 Stefan Kost <ensonic@users.sf.net>
298 * docs/gst/gstreamer-sections.txt:
301 * gst/gstminiobject.h:
306 2005-11-04 Wim Taymans <wim@fluendo.com>
308 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
309 Small update to stop at the configured segment_end
312 2005-11-04 Stefan Kost <ensonic@users.sf.net>
318 2005-11-04 Edward Hervey <edward@fluendo.com>
320 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
321 Check if we are doing a segment seek and have arrived at the
324 2005-11-04 Wim Taymans <wim@fluendo.com>
326 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
327 Don't leak a mutex unlock in case of an error.
332 2005-11-04 Wim Taymans <wim@fluendo.com>
334 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
336 Get the context to wake up only once.
338 2005-11-03 Wim Taymans <wim@fluendo.com>
340 * check/states/sinks.c: (GST_START_TEST):
341 Uncomment fixed check.
343 * docs/design/part-TODO.txt:
346 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
347 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
348 (gst_base_sink_get_position):
349 If we are going to PLAYING, post the right pending state
350 when we post the intermediate paused message.
352 * gst/gstelement.c: (gst_element_continue_state),
353 (gst_element_set_state_func), (gst_element_change_state):
354 Don't post state changes that were between the same state
357 2005-11-03 Stefan Kost <ensonic@users.sf.net>
359 * docs/gst/gstreamer-sections.txt:
362 * gst/gstminiobject.h:
365 more docs and doc style fixes
367 2005-11-03 Stefan Kost <ensonic@users.sf.net>
369 * docs/gst/gstreamer-sections.txt:
371 * gst/gstminiobject.c:
374 2005-11-03 Andy Wingo <wingo@pobox.com>
376 * check/states/sinks.c (test_livesrc_sink): Add checks that the
377 state-changed messages actually have the right order and the right
380 2005-11-03 Wim Taymans <wim@fluendo.com>
382 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
383 Added some more checks. Specifically the case where NO_PREROLL
384 elements are in the pipeline.
386 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
387 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
388 (gst_base_sink_get_position):
389 Post READY->PAUSED state change messages too.
390 Fix bug where VOID was posted as pending state...
392 * gst/gstbin.c: (gst_bin_recalc_state):
393 use _element_continue_state() to continue the state change.
395 * gst/gstelement.c: (gst_element_continue_state),
396 (gst_element_commit_state), (gst_element_set_state_func),
397 (gst_element_change_state), (gst_element_change_state_func):
398 Lots of state change cleanups, assign the STATE_RETURN in
399 a new continue_state() function that also propagates the
400 last return value from a state change to the app.
401 Update some debug statements with proper category.
403 2005-11-03 Wim Taymans <wim@fluendo.com>
405 * docs/design/part-events.txt:
406 * docs/design/part-gstpipeline.txt:
407 * docs/design/part-messages.txt:
408 * docs/design/part-overview.txt:
409 * docs/design/part-seeking.txt:
410 * docs/design/part-states.txt:
411 * docs/design/part-trickmodes.txt:
412 * docs/manual/advanced-position.xml:
416 People think !! is ugly, this looks better.
418 * gst/gstpad.c: (gst_pad_set_blocked_async):
419 Remove !! since it's fixed elsewhere now.
421 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
423 * gst/gstminiobject.h:
425 Add !! to _FLAG_IS_SET macros to make the result boolean.
427 2005-11-03 Edward Hervey <edward@fluendo.com>
429 * gst/gstpad.c: (gst_pad_set_blocked_async):
430 comparing a flag and a gboolean rarely returns coherent results...
431 Added two characters (!!) to make that work correctly.
433 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
435 * gst/gstbus.c: (gst_bus_class_init):
438 * gst/gstqueue.c: (gst_queue_loop):
439 Don't assume a miniobject that isn't a buffer is an
440 event (it could be that there is a refcounting
441 problem somewhere and the pointer is stale and
442 refers to an already destroyed miniobject).
444 2005-11-03 Julien MOUTTE <julien@moutte.net>
446 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
448 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
450 * docs/manual/advanced-position.xml:
451 Update seek example and explanations to current 0.9 API.
453 * gst/elements/gsttypefindelement.c:
454 (gst_type_find_element_activate):
455 Remove FIXME comment now that the found caps
458 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
460 * gst/gstregistryxml.c: (load_feature):
461 Add another GST_STR_NULL instance
463 2005-11-02 Edward Hervey <edward@fluendo.com>
465 * gst/gstpad.c: (handle_pad_block):
466 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
468 2005-11-02 Wim Taymans <wim@fluendo.com>
473 * gst/gstelement.c: (gst_element_commit_state):
477 Mention that the returned element is reffed in the docs.
479 2005-11-02 Wim Taymans <wim@fluendo.com>
481 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
482 (gst_pad_push), (gst_pad_push_event):
483 Unlock blocked pads when they are flushed.
485 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
488 * docs/gst/gstreamer-sections.txt:
491 * gst/gstregistry.c: (gst_registry_scan_path_level):
492 fix for a nasty little missed situation where an installed plug-in
493 which was in the cache did not get overridden by an uninstalled one
494 which was earlier in the plugin path because the newly created plugin
495 for the uninstalled one (not in the registry) didn't get its
496 ->registered set to TRUE
498 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
500 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
501 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
502 (gst_collectpads_is_active), (gst_collectpads_collect),
503 (gst_collectpads_collect_range), (gst_collectpads_start),
504 (gst_collectpads_stop), (gst_collectpads_peek),
505 (gst_collectpads_pop), (gst_collectpads_available),
506 (gst_collectpads_read), (gst_collectpads_flush):
507 Guard public API with assertions.
510 Fix docs for gst_pad_set_link_function().
512 2005-11-02 Johan Dahlin <johan@gnome.org>
514 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
515 Unref found_caps after we used it.
517 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
519 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
520 Don't try to ref NULL.
522 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
524 * win32/common/config.h.in:
525 provide a GST_FUNCTION that just gives a string for now
527 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
529 * win32/common/gstenumtypes.c: (register_gst_object_flags),
530 (gst_object_flags_get_type), (register_gst_bin_flags),
531 (gst_bin_flags_get_type), (register_gst_buffer_flag),
532 (gst_buffer_flag_get_type), (register_gst_bus_flags),
533 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
534 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
535 (gst_clock_return_get_type), (register_gst_clock_entry_type),
536 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
537 (gst_clock_flags_get_type), (register_gst_state),
538 (gst_state_get_type), (register_gst_state_change_return),
539 (gst_state_change_return_get_type), (register_gst_state_change),
540 (gst_state_change_get_type), (register_gst_element_flags),
541 (gst_element_flags_get_type), (register_gst_core_error),
542 (gst_core_error_get_type), (register_gst_library_error),
543 (gst_library_error_get_type), (register_gst_resource_error),
544 (gst_resource_error_get_type), (register_gst_stream_error),
545 (gst_stream_error_get_type), (register_gst_event_type),
546 (gst_event_type_get_type), (register_gst_seek_type),
547 (gst_seek_type_get_type), (register_gst_seek_flags),
548 (gst_seek_flags_get_type), (register_gst_format),
549 (gst_format_get_type), (register_gst_index_certainty),
550 (gst_index_certainty_get_type), (register_gst_index_entry_type),
551 (gst_index_entry_type_get_type),
552 (register_gst_index_lookup_method),
553 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
554 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
555 (gst_index_resolver_method_get_type), (register_gst_index_flags),
556 (gst_index_flags_get_type), (register_gst_debug_level),
557 (gst_debug_level_get_type), (register_gst_debug_color_flags),
558 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
559 (gst_iterator_result_get_type), (register_gst_iterator_item),
560 (gst_iterator_item_get_type), (register_gst_message_type),
561 (gst_message_type_get_type), (register_gst_mini_object_flags),
562 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
563 (gst_pad_link_return_get_type), (register_gst_flow_return),
564 (gst_flow_return_get_type), (register_gst_activate_mode),
565 (gst_activate_mode_get_type), (register_gst_pad_direction),
566 (gst_pad_direction_get_type), (register_gst_pad_flags),
567 (gst_pad_flags_get_type), (register_gst_pad_presence),
568 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
569 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
570 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
571 (gst_plugin_error_get_type), (register_gst_plugin_flags),
572 (gst_plugin_flags_get_type), (register_gst_rank),
573 (gst_rank_get_type), (register_gst_query_type),
574 (gst_query_type_get_type), (register_gst_tag_merge_mode),
575 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
576 (gst_tag_flag_get_type), (register_gst_task_state),
577 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
578 (gst_alloc_trace_flags_get_type),
579 (register_gst_type_find_probability),
580 (gst_type_find_probability_get_type), (register_gst_uri_type),
581 (gst_uri_type_get_type), (register_gst_parse_error),
582 (gst_parse_error_get_type):
583 * win32/common/gstversion.h:
586 2005-11-01 Luca Ognibene <luogni@tin.it>
589 fix docs. popt is dead, long live GOption.
591 2005-10-31 Wim Taymans <wim@fluendo.com>
596 2005-10-31 Andy Wingo <wingo@pobox.com>
600 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
602 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
603 need to serialize property notifications on GLib 2.8. GLib 2.6 has
604 the possibility of deadlocks here if code calling notify() or
605 set() has a lock that can be taken in another notify handler (ABBA
606 with class lock and e.g. python GIL state lock).
608 2005-10-28 Julien MOUTTE <julien@moutte.net>
610 * gst/gstbus.c: Doc updates.
612 2005-10-28 Wim Taymans <wim@fluendo.com>
614 * docs/design/part-TODO.txt:
616 * gst/gstsystemclock.c:
617 * gst/gstsystemclock.h:
620 2005-10-28 Edward Hervey <edward@fluendo.com>
622 * docs/gst/gstreamer-docs.sgml:
623 * docs/gst/gstreamer-sections.txt:
624 the GstURIType documentation page is private, it only defines GstURIType
625 which should be defined in the GstURIHandler page
627 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
629 * gst/gstbin.c: (gst_bin_class_init):
632 Documentation updates.
634 2005-10-28 Wim Taymans <wim@fluendo.com>
636 * docs/gst/gstreamer-sections.txt:
639 Documented the clocks.
641 2005-10-28 Stefan Kost <ensonic@users.sf.net>
643 * docs/gst/gstreamer-sections.txt:
644 move some macros to private sections
645 * gst/gstminiobject.c:
646 * gst/gstminiobject.h:
647 add descriptions provided by ds and some more
649 mark macro as to be removed
651 2005-10-28 Wim Taymans <wim@fluendo.com>
653 * docs/design/part-TODO.txt:
656 * gst/gstiterator.c: (gst_iterator_fold),
657 (gst_iterator_find_custom):
661 2005-10-28 Wim Taymans <wim@fluendo.com>
663 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
664 (gst_base_transform_init):
667 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
668 An EOS event marks the queue as completely filled.
670 2005-10-27 Wim Taymans <wim@fluendo.com>
672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
673 (gst_base_sink_do_sync), (gst_base_sink_get_position):
676 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
677 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
678 (gst_base_transform_event), (gst_base_transform_getrange),
679 (gst_base_transform_chain):
680 * gst/base/gstbasetransform.h:
682 Protect transform and concurrent buffer alloc with a new lock.
683 Try not to break ABI/API.
685 2005-10-27 Wim Taymans <wim@fluendo.com>
687 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
688 (gst_base_src_init), (gst_base_src_query),
689 (gst_base_src_default_newsegment),
690 (gst_base_src_configure_segment), (gst_base_src_do_seek),
691 (gst_base_src_send_event), (gst_base_src_event_handler),
692 (gst_base_src_pad_get_range), (gst_base_src_loop),
693 (gst_base_src_unlock), (gst_base_src_default_negotiate),
694 (gst_base_src_start), (gst_base_src_deactivate),
695 (gst_base_src_activate_push), (gst_base_src_change_state):
696 Move some stuff around and cleanup things.
698 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
700 * gst/base/gstbasesrc.c: (gst_base_src_query):
701 Add missing break statements.
703 2005-10-27 Wim Taymans <wim@fluendo.com>
705 * check/gst/gstbin.c: (GST_START_TEST):
706 An extra refcount is taken in basesrc.
708 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
709 (gst_base_src_get_range), (gst_base_src_pad_get_range),
711 Small cleanups, check for flushing after being unlocked from the
712 LIVE_LOCK. take refcounts correctly (not yet everywhere).
713 Don't send out EOS when going to READY.
715 2005-10-27 Wim Taymans <wim@fluendo.com>
717 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
718 (gst_base_sink_get_position):
721 * gst/gstbin.c: (message_check), (bin_replace_message),
722 (bin_remove_messages), (is_eos), (gst_bin_add_func),
723 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
724 (bin_query_duration_init), (bin_query_duration_fold),
725 (bin_query_duration_done), (bin_query_generic_fold),
727 * tools/gst-launch.c: (main):
730 2005-10-26 Stefan Kost <ensonic@users.sf.net>
732 * examples/controller/audio-example.c: (main):
733 * examples/queue/queue.c: (event_loop):
734 * gst/base/gstbasetransform.h:
735 * gst/gstelement.c: (gst_element_send_event):
737 * gst/gstpad.c: (gst_pad_send_event):
740 changing log priority in error situations
742 2005-10-25 Wim Taymans <wim@fluendo.com>
744 * gst/gstbin.c: (message_check), (bin_replace_message),
745 (bin_remove_messages), (is_eos), (gst_bin_add_func),
746 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
747 (bin_query_duration_init), (bin_query_duration_fold),
748 (bin_query_duration_done), (bin_query_generic_fold),
750 Some doc and debug updates.
751 Cache previously requested query DURATION for speed. invalidate
752 cached duration if element posts a DURATION message.
754 2005-10-25 Wim Taymans <wim@fluendo.com>
756 * docs/design/part-TODO.txt:
759 * gst/gstbin.c: (message_check), (bin_replace_message),
760 (bin_remove_messages), (is_eos), (gst_bin_add_func),
761 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
762 (bin_query_duration_init), (bin_query_duration_fold),
763 (bin_query_duration_done), (bin_query_generic_fold),
765 Handle SEGMENT_START/DONE messages correctly.
766 More evolved query algorithm that handles duration queries
769 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
770 (gst_element_get_state_func), (gst_element_abort_state),
771 (gst_element_commit_state), (gst_element_lost_state):
777 2005-10-25 Wim Taymans <wim@fluendo.com>
779 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
780 Don't use invalid stream_time.
782 * gst/gstevent.c: (gst_event_new_newsegment):
783 stream_time in newsegment cannot be undefined.
785 2005-10-24 Wim Taymans <wim@fluendo.com>
790 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
792 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
794 2005-10-24 Stefan Kost <ensonic@users.sf.net>
796 * docs/libs/tmpl/gstdparam.sgml:
797 * docs/libs/tmpl/gstdplinint.sgml:
798 * docs/libs/tmpl/gstdpman.sgml:
799 * docs/libs/tmpl/gstdpsmooth.sgml:
800 * docs/libs/tmpl/gstunitconvert.sgml:
803 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
808 === release 0.9.4 ===
810 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
813 releasing 0.9.4, "Tyrannosaurus Rex"
815 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
817 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
818 (gst_file_sink_get_current_offset):
819 Use fseeko() and ftello() if available. When falling back on
820 lseek() to get the current offset, fflush() first to make sure
821 everything is up-to-date and we get the right offset.
823 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
825 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
826 * gst/base/gstbasesrc.c: (gst_base_src_loop):
827 * gst/gsterror.c: (_gst_stream_errors_init):
829 * gst/gstqueue.c: (gst_queue_loop):
831 remove prematurely added error category and clean up the instances
833 2005-10-21 Wim Taymans <wim@fluendo.com>
835 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
836 (gst_base_sink_get_position), (gst_base_sink_query),
837 (gst_base_sink_change_state):
838 Simply set the right flag when going to playing, that's all
839 we need to do instead of calling a function inside the object
840 lock (that could take the lock as well and deadlock)
842 2005-10-21 Wim Taymans <wim@fluendo.com>
844 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
846 Don't warn, the peer element knows what to do best when
847 the seek failed, it might try something else.
849 2005-10-21 Wim Taymans <wim@fluendo.com>
851 * gst/base/gstbasesrc.c: (gst_base_src_init),
852 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
855 2005-10-21 Wim Taymans <wim@fluendo.com>
857 * docs/design/part-segments.txt:
860 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
861 Correctly set caps, even on the subbufer.
863 2005-10-21 Wim Taymans <wim@fluendo.com>
865 * docs/gst/gstreamer-docs.sgml:
866 * docs/gst/gstreamer-sections.txt:
873 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
877 And 2% more doc coverage.
879 2005-10-21 Andy Wingo <wingo@pobox.com>
881 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
884 2005-10-20 Wim Taymans <wim@fluendo.com>
886 * gst/gsterror.c: (gst_error_get_message):
889 * gst/gststructure.c:
894 2005-10-20 Wim Taymans <wim@fluendo.com>
899 Another 1% more coverage.
901 2005-10-20 Wim Taymans <wim@fluendo.com>
903 * docs/gst/gstreamer-sections.txt:
904 * gst/gstelement.c: (gst_element_get_state_func),
905 (gst_element_abort_state), (gst_element_commit_state),
906 (gst_element_lost_state):
908 * gst/gstquery.c: (gst_query_set_position),
909 (gst_query_parse_position), (gst_query_set_duration),
910 (gst_query_parse_duration), (gst_query_new_convert):
912 Yay! 1% more docs coverage.
914 2005-10-20 Wim Taymans <wim@fluendo.com>
917 * gst/gstquery.c: (gst_query_set_position),
918 (gst_query_parse_position), (gst_query_set_duration),
919 (gst_query_parse_duration), (gst_query_new_convert):
921 * gst/gstutils.c: (gst_element_query_convert):
923 Docs and consistency fixes.
925 2005-10-20 Wim Taymans <wim@fluendo.com>
931 2005-10-20 Wim Taymans <wim@fluendo.com>
933 * gst/gstbin.c: (message_check), (bin_replace_message),
934 (bin_remove_messages), (is_eos), (gst_bin_add_func),
935 (update_degree), (gst_bin_sort_iterator_next),
936 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
937 Reworked the message handling a bit, cache the messages instead of
938 only the senders. alows us to do more in the future.
940 2005-10-20 Wim Taymans <wim@fluendo.com>
942 * docs/design/part-TODO.txt:
945 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
946 (gst_base_sink_query):
947 Don't use clock time to report position when in EOS.
949 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
951 * tools/gst-inspect.c: (print_interfaces),
952 (print_element_properties_info), (print_element_info):
953 Fix interface output with gst-inspect -a; don't print
954 newlines after double/float properties.
956 2005-10-20 Wim Taymans <wim@fluendo.com>
958 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
959 (gst_base_sink_query):
960 Speed up current position calculation.
962 * gst/base/gstbasesrc.c: (gst_base_src_query),
963 (gst_base_src_default_newsegment):
964 Correctly set stream position in newsegment.
966 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
967 (update_degree), (gst_bin_sort_iterator_next),
968 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
969 * gst/gstmessage.c: (gst_message_new_custom):
970 Clean up debugging info
972 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
973 (gst_queue_loop), (gst_queue_handle_src_query):
976 2005-10-19 Wim Taymans <wim@fluendo.com>
978 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
979 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
980 Fix query handling again.
982 2005-10-19 Wim Taymans <wim@fluendo.com>
984 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
985 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
986 * gst/base/gstbasesrc.c: (gst_base_src_query):
987 * gst/elements/gstfilesink.c: (gst_file_sink_query):
988 * gst/elements/gsttypefindelement.c:
989 (gst_type_find_handle_src_query), (find_element_get_length),
990 (gst_type_find_element_activate):
993 * gst/gstquery.c: (gst_query_new_position),
994 (gst_query_set_position), (gst_query_parse_position),
995 (gst_query_new_duration), (gst_query_set_duration),
996 (gst_query_parse_duration), (gst_query_set_segment),
997 (gst_query_parse_segment):
999 Bundling query position/duration is not a good idea since duration
1000 does not change much and we don't want to recalculate it for every
1001 position query, so they are separated again..
1002 Base value in segment query is not needed.
1004 * gst/gstqueue.c: (gst_queue_handle_src_query):
1005 * gst/gstutils.c: (gst_element_query_position),
1006 (gst_element_query_duration), (gst_pad_query_position),
1007 (gst_pad_query_duration):
1009 Updates for query API change.
1010 Added some docs here and there.
1012 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1014 * check/gst/gstbin.c: (GST_START_TEST):
1015 * check/gst/gstghostpad.c: (GST_START_TEST):
1016 * check/pipelines/cleanup.c: (GST_START_TEST):
1017 wait on thread to die so we can check refcount correctly
1019 2005-10-18 Wim Taymans <wim@fluendo.com>
1021 * check/pipelines/stress.c: (GST_START_TEST):
1022 Make check a little more time consuming.
1024 2005-10-18 Wim Taymans <wim@fluendo.com>
1026 * check/Makefile.am:
1027 * check/pipelines/stress.c: (GST_START_TEST),
1028 (simple_launch_lines_suite), (main):
1029 Small state change torture test.
1031 * docs/design/part-states.txt:
1032 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1033 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1034 (gst_base_sink_change_state):
1035 Never take state lock from streaming thread, clean up ugly
1036 hacks. Unfortunatly core does not yet support nice ways to
1039 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1041 Start state recalc if a STATE_DIRTY message is posted, but only
1042 on the toplevel bin.
1044 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1045 (gst_element_get_state_func), (gst_element_abort_state),
1046 (gst_element_commit_state), (gst_element_lost_state),
1047 (gst_element_set_state_func), (gst_element_change_state):
1049 State variables are now protected with the LOCK, the state
1050 lock is only used to serialize _set_state().
1052 2005-10-18 Wim Taymans <wim@fluendo.com>
1054 * check/gst/gstbin.c: (GST_START_TEST):
1055 * check/gst/gstmessage.c: (GST_START_TEST):
1056 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1057 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1059 * gst/gstelement.c: (gst_element_abort_state),
1060 (gst_element_commit_state), (gst_element_lost_state):
1061 * gst/gstmessage.c: (gst_message_new_state_changed),
1062 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1063 (gst_message_new_segment_done), (gst_message_new_duration),
1064 (gst_message_parse_state_changed),
1065 (gst_message_parse_segment_start),
1066 (gst_message_parse_segment_done), (gst_message_parse_duration):
1068 * tools/gst-launch.c: (event_loop):
1069 Seriously, this is better than a previous commit as we only need
1070 to notify the fact that an element changed state in a streaming
1071 thread, marking the state of the parents dirty, hence the
1072 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1075 2005-10-18 Wim Taymans <wim@fluendo.com>
1077 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1078 (gst_bin_recalc_func):
1079 * gst/gstelement.c: (gst_element_set_clock),
1080 (gst_element_abort_state), (gst_element_lost_state):
1081 Cleanups, prepare for state change fixes.
1083 2005-10-18 Wim Taymans <wim@fluendo.com>
1086 * gst/gstelement.c: (gst_element_class_init),
1087 (gst_element_set_state), (gst_element_set_state_func):
1089 Pending ABI changes.
1090 GThreadPool in GstBinClass to monitor async state changes.
1091 state_cookie in GstElement to detect concurrent gst/set state.
1092 set_state is now virtual too in case a very complicated element
1093 has to be constructed.
1095 2005-10-18 Wim Taymans <wim@fluendo.com>
1097 * check/gst/gstbin.c: (GST_START_TEST):
1098 * check/gst/gstmessage.c: (GST_START_TEST):
1099 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1100 * gst/gstbin.c: (bin_bus_handler):
1101 * gst/gstelement.c: (gst_element_commit_state),
1102 (gst_element_lost_state):
1103 * gst/gstmessage.c: (gst_message_new_state_changed),
1104 (gst_message_new_segment_start), (gst_message_new_segment_done),
1105 (gst_message_new_duration), (gst_message_parse_state_changed),
1106 (gst_message_parse_segment_start),
1107 (gst_message_parse_segment_done), (gst_message_parse_duration):
1109 * tools/gst-launch.c: (event_loop):
1110 Make messages future proof.
1111 state-change gets a flag if it was a message comming from the
1113 segment-start/stop can also be specified in other formats.
1114 A message to notify an app that a pipeline changed playback
1116 Also fix a GstMessage leak in -launch
1118 2005-10-18 Andy Wingo <wingo@pobox.com>
1120 * gst/gstelement.c (gst_element_dispose): More helpful message.
1122 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1124 * gst/gstregistry.c: (gst_registry_scan_path_level):
1125 unref a plug-in we get that was already initialized
1127 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1129 * docs/gst/gstreamer-sections.txt:
1130 * docs/libs/gstreamer-libs-sections.txt:
1135 2005-10-17 Andy Wingo <wingo@pobox.com>
1137 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1140 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1142 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1144 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1145 (gst_element_get_state_func): Better debug message.
1146 (gst_element_commit_state): s/INFO/DEBUG/.
1147 (gst_element_lost_state, gst_element_change_state):
1149 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1150 (gst_message_new_custom): s/INFO/LOG/.
1152 2005-10-17 Michael Smith <msmith@fluendo.com>
1154 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1155 Check if end time is valid using end time, not start time.
1157 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1159 * check/gst-libs/controller.c: (GST_START_TEST),
1160 (gst_controller_suite):
1161 * libs/gst/controller/gstcontroller.c:
1162 (gst_controlled_property_set_interpolation_mode):
1163 * libs/gst/controller/gstcontroller.h:
1164 * libs/gst/controller/gstinterpolation.c:
1165 * testsuite/controller/.cvsignore:
1166 * testsuite/controller/Makefile.am:
1167 * testsuite/controller/interpolator.c:
1168 merge controller testsuites
1170 remove mem-chunk from docs
1172 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1174 * gst/gstmemchunk.c:
1175 * gst/gstmemchunk.h:
1176 * gst/gsttrashstack.c:
1177 * gst/gsttrashstack.h:
1178 out. get out. you're fired. to the Attic !
1180 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1182 * gst/gstcaps.c: (gst_caps_intersect):
1183 fix signedness issues in a (hopefully) correct way
1184 * gst/gstelement.c: (gst_element_pads_activate):
1186 * gst/gstobject.c: (gst_object_set_parent):
1189 2005-10-17 Julien MOUTTE <julien@moutte.net>
1191 * gst/gstvalue.h: Fix prototypes.
1193 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1195 * docs/gst/gstreamer-sections.txt:
1196 * gst/gst.c: (gst_version_string):
1198 * gst/gstversion.h.in:
1199 * win32/common/libgstreamer.def:
1200 add gst_version_string ()
1202 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1206 * gst/gst.c: (init_post):
1207 * win32/common/config.h.in:
1209 * gst/gstcaps.c: (gst_caps_intersect):
1210 use gint64, the range could be bigger than a guint
1212 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1215 document potential problem in 2038
1217 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1219 * gst/gstcaps.c: (gst_caps_intersect):
1220 Fix guint j diving under 0
1222 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1225 * win32/common/config.h:
1226 * win32/common/config.h.in:
1227 check for process.h, declares getpid() on Windows
1229 include process.h if we have it
1230 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1231 * gst/gstmemchunk.h:
1232 fix signedness issues
1233 * win32/common/libgstreamer.def:
1236 2005-10-16 Julien MOUTTE <julien@moutte.net>
1238 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1239 fix. Because of unsigned ints, caps intersection was going nuts and
1240 trying to access structures with G_MAXUINT index. That fixes
1241 videotestsrc ! ffmpegcolorspace ! fakesink
1242 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1245 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1248 use the gettext macro
1249 * gst/elements/gstelements.c:
1251 * gst/indexers/gstindexers.c:
1252 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1253 * win32/common/config.h:
1255 * win32/common/config.h.in:
1256 add the template to generate config.h
1257 * win32/common/gstenumtypes.c:
1258 * win32/common/gstversion.h:
1261 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1263 * gst/gst.c: (gst_version):
1264 * gst/gstversion.h.in:
1267 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1270 Oops, add missing closing bracket.
1272 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1275 use common m4's for argument checking
1277 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1279 * docs/gst/gstreamer-sections.txt:
1281 Add GST_EVENT_TYPE_NAME() macro.
1283 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1286 * gst/gstpluginfeature.c:
1288 privatize more symbols
1290 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1293 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1294 everything that uses GStreamer API should have the includes
1296 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1298 * docs/gst/gstreamer-sections.txt:
1299 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1301 give each value a _get_type, removes the DATA exports
1303 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1307 remove _gst_registry_auto_load, not used anymore
1308 * gst/gstbin.c: (gst_bin_get_type):
1310 * gst/gstelement.c: (gst_element_get_type):
1312 * gst/gstobject.c: (gst_object_get_type):
1314 * gst/gstpad.c: (gst_pad_get_type):
1316 make _get_type functions similar, fixes data export from library
1318 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1321 correctly make conditionals
1322 * gst/elements/Makefile.am:
1323 * gst/elements/gstelements.c:
1324 fix typo causing fdsrc not to build
1326 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1328 * testsuite/Makefile.am:
1329 * testsuite/bytestream/.cvsignore:
1330 * testsuite/bytestream/Makefile.am:
1331 * testsuite/bytestream/filepadsink.c:
1332 * testsuite/bytestream/gstbstest.c:
1333 * testsuite/bytestream/test1.c:
1334 * testsuite/bytestream/testfile1:
1335 * testsuite/caps/normalisation.c:
1336 * testsuite/caps/random.c: (main):
1337 * testsuite/cleanup/.cvsignore:
1338 * testsuite/cleanup/Makefile.am:
1339 * testsuite/cleanup/cleanup1.c:
1340 * testsuite/cleanup/cleanup2.c:
1341 * testsuite/cleanup/cleanup3.c:
1342 * testsuite/cleanup/cleanup4.c:
1343 * testsuite/cleanup/cleanup5.c:
1344 * testsuite/controller/interpolator.c:
1345 * testsuite/debug/printf_extension.c: (main):
1346 * testsuite/elements/tee.c:
1347 * testsuite/negotiation/.cvsignore:
1348 * testsuite/negotiation/Makefile.am:
1349 * testsuite/negotiation/pad_link.c:
1350 * testsuite/pad/Makefile.am:
1351 * testsuite/pad/chainnopull.c:
1352 * testsuite/pad/getnopush.c:
1353 * testsuite/pad/link.c:
1354 * testsuite/refcounting/sched.c: (create_pipeline):
1355 * testsuite/registry/Makefile.am:
1356 * testsuite/registry/gst-print-formats.c:
1357 * testsuite/schedulers/.cvsignore:
1358 * testsuite/schedulers/142183-2.c:
1359 * testsuite/schedulers/142183.c:
1360 * testsuite/schedulers/143777-2.c:
1361 * testsuite/schedulers/143777.c:
1362 * testsuite/schedulers/147713.c:
1363 * testsuite/schedulers/147819.c:
1364 * testsuite/schedulers/147894-2.c:
1365 * testsuite/schedulers/147894.c:
1366 * testsuite/schedulers/Makefile.am:
1367 * testsuite/schedulers/group_link.c:
1368 * testsuite/schedulers/queue_link.c:
1369 * testsuite/schedulers/relink.c:
1370 * testsuite/schedulers/unlink.c:
1371 * testsuite/schedulers/unref.c:
1372 * testsuite/schedulers/useless_iteration.c:
1373 * testsuite/states/bin.c:
1374 clean out/remove some stuff from the testsuite directories
1376 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1379 check for some headers
1380 * gst/elements/Makefile.am:
1381 * gst/elements/gstelements.c:
1382 don't compile fdsrc without sys/socket.h
1383 * gst/indexers/Makefile.am:
1384 * gst/indexers/gstindexers.c: (plugin_init):
1385 don't compile fileindex without mmap
1387 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1394 * check/Makefile.am:
1395 * docs/gst/Makefile.am:
1396 * examples/helloworld/Makefile.am:
1398 * gst/base/Makefile.am:
1399 * gst/check/Makefile.am:
1400 * gst/elements/Makefile.am:
1401 * gst/indexers/Makefile.am:
1402 * gst/parse/Makefile.am:
1403 * libs/gst/controller/Makefile.am:
1404 * libs/gst/dataprotocol/Makefile.am:
1405 * examples/helloworld/helloworld.c: (event_loop):
1406 compile fixes, though it's not being compiled currently
1408 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1410 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1411 Add some simple tests for the new taglist date API.
1413 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1415 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1416 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1417 Beautify 'last-message' output: print 'none' for buffer timestamps
1418 and durations if none is set; improve alignment with next messages.
1420 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1422 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1423 * gst/gstpluginfeature.h:
1424 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1425 * gst/gstregistry.h:
1426 * docs/gst/gstreamer-sections.txt:
1427 Add new API to check plugin feature version requirements.
1429 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1430 Some basic tests for the above.
1432 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1434 * gst/gststructure.c: (gst_structure_to_string):
1435 guard against NULL printf - happens when for example
1436 a message structure with GstClock gets serialized
1438 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1440 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1441 Fix presumable copy'n'pasto.
1443 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1445 * gst/elements/gstfakesrc.h:
1446 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1447 * gst/elements/gsttypefindelement.c:
1449 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1450 I wonder if this could actually write +2GB files before
1452 2005-10-13 Andy Wingo <wingo@pobox.com>
1454 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1455 Fix Timmeke Waymans bug.
1456 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1457 string of the proper length to gst_caps_from_string. There's a
1458 potential for, before this fix, that this could cause someone
1459 connecting over the network to cause a segfault if the payload is
1462 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1464 * docs/design/draft-push-pull.txt:
1465 * docs/design/part-overview.txt:
1466 * docs/random/TODO-pre-0.9:
1467 * docs/random/old/ChangeLog.gstreamer:
1468 * gst/base/gstpushsrc.c:
1472 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1474 * gst/glib-compat.c: (gst_flags_get_first_value):
1475 * gst/glib-compat.h:
1476 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1477 (gst_value_compare_double), (gst_value_serialize_flags):
1478 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1481 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1484 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1486 * tools/gst-launch.c: (event_loop):
1487 print out clock nicely
1489 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1491 * docs/gst/gstreamer-sections.txt:
1493 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1494 (gst_tag_list_get_date_index):
1495 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1496 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1498 2005-10-13 Julien MOUTTE <julien@moutte.net>
1500 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1501 (gst_collectpads_chain):
1502 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1505 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1507 * docs/gst/gstreamer-sections.txt:
1510 * tools/gst-inspect.c: (main):
1511 * tools/gst-launch.c: (main):
1512 * tools/gst-run.c: (main):
1513 * tools/gst-xmlinspect.c: (main):
1514 fix GOption context leaks
1517 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1521 * win32/common/config.h:
1523 * win32/vs6/grammar.dsp:
1524 * win32/vs6/libgstelements.dsp:
1525 * win32/vs6/libgstreamer.dsp:
1528 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1530 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1531 * gst/base/gstbasesrc.c: (gst_base_src_query):
1532 fix more guint64<->gdouble conversions
1534 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1537 add win32-update target
1538 * win32/common/gstconfig.h:
1539 * win32/common/gstenumtypes.c:
1540 * win32/common/gstenumtypes.h:
1541 * win32/common/gstversion.h:
1542 add files that visual studio can't generate
1544 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1547 add a win32-update target
1550 2005-10-12 Wim Taymans <wim@fluendo.com>
1552 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1553 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1554 * gst/gstelement.c: (gst_element_commit_state),
1555 (gst_element_set_state):
1556 Protect flags with proper lock.
1557 unref provided cached clock in dispose.
1559 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1562 * gst/gstminiobject.h:
1564 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1565 removed unused flags from miniobject
1568 2005-10-12 Wim Taymans <wim@fluendo.com>
1570 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1571 (gst_file_sink_event), (gst_file_sink_render):
1572 Flush before seeking.
1574 2005-10-12 Andy Wingo <wingo@pobox.com>
1576 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1577 always been the case.
1579 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1581 * check/gst/gstbin.c: (GST_START_TEST):
1582 * docs/gst/gstreamer-sections.txt:
1583 * gst/base/gstbasesink.c: (gst_base_sink_init):
1584 * gst/base/gstbasesrc.c: (gst_base_src_init),
1585 (gst_base_src_get_range), (gst_base_src_check_get_range),
1586 (gst_base_src_start), (gst_base_src_stop):
1587 * gst/base/gstbasesrc.h:
1588 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1589 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1590 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1594 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1596 * gst/gstelement.c: (gst_element_is_locked_state),
1597 (gst_element_set_locked_state), (gst_element_commit_state),
1598 (gst_element_set_state):
1600 * gst/gstindex.c: (gst_index_init):
1602 * gst/gstminiobject.h:
1603 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1604 (gst_object_set_parent):
1606 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1607 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1609 * gst/gstpadtemplate.h:
1610 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1611 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1612 * gst/gstpipeline.h:
1613 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1614 (gst_file_index_commit):
1615 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1616 * testsuite/pad/link.c: (gst_test_src_init),
1617 (gst_test_filter_init), (gst_test_sink_init):
1618 * testsuite/states/locked.c: (main):
1619 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1620 moved bitshift from macro to enum definition
1622 2005-10-12 Wim Taymans <wim@fluendo.com>
1624 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1625 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1626 (gst_file_sink_render):
1627 Some more debugging info.
1629 2005-10-12 Wim Taymans <wim@fluendo.com>
1631 * docs/design/part-states.txt:
1632 * tools/gst-launch.c: (main):
1634 Revert non-intentional change.
1636 2005-10-12 Wim Taymans <wim@fluendo.com>
1638 * check/gst/gstbin.c: (GST_START_TEST):
1639 * check/gst/gstelement.c: (GST_START_TEST):
1640 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1641 * check/gst/gstghostpad.c: (GST_START_TEST):
1642 * check/gst/gstpipeline.c: (GST_START_TEST):
1643 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1644 * check/states/sinks.c: (GST_START_TEST):
1645 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1646 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1647 (gst_bin_remove_func), (gst_bin_get_state_func),
1648 (gst_bin_recalc_state), (gst_bin_change_state_func),
1650 * gst/gstelement.c: (gst_element_get_state_func),
1651 (gst_element_get_state), (gst_element_abort_state),
1652 (gst_element_commit_state), (gst_element_set_state),
1653 (gst_element_change_state), (gst_element_change_state_func):
1655 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1656 (gst_pipeline_provide_clock_func):
1657 * gst/gstutils.c: (gst_element_link_pads_filtered):
1658 * tools/gst-launch.c: (main):
1659 * tools/gst-typefind.c: (main):
1660 Use GstClockTime in _get_state() instead of GTimeVal.
1661 Remove old code in gstutils.c
1663 2005-10-12 Andy Wingo <wingo@pobox.com>
1665 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1668 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1669 there is no task. Shouldn't affect any code, as nothing in our
1670 plugins checks this return value.
1671 (gst_pad_stop_task): Also take the stream lock if the pad has no
1674 2005-10-12 Wim Taymans <wim@fluendo.com>
1676 * gst/gstpad.c: (pre_activate), (post_activate),
1677 (gst_pad_activate_pull), (gst_pad_activate_push):
1678 Cleanup activation code. Reset old state if
1681 2005-10-12 Wim Taymans <wim@fluendo.com>
1683 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1684 (gst_base_sink_change_state):
1685 No need to prerol after receiving EOS.
1687 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1688 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1689 * gst/elements/gstidentity.c: (gst_identity_event):
1690 Print events more verbosely.
1692 2005-10-12 Wim Taymans <wim@fluendo.com>
1694 * check/Makefile.am:
1695 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1696 * check/states/sinks2.c:
1697 Moved sinks2 testcode in sinks check.
1699 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1700 (gst_bin_remove_func), (gst_bin_recalc_state),
1701 (gst_bin_change_state_func), (bin_bus_handler):
1702 Fix potential race condition when _get_state() iterated over an
1703 ASYNC element right before it posted a state completion.
1706 Do proper cast here.
1708 * gst/gstevent.c: (gst_event_new_newsegment),
1709 (gst_event_parse_newsegment):
1710 A playback rate of 0.0 is not allowed.
1712 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1714 * win32/common/config.h:
1715 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1716 (_trewinddir), (_ttelldir), (_tseekdir):
1717 * win32/common/dirent.h:
1718 * win32/common/gtchar.h:
1719 * win32/common/libgstbase.def:
1720 * win32/common/libgstreamer.def:
1721 * win32/vs6/grammar.dsp:
1722 * win32/vs6/gst_inspect.dsp:
1723 * win32/vs6/gst_launch.dsp:
1724 * win32/vs6/gstreamer.dsw:
1725 * win32/vs6/libgstbase.dsp:
1726 * win32/vs6/libgstelements.dsp:
1727 * win32/vs6/libgstreamer.dsp:
1728 Visual Studio 6 project files, and a new common directory.
1731 2005-10-11 Wim Taymans <wim@fluendo.com>
1733 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1734 (gst_base_sink_do_sync), (gst_base_sink_query),
1735 (gst_base_sink_change_state):
1736 * gst/base/gstbasesink.h:
1737 Correctly parse newsegment info.
1739 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1741 * gst/gst.c: (init_post):
1742 split plugin paths correctly
1744 2005-10-11 Wim Taymans <wim@fluendo.com>
1746 * check/gst/gstevent.c: (GST_START_TEST):
1747 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1748 (gst_base_sink_change_state):
1749 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1750 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1751 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1752 * gst/gstevent.c: (gst_event_new_newsegment),
1753 (gst_event_parse_newsegment):
1755 Added extra flag to newsegment for future API freeze.
1756 Updated check and base elements.
1758 2005-10-11 Julien MOUTTE <julien@moutte.net>
1760 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1761 (gst_collectpads_add_pad), (gst_collectpads_pop),
1762 (gst_collectpads_event), (gst_collectpads_chain):
1763 * gst/base/gstcollectpads.h: Handle EOS correctly.
1765 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1767 * tools/gst-launch.c: (main):
1768 more null protecting
1770 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1772 * gst/gst-i18n-lib.h:
1773 check for ENABLE_NLS, not GETTEXT_PACKAGE
1774 * gst/gstregistry.c: (gst_registry_add_plugin),
1775 (gst_registry_scan_path_level),
1776 (_gst_registry_remove_cache_plugins):
1777 protect possibly NULL strings
1778 * gst/parse/types.h:
1779 config.h already included before
1780 * tools/gst-inspect.c: (main):
1781 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1782 check for ENABLE_NLS, not GETTEXT_PACKAGE
1783 * tools/gst-launch.c: (main):
1784 check for ENABLE_NLS, not GETTEXT_PACKAGE
1786 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1789 if we don't have glib, fail before testing 2.8
1790 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1791 fix a leak, should fix plugins-base testsuite
1793 2005-10-11 Andy Wingo <wingo@pobox.com>
1795 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1796 take the mode we're going to as an arg. Go head and set the mode
1797 and flushing flags now, so that if the activate function starts a
1798 thread all the flags will be in the right state.
1799 (post_activate): Renamed also. Just handle making sure streaming
1800 finishes for the deactivation case, and setting the deactivated
1802 (gst_pad_set_active): Complain loudly if deactivation fails.
1803 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1804 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1805 remove the terrible hack.
1807 2005-10-11 Wim Taymans <wim@fluendo.com>
1809 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1810 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1811 (gst_bin_recalc_state), (gst_bin_change_state_func),
1812 (gst_bin_dispose), (bin_bus_handler):
1814 Prepare to make current EOS message queue more generic.
1817 * gst/gstevent.c: (gst_event_new_newsegment),
1818 (gst_event_parse_newsegment):
1820 Rename base to stream_time.
1825 2005-10-11 Wim Taymans <wim@fluendo.com>
1827 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1828 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1829 (gst_bin_change_state_func), (bin_bus_handler):
1831 Work on proper clock selection.
1833 2005-10-11 Edward Hervey <edward@fluendo.com>
1835 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1836 * libs/gst/controller/gstcontroller.h:
1837 Added GList* version of _remove_properties() in order to be able to wrap
1840 2005-10-11 Wim Taymans <wim@fluendo.com>
1842 * docs/design/part-states.txt:
1845 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1846 (gst_bin_change_state_func), (bin_bus_handler):
1847 Doc updates. Don't distribute the same clock over and over again.
1853 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1854 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1855 (gst_pad_send_event):
1857 Make probe emission threadsafe again.
1858 Register quarks and move _get_name() from utils.
1861 * gst/gstpipeline.c: (gst_pipeline_class_init),
1862 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1863 Only redistribute the clock of it changed.
1865 * gst/gstsystemclock.h:
1870 Moved the _flow_get_name() to GstPad.
1872 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1874 * check/gst-libs/gdp.c: (GST_START_TEST):
1875 * check/gst/gstcaps.c: (GST_START_TEST):
1876 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1877 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1878 (gst_dp_packet_from_caps):
1879 fix more valgrind warnings before turning up the heat
1881 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1883 * gst/parse/grammar.y:
1884 some cleanup before the hacking
1886 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1888 * gst/base/gstbasesrc.c: (gst_base_src_query):
1890 * gst/gstutils.c: (gst_guint64_to_gdouble),
1891 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1893 externalize, basesrc uses it
1894 obviously the implementation needs testing
1896 2005-10-10 Wim Taymans <wim@fluendo.com>
1898 * tests/sched/Makefile.am:
1899 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1900 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1902 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1904 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1905 apparently converting from guint64 to double is not implemented
1908 2005-10-10 Wim Taymans <wim@fluendo.com>
1910 * check/Makefile.am:
1911 * check/generic/states.c: (GST_START_TEST):
1912 * check/gst/gstbin.c: (GST_START_TEST):
1913 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1914 * check/states/sinks.c: (GST_START_TEST):
1915 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1917 Check fixes, use API as stated in design docs, remove hacks.
1919 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1920 (gst_base_sink_change_state):
1921 Catch stopping our task while we're shutting down.
1923 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1924 (gst_bin_remove_func), (gst_bin_get_state_func),
1925 (gst_bin_recalc_state), (gst_bin_change_state_func),
1928 * gst/gstelement.c: (gst_element_init),
1929 (gst_element_get_state_func), (gst_element_abort_state),
1930 (gst_element_commit_state), (gst_element_lost_state),
1931 (gst_element_set_state), (gst_element_change_state),
1932 (gst_element_change_state_func):
1934 New state change algorithm (see #318116)
1936 * gst/gstpipeline.c: (gst_pipeline_class_init),
1937 (gst_pipeline_init), (gst_pipeline_set_property),
1938 (gst_pipeline_get_property), (do_pipeline_seek),
1939 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1940 * gst/gstpipeline.h:
1941 Remove crude state change hacks.
1946 * tools/gst-launch.c: (main):
1947 Fixes for state change. Needs some more work to fully use the
1950 2005-10-10 Andy Wingo <wingo@pobox.com>
1952 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1954 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1955 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1958 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1960 * gst/gstiterator.c: (gst_iterator_new):
1961 Fix my previous commit: GTypes passed to gst_iterator_new()
1962 can be fundamental types.
1964 2005-10-10 Wim Taymans <wim@fluendo.com>
1966 * gst/gstelement.c: (gst_element_iterate_pad_list),
1967 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1968 (gst_element_iterate_sink_pads):
1969 Use src/sink pads lists for the respective iterators instead
1972 2005-10-10 Andy Wingo <wingo@pobox.com>
1974 Merged in popt removal + GOption addition patch from Ronald, bug
1977 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1978 GstElement macros around, remove popt-related symbols, add goption
1981 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1983 * docs/gst/Makefile.am:
1984 * docs/libs/Makefile.am: No POPT_CFLAGS.
1986 * examples/manual/Makefile.am:
1987 * docs/manual/basics-init.xml: Doc updates with an example.
1989 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1990 (gst_init), (parse_one_option), (parse_goption_arg):
1991 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1992 bit of hand merging and debugging to get the GOption stuff working
1995 * tests/Makefile.am:
1996 * tools/Makefile.am:
1997 * tools/gst-inspect.c: (main):
1998 * tools/gst-launch.c: (main):
1999 * tools/gst-run.c: (main):
2000 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2002 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2004 * gst/gstiterator.c: (gst_iterator_new):
2005 Add assertions to make sure passed GType is likely to really
2006 be a GType (as the compiler won't catch it if the size and
2007 GType arguments get mixed up, see #318447).
2009 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2011 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2013 * gst/gstbin.c: (gst_bin_iterate_sorted):
2014 Pass GType and size arguments to gst_iterator_new() in the right
2015 order (maybe we should make _new() take the GType as first argument
2016 just like _new_list()?) (#318447).
2019 2005-10-10 Wim Taymans <wim@fluendo.com>
2021 * gst/gstelement.c: (gst_element_finalize):
2022 And free the GStaticRecMutex too
2024 2005-10-10 Andy Wingo <wingo@pobox.com>
2026 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2027 Allocate and free the mutex properly.
2029 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2031 (GstElement): The state_lock is now recursive. Rebuild your
2032 plugins, suckers. Old macros adapted.
2034 * docs/gst/gstreamer-sections.txt: Doc updates.
2037 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2038 (g_static_rec_cond_wait): Ported from state changes patch, while
2039 we wait on bug #317802 to be solved in a well-distributed GLib.
2041 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2042 gst_element_change_state, variable name changes.
2043 (gst_element_change_state): Split out of gst_element_set_state in
2044 preparation for the state change merge. Doesn't pay attention to
2045 the 'transition' argument.
2046 (gst_element_set_state): Updates, hopefully purely cosmetic.
2047 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2049 (gst_element_get_state_func): Renamed from get_state, cosmetic
2052 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2054 * gst/elements/gstelements.c:
2055 * win32/GStreamer.vcproj:
2057 * win32/dirent.c: (_tseekdir):
2058 * win32/gst-inspect.vcproj:
2059 * win32/gst-launch.vcproj:
2060 * win32/gstconfig.h:
2061 * win32/gstelements.vcproj:
2062 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2063 * win32/gstreamer.def:
2065 updates for the win32 build (patch from Sebastien Moutte)
2067 2005-10-10 Andy Wingo <wingo@pobox.com>
2069 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2070 gst_bin_get_state, cleaned up (but no logic changes).
2071 (bin_element_is_sink): Comment updates.
2072 (sink_iterator_filter): Remove needless cast.
2073 (gst_bin_iterate_sinks): Doc update.
2074 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2075 cleaned up (but no logic changes).
2077 * check/states/sinks.c (test_src_sink): Cleanups from the state
2079 (test_livesrc_sink): Sync on the state.
2081 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2082 the state change patch.
2084 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2087 * check/gst/gstbin.c: Merge in some style fixes and additional
2088 checks from Wim's state change patch.
2090 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2092 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2093 (gst_type_find_helper):
2094 Check whether we have the requested data already in our list of
2095 cached buffers before pulling a new buffer; also make the buffer
2096 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2098 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2103 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2104 don't use long long, it's not portable. Replacing with
2105 gint64 seems to work; let's hope no skeletons fall out of the closet.
2107 2005-10-10 Andy Wingo <wingo@pobox.com>
2109 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2111 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2113 * docs/gst/gstreamer-sections.txt:
2118 * gst/gstmessage.c: (gst_message_parse_state_changed):
2121 more docs, fix compilation
2123 2005-10-09 Philippe Khalaf <burger@speedy.org>
2125 Fixed a few forgotten variables on previous commit
2127 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2129 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2130 Fix evil typefind crasher: getrange() might return a short
2131 buffer at the end of a file, but gst_type_find_peek() must
2132 either return the full data as requested or NULL, but
2133 never a short buffer.
2135 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2137 * gst/gstmessage.c: (gst_message_new_state_changed),
2138 (gst_message_parse_state_changed):
2140 don't use "new", it's a C++ keyword
2142 2005-10-08 Wim Taymans <wim@fluendo.com>
2144 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2145 * gst/gstelement.c: (gst_element_post_message):
2146 * gst/gstpipeline.c: (gst_pipeline_change_state):
2147 Small docs and debug updates.
2149 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2151 * docs/gst/gstreamer-sections.txt:
2152 * gst/gstelementfactory.c:
2157 2005-10-08 Wim Taymans <wim@fluendo.com>
2159 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2160 (gst_bin_dispose), (bin_bus_handler):
2161 Fix typos, add comments.
2162 Clear EOS list when going to PAUSED from any direction and do it
2163 in a threadsafe way.
2164 Get base time in a threadsafe way too.
2165 Fix confusing debug in the change_state function.
2166 Various other small cleanups.
2168 * gst/gstelement.c: (gst_element_post_message):
2169 Fix very verbose bus posting code.
2171 * gst/gstpipeline.c: (gst_pipeline_class_init),
2172 (gst_pipeline_set_property), (gst_pipeline_get_property),
2173 (gst_pipeline_change_state):
2174 Small ARG_ -> PROP_ cleanup
2176 2005-10-08 Wim Taymans <wim@fluendo.com>
2178 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2179 Do a less CPU demanding EOS check because we can.
2181 2005-10-08 Wim Taymans <wim@fluendo.com>
2183 * libs/gst/dataprotocol/dataprotocol.c:
2184 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2185 (gst_dp_packet_from_event):
2186 * libs/gst/dataprotocol/dataprotocol.h:
2187 * libs/gst/dataprotocol/dp-private.h:
2188 It's about time we bump the version number.
2189 Since event types don't fit in the guint8 anymore describing
2190 the payload type, make payload type 16 bits wide.
2192 2005-10-08 Wim Taymans <wim@fluendo.com>
2194 * docs/design/part-TODO.txt:
2195 * docs/design/part-clocks.txt:
2196 * docs/design/part-events.txt:
2197 * docs/design/part-gstbin.txt:
2198 * docs/design/part-gstelement.txt:
2199 * docs/design/part-gstpipeline.txt:
2200 * docs/design/part-live-source.txt:
2201 * docs/design/part-messages.txt:
2202 * docs/design/part-overview.txt:
2203 * docs/design/part-states.txt:
2206 2005-10-08 Wim Taymans <wim@fluendo.com>
2210 Fix event quark registration.
2211 Add some space between events so we can insert them in the
2214 2005-10-08 Wim Taymans <wim@fluendo.com>
2216 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2217 (gst_base_sink_handle_buffer):
2224 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2225 (gst_queue_set_property), (gst_queue_get_property):
2227 Remove old unused properties.
2229 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2230 * docs/gst/gstreamer-sections.txt:
2233 * gst/gstminiobject.c:
2234 * gst/gstminiobject.h:
2238 lots of new docs and doc fixes
2240 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2242 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2244 * gst/gstregistry.c: (gst_registry_lookup_locked),
2245 (gst_registry_scan_path_level):
2246 * gst/gstregistryxml.c: (load_plugin):
2247 Only ever load one plugin for a given plugin basename.
2248 This ensures correct overriding of GST_PLUGIN_PATH over
2249 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2250 system installed plugins.
2252 2005-10-08 Wim Taymans <wim@fluendo.com>
2254 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2255 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2256 Prepare for doing QOS.
2258 2005-10-08 Wim Taymans <wim@fluendo.com>
2260 * check/gst/gstbin.c: (GST_START_TEST):
2261 * check/pipelines/cleanup.c: (GST_START_TEST):
2262 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2263 Allow new clock message too.
2265 2005-10-08 Wim Taymans <wim@fluendo.com>
2267 * gst/gstmessage.c: (gst_message_new_error),
2268 (gst_message_new_warning), (gst_message_new_tag),
2269 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2270 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2271 (gst_message_new_segment_start), (gst_message_new_segment_done),
2272 (gst_message_parse_state_changed),
2273 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2274 (gst_message_parse_new_clock):
2276 Also carry the clock in question.
2278 2005-10-08 Wim Taymans <wim@fluendo.com>
2280 * gst/gstmessage.c: (gst_message_new_custom),
2281 (gst_message_new_eos), (gst_message_new_error),
2282 (gst_message_new_warning), (gst_message_new_tag),
2283 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2284 (gst_message_new_new_clock), (gst_message_new_segment_start),
2285 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2286 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2289 Added clock related messages.
2291 * gst/gstpipeline.c: (gst_pipeline_change_state):
2292 Post message when the clock changed.
2294 * tools/gst-launch.c: (event_loop):
2297 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2299 * tools/gst-inspect.c: (print_element_properties_info):
2300 Can't pass NULL strings to g_print() on windows.
2302 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2305 * docs/gst/Makefile.am:
2306 * docs/gst/gstreamer-docs.sgml:
2307 * docs/gst/running.xml:
2308 * docs/version.entities.in:
2309 add a chapter on running GStreamer.
2310 document GST_DEBUG and GST_PLUGIN* env vars
2312 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2317 remove PLUGINS_BUILDDIR stuff
2318 * gst/gst.c: (init_post):
2319 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2321 remove, it was condescending and not needed
2323 2005-10-08 Wim Taymans <wim@fluendo.com>
2325 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2326 (gst_base_sink_handle_object), (gst_base_sink_event),
2327 (gst_base_sink_wait), (gst_base_sink_handle_event),
2328 (gst_base_sink_change_state):
2329 * gst/base/gstbasesink.h:
2330 Repost EOS message while going to PLAYING if still EOS.
2331 Make sure that when receiving a FLUSH_START we don't attempt
2332 to sync on the clock anymore.
2334 2005-10-08 Wim Taymans <wim@fluendo.com>
2336 * tools/gst-launch.c: (event_loop):
2337 Better message printout.
2339 2005-10-08 Wim Taymans <wim@fluendo.com>
2341 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2342 (gst_bin_child_proxy_get_children_count):
2343 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2344 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2345 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2346 (gst_child_proxy_set_valist):
2347 * gst/parse/grammar.y:
2348 Make ChildProxy threadsafe and fix mem leaks.
2350 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2352 * gst/gst.c: (init_post):
2353 debug the GST_PLUGIN_ env vars
2355 2005-10-08 Wim Taymans <wim@fluendo.com>
2357 * check/gst/gstbin.c: (GST_START_TEST):
2358 * check/gst/gstmessage.c: (GST_START_TEST):
2359 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2360 * gst/gstelement.c: (gst_element_commit_state),
2361 (gst_element_lost_state):
2362 * gst/gstmessage.c: (gst_message_new_state_changed),
2363 (gst_message_parse_state_changed):
2365 * tools/gst-launch.c: (event_loop):
2366 Added extra field to STATE_CHANGE message with the pending
2367 state, which will be different from the new state soon.
2369 2005-10-08 Wim Taymans <wim@fluendo.com>
2371 * gst/gstbus.c: (gst_bus_pop):
2373 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2374 Small cleanups and doc updates.
2376 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2378 * gst/gst.c: (init_pre):
2379 * gst/gstbin.c: (gst_bin_add_func):
2380 log distributing clocks and base time
2381 * gst/gstregistry.c: (gst_registry_add_plugin),
2382 (gst_registry_scan_path_level), (gst_registry_scan_path):
2383 clean up the debugging output a little
2384 * gst/gstutils.c: (gst_element_state_get_name):
2385 warn about a memleak (I've actually seen this be used, though
2386 it was probably a bug)
2388 2005-10-07 Wim Taymans <wim@fluendo.com>
2390 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2391 (gst_base_src_init), (gst_base_src_default_newsegment),
2392 (gst_base_src_newsegment), (gst_base_src_do_seek),
2393 (gst_base_src_loop), (gst_base_src_start):
2394 * gst/base/gstbasesrc.h:
2395 Make the newsegment event customizable by subclasses.
2397 2005-10-07 Wim Taymans <wim@fluendo.com>
2399 * gst/gstevent.c: (gst_event_new_buffersize),
2400 (gst_event_parse_buffersize):
2402 New event for future idea.
2404 2005-10-07 Andy Wingo <wingo@pobox.com>
2406 * gst/gstelement.c (gst_element_post_message): Doc update.
2408 * docs/gst/gstreamer-sections.txt: Update.
2410 * gst/gstmessage.c (gst_message_new_application): Made into a
2411 function like honest API calls.
2412 (gst_message_new_element): New message type.
2414 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2416 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2417 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2420 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2421 NO_PREROLL from gst_element_change_state to fall through.
2423 2005-10-07 Wim Taymans <wim@fluendo.com>
2425 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2426 (gst_ghost_pad_do_activate_push):
2427 Activating a ghostpad with no internal pad in push mode
2430 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2433 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2434 Fixes compilation on Windows.
2436 2005-10-07 Michael Smith <msmith@fluendo.com>
2438 * tools/gst-inspect.c:
2439 Print out feature and plugin count at the end when printing out
2442 2005-10-04 Michael Smith <msmith@fluendo.com>
2444 * gst/gsterror.c: (_gst_stream_errors_init):
2445 Add another error string used in a few existing plugins.
2448 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2449 * tools/gst-inspect.c: (print_element_info):
2450 When a feature disappears from a plugin (and the feature exists in
2451 the cached registry file), things went horribly wrong. This isn't a
2452 complete fix, we should actually be removing the 'missing' features
2453 from the features list when we load the actual plugin. That's not
2456 2005-10-04 Johan Dahlin <johan@gnome.org>
2458 * check/gst/gstiterator.c: (GST_START_TEST):
2459 * gst/gstbin.c: (gst_bin_iterate_elements),
2460 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2461 * gst/gstelement.c: (gst_element_iterate_pads):
2462 * gst/gstformat.c: (gst_format_iterate_definitions):
2463 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2464 (gst_iterator_new_list), (gst_iterator_filter):
2465 * gst/gstiterator.h:
2466 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2467 Add a GType to GstIterator, update callsites and tests.
2469 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2471 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2472 give events a chance to be handled by event probes when the pad
2475 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2477 * gst/gstevent.c: (gst_event_type_get_name),
2478 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2480 add string representations for event types
2482 2005-10-06 Wim Taymans <wim@fluendo.com>
2484 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2485 Don't use NULL pointers.
2487 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2489 * gst/gst_private.h:
2493 * gst/gstpluginfeature.c:
2494 widen the debug category in output to fit the biggest one we have
2495 add a bus category and use it
2496 play with the colors
2497 fix up some categories
2499 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2501 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2502 add push activation of sink ghost pads.
2503 Andye, please verify
2505 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2507 * gst/gstutils.c: (gst_element_link_pads):
2508 fix a bug in the case where neither element has a pad
2509 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2510 add a test for that case
2512 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2514 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2515 emit have-data before checking for peers. This allows
2516 for probe handlers to connect elements. This helps autopluggers.
2517 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2519 add six checks, linked/unlinked with no/true/false probe
2521 2005-10-04 Wim Taymans <wim@fluendo.com>
2523 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2524 (gst_fake_sink_event), (gst_fake_sink_preroll),
2525 (gst_fake_sink_render), (gst_fake_sink_change_state):
2526 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2527 (gst_fake_src_get_property), (gst_fake_src_create),
2528 (gst_fake_src_stop):
2529 * gst/elements/gstidentity.c: (gst_identity_stop):
2530 Protect last_message with lock.
2532 2005-10-04 Edward Hervey <edward@fluendo.com>
2535 Added precision in the comments for GST_FORMAT_DEFAULT
2537 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2539 * tools/gst-launch.c: (main):
2540 Don't try to run erroneous pipelines.
2542 2005-10-04 Julien MOUTTE <julien@moutte.net>
2544 * gst/gstbus.c: We don't need this header.
2546 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2551 === release 0.9.3 ===
2553 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2557 Releasing 0.9.3, "Unregistered"
2559 2005-10-03 Andy Wingo <wingo@pobox.com>
2561 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2562 whereby calling a pad's activatepush() function can start a thread
2563 that starts to push or pull before the pad gets the FLUSHING flag
2564 unset. Hack around it by holding the stream lock until the flag is
2565 set. Need to replace this with a proper solution. Together with
2566 the ghost pad fixes, this fixes mp3 playing/tagreading.
2568 * docs/design/part-gstghostpad.txt: Add a note about activation of
2569 proxy pads outside of ghost pads.
2571 * gst/gstghostpad.c: Implement the ghost pad activation design.
2573 2005-10-02 Andy Wingo <wingo@pobox.com>
2575 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2576 It is volatile, after all.
2578 * docs/design/part-gstghostpad.txt: Flesh out activation with
2581 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2584 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2587 Fix (unused) AM_CONDITIONAL tests.
2589 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2591 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2593 * gst/gstutils.c: (gst_pad_query_convert):
2594 Add assertion that makes sure src_val is >=0, just like
2595 gst_query_new_convert() has. (#315895)
2597 2005-09-30 Edward Hervey <edward@fluendo.com>
2599 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2600 Let's not iterate pads we're not interested in, it avoids getting
2601 sky-high refcounts on sinkpad.
2603 2005-09-30 Wim Taymans <wim@fluendo.com>
2605 * gst/gstelement.c: (gst_element_set_state),
2606 (gst_element_change_state):
2607 Small tweak, element in ASYNC remains ASYNC.
2609 2005-09-30 Wim Taymans <wim@fluendo.com>
2611 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2612 Only error is an error.
2614 * gst/gstbin.c: (gst_bin_change_state):
2617 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2618 Also call pad_block in pad alloc.
2620 * gst/gstutils.c: (gst_flow_get_name):
2623 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2625 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2626 (gst_base_src_get_range):
2627 Fix documentation typos. Add some more debug info.
2629 2005-09-29 David Schleef <ds@schleef.org>
2631 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2632 more end-user friendly.
2633 * tools/gst-inspect.c: (main): Check if command-line argument is
2634 a file and attempt to load that file as a plugin.
2636 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2638 * check/gst/gstbin.c:
2639 * check/states/sinks.c:
2640 fix tests for the new warning
2641 * check/gst/gstpipeline.c:
2642 add a test for pipeline and bus interaction
2644 elements should be NULL if they get disposed; add a warning if not
2646 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2649 for 2.6 refcounting, make debug log more correct by printing
2650 the actual refcounts at the time of swap (Wim)
2652 2005-09-29 Andy Wingo <wingo@pobox.com>
2654 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2655 removes signal watches previously added via
2656 gst_bus_add_signal_watch.
2657 (gst_bus_add_signal_watch): Don't return the source id, just store
2658 it on the bus if there wasn't an id already.
2660 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2661 add_signal_watch and remove_signal_watch.
2663 2005-09-29 Edward Hervey <edward@fluendo.com>
2665 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2666 Better if we actually iterate the list :)
2668 2005-09-29 Wim Taymans <wim@fluendo.com>
2670 * check/gst/gstbin.c: (GST_START_TEST):
2671 Change for new bus API.
2673 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2674 (send_messages), (GST_START_TEST), (gstbus_suite):
2675 Change for new bus signal API.
2677 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2678 (gst_bus_source_prepare), (gst_bus_source_check),
2679 (gst_bus_create_watch), (gst_bus_add_watch_full),
2680 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2681 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2683 Remove support for multiple GSources operating on different
2684 message types as it is too complex and unneeded when using
2686 Added support for receiving signals from the bus.
2688 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2690 * docs/libs/tmpl/gstdataprotocol.sgml:
2691 * docs/manual/advanced-dataaccess.xml:
2692 * gst/elements/gstcapsfilter.c:
2694 rename filter-caps to caps property
2696 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2698 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2699 More robust fraction string parsing.
2701 * docs/pwg/appendix-porting.xml:
2702 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2704 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2706 * gst/gstcaps.c: (gst_caps_do_simplify):
2707 Thou shalt not free a structure and then continue using it
2708 in the next loop iteration.
2710 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2712 Add test case for caps simplification.
2714 2005-09-29 Wim Taymans <wim@fluendo.com>
2716 * check/gst/gstbin.c: (GST_START_TEST):
2719 2005-09-29 Wim Taymans <wim@fluendo.com>
2721 * check/gst/gstbin.c: (GST_START_TEST):
2724 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2725 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2726 (find_element), (gst_bin_sort_iterator_next),
2727 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2728 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2729 (gst_bin_change_state), (gst_bin_dispose):
2730 A bin does not have a bus, it gets the bus from the parent.
2732 * gst/gstelement.c: (gst_element_requires_clock),
2733 (gst_element_provides_clock), (gst_element_is_indexable),
2734 (gst_element_is_locked_state), (gst_element_change_state),
2735 (gst_element_set_bus_func):
2738 * gst/gstpipeline.c: (gst_pipeline_class_init),
2739 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2740 The pipeline provides a bus.
2742 2005-09-28 Johan Dahlin <johan@gnome.org>
2744 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2745 gst_structure_get_enum instead of gst_structure_get_int
2747 * gst/gststructure.c (gst_structure_get_enum): Impl.
2749 * gst/gststructure.h (gst_structure_get_enum): Add
2751 * docs/gst/gstreamer-sections.txt: Ditto
2753 * gst/gstmessage.c (gst_message_new_state_changed): Use
2754 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2755 which does introspection.
2756 Reviewed by Christian Schaller
2758 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2760 * gst/gstinfo.c: (gst_debug_log_default):
2761 don't do dummy g_strdup()s
2762 * libs/gst/controller/gstcontroller.c:
2763 (on_object_controlled_property_changed),
2764 (gst_controlled_property_new), (gst_controller_new_valist),
2765 (gst_controller_new_list),
2766 (gst_controller_remove_properties_valist), (gst_controller_set),
2767 (gst_controller_get), (gst_controller_sync_values),
2768 (gst_controller_get_value_array), (_gst_controller_class_init),
2769 (gst_controller_get_type):
2770 * libs/gst/controller/gstcontroller.h:
2771 * libs/gst/controller/gstinterpolation.c:
2772 (gst_controlled_property_find_timed_value_node):
2773 convert // to /**/ comments
2775 2005-09-28 Wim Taymans <wim@fluendo.com>
2777 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2778 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2779 (gst_bus_sync_signal_handler):
2781 Added async-message and sync-message signals to the bus.
2782 Added helper BusFunc to emit signals for all posted messages.
2784 * gst/gstmessage.c: (gst_message_type_get_name),
2785 (gst_message_type_to_quark), (gst_message_get_type):
2787 Register quarks for message names.
2789 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2791 * docs/libs/gstreamer-libs-sections.txt:
2792 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2793 (gst_controller_new_list):
2794 * libs/gst/controller/gstcontroller.h:
2795 added another constructor for language bindings
2797 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2799 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2803 * gst/gstinfo.c: (_gst_debug_init):
2804 slightly more readable color for refcount debugging
2806 2005-09-28 Wim Taymans <wim@fluendo.com>
2808 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2809 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2810 (find_element), (gst_bin_sort_iterator_next),
2811 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2812 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2813 (gst_bin_change_state), (gst_bin_dispose):
2814 Small doc fixes. get_clock -> provide_clock.
2816 * gst/gstelement.c: (gst_element_class_init),
2817 (gst_element_provides_clock), (gst_element_provide_clock),
2818 (gst_element_get_clock), (gst_element_commit_state),
2819 (gst_element_lost_state):
2821 Make get/set_clock() symetric. Add provide_clock vmethod since
2822 that is actually what this function does.
2824 * gst/gstpipeline.c: (gst_pipeline_class_init),
2825 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2826 (gst_pipeline_get_clock):
2827 get_clock -> provide_clock.
2829 2005-09-28 Andy Wingo <wingo@pobox.com>
2831 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2832 lieu of real docs...
2834 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2836 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2838 * gst/elements/gstcapsfilter.c:
2839 * gst/elements/gstfakesink.c:
2840 * gst/elements/gstfakesrc.c:
2841 * gst/elements/gstfdsink.c:
2842 * gst/elements/gstfdsrc.c:
2843 * gst/elements/gstfilesink.c:
2844 * gst/elements/gstfilesrc.c:
2845 * gst/elements/gstidentity.c:
2846 * gst/elements/gsttee.c:
2847 * gst/elements/gsttypefindelement.c:
2848 Make element details static.
2850 2005-09-28 Wim Taymans <wim@fluendo.com>
2852 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2853 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2854 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2855 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2856 (gst_bin_change_state), (gst_bin_dispose):
2857 Some documentation updates.
2858 Clean up dispose handlers.
2860 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2861 * gst/gstpad.c: (gst_pad_dispose):
2862 Clean up dispose handler.
2864 * gst/gstpipeline.c: (gst_pipeline_change_state):
2865 Removed spurious UNLOCK.
2867 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2869 * docs/gst/gstreamer-sections.txt:
2870 * gst/base/gstbasesrc.h:
2875 * gst/gstpipeline.c:
2876 * gst/gstpipeline.h:
2879 added two new functions to the docs
2880 documents all undocumented GstXXXFlags
2881 completed some incomplete docs
2883 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2885 * gst/gstbin.c: (gst_bin_dispose):
2886 * gst/gstelement.c: (gst_element_dispose):
2887 remove now useless and leaky resurrection code in dispose
2888 * gst/base/gstbasesrc.c: (gst_base_src_init):
2889 * gst/gstelementfactory.c: (gst_element_factory_create):
2890 * gst/gstobject.c: (gst_object_set_parent):
2893 2005-09-27 Wim Taymans <wim@fluendo.com>
2895 * docs/design/part-TODO.txt:
2898 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2899 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2900 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2901 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2902 (gst_bin_change_state):
2904 Remove element variable, we keep element info in the iterator now.
2906 2005-09-27 Andy Wingo <wingo@pobox.com>
2908 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2911 2005-09-27 Wim Taymans <wim@fluendo.com>
2913 * check/gst/gstbin.c: (GST_START_TEST):
2914 Enable check that works now.
2916 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2917 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2918 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2919 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2920 (gst_bin_change_state):
2922 Redid the state change algorithm using a topological sort algo.
2923 Handles all cases correctly.
2924 Exposed iterator for state change order.
2927 Temp storage for state changes. Need to get rid of this soon.
2929 2005-09-27 Wim Taymans <wim@fluendo.com>
2931 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2932 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2933 (link_fold_func), (gst_pad_proxy_setcaps):
2934 Leak fixes, the fold functions need to unref the passed object and
2935 _get_parent_*() returns ref to parent.
2937 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2939 * check/gst/gstbuffer.c: (test_make_writable):
2940 Plug leak in test case and fix 'make check-valgrind'
2942 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2944 * gst/gstbuffer.c: (gst_subbuffer_init):
2945 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2946 works correctly in all circumstances (we could have just copied
2947 the parent buffer's readonly flag, but conceptually it seems
2948 cleaner to mark all subbuffers as read-only). (based on patch
2949 by Alessandro Decina, #314710).
2951 * check/gst/gstbuffer.c: (create_read_only_buffer),
2952 (test_make_writable), (test_subbuffer_make_writable),
2954 Add some tests for gst_buffer_make_writable().
2956 2005-09-27 Wim Taymans <wim@fluendo.com>
2958 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2959 use gst_object_has_ancestor().
2961 * gst/gstobject.c: (gst_object_has_ancestor):
2963 gst_object_has_ancestor() copied from gstbin.c as it is a
2966 * tests/instantiate/create.c: (create_all_elements):
2967 * tests/lat.c: (handoff_src), (handoff_sink):
2968 * tests/sched/runxml.c: (main):
2969 * tests/seeking/seeking1.c: (main):
2970 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2972 Fix compilation of some tests.
2974 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2977 Remove comment. GST_TYPE_G_ERROR is here to stay,
2978 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2981 2005-09-26 Wim Taymans <wim@fluendo.com>
2983 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2984 Added check that shows error in state change order.
2986 2005-09-26 Wim Taymans <wim@fluendo.com>
2988 * gst/gstbin.c: (gst_bin_change_state):
2989 Make state change function use 3 queues again, we were
2990 adding elements in the wrong order.
2992 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2995 * gst/gstpad.c: (gst_pad_dispose):
2996 Added some debug info first.
2998 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3000 * docs/design/draft-push-pull.txt:
3001 * docs/design/part-events.txt:
3002 * docs/design/part-overview.txt:
3003 * docs/design/part-scheduling.txt:
3004 Replace all _pull_region() with _pull_range()
3006 2005-09-26 Andy Wingo <wingo@pobox.com>
3008 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3010 * check/gst-libs/controller.c: Update for controller api change.
3013 * tests/Makefile.am:
3014 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3015 over by GLib bug 118439.
3017 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3018 routines to a function.
3020 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3022 * libs/gst/controller/gsthelper.c:
3023 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3024 (gst_object_sync_values): Renamed from sink_values. Ugh.
3026 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3028 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3029 Renamed from controller_key, as it is exported.
3031 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3033 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3038 * gst/gstpadtemplate.h:
3041 * gst/gstqueryutils.c:
3042 * gst/gstqueryutils.h:
3043 remove queryutils headers after moving the two used functions
3044 to gstquery. also fixes build problem for gstsiddec
3046 2005-09-26 Michael Smith <msmith@fluendo.com>
3048 * tools/gst-launch.1.in:
3049 Correct documentation in manpage of debug syntax
3051 2005-09-26 Wim Taymans <wim@fluendo.com>
3053 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3054 (gst_base_src_is_seekable), (gst_base_src_change_state):
3055 Some more debugging info.
3057 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3059 * docs/gst/gstreamer-sections.txt:
3060 * gst/base/gstbasetransform.h:
3064 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3066 * docs/gst/.cvsignore:
3067 * docs/gst/tmpl/.cvsignore:
3068 * docs/gst/tmpl/gstpipeline.sgml:
3069 * docs/gst/tmpl/gstplugin.sgml:
3070 * gst/gstpipeline.c:
3073 inlined the last two docs files
3074 removed the tmpl directory from cvs (no more conflicts here!)
3076 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3078 * docs/gst/gstreamer-sections.txt:
3079 * docs/gst/tmpl/.cvsignore:
3080 * docs/gst/tmpl/gstpad.sgml:
3081 * docs/gst/tmpl/gstpadtemplate.sgml:
3083 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3084 (gst_pad_finalize), (gst_pad_set_pad_template):
3086 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3087 (gst_pad_template_class_init), (gst_pad_template_init),
3088 (gst_pad_template_dispose), (name_is_valid),
3089 (gst_static_pad_template_get), (gst_pad_template_new),
3090 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3091 (gst_pad_template_pad_created):
3092 * gst/gstpadtemplate.h:
3093 inlined two more docs
3094 factored gstpadtemplate out of gstpad
3096 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3098 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3099 (test_children_state_change_order_semi_sink):
3100 Fix test case: we can't rely on a fixed state change order when
3101 going from READY => PAUSED because the sink might commit its
3102 new state first when the first buffer created by the source
3103 reaches the sink before the source has finished its change state.
3104 (Test case still fails at times, see #316856, comment 5 onwards)
3106 2005-09-24 Wim Taymans <wim@fluendo.com>
3108 * docs/design/part-events.txt:
3109 * docs/design/part-gstbus.txt:
3110 * docs/design/part-gstpipeline.txt:
3111 * docs/design/part-messages.txt:
3112 * docs/design/part-overview.txt:
3113 * docs/design/part-segments.txt:
3120 * gst/gstiterator.c:
3121 Various documentation updates.
3123 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3126 Well, that's embarassing. Luckily we weren't using
3127 GST_CLOCK_DIFF anywhere.
3129 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3131 * common/gtk-doc.mak:
3132 don't fail on building XML, FC4 slave shows a bunch of doc
3133 missing bits that I don't get
3135 * gst/gstpipeline.c:
3136 * gst/gststructure.c:
3139 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3141 * docs/design/part-gstbin.txt:
3142 * docs/design/part-gstbus.txt:
3144 Add blurb about how the bus goes into flushing mode and
3145 drops all messages when its bin goes from READY into NULL
3148 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3150 * docs/gst/gstreamer-sections.txt:
3151 * gst/gststructure.c: (gst_structure_get_clock_time):
3152 * gst/gststructure.h:
3153 add a method to get a GstClockTime out of a structure
3155 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3157 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3158 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3159 Added test to check state change order in bins (can still be made
3160 to fail here under heavy disk load; bails out with 'Push on pad
3161 fakesink:sink0, but it was not activated in push mode').
3163 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3164 Fix state change order when there is only a semi sink (#316856)
3166 * gst/gstbus.c: (gst_bus_class_init):
3167 Use _class_peek_parent(), not _class_ref(); fix docs to say
3168 'default main context' instead of 'mainloop' where that is
3171 * gst/gstelement.c: (gst_element_commit_state),
3172 (gst_element_set_state):
3173 Fix typos in debug messages
3175 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3178 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3179 * gst/gstpluginfeature.c:
3182 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3183 change an assert into an error until it gets fixed properly
3185 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3187 * docs/gst/gstreamer-sections.txt:
3188 * docs/gst/tmpl/.cvsignore:
3189 * docs/gst/tmpl/gstelement.sgml:
3190 * docs/gst/tmpl/gstinfo.sgml:
3191 * docs/gst/tmpl/gstobject.sgml:
3196 * gst/gstobject.c: (gst_object_class_init):
3198 inlined 3 more biiiig doc files and added some missing docs on the fly
3200 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3202 * check/gst/.cvsignore:
3203 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3204 * gst/gstregistryxml.c: (load_plugin),
3205 (gst_registry_xml_save_plugin):
3206 put back source in registry. add checks for find_plugin.
3207 * testsuite/states/bin.c: (assert_state), (empty_bin),
3208 (test_adding_one_element), (main):
3209 * testsuite/states/locked.c: (main):
3210 some compile/run fixes
3212 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3214 * check/gst/gstvalue.c: (GST_START_TEST):
3215 fix leaks in the test itself
3217 2005-09-22 Wim Taymans <wim@fluendo.com>
3219 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3220 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3221 (gst_base_sink_query):
3222 Prepare for more accurate position reporting and query
3225 * gst/gstelement.c: (gst_element_send_event),
3226 (gst_element_set_state):
3229 2005-09-22 Wim Taymans <wim@fluendo.com>
3231 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3232 (gst_query_parse_segment):
3235 Add segment query for future use.
3237 2005-09-22 Wim Taymans <wim@fluendo.com>
3239 * gst/gstbin.c: (gst_bin_add_func):
3240 Some more debug info.
3242 * gst/gstelement.c: (gst_element_send_event):
3246 Don't know how flags got broken.
3251 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3253 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3254 Add simplistic test suite for GST_TYPE_DATE serialisation and
3257 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3259 * docs/gst/gstreamer-sections.txt:
3260 * gst/gststructure.c: (gst_structure_set_valist),
3261 (gst_structure_get_date):
3262 * gst/gststructure.h:
3263 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3264 (gst_date_copy), (gst_value_compare_date),
3265 (gst_value_serialize_date), (gst_value_deserialize_date),
3266 (gst_value_transform_date_string),
3267 (gst_value_transform_string_date), (_gst_value_initialize):
3269 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3270 bunch of utility functions along with a hack that checks that
3271 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3272 is required. Part of the grand scheme in #170777.
3274 2005-09-22 Andy Wingo <wingo@pobox.com>
3276 * gst/gstconfig.h.in: Psych out gtk-doc.
3278 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3280 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3282 * tools/gst-inspect.c (print_element_list): Plug some
3283 inconsequential leaks.
3285 * gst/gstregistry.c (gst_registry_get_default): Doc.
3287 * check/gst/gstplugin.c:
3288 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3289 * gst/gstelementfactory.c (gst_element_factory_create):
3290 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3293 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3294 (gst_plugin_feature_load): Doc, don't eat refs.
3296 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3297 (gst_plugin_list_free): Doc.
3298 (gst_plugin_load_file): Doc updates.
3300 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3301 accessors returning refcounted objects, return a ref.
3303 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3304 accessor for caps. IDEMPOTENCE. Oh yes.
3306 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3308 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3310 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3311 (_gst_debug_register_funcptr):
3312 Add mutex to serialise access to the hash table with
3313 the function pointer => function name string mapping;
3314 make that hash table static scope (#316809).
3316 * gst/registries/.cvsignore:
3317 Remove left-over file.
3319 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3321 * docs/pwg/appendix-porting.xml:
3322 And something about newsegment events and caps-on-buffers to
3323 the porting guide (feel free to improve).
3325 2005-09-21 Andy Wingo <wingo@pobox.com>
3327 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3328 data and event probes on the same pad.
3329 (test_buffer_probe_once): Test that removing probes from within
3330 the probe functions works.
3332 2005-09-21 Andy Wingo <wingo@pobox.com>
3334 * check/gst/gstutils.c: New file.
3335 (test_buffer_probe_n_times): A simple buffer probe test. More to
3338 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3339 have-data::buffer, not have-data.
3340 (gst_pad_add_event_probe): Likewise for have-data::event.
3341 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3342 peer' isn't quite right yet though.
3343 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3344 (gst_pad_remove_data_probe): Change to take the guint handler_id
3345 as their arg, not the function+data, which is more glib-like.
3347 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3348 the signal emission to indicate if the data is a buffer or an
3350 (gst_pad_get_type): Initialize buffer and event quarks.
3351 (gst_pad_class_init): have-data is now a detailed signal, yes it
3354 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3356 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3357 * gst/gstutils.c: (gst_util_set_value_from_string),
3358 (gst_util_set_object_arg):
3359 Don't put functional code in g_return_if_fail() or
3360 g_return_val_if_fail() statements, otherwise things will
3361 break when G_DISABLE_CHECKS is defined during compilation.
3363 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3365 * docs/gst/tmpl/.cvsignore:
3366 * docs/gst/tmpl/gstvalue.sgml:
3369 inlied another one and added some obvious docs
3371 2005-09-21 Wim Taymans <wim@fluendo.com>
3373 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3374 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3375 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3376 (gst_fdsrc_get_property), (gst_fdsrc_create):
3377 * gst/elements/gstfdsrc.h:
3378 Properly implement fdsrc. Removed signal and timeout,
3379 better implemented somewhere else.
3381 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3383 * docs/gst/tmpl/.cvsignore:
3384 * docs/gst/tmpl/gstimplementsinterface.sgml:
3385 * gst/gstinterface.c:
3388 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3390 * docs/gst/gstreamer-sections.txt:
3391 * docs/gst/tmpl/.cvsignore:
3392 * docs/gst/tmpl/gstenumtypes.sgml:
3393 remove obsolete doc file
3395 2005-09-21 David Schleef <ds@schleef.org>
3397 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3398 little beer, fix a little leak.
3400 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3402 * docs/gst/gstreamer-docs.sgml:
3403 * docs/gst/gstreamer-sections.txt:
3404 * docs/gst/tmpl/.cvsignore:
3409 * gst/gstindex.c: (gst_index_class_init):
3411 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3412 (gst_index_factory_class_init), (gst_index_factory_init),
3413 (gst_index_factory_finalize), (gst_index_factory_new),
3414 (gst_index_factory_destroy), (gst_index_factory_find),
3415 (gst_index_factory_create), (gst_index_factory_make):
3416 * gst/gstindexfactory.h:
3417 * gst/gstpluginfeature.c:
3418 * gst/gstpluginfeature.h:
3419 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3420 more docs inlined, splitted gstindex.{c,h}
3422 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3424 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3427 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3429 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3430 Set sync to FALSE by default.
3432 2005-09-20 Wim Taymans <wim@fluendo.com>
3434 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3435 (gst_base_sink_init):
3436 Make sync property settable from subclass.
3438 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3439 (gst_fake_sink_change_state):
3440 Set sync to FALSE by default.
3442 2005-09-20 Wim Taymans <wim@fluendo.com>
3444 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3445 * tools/gst-launch.c: (main):
3446 The timeout handler should have lower priority than the source
3447 so we don't timeout before popping a message with 0 timeout.
3448 Dump error messages after failed state change.
3450 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3452 * tools/gst-inspect.c: (print_element_properties_info):
3455 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3457 * check/gst/gstevent.c:
3458 * gst/elements/gstfakesink.c:
3459 * gst/elements/gstfakesink.h:
3460 remove the sync property from fakesink.
3461 has the side effect of setting sync TRUE
3462 for fakesink, which is a change. Anyone who knows how
3463 to fix this nicely in a GObject-y way, feel free.
3465 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3467 * docs/gst/gstreamer-docs.sgml:
3468 remove probe refsection
3470 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3472 * check/Makefile.am:
3473 disable valgrinding the controller test again
3474 * docs/gst/gstreamer-sections.txt:
3475 update for api-changes
3477 2005-09-20 Wim Taymans <wim@fluendo.com>
3479 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3480 (gst_base_sink_set_property), (gst_base_sink_get_property),
3481 (gst_base_sink_do_sync):
3482 * gst/base/gstbasesink.h:
3483 Added sync property to basesink to disable clock sync.
3485 2005-09-20 Andy Wingo <wingo@pobox.com>
3487 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3488 eating the caller's refcount.
3490 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3491 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3494 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3495 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3496 of GLib 2.8 public, so we can know which refcount to check in
3499 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3500 (gst_object_init): Only set the gst refcount if we're going ahead
3501 with the refcount hack.
3503 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3505 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3506 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3507 more leaks plumbed, added more debug-logging
3511 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3514 remove include of gstmemchunk.h
3516 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3518 * gst/gstclock.c: (_gst_clock_id_free):
3519 Commit from the Political Party For More Atomic CVS Commits,
3520 so that people don't waste too much of their day fishing
3521 out obvious leaks out of massive commits.
3522 Oh, and fix a pretty damn obvious leak in the memchunk
3525 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3527 * check/Makefile.am:
3528 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3529 plug mem-leak, re-add to valgrindable tests
3531 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3534 unbreak the build for those who have chronic arthritis
3535 and typing "make check" is just too taxing on the hands
3537 2005-09-20 Andy Wingo <wingo@pobox.com>
3539 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3540 really want it out, you should fix plugins at the same time.
3542 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3545 * docs/gst/gstreamer-sections.txt:
3547 added missing symbols to api docs
3548 disable ref-count hack if we have glib >= 2.8
3550 2005-09-19 David Schleef <ds@schleef.org>
3552 * docs/gst/Makefile.am: Ignore a few more internal headers
3553 * docs/gst/gstreamer-docs.sgml: Remove old sections
3554 * docs/gst/gstreamer-sections.txt: Remove old sections
3555 * docs/gst/tmpl/gstobject.sgml: update
3556 * docs/gst/tmpl/gstplugin.sgml: update
3557 * docs/gst/tmpl/gstpluginfeature.sgml: update
3558 * docs/random/ds/0.9-suggested-changes: update.
3559 * gst/Makefile.am: remove memchunk and trashstack, since they're
3561 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3562 * gst/gst.h: don't include some headers
3563 * gst/gstchildproxy.c: add gstmarshal.h
3564 * gst/gstclock.c: Don't use memchunks
3565 * gst/gstminiobject.c: Add some docs
3566 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3567 * gst/gstobject.h: same
3568 * gst/gstplugin.c: include gstmacros.h
3569 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3570 * gst/gstquery.c: don't use memchunks
3571 * gst/gstregistry.c: rename gst_registry_deinit()
3572 * gst/gstregistry.h: same
3574 2005-09-19 David Schleef <ds@schleef.org>
3576 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3577 * docs/libs/gstreamer-libs-sections.txt:
3578 * docs/libs/tmpl/gstgetbits.sgml:
3579 * docs/libs/tmpl/gstputbits.sgml:
3581 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3583 * win32/gstenumtypes.c:
3584 * win32/gstenumtypes.h:
3587 2005-09-19 Wim Taymans <wim@fluendo.com>
3589 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3590 Automatically PAUSE and RESUME a pipeline when a flushing seek
3593 2005-09-19 Andy Wingo <wingo@pobox.com>
3595 * gst/gstregistry.h: Spacing fixen.
3597 2005-09-19 Wim Taymans <wim@fluendo.com>
3599 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3600 Handle state change failure more correctly.
3602 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3604 * check/Makefile.am:
3605 * check/pipelines/cleanup.c: (run_pipeline):
3606 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3608 enable cleanup again after fixing the leak
3610 some more info on docs
3612 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3614 * check/Makefile.am:
3615 re-enable tests now that leaks are plugged
3617 * check/gst/gstbin.c:
3618 * check/gst/gstpipeline.c:
3619 add some more tests while fixing leaks
3621 make sure binaries are uptodate when valgrinding/gdbing
3623 * gst/gstelementfactory.c:
3624 remove a ref too many, and add a FIXME for when we get
3625 round to disposing of classes
3627 fix the refcounting when loading a plugin from a file and
3628 the code pretends that the pointer is the same even though
3629 of course it can change
3630 * gst/gstpluginfeature.c:
3631 unref plugins marked cached (a bit confusing as a name)
3632 as the docs state should be done
3633 various doc additions to explain refcounting
3634 * gst/gstregistry.c:
3635 * gst/gstregistryxml.c:
3638 2005-09-19 Wim Taymans <wim@fluendo.com>
3640 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3641 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3642 (send_messages), (GST_START_TEST), (gstbus_suite):
3643 * check/gst/gstpipeline.c: (GST_START_TEST):
3644 * check/pipelines/cleanup.c: (run_pipeline):
3645 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3647 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3648 (gst_bus_source_check), (gst_bus_source_dispatch),
3649 (gst_bus_create_watch), (gst_bus_add_watch_full),
3650 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3652 * tools/gst-launch.c: (event_loop):
3653 * tools/gst-md5sum.c: (event_loop):
3654 GstBusHandler -> GstBusFunc, return value has the same meaning as
3655 any other GSource (FALSE == remove source).
3656 _add_watch() and _add_watch_full() now take a MessageType mask to
3657 only handle specific types of messages.
3658 _poll() returns the GstMessage instead of the message type to avoid
3660 _have_pending() takes a MessageType mask now too.
3661 Added testsuite for multiple bus watches.
3662 Fix testsuites and applications for new bus API.
3664 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3666 * check/Makefile.am:
3667 mark a bunch of the tests as to fix until we fix them
3669 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3672 use GST_PLUGIN settings for valgrind tests as well, so we're
3673 valgrinding the correct thing
3674 * gst/gst.c: (init_post):
3677 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3679 * gst/gst.c: (init_post), (gst_deinit):
3680 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3681 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3682 * gst/gstindex.c: (gst_index_factory_class_init),
3683 (gst_index_factory_finalize):
3684 * gst/gstobject.c: (gst_object_dispose):
3685 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3686 (gst_plugin_load_file), (gst_plugin_desc_free):
3687 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3688 (gst_plugin_feature_finalize):
3689 * gst/gstregistry.c: (gst_registry_class_init),
3690 (gst_registry_init), (gst_registry_finalize),
3691 (gst_registry_get_default), (gst_registry_deinit):
3692 * gst/gstregistry.h:
3693 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3694 various cleanups and memleak plugging. make valgrind is happy now.
3696 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3699 add a check-valgrind target
3701 2005-09-18 David Schleef <ds@schleef.org>
3703 * tools/gst-inspect.c: Revert the GOption code.
3705 2005-09-17 David Schleef <ds@schleef.org>
3707 * check/Makefile.am: Fix environment variables.
3708 * check/gst/gstplugin.c: Fix for API changes.
3709 * tools/gst-inspect.c: Fix for API changes.
3710 * tools/gst-xmlinspect.c: Fix for API changes.
3711 * gst/gstelementfactory.c:
3714 * gst/gstpluginfeature.c:
3715 * gst/gstpluginfeature.h:
3716 * gst/gstregistry.c:
3717 * gst/gstregistry.h:
3718 * gst/gstregistryxml.c:
3719 * gst/gsttypefind.c:
3720 * gst/gsttypefindfactory.c:
3721 * gst/indexers/gstfileindex.c:
3722 * gst/indexers/gstmemindex.c:
3723 * gst/schedulers/Makefile.am:
3724 Change registry to keep track of both plugins and features,
3725 removing the feature tracking from plugins themselves.
3727 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3729 * check/Makefile.am:
3730 * tools/gst-register.1.in:
3733 2005-09-15 David Schleef <ds@schleef.org>
3735 * check/gst/gstplugin.c:
3736 * gst/gstelementfactory.c:
3738 * gst/gstpluginfeature.c:
3739 * gst/gstregistry.c:
3740 Getting tired of debugging. Disabled all the unreffing of
3741 plugins and features, which fixes the segfaults, but of
3742 course leaks like crazy. At least playbin works.
3744 2005-09-15 David Schleef <ds@schleef.org>
3746 * check/gst/gstplugin.c: (register_check_elements),
3747 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3749 * gst/elements/gsttypefindelement.c: Fix refcounting.
3750 * gst/gsttypefind.c:
3751 * gst/gsttypefindfactory.c:
3752 * gst/gsttypefindfactory.h:
3754 2005-09-15 David Schleef <ds@schleef.org>
3756 * gst/gstindex.c: get refcounting correct.
3757 * gst/gstregistry.c: Handle the case where a feature/plugin is
3760 2005-09-15 David Schleef <ds@schleef.org>
3762 * check/Makefile.am:
3763 * check/gst/gstplugin.c: Add test
3764 * gst/gstplugin.c: Fix problems noticed by testsuite
3766 * gst/gstregistry.c:
3767 * gst/gstregistry.h:
3769 2005-09-15 David Schleef <ds@schleef.org>
3771 * gst/gstplugin.c: Implement semi-decent recounting and locking
3772 in plugins and plugin features.
3774 * gst/gstpluginfeature.c:
3775 * gst/gstpluginfeature.h:
3776 * gst/gstregistry.c:
3778 2005-09-15 Michael Smith <msmith@fluendo.com>
3780 * gst/gstregistry.c: (gst_registry_get_feature_list):
3781 Implement this. Makes oggdemux work; decodebin still broken.
3783 2005-09-14 David Schleef <ds@schleef.org>
3785 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3787 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3788 * gst/check/Makefile.am:
3789 * libs/gst/controller/Makefile.am:
3790 * libs/gst/dataprotocol/Makefile.am:
3792 2005-09-14 David Schleef <ds@schleef.org>
3794 * configure.ac: Remove getbits library. Nothing uses it, and
3795 it should be in something like liboil if someone did want
3797 * libs/gst/Makefile.am:
3798 * libs/gst/getbits/Makefile.am:
3799 * libs/gst/getbits/gbtest.c:
3800 * libs/gst/getbits/getbits.c:
3801 * libs/gst/getbits/getbits.h:
3802 * libs/gst/getbits/gstgetbits_generic.c:
3803 * libs/gst/getbits/gstgetbits_i386.s:
3804 * libs/gst/getbits/gstgetbits_inl.h:
3806 2005-09-14 David Schleef <ds@schleef.org>
3808 * gst/Makefile.am: Dist glib-compat.h
3810 2005-09-14 David Schleef <ds@schleef.org>
3812 * configure.ac: Remove gst/registries, since it's no longer used.
3813 * gst/registries/Makefile.am:
3814 * gst/registries/gstlibxmlregistry.c:
3815 * gst/registries/gstlibxmlregistry.h:
3816 * gst/registries/gstxmlregistry.c:
3817 * gst/registries/gstxmlregistry.h:
3818 * gst/registries/registrytest.c:
3820 2005-09-14 David Schleef <ds@schleef.org>
3822 * gst/glib-compat.h:
3823 * gst/gstregistryxml.c:
3824 Convergence is near. Seriously.
3826 2005-09-14 David Schleef <ds@schleef.org>
3828 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3829 * gst/glib-compat.h:
3830 Attempt #4 to appease the buildbots.
3832 2005-09-14 David Schleef <ds@schleef.org>
3834 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3837 2005-09-14 David Schleef <ds@schleef.org>
3839 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3842 2005-09-14 David Schleef <ds@schleef.org>
3844 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3847 2005-09-14 David Schleef <ds@schleef.org>
3849 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3850 * gst/glib-compat.h: Add some functions that are in newer versions
3851 of glib than we care to require.
3852 * gst/gstregistryxml.c: Use them.
3854 2005-09-14 David Schleef <ds@schleef.org>
3856 * po/POTFILES.in: remove gst-register.c
3858 2005-09-14 David Schleef <ds@schleef.org>
3860 * docs/gst/gstreamer-docs.sgml:
3861 * docs/gst/gstreamer-sections.txt:
3862 * docs/gst/gstreamer.types:
3863 * docs/gst/tmpl/gstelement.sgml:
3864 * docs/gst/tmpl/gstplugin.sgml:
3865 * docs/gst/tmpl/gstpluginfeature.sgml:
3866 Documentation updates for registry changes.
3868 2005-09-14 David Schleef <ds@schleef.org>
3870 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3871 because we don't require glib-2.8.
3873 2005-09-14 David Schleef <ds@schleef.org>
3875 * gst/gstregistryxml.c: Added. Essentially moved out of the
3876 registries directory.
3878 2005-09-14 David Schleef <ds@schleef.org>
3880 * check/Makefile.am:
3881 * check/generic/states.c:
3885 * gst/gst_private.h:
3886 * gst/gstelementfactory.c:
3891 * gst/gstpluginfeature.c:
3892 * gst/gstpluginfeature.h:
3893 * gst/gstregistry.c:
3894 * gst/gstregistry.h:
3895 * gst/gstregistrypool.c: remove
3896 * gst/gstregistrypool.h: remove
3897 * gst/gsttypefind.c:
3898 * gst/gsttypefindfactory.c:
3900 * tools/Makefile.am:
3901 * tools/gst-compprep.c:
3902 * tools/gst-inspect.c:
3903 * tools/gst-register.c: remove
3904 * tools/gst-xmlinspect.c:
3905 Registry rewrite. Changes registry from being a file created
3906 by a tool into a simple cache file created automatically by
3907 libgstreamer. Removed gst-register (because it's no longer
3908 needed). Remove registry pools, because we only have one
3909 registry implementation (XML). Fix up other subsystems as
3912 2005-09-13 Michael Smith <msmith@fluendo.com>
3914 * gst/gstconfig.h.in:
3915 Don't Use windows linking attributes for MinGW. Fixes #316157
3917 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3919 * gst/gstutils.c: (set_state_async_thread_func),
3920 (gst_element_set_state_async):
3921 Apparently people think it's better if this function doesn't
3922 try to set the state to whatever state was asked for on the first
3923 call to this function for any object. Seriously.
3925 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3927 * check/gst/gstpipeline.c: (GST_START_TEST):
3928 * docs/gst/gstreamer-sections.txt:
3929 * gst/gstutils.c: (set_state_async_thread_func),
3930 (gst_element_set_state_async):
3932 add a "gst_element_set_state_async" method that
3933 sets the state and starts a thread to make sure the state
3934 change completes as best as it can
3936 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3938 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3939 codify design+behaviour in testsuite after discussion
3941 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3943 * docs/gst/tmpl/gstelement.sgml:
3944 * docs/manual/appendix-quotes.xml:
3946 * gst/gstelement.c: (gst_element_set_state):
3949 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3951 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3952 (gst_base_transform_prepare_output_buf),
3953 (gst_base_transform_handle_buffer):
3954 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3955 (gst_capsfilter_prepare_buf):
3956 Remove the requirement for sub-classes to call the parent
3957 implementation of prepare_output_buffer with a wrapper function.
3960 * gst/gsttagsetter.h:
3963 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3965 * docs/gst/gstreamer-sections.txt:
3968 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3970 * docs/gst/gstreamer-sections.txt:
3971 * docs/gst/tmpl/gstelement.sgml:
3972 * docs/gst/tmpl/gstplugin.sgml:
3973 * gst/gstminiobject.c:
3975 docs now stop throwing warnings
3977 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3979 * docs/gst/gstreamer-sections.txt:
3980 * docs/gst/gstreamer.types:
3981 * docs/gst/tmpl/gstpad.sgml:
3982 * docs/gst/tmpl/gsttypes.sgml:
3983 * gst/base/gstadapter.h:
3984 * gst/base/gstbasesink.h:
3985 * gst/base/gstbasesrc.h:
3995 * gst/gststructure.c:
3996 * gst/registries/gstlibxmlregistry.h:
3997 various documentation fixes
3999 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4001 * docs/gst/gstreamer-sections.txt:
4002 * docs/gst/tmpl/gstvalue.sgml:
4003 rearrange gstvalue section
4004 * gst/gstutils.c: (gst_element_state_get_name):
4006 * gst/gstvalue.c: (_gst_value_initialize):
4010 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4012 * check/gst-libs/controller.c:
4014 * gst/base/gstbasetransform.c:
4015 (gst_base_transform_default_prepare_buf),
4016 (gst_base_transform_handle_buffer):
4017 * gst/base/gstbasetransform.h:
4018 Some more basetransform changes and fixes to enable sub-classes
4019 that modify buffer metadata only.
4020 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4021 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4022 (gst_capsfilter_prepare_buf):
4023 If the output pad has fixed allowed caps and input buffers
4024 don't have any, set the fixed caps on outgoing buffers.
4026 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4027 * check/elements/identity.c: (GST_START_TEST):
4028 Make the error a little clearer when the test fails because
4029 identity made a copy of the buffer.
4030 * docs/gst/gstreamer-sections.txt:
4031 New symbols in gstbasetransform.h
4032 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4033 (gst_base_transform_init), (gst_base_transform_transform_size),
4034 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4035 (gst_base_transform_default_prepare_buf),
4036 (gst_base_transform_get_unit_size),
4037 (gst_base_transform_buffer_alloc),
4038 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4039 (gst_base_transform_change_state),
4040 (gst_base_transform_set_passthrough),
4041 (gst_base_transform_set_in_place),
4042 (gst_base_transform_is_in_place):
4043 * gst/base/gstbasetransform.h:
4044 Change BaseTransform to separate in_place operate from same_caps
4045 output. in_place implies that the element can perform the transform
4046 on incoming buffers in-place, even if the caps on the output are
4048 Sub-class elements can now implement special buffer allocation
4049 methods for outgoing buffers if they wish to.
4050 Big documentation addition.
4051 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4052 * gst/elements/gstelements.c:
4053 Changes for basetransform modifications.
4054 * gst/elements/Makefile.am:
4055 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4056 Compile fix. Extra debug output.
4058 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4060 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4062 add tests for valid pad naming
4063 * gst/check/gstcheck.c: (gst_check_log_message_func),
4064 (gst_check_log_critical_func):
4066 remove printing of code, it is fragile when the code contains
4067 % and the line number is enough info
4068 * gst/check/gstcheck.h:
4069 * gst/gstpad.c: (gst_pad_template_new):
4072 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4075 say what CHECK flags we use
4076 * docs/libs/gstreamer-libs.types:
4077 * libs/gst/controller/Makefile.am:
4078 * libs/gst/controller/gst-controller.c:
4079 * libs/gst/controller/gst-controller.h:
4080 * libs/gst/controller/gst-helper.c:
4081 * libs/gst/controller/gst-interpolation.c:
4082 * libs/gst/controller/gstcontroller.c:
4083 * libs/gst/controller/gsthelper.c:
4084 * libs/gst/controller/gstinterpolation.c:
4085 * tools/gst-inspect.c: (print_plugin_info):
4086 we don't use dashes in header names
4088 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4090 * check/Makefile.am:
4091 * check/gst/.cvsignore:
4092 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4093 (gst_pipeline_suite), (main):
4094 adding a test for pipelines and state changes
4095 * gst/gstutils.c: (get_state_func):
4097 * gstreamer.spec.in:
4100 2005-09-08 Michael Smith <msmith@fluendo.com>
4102 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4103 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4104 (gst_file_src_is_seekable), (gst_file_src_get_size),
4105 (gst_file_src_start):
4106 * gst/elements/gstfilesrc.h:
4107 Various fixes for unseekable, unmmapable, and non-normal files, so
4108 that fallback to read() rather than mmap() works.
4109 * gst/gstevent.c: (gst_event_new_newsegment):
4110 Allow newsegment events with segment_start == segment_end, as will
4111 correctly happen if you use filesrc on a zero-size file, for
4114 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4116 * gst/gstplugin.c: (gst_plugin_load_file):
4117 Call g_module_close when we don't load the module
4119 * gst/registries/gstlibxmlregistry.c:
4120 (gst_xml_registry_get_property):
4121 Port leak fix from 0.8
4123 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4125 * docs/gst/gstreamer-docs.sgml:
4126 * docs/gst/tmpl/.cvsignore:
4127 * docs/gst/tmpl/gsttrace.sgml:
4128 * docs/gst/tmpl/gsttrashstack.sgml:
4137 * gst/gsttaginterface.c:
4138 * gst/gsttaginterface.h:
4141 * gst/gsttagsetter.c:
4142 * gst/gsttagsetter.h:
4145 * gst/gsttrashstack.c:
4146 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4147 inlined docs for gsttrace, gsttrashstack
4149 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4152 * gst/elements/gstbufferstore.h:
4153 * gst/elements/gsttypefindelement.c:
4154 * gst/elements/gsttypefindelement.h:
4156 * gst/gsttypefind.c:
4157 * gst/gsttypefind.h:
4158 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4159 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4160 (gst_type_find_factory_dispose),
4161 (gst_type_find_factory_unload_thyself),
4162 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4163 (gst_type_find_factory_get_caps),
4164 (gst_type_find_factory_get_extensions),
4165 (gst_type_find_factory_call_function):
4166 * gst/gsttypefindfactory.h:
4167 * gst/registries/gstlibxmlregistry.c:
4168 * gst/registries/gstxmlregistry.c:
4169 splitted gsttypefind into gsttypefind, gsttypefindfactory
4171 2005-09-07 Andy Wingo <wingo@pobox.com>
4173 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4174 condition whereby the pad's task function is entered before the
4175 pad_mode variable was set.
4177 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4179 * gst/gstpad.c: (gst_pad_alloc_buffer):
4180 Catch misbehaving pad_alloc functions that don't
4181 set up caps and do it for them.
4183 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4185 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4187 * docs/gst/tmpl/.cvsignore:
4188 * docs/gst/tmpl/gstmemchunk.sgml:
4189 * docs/gst/tmpl/gstparse.sgml:
4190 * docs/gst/tmpl/gsttaglist.sgml:
4191 * docs/gst/tmpl/gsttagsetter.sgml:
4192 * docs/gst/tmpl/gsttypefind.sgml:
4193 * docs/gst/tmpl/gsttypefindfactory.sgml:
4194 * gst/gstmemchunk.c:
4197 * gst/gsttaginterface.c:
4198 * gst/gsttypefind.c:
4199 * gst/gsttypefind.h:
4202 === release 0.9.2 ===
4204 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4209 releasing 0.9.2, "South"
4211 2005-09-05 Andy Wingo <wingo@pobox.com>
4213 * gst/registries/gstxmlregistry.h:
4214 * gst/registries/gstxmlregistry.c: Um... resurrect...
4216 * gst/registries/gstxmlregistry.h:
4217 * gst/registries/gstxmlregistry.c: and update to newer API.
4218 Incidentally they should be a bit faster now that they don't have
4221 2005-09-05 Andy Wingo <wingo@pobox.com>
4223 * gst/registries/gstxmlregistry.h:
4224 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4225 replaced by the libxml registry a while back
4227 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4229 * docs/gst/tmpl/gstplugin.sgml:
4230 * gst/elements/gstelements.c:
4232 * gst/gstplugin.c: (gst_plugin_register_func),
4233 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4234 (gst_plugin_get_source):
4236 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4237 (gst_xml_registry_save_plugin):
4238 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4239 (gst_xml_registry_save_plugin):
4240 * tools/gst-inspect.c: (print_plugin_info):
4241 add a "source" plugin description field, to represent the source
4242 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4243 will set it to PACKAGE, which is automake's idea of the name of
4246 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4252 * docs/faq/Makefile.am:
4253 * docs/gst/tmpl/gstelement.sgml:
4254 * docs/gst/tmpl/gsttypes.sgml:
4255 * docs/htmlinstall.mak:
4256 * docs/manual/Makefile.am:
4257 * docs/pwg/Makefile.am:
4258 reorganize doc build a little
4259 split out docbook and gtk-doc stuff
4260 have two separate --enable's and enable them through autogen
4261 but disable by default in configure (to be similar to other
4263 * gstreamer.spec.in:
4264 clean up docs install
4284 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4286 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4289 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4290 (gst_fake_sink_change_state):
4291 Make state change function thread-safe.
4293 * gst/gstpad.c: (gst_pad_alloc_buffer):
4294 Set offset on generic buffer allocated by fallback.
4296 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4298 * docs/gst/gstreamer-sections.txt:
4299 * docs/gst/tmpl/gstelement.sgml:
4301 * libs/gst/controller/gst-controller.c:
4302 (gst_controlled_property_set_interpolation_mode),
4303 (gst_controlled_property_new),
4304 (gst_controller_find_controlled_property):
4305 run the wingo-magic script against the docs
4307 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4309 * docs/gst/gstreamer-docs.sgml:
4310 * docs/gst/gstreamer-sections.txt:
4311 * docs/gst/tmpl/.cvsignore:
4312 * docs/gst/tmpl/gstelementdetails.sgml:
4313 * docs/gst/tmpl/gstelementfactory.sgml:
4316 * gst/gstelementfactory.c:
4317 * gst/gstelementfactory.h:
4318 merged elementdetails docs into elementfactory docs
4321 2005-09-02 Andy Wingo <wingo@pobox.com>
4323 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4324 consider this enum an enum and not a flags.
4326 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4328 * docs/gst/gstreamer-docs.sgml:
4329 * docs/gst/tmpl/.cvsignore:
4330 * docs/gst/tmpl/gstghostpad.sgml:
4331 * docs/gst/tmpl/gstiterator.sgml:
4332 * docs/gst/tmpl/gstmacros.sgml:
4333 * docs/gst/tmpl/gstrealpad.sgml:
4334 * docs/gst/tmpl/gstregistry.sgml:
4335 * docs/gst/tmpl/gstregistrypool.sgml:
4336 * docs/gst/tmpl/gststructure.sgml:
4337 * docs/gst/tmpl/gstsystemclock.sgml:
4338 * docs/gst/tmpl/gsttrace.sgml:
4339 * gst/gstghostpad.c:
4341 * gst/gstmemchunk.c:
4342 * gst/gstmemchunk.h:
4344 * gst/gstregistry.c:
4345 * gst/gstregistrypool.c:
4346 * gst/gststructure.c:
4347 * gst/gstsystemclock.c:
4350 2005-09-02 Andy Wingo <wingo@pobox.com>
4352 * gst/gstelement.h (GstState): Renamed from GstElementState,
4353 changed to be a normal enum instead of flags.
4354 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4355 munged to be GST_STATE_CHANGE_*.
4356 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4357 work with the new state representation.
4358 (GstStateChange): New enumeration of possible state transitions.
4359 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4360 (GstElementClass::change_state): Pass the GstStateChange along as
4361 an argument. Helps language bindings, so they don't have to use
4362 tricky lock-needing macros like GST_STATE_CHANGE ().
4364 * scripts/update-states (file): New script. Run it on a file to
4365 update it for state naming and API changes. Updates files in
4368 * All files updated for the new API.
4370 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4372 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4373 * gst/gstutils.c: (gst_util_set_value_from_string),
4374 (gst_util_set_object_arg):
4375 fix a bunch of unchecked return values
4376 * tools/gst-complete.c: (main):
4377 * gstreamer.spec.in:
4380 2005-09-01 Wim Taymans <wim@fluendo.com>
4382 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4383 (gst_base_sink_event), (gst_base_sink_do_sync),
4384 (gst_base_sink_handle_event):
4385 * gst/base/gstbasesink.h:
4386 Handle newsegments more correctly.
4391 * gst/gstevent.c: (gst_event_new_newsegment):
4392 A newsegment cannot have a start_time of -1
4394 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4396 * win32/gstenumtypes.c:
4397 * win32/gstenumtypes.h:
4400 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4402 * libs/gst/controller/gst-controller.c:
4403 (gst_controlled_property_set_interpolation_mode),
4404 (gst_controlled_property_new):
4407 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4409 * docs/faq/gst-uninstalled:
4414 * gst/gstutils.c: (gst_element_link_filtered):
4416 add gst_element_link_filtered
4418 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4420 * docs/gst/gstreamer-docs.sgml:
4421 * docs/gst/gstreamer-sections.txt:
4422 * docs/gst/tmpl/.cvsignore:
4423 * docs/gst/tmpl/gsterror.sgml:
4424 * docs/gst/tmpl/gstfilter.sgml:
4425 * docs/gst/tmpl/gsturihandler.sgml:
4426 * docs/gst/tmpl/gsturitype.sgml:
4427 * docs/gst/tmpl/gstutils.sgml:
4428 * docs/gst/tmpl/gstxml.sgml:
4436 inlined more docs, fixed double id-ref
4438 2005-08-31 Wim Taymans <wim@fluendo.com>
4440 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4441 (gst_base_transform_handle_buffer):
4442 Passthrough elements don't need the caps as they don't care.
4444 2005-08-31 Wim Taymans <wim@fluendo.com>
4446 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4447 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4448 Don't leak refcounts on buffers.
4450 2005-08-31 Wim Taymans <wim@fluendo.com>
4452 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4453 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4454 (gst_base_transform_chain), (gst_base_transform_change_state):
4455 * gst/base/gstbasetransform.h:
4456 Handle the case where we are not negotiated more gracefully.
4458 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4460 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4461 (gst_file_src_map_region):
4462 Set READONLY flag on mmap'ed buffers, otherwise
4463 gst_buffer_make_writable() won't work properly (#314708).
4465 2005-08-31 Wim Taymans <wim@fluendo.com>
4467 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4468 passthrough elements can even do inplace on non writable
4469 buffers (as they don't touch them).
4471 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4473 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4474 (gst_test_mono_source_set_property),
4475 (gst_test_mono_source_class_init), (GST_START_TEST),
4476 (gst_controller_suite):
4477 more tests (hehe I have the most)
4479 describe popping messages whenusing mulltiple sources
4480 * libs/gst/controller/gst-controller.c:
4481 (gst_controlled_property_set_interpolation_mode),
4482 (gst_controlled_property_new):
4483 * libs/gst/controller/gst-controller.h:
4484 * libs/gst/controller/gst-interpolation.c:
4485 implement boolean properties
4487 2005-08-31 Wim Taymans <wim@fluendo.com>
4489 * gst/gstminiobject.c: (gst_mini_object_ref):
4490 Cannot assert that the refcount has to be positive
4491 since a disposed object can be resurrected.
4493 2005-08-31 Wim Taymans <wim@fluendo.com>
4495 * gst/gstpad.c: (gst_pad_init):
4496 Revert change, need to first fix badly behaving
4499 2005-08-30 Wim Taymans <wim@fluendo.com>
4501 * check/elements/fakesrc.c: (setup_fakesrc):
4502 * check/elements/identity.c: (setup_identity):
4503 Activate pads before using them.
4505 2005-08-30 Wim Taymans <wim@fluendo.com>
4507 * gst/base/gstadapter.c: (gst_adapter_flush):
4508 Flushing out 0 bytes is ok for this function.
4510 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4511 no newsegment gives a warning and sets the start/stop to
4514 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4515 (gst_base_transform_set_passthrough):
4518 * gst/gstminiobject.c: (gst_mini_object_ref):
4519 Check refcount here too.
4521 * gst/gstpad.c: (gst_pad_init):
4522 Pads are initially flushing and refusing data.
4524 * gst/gstutils.c: (gst_element_link_pads_filtered):
4525 When adding a capsfilter element make sure it has the
4526 same state as the parent bin.
4528 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4530 * docs/gst/tmpl/.cvsignore:
4531 * docs/gst/tmpl/gstformat.sgml:
4532 * docs/gst/tmpl/gstversion.sgml:
4536 * gst/gstversion.h.in:
4537 more docs and two more inlined
4539 2005-08-30 Wim Taymans <wim@fluendo.com>
4541 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4542 Don't sync to clock.
4544 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4546 * docs/gst/gstreamer-sections.txt:
4547 ultral33t func10ns deserve to appear in the docs actually
4548 * docs/gst/tmpl/.cvsignore:
4549 * docs/gst/tmpl/gstcompat.sgml:
4550 * docs/gst/tmpl/gstconfig.sgml:
4551 * gst/check/gstcheck.c:
4553 * gst/gstconfig.h.in:
4556 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4558 * docs/gst/tmpl/.cvsignore:
4559 * docs/gst/tmpl/gstquery.sgml:
4560 * docs/gst/tmpl/gstutils.sgml:
4563 inlined and extended docs
4565 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4567 * check/gst-libs/controller.c: (GST_START_TEST),
4568 (gst_controller_suite):
4570 * docs/gst/tmpl/gstutils.sgml:
4571 * docs/libs/gstreamer-libs-sections.txt:
4572 * docs/libs/tmpl/gstdataprotocol.sgml:
4574 * examples/controller/audio-example.c: (main):
4575 controller example works now
4578 * tools/gst-inspect.c: (print_element_properties_info):
4579 show param spec flags
4581 2005-08-29 Andy Wingo <wingo@pobox.com>
4583 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4585 2005-08-28 Andy Wingo <wingo@pobox.com>
4587 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4588 as having two arguments instead of just one. Allows superclasses
4589 to access information on subclasses -- see the terrible for() loop
4590 in gtype.c:g_type_create_instance for the reason why. All callers
4593 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4595 * docs/design/part-messages.txt:
4597 * docs/gst/tmpl/.cvsignore:
4598 * docs/gst/tmpl/gstcaps.sgml:
4599 * docs/gst/tmpl/gstclock.sgml:
4606 added descriptions for bus and message
4607 inline caps and clock docs
4609 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4615 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4617 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4620 2005-08-26 Andy Wingo <wingo@pobox.com>
4622 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4623 element_set_state's return val.
4624 (test_2_elements): Add test that's been disabled for months.
4626 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4627 can-activate-pull properties.
4629 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4630 can-activate-pull properties. Implement is_seekable so fakesrc can
4631 operate in pull mode.
4633 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4635 (gst_base_sink_activate, gst_base_sink_activate_pull)
4636 (gst_base_sink_activate_push): Make activation mode choosing work.
4638 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4639 is right. Make pull mode work. Post an eos before pausing in pull
4641 (gst_base_sink_change_state): Pay attention to the core's
4642 change_state() return val.
4644 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4645 has-getrange properties. Cleanups.
4647 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4648 has_getrange and replace with can_activate_pull and
4651 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4652 locking comments. Remove has_loop, has_chain and replace with
4653 can_activate_pull and can_activate_push.
4655 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4658 * examples/Makefile.am:
4659 * examples/metadata/Makefile.am:
4660 * examples/metadata/read-metadata.c: (message_loop),
4661 (have_pad_handler), (make_pipeline), (print_tag), (main):
4662 Add metadata reading example that loops over a list of filenames,
4663 dumping any tags found.
4665 * gst/gstbus.c: (gst_bus_dispose):
4666 * gst/gstelement.c: (gst_element_dispose):
4667 Release a few potentially-held references in dispose.
4669 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4671 * docs/gst/tmpl/gstminiobject.sgml:
4672 do *not* add tmpl/*.sgml files to CVS!
4674 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4676 * libs/gst/bytestream/.cvsignore:
4677 * libs/gst/bytestream/Makefile.am:
4678 * libs/gst/bytestream/adapter.c:
4679 * libs/gst/bytestream/adapter.h:
4680 * libs/gst/bytestream/bytestream.c:
4681 * libs/gst/bytestream/bytestream.h:
4682 * libs/gst/bytestream/filepad.c:
4683 * libs/gst/bytestream/filepad.h:
4684 removing obsolete files
4686 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4688 * docs/gst/gstreamer-docs.sgml:
4689 * docs/libs/gstreamer-libs-docs.sgml:
4690 disabed additional index entries again, as this makes docs-gen just
4691 slow and they aren't useful yet
4692 * docs/libs/gstreamer-libs-sections.txt:
4693 little -section.txt cleanup for libs
4695 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4697 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4698 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4699 fix up some debugging
4700 (gst_base_transform_get_unit_size),
4701 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4702 (gst_base_transform_handle_buffer):
4703 * gst/base/gstbasetransform.h:
4704 handle and store timed NEWSEGMENT events so that subclasses that
4705 calculate time by counting samples have a segment_start time they
4706 need to add to their timestamps - see audioresample
4708 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4711 removed ';' from the end of macro defs
4712 * docs/gst/gstreamer-docs.sgml:
4713 * docs/gst/gstreamer-sections.txt:
4714 * docs/gst/tmpl/.cvsignore:
4716 * gst/gstelement.c: (gst_element_class_init),
4717 (gst_element_set_state), (activate_pads),
4718 (gst_element_save_thyself):
4719 * gst/gstevent.c: (gst_event_new_newsegment):
4721 * gst/gstiterator.c:
4722 * gst/gstiterator.h:
4725 * gst/gstutils.c: (gst_pad_query_convert):
4727 fixed parameter name mismatches between source, header and docs
4728 added some more docs, resolved the last batch of unused elements in
4729 docs (now someone needs to doc them)
4731 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4733 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4734 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4735 don't walk through the plugins backwards. Where is all this
4736 reversed logic coming from ?
4738 2005-08-25 Wim Taymans <wim@fluendo.com>
4740 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4741 (gst_base_transform_transform_size),
4742 (gst_base_transform_configure_caps),
4743 (gst_base_transform_get_unit_size),
4744 (gst_base_transform_buffer_alloc),
4745 (gst_base_transform_change_state):
4746 * gst/base/gstbasetransform.h:
4747 Cache caps unit_size.
4748 Make sure we cannot negotiate up and downstream at the
4751 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4753 * gst/gst.c: (init_pre), (init_post):
4754 register the installed plugin path after the env var
4755 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4756 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4757 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4758 directories, so the tests can prefer uninstalled over installed
4760 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4762 * gst/base/gstbasetransform.h:
4767 2005-08-25 Wim Taymans <wim@fluendo.com>
4769 * gst/gstbin.c: (bin_bus_handler):
4770 Be a bit more conservative about the posted message.
4772 * gst/gstbus.c: (gst_bus_post):
4773 Some cleanups, warn wrong return values.
4775 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4777 * check/gst/gstbin.c: (GST_START_TEST):
4778 * gst/gstbin.c: (bin_bus_handler):
4779 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4780 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4781 (gst_message_new_warning), (gst_message_new_tag),
4782 (gst_message_new_state_changed), (gst_message_new_segment_start),
4783 (gst_message_new_segment_done), (gst_message_new_custom):
4785 * tools/gst-launch.c: (event_loop):
4786 * tools/gst-md5sum.c: (event_loop):
4787 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4789 2005-08-25 Wim Taymans <wim@fluendo.com>
4791 * check/generic/states.c: (GST_START_TEST):
4792 Cleanup can be done at the end.
4794 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4795 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4796 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4797 Oh boy.. Thanks for finding this, Thomas.
4799 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4801 * docs/gst/gstreamer.types:
4804 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4806 * docs/gst/gstreamer-docs.sgml:
4807 * docs/gst/gstreamer-sections.txt:
4808 * docs/gst/tmpl/.cvsignore:
4810 * gst/gstiterator.c:
4812 * gst/registries/gstxmlregistry.h:
4813 added missing classes and symbols (123 more to go)
4814 removed removed symbols from section file
4815 fixed many doc-comments
4817 2005-08-24 Wim Taymans <wim@fluendo.com>
4819 * check/generic/states.c: (GST_START_TEST):
4820 Make sure all tasks are stopped.
4822 * check/gst/gstbin.c: (GST_START_TEST):
4823 Unref after usage for proper valgrinding.
4825 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4826 Really wait for the task to stop before destroying the
4829 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4830 (gst_queue_src_activate_push):
4831 Small cleanups. Don't stop the task when we did not start
4834 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4835 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4836 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4839 Protect the stream lock with the object lock.
4840 Disallow setting the stream lock when running.
4841 Add cleanup_all to wait for the threadpool to finish.
4842 Remove code to autoallocate a mutex if none was provided.
4843 Add _join() to wait for a task to stop.
4844 Protect the thread pool with a global lock.
4846 2005-08-24 Wim Taymans <wim@fluendo.com>
4848 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4849 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4850 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4851 * gst/base/gstbasesink.h:
4852 Handle newsegment events correctly.
4853 Drop buffers out of the segment range.
4855 2005-08-22 Andy Wingo <wingo@pobox.com>
4857 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4858 macro, implements an interface and gstimplementsinterface for a
4861 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4863 * check/Makefile.am:
4864 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4865 add a test that does a bunch of state changes on elements
4866 needs some fixing for valgrind
4867 * check/states/sinks.c: (gst_object_suite):
4870 add prototype for gst_caps_is_equal_fixed
4872 * gst/gstregistrypool.c:
4875 2005-08-24 Andy Wingo <wingo@pobox.com>
4877 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4878 convert a negative value. Doesn't make much sense. Mostly this is
4879 here to force callers to ensure -1 maps to -1.
4881 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4883 * docs/pwg/advanced-types.xml:
4884 Well done to Michael for catching my deliberate introduction
4885 of this spelling mistake.
4886 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4888 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4889 unlink pads before removing the element from the bin.
4891 2005-08-24 Andy Wingo <wingo@pobox.com>
4893 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4894 the same thing as GST_DEBUG=*:4.
4895 (parse_debug_level, parse_debug_category): New helper parsers.
4897 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4899 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4900 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4901 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4902 (gst_base_transform_buffer_alloc),
4903 (gst_base_transform_handle_buffer):
4904 use gboolean return values and pointers to size so we can use the
4905 full GST_BUFFER_SIZE range (guint) for buffer sizes
4906 use GstPadDirection for transform_caps
4907 * gst/base/gstbasetransform.h:
4908 rename get_size to get_unit_size since that's what it is
4909 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4910 use GstPadDirection for transform_caps
4911 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4913 cleanup and debugging
4915 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4917 * gst/gstelement.c: (gst_element_class_init),
4918 (gst_element_set_state), (activate_pads),
4919 (gst_element_save_thyself):
4920 * tools/gst-compprep.c: (main):
4921 * tools/gst-inspect.c: (print_element_properties_info):
4922 * tools/gst-xmlinspect.c: (print_element_properties):
4923 Fixed long standing mem-leak
4925 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4927 * check/gst/gstbin.c: (GST_START_TEST):
4928 * gst/gstbin.c: (bin_bus_handler):
4929 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4930 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4931 (gst_message_new_warning), (gst_message_new_tag),
4932 (gst_message_new_state_changed), (gst_message_new_segment_start),
4933 (gst_message_new_segment_done), (gst_message_new_custom):
4935 * tools/gst-launch.c: (event_loop):
4936 * tools/gst-md5sum.c: (event_loop):
4937 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4938 that applications can sensibly post custom messages with references
4939 to their own objects.
4941 2005-08-24 Andy Wingo <wingo@pobox.com>
4943 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4946 2005-08-24 Wim Taymans <wim@fluendo.com>
4948 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4949 (gst_base_transform_transform_caps),
4950 (gst_base_transform_transform_size),
4951 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4952 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4953 (gst_base_transform_handle_buffer):
4954 * gst/base/gstbasetransform.h:
4955 Many fixes and new features added by Thomas. Can now also do
4956 transforms with variable sizes and a custom fixate_caps function.
4958 2005-08-24 Wim Taymans <wim@fluendo.com>
4960 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4964 Cast to ClockTime before formatting to time.
4969 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4971 * check/gst-libs/controller.c: (GST_START_TEST),
4972 (gst_controller_suite):
4973 * docs/gst/tmpl/gstcaps.sgml:
4974 * docs/gst/tmpl/gstghostpad.sgml:
4975 * docs/gst/tmpl/gstquery.sgml:
4976 * docs/gst/tmpl/gstutils.sgml:
4977 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4978 (gst_object_sink_values), (gst_object_get_value_arrays),
4979 (gst_object_get_value_array):
4980 gracefully handle helper method calls to objects that are not beeing
4981 controlled, added test case for that
4983 2005-08-23 Wim Taymans <wim@fluendo.com>
4985 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4986 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4987 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4988 (gst_event_parse_qos), (gst_event_new_seek),
4989 (gst_event_parse_seek):
4991 Some more debugging output and doc cleanups.
4993 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4994 Fix possible deadlock.
4996 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4998 * docs/gst/gstreamer-docs.sgml:
4999 * docs/gst/gstreamer-sections.txt:
5000 * docs/gst/gstreamer.types:
5001 * docs/gst/tmpl/.cvsignore:
5006 added 100 symbols from gstreamer-unused.txt to the right sections
5007 fixed more broken comments
5008 added GstBus to docs
5010 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5012 * docs/gst/gstreamer-sections.txt:
5013 * docs/gst/tmpl/.cvsignore:
5014 * docs/gst/tmpl/gstbin.sgml:
5015 * docs/gst/tmpl/gstbuffer.sgml:
5016 * gst/base/gstbasesrc.c:
5017 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5020 * tools/gst-launch.1.in:
5021 inlined more doc comments, added missing comments and fixed comments
5024 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5026 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5030 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5032 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5033 * gst/gststructure.h:
5034 add a fixate function for booleans; add a FIXME that these func
5035 names should probably be gst_structure_fixate_*
5037 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5039 * docs/gst/gstreamer-docs.sgml:
5040 * docs/gst/gstreamer-sections.txt:
5042 * gst/gstbin.c: (gst_bin_get_type),
5043 (gst_bin_child_proxy_get_child_by_index),
5044 (gst_bin_child_proxy_get_children_count),
5045 (gst_bin_child_proxy_init):
5046 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5047 (gst_child_proxy_get_child_by_index),
5048 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5049 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5050 (gst_child_proxy_get), (gst_child_proxy_set_property),
5051 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5052 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5053 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5054 * gst/gstchildproxy.h:
5055 * gst/parse/grammar.y:
5056 * tools/gst-inspect.c: (print_interfaces),
5057 (print_element_properties_info), (print_element_info):
5058 ported gstchildproxy over from 0.8
5059 ported gst-inspect fixes and enhancements over from 0.8
5061 2005-08-22 Wim Taymans <wim@fluendo.com>
5063 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5064 (gst_base_transform_handle_buffer):
5065 Also call the transform function if we have ANY caps.
5067 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5070 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5072 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5073 Don't pretend to handle seek events if the source is not seekable
5075 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5078 Remove extra parameter to debug output
5080 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5081 (gst_base_src_do_seek), (gst_base_src_activate_push):
5082 Fix seek event handling.
5084 * gst/gstpipeline.c: (gst_pipeline_change_state):
5085 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5086 (gst_queue_src_activate_push):
5087 Don't start the src pad task on FLUSH_STOP if the pad
5091 2005-08-22 Wim Taymans <wim@fluendo.com>
5093 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5094 Added check for gst_static_caps_get() refcounting.
5096 2005-08-22 Wim Taymans <wim@fluendo.com>
5098 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5099 Make _static_caps_get() refcounting sane.
5101 * gst/gstelement.c: (gst_element_set_state):
5102 Add g_return_val_if_fail() to protect against segfaults.
5104 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5106 * docs/gst/tmpl/gstevent.sgml:
5109 inlined remaining docs, added missing doc comments
5111 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5113 * check/gst/gstbin.c: (GST_START_TEST):
5114 since we don't know when preroll is done, use refcount range
5116 * gst/check/gstcheck.h:
5117 add macro for checking refcount range
5119 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5121 * check/Makefile.am:
5122 clean up environment for when registry gets built versus
5123 when actual tests are run; valgrind seems to not report
5124 leaks if GST_PLUGIN_PATH is set to some specific values
5125 * check/gst/gstbin.c: (GST_START_TEST):
5126 add more refcounting checks; maybe this exposes a
5129 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5130 * gst/check/gstcheck.h:
5131 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5132 (gst_bin_change_state):
5133 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5134 add/fix debugging/whitespace
5136 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5138 * check/gst/gstevent.c: (event_probe), (test_event),
5140 Er, don't call gst_bin_watch_for_state_change you idiot.
5142 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5144 * check/Makefile.am:
5145 Use CHECK_CFLAGS and CHECK_LIBS
5146 * check/gst/gstevent.c: (event_probe), (test_event),
5149 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5150 (gst_base_src_start), (gst_base_src_stop),
5151 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5152 (gst_base_src_change_state):
5153 Sprinkle gst_base_src_stop liberally around error paths to fix
5154 problems reusing a source after failed state changes.
5155 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5156 (helper_find_suggest), (gst_type_find_helper):
5157 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5159 * docs/gst/tmpl/gstevent.sgml:
5160 Migrate part of the docs from the SGML file. Wait for ensonic to
5161 tell me how I did it wrong ;)
5162 * tools/gst-typefind.c: (main):
5163 Extra robustness to state changes between files.
5165 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5167 * check/Makefile.am:
5168 don't valgrind the controller test - it's leaking - Stefan, HELP
5169 * gst/check/gstcheck.c: (gst_check_message_error),
5170 (gst_check_chain_func), (gst_check_setup_element),
5171 (gst_check_teardown_element), (gst_check_setup_src_pad),
5172 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5173 (gst_check_teardown_sink_pad):
5174 * gst/check/gstcheck.h:
5175 add a bunch of methods to set up elements, and src and sink pads
5176 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5177 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5182 whitespace/doc fixes
5184 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5187 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5188 be handled by the application and not always printed as well
5190 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5192 * check/Makefile.am:
5194 * gst/check/gstcheck.c: (gst_check_message_error):
5195 * gst/check/gstcheck.h:
5196 add a fail_unless_equals_int
5197 add fail_unless for error messages
5199 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5201 * check/Makefile.am:
5203 * common/Makefile.am:
5206 factor out some of the common stuff so we can use it
5208 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5210 * check/Makefile.am:
5211 * check/gst/gstiterator.c: (GST_START_TEST):
5212 * check/gst/gstsystemclock.c: (GST_START_TEST),
5213 (gst_systemclock_suite):
5214 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5218 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5220 * check/elements/.cvsignore:
5221 * check/elements/gstfakesrc.c:
5222 rename to name of element
5223 * check/elements/identity.c: (chain_func), (event_func),
5224 (setup_identity), (cleanup_identity), (GST_START_TEST),
5225 (identity_suite), (main):
5226 add a test for identity
5227 * check/Makefile.am:
5228 * pkgconfig/Makefile.am:
5229 * pkgconfig/gstreamer-check.pc.in:
5230 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5234 move the check stuff to a library that gets installed
5235 * check/gst-libs/controller.c: (GST_START_TEST):
5236 * check/gst-libs/gdp.c:
5237 * check/gst/gst.c: (GST_START_TEST):
5238 * check/gst/gstbin.c:
5239 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5240 * check/gst/gstbus.c:
5241 * check/gst/gstcaps.c: (GST_START_TEST):
5242 * check/gst/gstelement.c:
5243 * check/gst/gstghostpad.c:
5244 * check/gst/gstiterator.c:
5245 * check/gst/gstmessage.c:
5246 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5247 * check/gst/gstobject.c:
5248 * check/gst/gstpad.c: (GST_START_TEST):
5249 * check/gst/gststructure.c: (GST_START_TEST):
5250 * check/gst/gstsystemclock.c: (GST_START_TEST),
5251 (gst_systemclock_suite):
5252 * check/gst/gsttag.c: (gst_tag_suite):
5253 * check/gst/gstvalue.c:
5254 * check/pipelines/cleanup.c:
5255 * check/pipelines/simple_launch_lines.c:
5256 * check/states/sinks.c:
5257 change include statement
5259 * docs/gst/gstreamer-sections.txt:
5260 * docs/gst/tmpl/gstpad.sgml:
5261 document more pad stuff
5262 * gst/gstminiobject.c: (gst_mini_object_ref),
5263 (gst_mini_object_unref):
5266 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5268 * docs/gst/tmpl/gst.sgml:
5270 eliminate another tmpl file, fix spelling in the long-description
5272 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5274 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5275 (test_event), (timediff), (gstevents_suite):
5276 Should fix build on 64-bit arch's
5278 2005-08-18 Andy Wingo <wingo@pobox.com>
5280 Make sure that when a pipeline goes to PLAYING, that data has
5281 actually hit the sink.
5283 * check/states/sinks.c (test_sink): A sink that doesn't get any
5284 data shouldn't return SUCCESS for going to either PLAYING or
5285 PAUSED. Test also the return values on the way back down.
5287 * gst/gstelement.c (gst_element_set_state): When changing the
5288 state of an element currently changing state asynchronously, go to
5289 lost-state after commiting the pending state. Makes future calls
5290 to get_state continue to return ASYNC.
5292 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5293 ASYNC when going to PLAYING if we still don't have preroll, as can
5294 happen with live sources.
5296 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5298 * docs/pwg/advanced-types.xml:
5299 Hack long paragraph into 2 chunks as a workaround for buggy
5300 jadetex version in sid and breezy that loops infinitely and
5303 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5305 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5306 (test_event), (timediff), (gstevents_suite):
5307 Provide more error margin in clock measurements to allow for
5308 g_get_current_time inaccuracies.
5310 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5312 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5313 (test_event), (timediff), (gstevents_suite):
5314 Fix error message output so I might be able to tell why the
5315 test works here but fails on the build farm.
5317 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5319 * check/Makefile.am:
5320 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5321 (test_event), (timediff), (gstevents_suite), (main):
5324 * docs/design/part-seeking.txt:
5327 * docs/gst/tmpl/gstevent.sgml:
5328 * docs/gst/tmpl/gstfakesrc.sgml:
5331 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5332 Treat a buffer-without-newsegment the same as a receiving
5333 a newsegment not in time format, and disable syncing to the clock
5336 * gst/gstbus.c: (gst_bus_set_sync_handler):
5337 Assert if anyone tries to replace the existing sync_handler for bus,
5338 as only the owner should be setting it.
5341 Have a fixed set of custom event enums with events identified by
5342 their structure name (as in 0.8), rather than a free-for-all
5343 allowing collisions between enum values from different plugins.
5345 * gst/gstpad.c: (gst_pad_class_init):
5348 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5349 Handle out-of-band downstream events from the sending thread.
5351 2005-08-17 Andy Wingo <wingo@pobox.com>
5353 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5354 play-timeout==0 to mean no timeout at all. In that case, don't
5355 bother with a get_state or a warning, just return directly, even
5358 * gst/base/gstbasetransform.c: Debug changes.
5361 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5362 ensure bins post state change messages. A bit of a hack but I can't
5363 think of a way to avoid it.
5365 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5367 2005-08-16 Andy Wingo <wingo@pobox.com>
5369 * gst/base/gstadapter.h:
5370 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5371 peek() but you own the data. Not terribly efficient atm.
5373 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5375 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5376 (gst_element_found_tags):
5378 Add two utility functions for tag handling.
5380 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5382 * docs/manual/advanced-dataaccess.xml:
5383 * docs/manual/basics-helloworld.xml:
5384 Fix docs to use _bin_add() before _link(), which fixes the examples
5385 with recent core versions (reported by Madhan Raj M
5386 <raj_madan@rediffmail.com>, #313199).
5388 2005-08-16 Wim Taymans <wim@fluendo.com>
5390 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5391 Added subtract checks.
5393 * docs/design/part-events.txt:
5394 Some more docs about newsegment
5396 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5399 * gst/gstcaps.c: (gst_caps_to_string):
5400 Add comments, cleanups.
5402 * gst/gstelement.c: (gst_element_save_thyself):
5405 * gst/gstvalue.c: (gst_value_collect_int_range),
5406 (gst_string_unwrap), (gst_value_union_int_int_range),
5407 (gst_value_union_int_range_int_range),
5408 (gst_value_intersect_int_int_range),
5409 (gst_value_intersect_int_range_int_range),
5410 (gst_value_intersect_double_double_range),
5411 (gst_value_intersect_double_range_double_range),
5412 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5413 (gst_value_subtract_int_range_int),
5414 (gst_value_subtract_double_range_double),
5415 (gst_value_subtract_double_range_double_range),
5416 (gst_value_subtract_from_list), (gst_value_subtract_list),
5417 (gst_value_can_compare), (gst_value_compare_fraction):
5418 Cleanups, add comments, remove unneeded asserts.
5420 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5422 * tools/gst-launch.c: (event_loop):
5423 don't convert NULL structures to strings
5425 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5427 * docs/gst/gstreamer-sections.txt:
5428 made some defines private
5429 * docs/gst/tmpl/gstconfig.sgml:
5430 * docs/gst/tmpl/gstqueue.sgml:
5431 * docs/gst/tmpl/gsttaglist.sgml:
5432 * docs/gst/tmpl/gsttypes.sgml:
5433 * docs/gst/tmpl/gstutils.sgml:
5434 * docs/pwg/appendix-porting.xml:
5435 * gst/base/gstbasesink.h:
5436 * gst/base/gstbasesrc.c:
5437 * gst/base/gstbasesrc.h:
5438 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5439 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5440 * gst/gstelement.c: (gst_element_class_init):
5441 * gst/gstpad.c: (gst_pad_class_init):
5442 * gst/gstqueue.c: (gst_queue_class_init):
5443 * gst/gstxml.c: (gst_xml_class_init):
5444 documented all undocumented signal inline
5445 * libs/gst/controller/gst-controller.h:
5448 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5450 * docs/pwg/appendix-porting.xml:
5451 Document _set_link_function -> _set_setcaps_function.
5453 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5455 * check/Makefile.am:
5456 add a .check target for running the check
5457 * check/gst-libs/controller.c: (GST_START_TEST):
5459 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5460 complete checks for gstbuffer; would be nice if I could get the
5461 gcov stuff to work so I can see if I actually completed gstbuffer.c
5463 add ASSERT_BUFFER_REFCOUNT
5465 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5467 * docs/gst/gstreamer-sections.txt:
5468 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5470 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5471 spew out a warning if a tag that is already registered
5472 is re-registered, unless it is re-registered with a
5473 different type (#308438).
5475 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5477 * docs/pwg/appendix-porting.xml:
5478 * docs/pwg/building-state.xml:
5479 Add some paragraphs about state changes in 0.9 to the PWG
5480 and the porting guide, in particular about the new meaning
5481 of GST_STATE_PAUSED and how to write state change functions
5482 with concurrent access by multiple threads in mind.
5484 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5486 * docs/gst/gstreamer-docs.sgml:
5487 * docs/libs/gstreamer-libs-docs.sgml:
5488 added deprecation and since indexes
5489 * libs/gst/controller/gst-controller.c:
5490 * libs/gst/controller/gst-helper.c:
5494 2005-08-11 Wim Taymans <wim@fluendo.com>
5496 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5497 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5498 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5499 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5500 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5501 (gst_ghost_pad_set_target):
5502 Actually implement (re)setting the target on a ghostpad
5503 as described in the docs.
5505 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5507 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5508 Check whether GST_DEBUG_NO_COLOR environment variable is
5509 set and disable coloured debug output if that is the case.
5511 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5513 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5514 (gst_type_find_helper):
5515 The memory returned by gst_type_find_peek() needs to
5516 stay valid until the end of a typefind function, and
5517 typefind functions may keep results from different
5518 offsets around, so we can't just unref the buffer from
5519 the previous _peek(), but have to save all buffers
5520 returned by _peek() until typefinding is done and only
5523 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5525 * docs/gst/gstreamer-sections.txt:
5527 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5529 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5531 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5532 Fix a pretty good memleak.
5534 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5536 * gst/gstiterator.h:
5537 Fix wrong include and 'make distcheck'.
5539 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5541 * gst/gstbin.c: (bin_bus_handler):
5542 Use gst_element_post_message() instead.
5544 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5546 * gst/base/gstadapter.h:
5547 * gst/base/gstbasesink.h:
5548 * gst/base/gstbasesrc.h:
5549 * gst/base/gstbasetransform.h:
5550 * gst/base/gstcollectpads.h:
5551 * gst/base/gstpushsrc.h:
5552 * gst/gstiterator.h:
5553 Add padding to our base elements' class and instance structs and
5554 to GstIterator (you will need to rebuild all plugins and apps!)
5556 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5558 * gst/gstbin.c: (bin_bus_handler):
5559 Make default message forwarding from child->bus to bin->bus
5560 threadsafe and make it not emit warnings if the parent has no bus.
5562 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5564 * gst/gstelement.c: (activate_pads):
5565 On paused->ready, set pad->caps to NULL, as is the documented
5566 behaviour in this state change. Fixes playback of series of
5567 media files when visualization is enabled in Totem.
5569 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5571 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5572 Allow NULL as filter-caps (which means "any").
5574 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5576 * docs/libs/gstreamer-libs-sections.txt:
5577 * libs/gst/controller/gst-controller.c:
5578 * libs/gst/controller/gst-controller.h:
5579 * libs/gst/controller/gst-helper.c:
5580 adding more entries to the docs and fix small doc-bugs
5582 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5584 * docs/gst/gstreamer-docs.sgml:
5585 * docs/gst/gstreamer-sections.txt:
5586 * docs/gst/gstreamer.types:
5587 * docs/gst/tmpl/gstbasesink.sgml:
5588 * docs/gst/tmpl/gstbasesrc.sgml:
5589 * docs/gst/tmpl/gstbasetransform.sgml:
5590 * docs/gst/tmpl/gstfakesrc.sgml:
5591 * gst/base/gstcollectpads.c:
5592 * gst/base/gstcollectpads.h:
5593 * libs/gst/controller/gst-controller.c:
5594 * libs/gst/controller/gst-controller.h:
5595 * libs/gst/controller/gst-helper.c:
5596 * libs/gst/controller/gst-interpolation.c:
5597 * libs/gst/controller/lib.c:
5598 added long/short desc for controller docs
5599 added collectpads base class docs
5600 added correct includes to base-class docs
5602 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5604 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5605 (gst_test_mono_source_set_property),
5606 (gst_test_mono_source_class_init), (GST_START_TEST),
5607 (gst_controller_suite):
5608 * docs/gst/gstreamer-docs.sgml:
5609 * docs/gst/gstreamer-sections.txt:
5610 * docs/gst/gstreamer.types:
5611 * docs/libs/gstreamer-libs-docs.sgml:
5612 * docs/libs/gstreamer-libs-sections.txt:
5613 * gst/base/gstadapter.c:
5614 * libs/gst/controller/gst-controller.c:
5615 (gst_controlled_property_new), (gst_controlled_property_free),
5616 (gst_controller_new_valist),
5617 (gst_controller_remove_properties_valist),
5618 (gst_controller_sink_values), (_gst_controller_finalize):
5619 * libs/gst/controller/gst-controller.h:
5620 * libs/gst/controller/gst-helper.c:
5621 (gst_object_control_properties), (gst_object_uncontrol_properties),
5622 (gst_object_get_controller), (gst_object_set_controller),
5623 (gst_object_sink_values), (gst_object_get_value_arrays),
5624 (gst_object_get_value_array):
5625 more tests (and fixes) for the controller
5626 more docs for the controller
5627 integrated companies docs for the adapter
5629 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5631 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5632 (GST_START_TEST), (fakesrc_suite):
5633 add tests for sizetype
5635 2005-08-04 Andy Wingo <wingo@pobox.com>
5637 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5638 fixes buffer_alloc proxying among other things.
5640 * gst/base/gstbasetransform.c:
5641 * gst/base/gstbasetransform.h:
5642 Revert patch to gstbasetransform from 7-28 removing
5645 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5646 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5647 Semantics changed, should return not the size of the output buffer
5648 but the byte size of a buffer with a given caps.
5650 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5652 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5653 out) are not the pad caps until setcaps finishes.
5654 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5655 not-in-place case as well. Deal with changing from in-place to
5656 not-in-place within calling pad_alloc_buffer. Still a bit
5657 concerned about the overhead here...
5659 2005-08-03 Andy Wingo <wingo@pobox.com>
5661 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5662 fixating is an error.
5664 2005-08-04 Edward Hervey <edward@fluendo.com>
5666 * gst/base/gstadapter.h:
5667 Added gst_adapter_get_type() to the header
5669 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5671 * check/Makefile.am:
5672 * check/gst-libs/controller.c:
5673 * libs/gst/controller/gst-controller.c:
5674 (gst_controller_new_valist):
5675 added check test suite for the controller
5676 * gst/base/gstpushsrc.c:
5679 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5681 * docs/gst/Makefile.am:
5682 * docs/gst/gstreamer-docs.sgml:
5683 * docs/gst/gstreamer-sections.txt:
5684 * docs/gst/gstreamer.types:
5685 * docs/gst/tmpl/gstfakesrc.sgml:
5687 * gst/base/gstbasesink.c:
5688 * gst/base/gstbasesink.h:
5689 * gst/base/gstbasesrc.c:
5690 * gst/base/gstbasesrc.h:
5691 * gst/base/gstbasetransform.c:
5692 * gst/base/gstpushsrc.c:
5693 * gst/base/gstpushsrc.h:
5694 add short/long description docs to base classes
5695 add pushsrc to the docs
5696 remove consolidated doc fragments
5698 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5701 * docs/libs/Makefile.am:
5702 * docs/libs/gstreamer-libs-docs.sgml:
5703 * docs/libs/gstreamer-libs-sections.txt:
5704 * docs/libs/gstreamer-libs.types:
5705 * examples/Makefile.am:
5706 * examples/controller/.cvsignore:
5707 * examples/controller/Makefile.am:
5708 * examples/controller/audio-example.c: (main):
5709 * libs/gst/Makefile.am:
5710 * libs/gst/controller/.cvsignore:
5711 * libs/gst/controller/Makefile.am:
5712 * libs/gst/controller/gst-controller.c:
5713 (on_object_controlled_property_changed), (gst_timed_value_compare),
5714 (gst_timed_value_find),
5715 (gst_controlled_property_set_interpolation_mode),
5716 (gst_controlled_property_new), (gst_controlled_property_free),
5717 (gst_controller_find_controlled_property),
5718 (gst_controller_new_valist), (gst_controller_new),
5719 (gst_controller_remove_properties_valist),
5720 (gst_controller_remove_properties), (gst_controller_set),
5721 (gst_controller_set_from_list), (gst_controller_unset),
5722 (gst_controller_get), (gst_controller_get_all),
5723 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5724 (gst_controller_get_value_array),
5725 (gst_controller_set_interpolation_mode),
5726 (_gst_controller_finalize), (_gst_controller_init),
5727 (_gst_controller_class_init), (gst_controller_get_type):
5728 * libs/gst/controller/gst-controller.h:
5729 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5730 (g_object_uncontrol_properties), (g_object_get_controller),
5731 (g_object_set_controller), (g_object_sink_values),
5732 (g_object_get_value_arrays), (g_object_get_value_array):
5733 * libs/gst/controller/gst-interpolation.c:
5734 (gst_controlled_property_find_timed_value_node),
5735 (interpolate_none_get), (interpolate_trigger_get),
5736 (interpolate_trigger_get_value_array):
5737 * libs/gst/controller/lib.c: (gst_controller_init):
5738 * pkgconfig/Makefile.am:
5739 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5740 * pkgconfig/gstreamer-control.pc.in:
5741 * testsuite/Makefile.am:
5742 * testsuite/controller/.cvsignore:
5743 * testsuite/controller/Makefile.am:
5744 * testsuite/controller/interpolator.c: (main):
5745 added controller code
5746 removed dparam pc files
5748 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5749 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5750 (gst_collectpads_stop):
5751 Broadcast the condition when shutting down, to make sure we wake all
5752 threads up. Shut down pads on finalize, for safety.
5754 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5755 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5756 (gst_base_transform_handle_buffer),
5757 (gst_base_transform_change_state):
5758 Handle PAUSED->READY->PAUSED transition after negotiation
5760 * gst/gstmessage.c: (gst_message_init):
5761 Extra piece of debug for new messages.
5763 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5766 * docs/gst/tmpl/gstbasesrc.sgml:
5767 * docs/gst/tmpl/gstelement.sgml:
5768 * docs/gst/tmpl/gstevent.sgml:
5769 * docs/gst/tmpl/gstfakesrc.sgml:
5770 * docs/gst/tmpl/gstformat.sgml:
5771 * docs/gst/tmpl/gstghostpad.sgml:
5772 * docs/gst/tmpl/gstpad.sgml:
5773 * docs/gst/tmpl/gstquery.sgml:
5774 * docs/gst/tmpl/gststructure.sgml:
5775 * docs/gst/tmpl/gsttaglist.sgml:
5776 * docs/gst/tmpl/gstvalue.sgml:
5777 * docs/libs/gstreamer-libs-docs.sgml:
5778 * docs/libs/gstreamer-libs-sections.txt:
5779 * docs/libs/gstreamer-libs.types:
5780 * libs/gst/Makefile.am:
5781 * libs/gst/control/.cvsignore:
5782 * libs/gst/control/Makefile.am:
5783 * libs/gst/control/control.c:
5784 * libs/gst/control/control.h:
5785 * libs/gst/control/dparam.c:
5786 * libs/gst/control/dparam.h:
5787 * libs/gst/control/dparam_smooth.c:
5788 * libs/gst/control/dparam_smooth.h:
5789 * libs/gst/control/dparamcommon.h:
5790 * libs/gst/control/dparammanager.c:
5791 * libs/gst/control/dparammanager.h:
5792 * libs/gst/control/dplinearinterp.c:
5793 * libs/gst/control/dplinearinterp.h:
5794 * libs/gst/control/unitconvert.c:
5795 * libs/gst/control/unitconvert.h:
5796 * testsuite/Makefile.am:
5797 * testsuite/dynparams/.cvsignore:
5798 * testsuite/dynparams/Makefile.am:
5799 * testsuite/dynparams/dparamstest.c:
5800 * tools/Makefile.am:
5801 * tools/gst-inspect.c: (print_element_info), (main):
5802 * tools/gst-xmlinspect.c: (print_element_info), (main):
5803 deactivate and remove dparams (libgstcontrol)
5805 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5807 * gst/elements/gsttypefindelement.c:
5808 (gst_type_find_element_have_type), (gst_type_find_element_init),
5809 (stop_typefinding), (gst_type_find_element_handle_event),
5810 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5811 * gst/elements/gsttypefindelement.h:
5812 Set caps on all outgoing buffers, not just the first one.
5814 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5816 * gst/elements/gsttypefindelement.c:
5817 (gst_type_find_element_have_type),
5818 (gst_type_find_element_check_set_buffer_caps),
5819 (gst_type_find_element_init), (stop_typefinding),
5820 (gst_type_find_element_handle_event),
5821 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5822 * gst/elements/gsttypefindelement.h:
5823 Set caps on first outgoing buffer when we've found the type.
5825 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5827 * docs/gst/gstreamer-docs.sgml:
5828 * docs/gst/gstreamer-sections.txt:
5829 * docs/gst/tmpl/gstscheduler.sgml:
5830 * docs/gst/tmpl/gstschedulerfactory.sgml:
5831 Remove some old cruft from docs.
5833 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5836 Fix inline docs for GstPadLinkReturn.
5838 * gst/gststructure.c: (gst_structure_has_name):
5839 * gst/gststructure.h:
5840 * docs/gst/gstreamer-sections.txt:
5841 New API: gst_structure_has_name().
5843 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5846 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5847 and _LARGEFILE_SOURCE in config.h as required. Do not
5848 export those flags in our .pc files any longer (#142209).
5850 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5852 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5853 (gst_file_sink_do_seek), (gst_file_sink_event),
5854 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5855 Redo seek/tell calls with large file support in mind; add some
5856 debugging messages; add log message that tells us when large
5857 file support is unavailable or not enabled for some reason.
5859 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5860 Add log message that tells us when large file support
5861 is unavailable or not enabled for some reason.
5863 2005-07-29 Wim Taymans <wim@fluendo.com>
5865 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5866 Added test for removing an element with ghostpad from a bin.
5867 Fixed test as current implementation does the right thing.
5869 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5870 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5871 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5872 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5873 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5874 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5875 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5876 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5877 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5878 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5879 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5880 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5881 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5882 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5883 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5884 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5885 * gst/gstghostpad.h:
5886 Clean up ghostpads, remove properties for internal stuff.
5889 Prepare for switching targets, not all use cases work yet.
5891 2005-07-29 Wim Taymans <wim@fluendo.com>
5893 * docs/design/part-gstghostpad.txt:
5896 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5897 (gst_bin_remove_func):
5898 Unlinking pads while holding the bin LOCK is not a good
5901 * gst/gstpad.c: (gst_pad_class_init),
5902 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5903 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5904 No prob setting template after creating the pad.
5906 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5908 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5909 (gst_bus_peek), (gst_bus_source_dispatch),
5910 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5911 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5912 gst_bus_poll may be called from other threads. Handle
5913 this nicely by not making poll_data disappear off the
5914 stack once gst_bus_poll returns.
5915 gst_bus_peek now increments the refcount on the returned
5918 2005-07-29 Wim Taymans <wim@fluendo.com>
5920 * docs/design/part-gstghostpad.txt:
5921 Overview of current GhostPad datastructures and use
5922 cases for changing the target.
5924 2005-07-28 Wim Taymans <wim@fluendo.com>
5926 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5927 Added checks for hierarchy consistency whan adding linked
5930 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5931 Added check to test element scheduling without bin/pipeline.
5933 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5934 First add elements to bin, then link.
5936 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5937 (gst_bin_remove_func):
5938 Unlink pads from elements added/removed from bin to maintain
5939 hierarchy consistency.
5941 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5943 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5944 (gst_base_transform_handle_buffer):
5945 * gst/base/gstbasetransform.h:
5946 Remove broken delay_configure (fixes renegotiation of software
5947 scaling pipelines); remove some leftover printf()s.
5949 2005-07-28 Wim Taymans <wim@fluendo.com>
5951 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5952 Added some more tests for wrong hierarchy
5954 * docs/design/part-overview.txt:
5957 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5960 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5961 (gst_element_dispose):
5964 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5965 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5966 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5967 (gst_pad_set_caps), (gst_pad_send_event):
5968 Check for correct hierarchy when linking pads. Moving to
5969 strict requirement for ghostpads when linking elements in
5973 Clean ups. Added WRONG_HIERARCHY return value.
5975 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5977 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5978 Better debug if no transform is possible.
5980 2005-07-27 Wim Taymans <wim@fluendo.com>
5982 * docs/random/wtay/network-transp:
5985 2005-07-27 Wim Taymans <wim@fluendo.com>
5987 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5988 (gst_dp_event_from_packet):
5989 Fix serialization of seek events.
5991 2005-07-27 Wim Taymans <wim@fluendo.com>
5993 * check/gst-libs/gdp.c: (GST_START_TEST):
5994 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5995 Fix compilation and fix event serialization.
5997 2005-07-27 Wim Taymans <wim@fluendo.com>
6000 * docs/design/part-TODO.txt:
6001 * docs/design/part-events.txt:
6004 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6005 (gst_base_sink_event), (gst_base_sink_do_sync),
6006 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6007 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6008 (gst_base_src_do_seek), (gst_base_src_event_handler),
6009 (gst_base_src_loop):
6010 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6011 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6012 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6013 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6014 (gst_base_transform_set_passthrough),
6015 (gst_base_transform_is_passthrough):
6016 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6017 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6023 * gst/gstelement.c: (gst_element_seek):
6025 Update gst_element_seek.
6027 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6028 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6029 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6030 (gst_event_new_eos), (gst_event_new_newsegment),
6031 (gst_event_parse_newsegment), (gst_event_new_tag),
6032 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6033 (gst_event_parse_qos), (gst_event_new_seek),
6034 (gst_event_parse_seek), (gst_event_new_navigation):
6036 Make GstEvent use GstStructure. Add parsing code, make sure the
6037 API is sufficiently generic.
6038 Mark possible directions of events and serialization.
6040 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6041 (_gst_message_copy), (gst_message_new_segment_start),
6042 (gst_message_new_segment_done), (gst_message_new_custom),
6043 (gst_message_parse_segment_start),
6044 (gst_message_parse_segment_done):
6047 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6048 (gst_pad_set_caps), (gst_pad_send_event):
6049 Update for new events.
6050 Catch events sent in wrong directions.
6052 * gst/gstqueue.c: (gst_queue_link_src),
6053 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6054 (gst_queue_handle_src_query):
6059 Remove event code from this file.
6061 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6062 (gst_dp_event_from_packet):
6065 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6067 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6068 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6069 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6070 Make debugging actually useful.
6072 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6074 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6075 (gst_pad_fixate_caps):
6076 Implement default fixation once again, so that gst_pad_fixate()
6077 actually does anything at all. This probably needs to be some
6078 sort of a last resort, and use profile-based fixation first, but
6079 since that doesn't exist yet, this is the best we have. Fixes
6080 visualization in Totem.
6082 2005-07-22 Wim Taymans <wim@fluendo.com>
6084 * docs/design/part-events.txt:
6087 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6088 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6089 (gst_base_sink_activate_pull):
6092 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6093 (gst_fake_src_create):
6094 Fix handoff marshall.
6096 * gst/elements/gstidentity.c: (gst_identity_class_init),
6097 (gst_identity_transform_ip):
6098 We're a real inplace element.
6100 * gst/gstbus.c: (gst_bus_post):
6101 Added some comments.
6103 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6104 * tests/muxing/case1.c: (main):
6105 * tests/sched/dynamic-pipeline.c: (main):
6106 * tests/sched/interrupt1.c: (main):
6107 * tests/sched/interrupt2.c: (main):
6108 * tests/sched/interrupt3.c: (main):
6109 * tests/sched/runxml.c: (main):
6110 * tests/sched/sched-stress.c: (main):
6111 * tests/seeking/seeking1.c: (event_received), (main):
6112 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6114 * tests/threadstate/threadstate3.c: (main):
6115 * tests/threadstate/threadstate4.c: (main):
6116 * tests/threadstate/threadstate5.c: (main):
6119 2005-07-21 Wim Taymans <wim@fluendo.com>
6121 * docs/design/part-seeking.txt:
6122 Some small additions.
6124 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6125 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6126 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6127 * gst/base/gstbasesink.h:
6128 discont values are gint64, handle the math correctly.
6130 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6131 Make the basesrc report error if the source pad is not linked.
6133 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6134 (gst_queue_loop), (gst_queue_handle_src_query),
6135 (gst_queue_src_activate_push):
6136 Make queue collect data even if the srcpad is not linked.
6137 Start pushing out data as soon as it is linked.
6139 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6141 Added gst_flow_get_name() to ease error reporting.
6143 2005-07-20 Wim Taymans <wim@fluendo.com>
6145 * gst/gstmessage.c: (gst_message_new_segment_start),
6146 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6147 (gst_message_parse_segment_done):
6149 Added a bunch of messages for advanced seeking.
6151 * gst/parse/grammar.y:
6152 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6153 (gst_dpman_state_changed):
6154 Fix some new-pad -> pad-added signals
6156 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6158 * docs/manual/appendix-porting.xml:
6159 * docs/pwg/appendix-porting.xml:
6160 Document new-pad/state-change signal renames and the FixedList
6163 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6165 * docs/manual/advanced-autoplugging.xml:
6166 * docs/manual/basics-helloworld.xml:
6167 * docs/manual/basics-pads.xml:
6168 * docs/random/ds/0.9-suggested-changes:
6169 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6174 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6175 (gst_structure_parse_array), (gst_structure_parse_value):
6176 * gst/gstvalue.c: (gst_type_is_fixed),
6177 (gst_value_list_prepend_value), (gst_value_list_append_value),
6178 (gst_value_list_get_size), (gst_value_list_get_value),
6179 (gst_value_transform_array_string), (gst_value_serialize_array),
6180 (gst_value_deserialize_array), (gst_value_intersect_array),
6181 (gst_value_is_fixed), (_gst_value_initialize):
6183 GstElement::new-pad -> pad-added, GstElement::state-change ->
6184 state-changed, GstValueFixedList -> GstValueArray, add format and
6185 flags as their own arguments in gst_element_seek() (should improve
6186 "bindeability"), remove function generators since they don't work
6187 under a whole bunch of compilers (they were deprecated already
6190 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6192 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6193 (_gst_debug_register_funcptr):
6195 Fix illegal cast on some platforms (#309253).
6197 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6199 * gst/gstmessage.c: (gst_message_new_custom):
6201 Add _new_custom, make _new_application a macro to _new_custom.
6203 2005-07-20 Wim Taymans <wim@fluendo.com>
6205 * gst/base/gstbasesrc.c: (gst_base_src_init),
6206 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6207 * gst/base/gstbasesrc.h:
6208 Add a gboolean to decide when to push out a discont.
6210 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6211 (gst_queue_loop), (gst_queue_handle_src_query),
6212 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6213 (gst_queue_set_property), (gst_queue_get_property):
6216 * tests/threadstate/threadstate1.c: (main):
6217 Make a thread test compile and run... very silly..
6220 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6222 * docs/manual/appendix-porting.xml:
6223 Mention removal of libgstgconf-0.9.la and existence of gconf
6226 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6228 * docs/pwg/advanced-clock.xml:
6229 * docs/pwg/appendix-porting.xml:
6230 * docs/pwg/intro-preface.xml:
6231 * docs/pwg/other-base.xml:
6232 * docs/pwg/other-manager.xml:
6233 * docs/pwg/other-nton.xml:
6234 * docs/pwg/other-ntoone.xml:
6235 * docs/pwg/other-oneton.xml:
6237 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6238 demuxer), remove n-to-n (was never written), fix some code examples
6239 and links and update the porting section to include all this.
6241 2005-07-19 Wim Taymans <wim@fluendo.com>
6243 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6244 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6245 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6246 (gst_queue_src_activate_push), (gst_queue_change_state),
6247 (gst_queue_get_property):
6249 Propagate GstFlowReturn more intelligently upstream and output
6250 an ERROR/EOS when streaming stopped due to fatal error.
6252 2005-07-19 Wim Taymans <wim@fluendo.com>
6254 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6255 Don't block forever for the state change to complete, the
6256 pipeline already did with a sensible timeout.
6258 2005-07-19 Wim Taymans <wim@fluendo.com>
6260 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6261 Make sure we never call the create function is we
6264 2005-07-19 Andy Wingo <wingo@pobox.com>
6266 * gst/parse/parse.l: Attempt to solve bug #172815.
6268 2005-07-19 Wim Taymans <wim@fluendo.com>
6270 * docs/design/part-clocks.txt:
6271 * docs/design/part-events.txt:
6272 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6274 Only update the seeking values when we are not
6277 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6279 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6280 Oops, ignore the result of gst_pad_push_event here.
6282 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6284 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6285 (gst_base_src_activate_push):
6286 Send discont event from the loop function, as pads
6287 aren't activated yet in the activate_push handler.
6289 * gst/gstbin.c: (bin_bus_handler):
6290 Don't leak element name.
6292 2005-07-18 Andy Wingo <wingo@pobox.com>
6294 * configure.ac: Use AS_LIBTOOL_TAGS.
6296 2005-07-18 Wim Taymans <wim@fluendo.com>
6298 * docs/gst/gstreamer.types:
6299 Remove deleted types.
6301 2005-07-18 Wim Taymans <wim@fluendo.com>
6303 * check/elements/gstfakesrc.c: (GST_START_TEST):
6306 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6307 (init_popt_callback):
6309 * gst/gst_private.h:
6310 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6311 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6314 * gst/gstconfig.h.in:
6315 * gst/gstelement.c: (gst_element_class_init),
6316 (gst_element_set_base_time), (gst_element_get_base_time),
6317 (iterator_fold_with_resync), (gst_element_change_state),
6318 (gst_element_dispose), (gst_element_get_bus):
6320 * gst/gstelementfactory.h:
6321 * gst/gsterror.c: (_gst_core_errors_init):
6324 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6326 * gst/gstinfo.c: (_gst_debug_init):
6327 * gst/gstmessage.c: (_gst_message_copy):
6329 * gst/gstminiobject.h:
6332 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6333 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6336 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6337 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6338 (gst_pipeline_get_last_stream_time):
6339 * gst/gstpipeline.h:
6340 * gst/gstpluginfeature.h:
6342 * gst/gstscheduler.c:
6343 * gst/gstscheduler.h:
6344 * gst/gststructure.h:
6345 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6346 (gst_task_finalize), (gst_task_func), (gst_task_create),
6347 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6348 (gst_task_stop), (gst_task_pause):
6350 * gst/gsttypefind.h:
6352 * gst/registries/gstlibxmlregistry.c: (load_feature),
6353 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6354 * gst/registries/gstxmlregistry.c:
6355 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6356 * gst/schedulers/threadscheduler.c:
6357 * libs/gst/control/dparammanager.h:
6358 * tools/gst-inspect.c: (print_element_list),
6359 (print_plugin_features), (print_element_features):
6360 * tools/gst-xmlinspect.c: (print_element_list),
6361 (print_plugin_info), (main):
6362 Removed plugable schedulers.
6363 Removed Scheduler/Manager from elements.
6364 Removed gsttypes.h, rearranged includes.
6365 Removed dependency pad<->element, element<>pipeline, and
6366 various others, fix includes.
6367 implement gst_pad_get_parent() with gst_object_get_parent()
6368 Make GstTask sefcontained.
6369 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6371 Fix endless loop in iterator_fold_with_resync.
6374 2005-07-18 Wim Taymans <wim@fluendo.com>
6380 2005-07-18 Wim Taymans <wim@fluendo.com>
6385 2005-07-18 Wim Taymans <wim@fluendo.com>
6391 2005-07-18 Wim Taymans <wim@fluendo.com>
6393 * docs/design/part-dynamic.txt:
6394 * docs/design/part-events.txt:
6395 * docs/design/part-seeking.txt:
6396 Some more docs in the works.
6398 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6399 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6400 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6401 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6402 (gst_base_transform_handle_buffer),
6403 (gst_base_transform_sink_activate_push),
6404 (gst_base_transform_src_activate_pull),
6405 (gst_base_transform_set_passthrough),
6406 (gst_base_transform_is_passthrough):
6409 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6412 * gst/gstevent.c: (gst_event_finalize):
6415 * gst/gstutils.c: (gst_element_unlink),
6416 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6417 (gst_pad_proxy_setcaps):
6419 Add _get_parent_element() to get a pads parent as an element.
6421 2005-07-18 Wim Taymans <wim@fluendo.com>
6423 * check/gst/gstbin.c: (GST_START_TEST):
6426 2005-07-18 Wim Taymans <wim@fluendo.com>
6428 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6429 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6430 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6431 (gst_base_sink_event), (gst_base_sink_do_sync),
6432 (gst_base_sink_chain), (gst_base_sink_loop),
6433 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6434 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6436 Fix logic for returning ASYNC when not prerolled.
6438 2005-07-18 Wim Taymans <wim@fluendo.com>
6440 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6441 Fix nasty refcount bug.
6443 2005-07-16 Philippe Khalaf <burger@speedy.org>
6445 * gst/elements/gstfdsrc.c:
6446 * gst/elements/gstfdsrc.h:
6447 * gst/elements/gstelements.c:
6448 * gst/elements/Makefile.am:
6449 Ported fdsrc to 0.9.
6451 2005-07-16 Wim Taymans <wim@fluendo.com>
6453 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6454 (gst_base_sink_do_sync):
6457 2005-07-16 Wim Taymans <wim@fluendo.com>
6459 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6460 (gst_base_sink_event), (gst_base_sink_get_times),
6461 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6462 * gst/base/gstbasesink.h:
6463 Store and use discont values when syncing buffers as described
6466 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6467 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6468 (gst_base_src_activate_push):
6469 Push discont event when starting.
6471 * gst/elements/gstidentity.c: (gst_identity_transform):
6474 * gst/gstbin.c: (gst_bin_change_state):
6475 Small cleanups in base_time distribution.
6477 * gst/gstelement.c: (gst_element_set_base_time),
6478 (gst_element_get_base_time), (gst_element_change_state):
6480 Added methods for the base_time of the element.
6483 * gst/gstpipeline.c: (gst_pipeline_send_event),
6484 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6485 (gst_pipeline_get_last_stream_time):
6486 * gst/gstpipeline.h:
6488 Handle seeking as described in design doc, remove stream_time
6490 Cleanups clock and stream_time selection code. Added accessors
6491 for the stream_time.
6494 2005-07-16 Andy Wingo <wingo@pobox.com>
6496 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6499 2005-07-16 Wim Taymans <wim@fluendo.com>
6501 * check/gst/gstbin.c: (GST_START_TEST):
6502 Make elements silent as the deep_notify refs the
6503 parent, which might make the test fail.
6505 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6506 Don't hold the lock for too long.
6508 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6510 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6511 Don't unref the caps we passed to gst_caps_make_writable() after
6512 passing them. gst_caps_make_writable() will do that for us.
6514 2005-07-15 Andy Wingo <wingo@pobox.com>
6516 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6519 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6520 own marshalling function for the handoff signal. Properly type the
6521 buffer as a buffer. Fixes some warnings. Should do a more general
6523 (gst_identity_class_init): Plug into the right marshaller.
6525 2005-07-15 Wim Taymans <wim@fluendo.com>
6527 * docs/design/part-TODO.txt:
6528 * docs/design/part-clocks.txt:
6529 * docs/design/part-element-sink.txt:
6530 * docs/design/part-events.txt:
6531 * docs/design/part-gstpipeline.txt:
6532 Updated docs, mostly DISCONT related.
6534 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6536 * docs/pwg/building-pads.xml:
6537 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6539 2005-07-15 Andy Wingo <wingo@pobox.com>
6541 * tools/gst-typefind.c: Update, add copyright block.
6543 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6544 Normalize and truncate caps before fixation.
6547 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6548 discards all but the first structure from its argument.
6550 2005-07-15 Wim Taymans <wim@fluendo.com>
6552 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6553 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6554 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6555 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6556 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6557 (gst_base_transform_chain), (gst_base_transform_change_state),
6558 (gst_base_transform_set_passthrough),
6559 (gst_base_transform_is_passthrough):
6560 * gst/base/gstbasetransform.h:
6561 Make passthrough work using the bufferpools.
6562 Changed API a bit, subclasses have to write into a buffer
6563 provided by the base class.
6564 More debug info in nego functions.
6566 * gst/elements/gstidentity.c: (gst_identity_init),
6567 (gst_identity_transform):
6568 Port to new base class.
6570 2005-07-15 Wim Taymans <wim@fluendo.com>
6572 * gst/gstmessage.c: (gst_message_new_state_changed):
6573 * tools/gst-launch.c: (event_loop), (main):
6574 Totally dump messages in -launch with the -m option.
6575 Fix message name for State messages,
6577 2005-07-14 Wim Taymans <wim@fluendo.com>
6579 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6580 Post error messages on errors.
6582 2005-07-14 Wim Taymans <wim@fluendo.com>
6584 * gst/gstcaps.c: (gst_caps_do_simplify):
6588 Define error for stream stopped.
6590 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6591 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6592 Do proper return values.
6594 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6595 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6596 (gst_pad_get_range):
6597 Better return values.
6600 Reorganise return values, add macro to check for fatal errors.
6602 * gst/gstqueue.c: (gst_queue_chain):
6603 Return proper GstFlowReturn values,
6605 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6607 * docs/gst/gstreamer-sections.txt:
6608 * docs/gst/gstreamer.types:
6609 * docs/gst/tmpl/gst.sgml:
6610 * docs/gst/tmpl/gstbasesink.sgml:
6611 * docs/gst/tmpl/gstbasesrc.sgml:
6612 * docs/gst/tmpl/gstbasetransform.sgml:
6613 * docs/gst/tmpl/gstbin.sgml:
6614 * docs/gst/tmpl/gstbuffer.sgml:
6615 * docs/gst/tmpl/gstcaps.sgml:
6616 * docs/gst/tmpl/gstclock.sgml:
6617 * docs/gst/tmpl/gstcompat.sgml:
6618 * docs/gst/tmpl/gstconfig.sgml:
6619 * docs/gst/tmpl/gstelement.sgml:
6620 * docs/gst/tmpl/gstelementdetails.sgml:
6621 * docs/gst/tmpl/gstelementfactory.sgml:
6622 * docs/gst/tmpl/gstenumtypes.sgml:
6623 * docs/gst/tmpl/gsterror.sgml:
6624 * docs/gst/tmpl/gstevent.sgml:
6625 * docs/gst/tmpl/gstfakesink.sgml:
6626 * docs/gst/tmpl/gstfakesrc.sgml:
6627 * docs/gst/tmpl/gstfilesink.sgml:
6628 * docs/gst/tmpl/gstfilesrc.sgml:
6629 * docs/gst/tmpl/gstfilter.sgml:
6630 * docs/gst/tmpl/gstformat.sgml:
6631 * docs/gst/tmpl/gstghostpad.sgml:
6632 * docs/gst/tmpl/gstimplementsinterface.sgml:
6633 * docs/gst/tmpl/gstindex.sgml:
6634 * docs/gst/tmpl/gstindexfactory.sgml:
6635 * docs/gst/tmpl/gstinfo.sgml:
6636 * docs/gst/tmpl/gstiterator.sgml:
6637 * docs/gst/tmpl/gstmacros.sgml:
6638 * docs/gst/tmpl/gstmemchunk.sgml:
6639 * docs/gst/tmpl/gstminiobject.sgml:
6640 * docs/gst/tmpl/gstobject.sgml:
6641 * docs/gst/tmpl/gstpad.sgml:
6642 * docs/gst/tmpl/gstpadtemplate.sgml:
6643 * docs/gst/tmpl/gstparse.sgml:
6644 * docs/gst/tmpl/gstpipeline.sgml:
6645 * docs/gst/tmpl/gstplugin.sgml:
6646 * docs/gst/tmpl/gstpluginfeature.sgml:
6647 * docs/gst/tmpl/gstquery.sgml:
6648 * docs/gst/tmpl/gstqueue.sgml:
6649 * docs/gst/tmpl/gstregistry.sgml:
6650 * docs/gst/tmpl/gstregistrypool.sgml:
6651 * docs/gst/tmpl/gstscheduler.sgml:
6652 * docs/gst/tmpl/gstschedulerfactory.sgml:
6653 * docs/gst/tmpl/gststructure.sgml:
6654 * docs/gst/tmpl/gstsystemclock.sgml:
6655 * docs/gst/tmpl/gsttaglist.sgml:
6656 * docs/gst/tmpl/gsttagsetter.sgml:
6657 * docs/gst/tmpl/gsttrace.sgml:
6658 * docs/gst/tmpl/gsttrashstack.sgml:
6659 * docs/gst/tmpl/gsttypefind.sgml:
6660 * docs/gst/tmpl/gsttypefindfactory.sgml:
6661 * docs/gst/tmpl/gsttypes.sgml:
6662 * docs/gst/tmpl/gsturihandler.sgml:
6663 * docs/gst/tmpl/gsturitype.sgml:
6664 * docs/gst/tmpl/gstutils.sgml:
6665 * docs/gst/tmpl/gstvalue.sgml:
6666 * docs/gst/tmpl/gstversion.sgml:
6667 * docs/gst/tmpl/gstxml.sgml:
6668 * docs/libs/tmpl/gstcontrol.sgml:
6669 * docs/libs/tmpl/gstdataprotocol.sgml:
6670 * docs/libs/tmpl/gstdparam.sgml:
6671 * docs/libs/tmpl/gstdplinint.sgml:
6672 * docs/libs/tmpl/gstdpman.sgml:
6673 * docs/libs/tmpl/gstdpsmooth.sgml:
6674 * docs/libs/tmpl/gstgetbits.sgml:
6675 * docs/libs/tmpl/gstunitconvert.sgml:
6676 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6677 (gst_push_src_base_init), (gst_push_src_class_init),
6678 (gst_push_src_init), (gst_push_src_create):
6679 * gst/base/gstpushsrc.h:
6680 * gst/elements/gstelements.c:
6681 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6682 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6683 (gst_fake_sink_init), (gst_fake_sink_set_property),
6684 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6685 (gst_fake_sink_event), (gst_fake_sink_preroll),
6686 (gst_fake_sink_render), (gst_fake_sink_change_state):
6687 * gst/elements/gstfakesink.h:
6688 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6689 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6690 (gst_fake_src_base_init), (gst_fake_src_class_init),
6691 (gst_fake_src_init), (gst_fake_src_event_handler),
6692 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6693 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6694 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6695 (gst_fake_src_create_buffer), (gst_fake_src_create),
6696 (gst_fake_src_start), (gst_fake_src_stop):
6697 * gst/elements/gstfakesrc.h:
6698 * gst/elements/gstfilesink.c: (_do_init),
6699 (gst_file_sink_base_init), (gst_file_sink_class_init),
6700 (gst_file_sink_init), (gst_file_sink_dispose),
6701 (gst_file_sink_set_location), (gst_file_sink_set_property),
6702 (gst_file_sink_get_property), (gst_file_sink_open_file),
6703 (gst_file_sink_close_file), (gst_file_sink_query),
6704 (gst_file_sink_event), (gst_file_sink_render),
6705 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6706 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6707 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6708 * gst/elements/gstfilesink.h:
6709 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6710 (gst_file_src_class_init), (gst_file_src_init),
6711 (gst_file_src_finalize), (gst_file_src_set_location),
6712 (gst_file_src_set_property), (gst_file_src_get_property),
6713 (gst_file_src_map_region), (gst_file_src_map_small_region),
6714 (gst_file_src_create_mmap), (gst_file_src_create_read),
6715 (gst_file_src_create), (gst_file_src_is_seekable),
6716 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6717 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6718 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6719 (gst_file_src_uri_handler_init):
6720 * gst/elements/gstfilesrc.h:
6721 more autistic cleanliness in functions/names/defines
6723 2005-07-13 Andy Wingo <wingo@pobox.com>
6725 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6726 source couldn't negotiate.
6728 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6732 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6733 function. I am channeling Hades. Put your boots on suckers!!!
6735 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6737 * testsuite/caps/Makefile.am:
6738 * testsuite/caps/value_compare.c:
6739 * testsuite/caps/value_intersect.c:
6740 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6741 move two testsuite apps over to the check dir
6743 2005-07-12 Wim Taymans <wim@fluendo.com>
6745 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6746 Added more debug info in the negotiate process.
6749 Prepare for segment playback.
6751 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6757 * tools/gst-launch.c: (main):
6758 NULL pipeline on errors.
6760 2005-07-12 Andy Wingo <wingo@pobox.com>
6762 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6763 not it comes from a malloc region. Make sure our copy gets freed.
6765 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6767 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6768 * check/gst/gstmessage.c: (GST_START_TEST):
6769 * check/gst/gststructure.c: (GST_START_TEST),
6770 (gst_structure_suite), (main):
6772 * gst/gstelement.c: (gst_element_message_full):
6773 clean up GError and debug string now that they get copied
6774 * gst/gstmessage.c: (gst_message_new_error),
6775 (gst_message_new_warning), (gst_message_parse_error),
6776 (gst_message_parse_warning):
6777 use GST_TYPE_G_ERROR for structure_new, and take copies of
6778 arguments, so that we don't mess up refcounting
6780 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6782 * check/Makefile.am:
6783 add per-test valgrind targets
6784 * check/gst-libs/gdp.c: (GST_START_TEST),
6785 (gst_data_protocol_suite), (main):
6788 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6790 * check/Makefile.am:
6791 instate more valgrindable tests
6792 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6793 (GST_START_TEST), (fakesrc_suite):
6794 * check/gst/gstpad.c: (GST_START_TEST):
6795 * check/gst/gststructure.c: (GST_START_TEST):
6797 * docs/gst/tmpl/gstminiobject.sgml:
6798 * gst/gstpad.c: (gst_pad_finalize):
6799 fix the static mutex leak
6801 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6803 * check/Makefile.am:
6804 add two more tests for valgrinding
6805 * check/gst/gstvalue.c: (GST_START_TEST):
6806 test refcount of deserialized buffer, found a leak
6807 * docs/gst/gstreamer-docs.sgml:
6808 * docs/gst/gstreamer-sections.txt:
6809 * docs/gst/gstreamer.types:
6810 * docs/gst/tmpl/gstminiobject.sgml:
6811 add miniobject to docs
6812 * gst/gstminiobject.c:
6814 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6815 (gst_string_unwrap):
6816 fix a hard-to-find invalid write for one of the tests
6817 fix a leak for deserialized buffers
6819 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6821 * docs/pwg/advanced-events.xml:
6822 * docs/pwg/advanced-request.xml:
6823 * docs/pwg/advanced-scheduling.xml:
6824 * docs/pwg/appendix-porting.xml:
6825 * docs/pwg/building-boiler.xml:
6826 * docs/pwg/intro-preface.xml:
6827 * docs/pwg/other-ntoone.xml:
6828 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6829 of example code and explanation for pad activation, loop() and
6830 getrange() functions and a bit more. Remove old comments pointing
6832 * examples/pwg/Makefile.am:
6833 Add loop/getrange examples.
6835 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6838 check for valgrind binary + some fixes
6840 valgrind suppressions for the tests
6841 * check/Makefile.am:
6842 add a valgrind: target that valgrinds the unit tests
6843 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6844 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6845 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6846 * check/gst/gstghostpad.c:
6848 * check/gst/gstdata.c:
6850 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6851 (thread_unref), (gst_mini_object_suite), (main):
6853 * gst/gst.c: (gst_deinit):
6855 add a method to clean up.
6856 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6857 (gst_system_clock_obtain):
6858 allow for disposing the system clock.
6859 * tools/gst-launch.c: (main):
6862 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6864 * docs/gst/tmpl/gstbasesrc.sgml:
6865 * docs/gst/tmpl/gstfakesrc.sgml:
6866 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6867 (gst_base_src_init), (gst_base_src_set_property),
6868 (gst_base_src_get_property), (gst_base_src_get_range),
6869 (gst_base_src_start):
6870 * gst/base/gstbasesrc.h:
6871 add num-buffers property
6872 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6873 (gst_fakesrc_init), (gst_fakesrc_set_property),
6874 (gst_fakesrc_get_property), (gst_fakesrc_create),
6875 (gst_fakesrc_start):
6876 remove num-buffers property
6878 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6880 * docs/gst/gstreamer-sections.txt:
6881 * docs/gst/tmpl/gstbasesink.sgml:
6882 * docs/gst/tmpl/gstbasesrc.sgml:
6883 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6884 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6885 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6886 (gst_base_sink_set_property), (gst_base_sink_get_property),
6887 (gst_base_sink_handle_object), (gst_base_sink_event),
6888 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6889 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6890 (gst_base_sink_loop), (gst_base_sink_deactivate),
6891 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6892 (gst_base_sink_change_state):
6893 * gst/base/gstbasesink.h:
6894 * gst/base/gstbasesrc.h:
6895 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6896 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6897 (gst_filesink_init):
6898 more macro splitting
6900 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6902 * gst/gstelement.c: (gst_element_get_bus):
6904 * tools/gst-launch.c: (check_intr), (event_loop):
6907 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6909 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6912 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6914 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6915 (gst_base_src_finalize):
6916 add finalize method and clean up properly
6917 * gst/gstpipeline.c: (gst_pipeline_dispose):
6920 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6922 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6924 add more things to check
6925 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6929 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6931 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6932 (GST_START_TEST), (fakesrc_suite):
6933 * check/gst-libs/gdp.c: (GST_START_TEST):
6934 * check/gst/gst.c: (GST_START_TEST):
6935 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6936 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6937 * check/gst/gstbus.c: (GST_START_TEST):
6938 * check/gst/gstcaps.c: (GST_START_TEST):
6939 * check/gst/gstdata.c: (GST_START_TEST):
6940 * check/gst/gstelement.c: (GST_START_TEST):
6941 * check/gst/gstghostpad.c: (GST_START_TEST):
6942 * check/gst/gstiterator.c: (GST_START_TEST):
6943 * check/gst/gstmessage.c: (GST_START_TEST):
6944 * check/gst/gstobject.c: (GST_START_TEST):
6945 * check/gst/gstpad.c: (GST_START_TEST):
6946 * check/gst/gststructure.c: (GST_START_TEST):
6947 * check/gst/gstsystemclock.c: (GST_START_TEST),
6948 (gst_systemclock_suite):
6949 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6950 * check/gst/gstvalue.c: (GST_START_TEST):
6951 * check/pipelines/cleanup.c: (GST_START_TEST):
6952 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6953 * check/states/sinks.c: (GST_START_TEST):
6954 * check/gstcheck.c: (gst_check_init):
6956 add debugging category
6957 use GST_START_TEST now, so we add a debug line
6959 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6961 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6962 add test for state change message on a bin
6963 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6965 * gst/gstbin.c: (gst_bin_init):
6966 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6967 * gst/gstelement.c: (gst_element_post_message),
6968 (gst_element_set_state):
6969 * gst/gstelementfactory.c: (gst_element_factory_create):
6970 * gst/gstmessage.c: (gst_message_new):
6971 * gst/gstscheduler.c:
6972 various debugging additions and cleanups
6974 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6976 * check/Makefile.am:
6977 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6979 adding tests for elements
6980 * gst/gstelement.c: (gst_element_dispose):
6982 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6984 * gst/registries/gstlibxmlregistry.c: (load_feature):
6985 plug more leaks. A simple gst_init() now is leakfree, yay.
6987 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6989 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6990 (gst_xml_registry_load):
6991 plug another memleak
6993 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6996 use GST_SET_ERROR_CFLAGS
6998 change to ERROR_CFLAGS
7000 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7003 make GST_ERROR_CFLAGS overridable and re-enable Werror
7005 add a note about error CFLAGS
7006 * docs/gst/tmpl/gstfakesrc.sgml:
7007 * gst/elements/gstfakesrc.c:
7008 comment out some unused code
7009 * gst/gst.c: (split_and_iterate):
7010 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7014 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7016 * common/Makefile.am:
7017 * common/gtk-doc.mak:
7018 * docs/gst/Makefile.am:
7019 factor out gtk-doc.mak
7021 2005-07-07 Wim Taymans <wim@fluendo.com>
7023 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7024 (gst_thread_scheduler_dispose):
7025 Unlock the STREAM_LOCK completely.
7027 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7029 * check/Makefile.am:
7030 * check/elements/.cvsignore:
7031 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7032 (START_TEST), (fakesrc_suite), (main):
7033 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7034 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7035 (gst_fakesrc_create), (gst_fakesrc_start):
7036 * gst/elements/gstfakesrc.h:
7037 adding a first element test
7039 2005-07-07 Andy Wingo <wingo@pobox.com>
7041 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7044 2005-07-07 Wim Taymans <wim@fluendo.com>
7050 2005-07-07 Wim Taymans <wim@fluendo.com>
7052 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7053 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7054 Allow subclasses to implement their own negotiation.
7056 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7058 * docs/design/part-gstbin.txt:
7059 * docs/design/part-gstpipeline.txt:
7060 Update design notes to reflect the movement of
7061 responsibility for bus handling from GstPipeline to
7064 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7067 Remove unnecessary queue2/3/4 examples.
7069 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7071 * examples/Makefile.am:
7072 * examples/helloworld/helloworld.c: (event_loop), (main):
7073 * examples/queue/queue.c: (event_loop), (main):
7074 * examples/queue2/queue2.c: (main):
7075 Update a couple of the examples to work again.
7077 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7078 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7079 Spelling corrections and extra debug.
7081 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7082 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7083 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7085 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7086 (gst_pipeline_change_state):
7087 * gst/gstpipeline.h:
7088 Move the bus handler for children to the GstBin, and create a
7089 separate bus for receiving messages from children to the one the
7090 bus sends 'upwards' on.
7092 2005-07-06 Wim Taymans <wim@fluendo.com>
7095 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7096 (gst_base_sink_handle_object), (gst_base_sink_loop),
7097 (gst_base_sink_change_state):
7098 * gst/base/gstbasesink.h:
7099 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7100 (gst_base_src_init), (gst_base_src_setcaps),
7101 (gst_base_src_getcaps), (gst_base_src_loop),
7102 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7103 (gst_base_src_start), (gst_base_src_change_state):
7104 * gst/base/gstbasesrc.h:
7105 Make basesrc negotiate.
7106 Handle the case where preroll fails in basesink.
7109 2005-07-06 Wim Taymans <wim@fluendo.com>
7111 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7112 Implement the fixate function.
7113 Clean up acceptcaps.
7115 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7117 * docs/pwg/building-filterfactory.xml:
7119 Remove never-written filter-factory chapter; I'll add the various
7120 base classes to part 4 ("other element types") later on.
7122 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7124 * docs/pwg/advanced-negotiation.xml:
7125 * docs/pwg/building-boiler.xml:
7126 * docs/pwg/building-pads.xml:
7128 * examples/pwg/Makefile.am:
7129 Add a chapter on caps negotiation, simplify the original code
7130 samples a bit w.r.t. caps negotiation, add link to the advanced
7131 section. Add a bunch of examples showing different use cases of
7132 different types of caps negotiation. Upstream renegotiation isn't
7133 fully documented yet since nobody knows how that works.
7135 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7137 * check/gst/gstpad.c:
7139 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7140 if pad has no parent, return NULL as list of internal links
7142 2005-07-05 Andy Wingo <wingo@pobox.com>
7144 * gst/elements/gstfilesrc.c:
7145 * gst/elements/gstfakesrc.c:
7146 * gst/base/gstpushsrc.c:
7147 * gst/base/gstbasesrc.h:
7148 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7150 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7153 better report generation target (lcov needs a patch)
7155 2005-07-05 Andy Wingo <wingo@pobox.com>
7157 * gst/elements, testsuite: Null if we got it...
7159 2005-07-05 Wim Taymans <wim@fluendo.com>
7162 * libs/gst/dataprotocol/Makefile.am:
7163 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7164 * libs/gst/dataprotocol/dataprotocol.h:
7165 * pkgconfig/Makefile.am:
7166 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7167 * pkgconfig/gstreamer-dataprotocol.pc.in:
7168 Ported dataprotol to 0.9.
7169 Added pkgconfig files.
7171 2005-07-05 Andy Wingo <wingo@pobox.com>
7173 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7174 Default to returning TRUE for the case when tranform_caps returns
7175 a fixed caps, like for identity or volume.
7177 * check/gst/gstbus.c (pound_bus_with_messages):
7178 * check/gst/gstmessage.c (START_TEST):
7179 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7182 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7183 logic weaks here: always run transform_caps, trying passthrough
7184 operation only if the original caps intersects with the transform.
7186 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7187 source and sink caps.
7189 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7190 Intersect the peer caps with the pad template before going into
7192 (gst_base_transform_transform_caps): More debugging.
7194 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7197 2005-07-04 Edward Hervey <edward@fluendo.com>
7201 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7204 2005-07-04 Andy Wingo <wingo@pobox.com>
7206 * check/gst/gstpad.c: Only set explicit caps on pads.
7208 2005-07-01 Andy Wingo <wingo@pobox.com>
7210 * tests/network-clock.scm: Commentary update.
7212 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7213 Didn't really make sense, not implementable with basetransform,
7215 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7216 attempt at implementing the sync property, needs an unlock method.
7218 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7219 New func, by default returns the same caps (the identity
7221 (gst_base_transform_getcaps): Uses transform_caps to return
7223 (gst_base_transform_setcaps): Complicated logic to get caps on
7224 both pads, even if they are different, and to call set_caps once
7225 for every time both pads get their caps set.
7226 (gst_base_transform_handle_buffer): Give the ref to the transform
7227 function. Allows in-place modification of the buffer.
7229 * gst/base/gstbasetransform.h (transform_caps): New class method.
7230 Given caps on one side, what can I do on the other.
7231 (set_caps): Take two caps, one for each side of the element.
7234 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7235 caps in place. This is safe because we can check the mutability of
7236 the caps, and a good idea because fixate functions are just called
7237 as a matter of last resort. (Not actually implemented.)
7238 (gst_pad_set_caps): If the caps we're setting is actually the same
7239 as the existing pad caps, just update the pointer without calling
7240 setcaps. Assert that caps is either NULL or fixed, as per the
7243 * gst/gstghostpad.c: Update for fixate changes.
7245 2005-07-02 Andy Wingo <wingo@pobox.com>
7248 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7249 two refcounts makes it immutable, which is enough. Doc more.
7251 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7253 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7254 Put the mini_object into GValue as a mini_object,
7255 not a gpointer, since that's how we declared
7258 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7260 * examples/pwg/Makefile.am:
7263 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7265 * docs/pwg/building-testapp.xml:
7267 * examples/pwg/Makefile.am:
7270 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7273 * examples/Makefile.am:
7274 * examples/pwg/Makefile.am:
7275 * examples/pwg/extract.pl:
7276 Enable building the PWG examples.
7277 * docs/pwg/advanced-interfaces.xml:
7278 Add URI interface stub.
7279 * docs/pwg/advanced-types.xml:
7280 * docs/pwg/other-autoplugger.xml:
7281 * docs/pwg/appendix-porting.xml:
7283 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7284 * docs/pwg/building-boiler.xml:
7285 * docs/pwg/building-chainfn.xml:
7286 * docs/pwg/building-pads.xml:
7287 * docs/pwg/building-props.xml:
7288 * docs/pwg/building-state.xml:
7289 * docs/pwg/building-testapp.xml:
7290 Update the building-*.xml parts for 0.9 changes. All examples
7291 code blocks compile in examples/pwg/*.
7293 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7295 * docs/manual/advanced-autoplugging.xml:
7296 * docs/manual/appendix-checklist.xml:
7297 * docs/manual/appendix-integration.xml:
7298 * docs/manual/highlevel-components.xml:
7299 Fix playbin/decodebin examples, update docs a bit, mention bus
7300 instead of signals in various places, mention kmplayer and
7301 kaffeine since they have a working GStreamer backend in the KDE
7304 2005-06-30 Wim Taymans <wim@fluendo.com>
7307 * docs/design/draft-ghostpads.txt:
7308 * docs/design/draft-push-pull.txt:
7309 * docs/design/draft-query.txt:
7310 * docs/design/part-TODO.txt:
7311 * docs/design/part-query.txt:
7312 Added CHANGES-0.9 doc, updated status of other docs.
7317 2005-06-30 Wim Taymans <wim@fluendo.com>
7319 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7320 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7321 (gst_base_sink_change_state):
7322 * gst/base/gstbasesink.h:
7323 Some tweaks, only EOS and a buffer complete a preroll.
7325 2005-06-30 Andy Wingo <wingo@pobox.com>
7327 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7328 activate_push down to the internal pad as well.
7330 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7332 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7334 * gst/gsttaginterface.c:
7335 Some documentation fixes (#307394 and #307397).
7337 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7339 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7341 * gst/gstvalue.c: (gst_value_intersect_list):
7342 Fix memleak (#309125).
7344 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7346 * docs/manual/advanced-dataaccess.xml:
7347 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7348 * docs/manual/basics-pads.xml:
7349 Add reference for filtered caps to above chapter.
7351 2005-06-30 Wim Taymans <wim@fluendo.com>
7353 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7354 (gst_bin_change_state):
7356 Lame attempt at making the state change function a bit
7359 2005-06-30 Wim Taymans <wim@fluendo.com>
7361 * docs/design/part-clocks.txt:
7362 * docs/design/part-element-sink.txt:
7363 * docs/design/part-events.txt:
7364 * docs/design/part-preroll.txt:
7365 * docs/design/part-states.txt:
7366 Some more tweeks and additions to the docs.
7368 2005-06-30 Wim Taymans <wim@fluendo.com>
7370 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7371 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7372 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7373 (gst_pad_check_pull_range), (gst_pad_get_range),
7374 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7376 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7377 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7378 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7379 (gst_pad_remove_buffer_probe):
7380 Removed atomic operations, use existing LOCK.
7381 Move exception handling out of main code path.
7383 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7385 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7386 (silly_return_true_function), (gst_pad_class_init),
7387 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7388 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7389 (gst_pad_send_event):
7390 Fix accumulator, add default value by using _emitv() instead
7391 of _emit() for signal emission.
7393 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7395 * docs/manual/advanced-dataaccess.xml:
7396 * examples/manual/Makefile.am:
7398 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7401 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7403 * gst/elements/gstfilesink.c: (gst_filesink_render):
7404 Simplify code so that we don't have to handle short
7405 writes and return GST_FLOW_ERROR if an error occured.
7407 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7409 * docs/gst/gstreamer-docs.sgml:
7412 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7414 * docs/gst/gstreamer-sections.txt:
7415 * docs/gst/tmpl/gstpad.sgml:
7416 * docs/gst/tmpl/gstprobe.sgml:
7418 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7419 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7420 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7421 (gst_pad_push_event), (gst_pad_send_event):
7423 * gst/gstutils.c: (gst_pad_add_data_probe),
7424 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7425 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7426 (gst_pad_remove_buffer_probe):
7428 Remove old probes, add new g-signal-based probes and some utility
7431 2005-06-29 Edward Hervey <edward@fluendo.com>
7433 * gst/gstelementfactory.c:
7436 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7437 the definition to the header file.
7439 2005-06-29 Andy Wingo <wingo@pobox.com>
7441 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7442 plugins from the source directory.
7444 2005-06-29 Wim Taymans <wim@fluendo.com>
7446 * docs/gst/tmpl/gstbuffer.sgml:
7447 * docs/gst/tmpl/gstclock.sgml:
7448 Some fixings for blantently wrong text.
7450 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7452 * check/Makefile.am:
7453 * gst/gst.c: (add_path_func), (init_pre):
7454 * gst/gstregistry.c: (gst_registry_add_path):
7455 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7456 only scan the GST_PLUGIN_PATH locations, and not add
7459 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7461 * docs/gst/gstreamer-sections.txt:
7462 * docs/gst/tmpl/gstbasesrc.sgml:
7469 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7471 * docs/manual/advanced-autoplugging.xml:
7472 Fix autoplugging example.
7474 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7476 * docs/manual/advanced-autoplugging.xml:
7477 * docs/manual/mime-world.fig:
7478 Try to get autoplugging working, fix type detection. Fix text
7479 in hello-world image.
7481 2005-06-29 Wim Taymans <wim@fluendo.com>
7483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7484 (gst_base_sink_change_state):
7488 map SIGNAL and BROADCAST to the right function.
7491 Remove redundant braces.
7493 * gst/gstpad.c: (gst_pad_set_caps):
7494 Don't call setcaps function when reseting caps to NULL.
7496 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7497 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7498 (gst_system_clock_id_unschedule):
7499 Use BROADCAST as this is what we do.
7501 2005-06-29 Wim Taymans <wim@fluendo.com>
7503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7504 We are actually prerolling before commiting the state
7507 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7509 * docs/manual/advanced-clocks.xml:
7510 * docs/manual/advanced-interfaces.xml:
7511 * docs/manual/advanced-metadata.xml:
7512 * docs/manual/advanced-position.xml:
7513 * docs/manual/advanced-schedulers.xml:
7514 * docs/manual/advanced-threads.xml:
7515 * docs/manual/appendix-porting.xml:
7516 * docs/manual/basics-bins.xml:
7517 * docs/manual/basics-bus.xml:
7518 * docs/manual/basics-elements.xml:
7519 * docs/manual/basics-helloworld.xml:
7520 * docs/manual/basics-pads.xml:
7521 * docs/manual/highlevel-components.xml:
7522 * docs/manual/manual.xml:
7523 * docs/manual/thread.fig:
7524 Update (until threads/scheduling) Application Development Manual;
7525 remove GstThread, add GstBus, add simple porting checklist, add
7526 documentation for tag writing, clocks, make all examples until this
7527 part compile and run.
7528 * examples/manual/Makefile.am:
7529 Update from changes to Application Development Manual; add bus
7530 example, remove thread example.
7532 2005-06-28 Wim Taymans <wim@fluendo.com>
7534 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7535 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7536 (gst_bus_source_dispatch):
7537 Add debugging messages.
7538 Make internal methods static.
7539 Handle the case where the bus is flushed in the handler.
7541 * gst/gstelement.c: (gst_element_get_bus):
7542 Fix refcount in _get_bus();
7544 * gst/gstpipeline.c: (gst_pipeline_change_state),
7545 (gst_pipeline_get_clock_func):
7546 Clock refcounting fixes.
7547 Handle the case where preroll timed out more gracefully.
7549 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7550 Clean up the internal thread in dispose. This is needed
7551 for subclasses that actually get disposed.
7553 * gst/schedulers/threadscheduler.c:
7554 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7555 (gst_thread_scheduler_dispose):
7556 Free thread pool in dispose.
7558 2005-06-28 Andy Wingo <wingo@pobox.com>
7560 * tests/network-clock-utils.scm (debug, print-event): New utils.
7562 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7563 (*packet-loss*): Unified loss probability.
7564 (network-time): Report out-of-band events.
7566 * tests/plot-data: Add support for out-of-band events. Hack it
7567 into this script instead of passing it down the pipe; should fix
7570 2005-06-28 Wim Taymans <wim@fluendo.com>
7572 * docs/gst/gstreamer.types:
7573 * docs/gst/tmpl/gstbasesrc.sgml:
7574 * docs/gst/tmpl/gstpad.sgml:
7577 2005-06-28 Wim Taymans <wim@fluendo.com>
7579 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7580 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7581 (gst_proxy_pad_do_fixatecaps):
7582 Correctly proxy the check_pull_range function.
7584 2005-06-28 Andy Wingo <wingo@pobox.com>
7586 * tests/network-clock.scm: Removed need for slib.
7588 2005-06-28 Wim Taymans <wim@fluendo.com>
7590 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7591 (gst_basesink_preroll_queue_flush):
7592 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7593 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7594 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7595 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7596 (gst_proxy_pad_set_property):
7599 * gst/gstqueue.c: (gst_queue_init):
7600 The deprecated pad loop function is removed now.
7602 2005-06-28 Andy Wingo <wingo@pobox.com>
7604 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7605 New parameters, simulate network packet loss.
7607 * tests/network-clock-utils.scm: Initialize the RNG.
7609 2005-06-28 Wim Taymans <wim@fluendo.com>
7611 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7612 (gst_basesink_event), (gst_basesink_deactivate):
7613 Flushing the preroll queue always needs to unlock the waiters.
7615 2005-06-28 Edward Hervey <edward@fluendo.com>
7617 * gst/gstpipeline.c: (gst_pipeline_send_event):
7618 Wheen a seek was successful on a pipeline, set the stream_time to the
7619 seek offset in order to have a synchronized stream_time.
7621 2005-06-28 Wim Taymans <wim@fluendo.com>
7623 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7624 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7625 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7626 (gst_proxy_pad_do_fixatecaps):
7627 Call wrapper function instead of just calling the function
7628 pointers. This takes care of any locking and whatmore.
7630 2005-06-28 Wim Taymans <wim@fluendo.com>
7632 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7633 (gst_pad_pull_range):
7635 CONNECTED -> LINKED.
7637 2005-06-28 Andy Wingo <wingo@pobox.com>
7639 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7640 source-munging commit!!!
7642 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7643 (gst_object_sink): Take gpointer arguments, not GstObject --
7644 avoids casts. Like GLib.
7646 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7649 2005-06-27 Andy Wingo <wingo@pobox.com>
7651 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7654 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7655 returns a sorted copy of the trace list.
7656 (gst_alloc_trace_print_live): New API, only prints traces with
7657 live objects. Sort the list.
7658 (gst_alloc_trace_print_all): Sort the list.
7659 (gst_alloc_trace_print): Align columns.
7661 * gst/elements/gstttypefindelement.c:
7662 * gst/elements/gsttee.c:
7663 * gst/base/gstbasesrc.c:
7664 * gst/base/gstbasesink.c:
7665 * gst/base/gstbasetransform.c:
7666 * gst/gstqueue.c: Adapt for pad activation changes.
7668 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7670 (gst_pipeline_dispose): Drop ref on sched.
7672 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7673 (gst_pad_activate_default): Push mode by default.
7674 (pre_activate_switch, post_activate_switch): New stubs, things to
7675 do before and after switching activation modes on pads.
7676 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7677 the pad's activate function to choose which mode to activate.
7678 Shortcut on deactivation and call the right function directly.
7679 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7681 (gst_pad_activate_push): New API, same for push mode.
7682 (gst_pad_set_activate_function)
7683 (gst_pad_set_activatepull_function)
7684 (gst_pad_set_activatepush_function): Setters for new API.
7686 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7687 Trace all miniobjects.
7688 (gst_mini_object_make_writable): Unref the arg if we copy, like
7689 gst_caps_make_writable.
7691 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7693 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7694 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7695 Adapt for new pad API.
7697 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7700 * gst/gstelement.c (gst_element_iterate_src_pads)
7701 (gst_element_iterate_sink_pads): New API functions.
7703 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7704 should fold into gstiterator.c in some form.
7705 (gst_element_pads_activate): Simplified via use of fold and
7706 delegation of decisions to gstpad->activate.
7708 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7711 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7712 class once in init, like gstmessage. Didn't run into this issue
7713 but it seems correct. Don't initialize a trace, gstminiobject does
7716 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7717 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7719 (assert_live_count): New util function, uses alloc traces to check
7722 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7723 To be modified when unlink drops the internal pad.
7725 2005-06-27 Wim Taymans <wim@fluendo.com>
7727 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7728 (gst_bin_change_state):
7729 Cleanup the get_state() function a little, make sure it
7730 iterates the same set of elements.
7731 Added stub iterate_state_order().
7733 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7735 * docs/gst/gstreamer-docs.sgml:
7736 * docs/gst/gstreamer-sections.txt:
7737 * docs/gst/gstreamer.types:
7738 * docs/gst/tmpl/gstbasesink.sgml:
7739 * docs/gst/tmpl/gstbasesrc.sgml:
7740 * docs/gst/tmpl/gstbasetransform.sgml:
7741 * docs/gst/tmpl/gstelement.sgml:
7742 * docs/gst/tmpl/gstiterator.sgml:
7743 * gst/base/gstbasesrc.c:
7744 * gst/base/gstbasesrc.h:
7745 * gst/base/gstbasetransform.h:
7747 * gst/gstiterator.h:
7748 adding basetransform and iterator docs
7750 2005-06-27 Andy Wingo <wingo@pobox.com>
7752 * docs/design/part-activation.txt: Notes on how activation should
7753 work -- not quite implemented yet.
7755 2005-06-25 Wim Taymans <wim@fluendo.com>
7757 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7758 At least get the chain function correct, needs more
7761 2005-06-25 Wim Taymans <wim@fluendo.com>
7763 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7764 (gst_basesink_handle_object), (gst_basesink_event),
7765 (gst_basesink_do_sync), (gst_basesink_handle_event),
7766 (gst_basesink_change_state):
7768 Right, two problems here: ghostpads don't take locks and
7769 glib _rec_mutex_lock_full() with depth==0 still locks.
7770 Catch illegal locking and g_warn them.
7772 2005-06-25 Wim Taymans <wim@fluendo.com>
7774 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7775 Have to check for completion now...
7777 2005-06-25 Wim Taymans <wim@fluendo.com>
7779 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7780 (gst_basesink_handle_object), (gst_basesink_event),
7781 (gst_basesink_do_sync), (gst_basesink_handle_event),
7782 (gst_basesink_change_state):
7784 Unlock STREAM_LOCK whatever the recursion was.
7786 2005-06-25 Wim Taymans <wim@fluendo.com>
7788 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7789 (gst_basesink_preroll_queue_empty),
7790 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7791 (gst_basesink_event), (gst_basesink_do_sync),
7792 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7793 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7794 (gst_basesink_change_state):
7795 Reworked the base sink, handle event and buffer serialisation
7796 correctly and removed possible deadlock.
7797 Handle EOS correctly.
7799 2005-06-25 Wim Taymans <wim@fluendo.com>
7801 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7802 (gst_pipeline_change_state):
7803 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7804 Allow elements to post EOS in the state change function.
7805 Fix up -launch, make it exit the poll loop when the
7806 pipeline actually changed state.
7807 Fix up warning parsing in -launch.
7809 2005-06-25 Wim Taymans <wim@fluendo.com>
7811 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7812 (gst_tee_sink_activate):
7813 Core takes STREAM_LOCK for us now.
7815 2005-06-25 Wim Taymans <wim@fluendo.com>
7817 * gst/gstelement.c: (gst_element_get_state_func),
7818 (gst_element_set_state):
7820 * gst/gstmessage.c: (gst_message_parse_error),
7821 (gst_message_parse_warning):
7822 Keep track of current target state while performing a state
7823 change so that subclasses can do something interesting.
7824 Fix parsing of warning/error messages when GError is NULL.
7826 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7828 * docs/gst/Makefile.am:
7829 * docs/gst/gstreamer-docs.sgml:
7830 * docs/gst/gstreamer-sections.txt:
7831 * docs/gst/gstreamer.types:
7832 * docs/gst/tmpl/gstbasesink.sgml:
7833 * docs/gst/tmpl/gstbasesrc.sgml:
7834 * docs/gst/tmpl/gstbin.sgml:
7835 * docs/gst/tmpl/gstcompat.sgml:
7836 * docs/gst/tmpl/gstfakesink.sgml:
7837 * docs/gst/tmpl/gstfakesrc.sgml:
7838 * docs/gst/tmpl/gstfilesink.sgml:
7839 * docs/gst/tmpl/gstfilesrc.sgml:
7840 * docs/gst/tmpl/gstindex.sgml:
7841 * docs/manual/appendix-quotes.xml:
7842 * gst/base/gstbasesrc.h:
7843 * gst/elements/gstfakesrc.h:
7845 start pulling in base classes and elements in our docs
7847 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7849 * docs/gst/Makefile.am:
7850 * docs/libs/Makefile.am:
7851 fixed make distcheck with gtk-doc 1.3
7853 2005-06-23 Wim Taymans <wim@fluendo.com>
7855 * gst/gstelement.c: (gst_element_get_state_func),
7856 (gst_element_set_state), (gst_element_change_state):
7857 When the state did not change, also report NO_PREROLL
7860 2005-06-23 Wim Taymans <wim@fluendo.com>
7862 * gst/gstpad.c: (gst_pad_event_default):
7863 * gst/gstqueue.c: (gst_queue_loop):
7864 No unsafe task pausing please.
7866 2005-06-23 Wim Taymans <wim@fluendo.com>
7868 * gst/schedulers/threadscheduler.c:
7869 (gst_thread_scheduler_task_start),
7870 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7871 Ref the task before pushing it on the threadpool. This
7872 makes sure that we have a ref when the threadfunction is
7875 2005-06-23 Andy Wingo <wingo@pobox.com>
7877 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7878 offset is greater than the file's size.
7880 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7881 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7882 * gst/gstobject.c (gst_object_class_init): Make the class lock
7883 recursive. Wim won't let me drop deep_notify. Decodebin works
7886 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7887 internal pad, and hacks accordingly. Doesn't do it on the target
7888 pad because we change its caps. Probably catches all cases of
7890 (gst_ghost_pad_set_property): Connect to notify::caps as
7893 * tests/network-clock.scm (plot-simulation): Pipe data to the
7894 elite python skript.
7896 * tests/network-clock-utils.scm (define-parameter): New macro,
7897 defines a parameter that can be set via the command line.
7898 (set-parameter!, parse-parameter-arguments): Command line args
7901 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7904 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7906 * gst/elements/gsttypefindelement.c:
7907 (gst_type_find_element_handle_event):
7908 Don't restart typefinding on a discont.
7909 * gst/gstelement.c: (gst_element_set_state):
7911 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7912 Allow changing mode of an active pad.
7914 * gst/registries/gstlibxmlregistry.c: (load_feature):
7915 Don't cast a static pad template to a normal pad template.
7917 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7919 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7920 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7921 remove gst_strtoll completely, since it didn't actually do
7922 anything more than what g_ascii_strtoull already does.
7923 check for range errors when deserializing
7924 do a cast for the unsigned cases; but further fixing needs
7925 a decision on what the interpretation of "(int)" and
7926 deserialization should be for values that fall outside the
7927 type's boundaries (ie, refuse, or interpret as casting)
7929 2005-06-23 Wim Taymans <wim@fluendo.com>
7931 * check/Makefile.am:
7932 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7933 * docs/design/part-live-source.txt:
7934 * docs/design/part-states.txt:
7935 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7936 (gst_basesrc_set_live), (gst_basesrc_is_live),
7937 (gst_basesrc_get_range), (gst_basesrc_activate),
7938 (gst_basesrc_change_state):
7939 * gst/base/gstbasesrc.h:
7940 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7941 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7942 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7943 * gst/gstelement.c: (gst_element_get_state_func),
7944 (gst_element_set_state):
7947 * tools/gst-launch.c: (event_loop), (main):
7948 Added support for live sources and other elements that
7950 Updated design docs, added live-source design doc.
7951 Implemented live source functionality in basesrc
7952 Fix error condition in _bin_get_state()
7953 Implement live source handling in -launch.
7954 Added check for live sources.
7955 Fixed case in GstBin where elements were changed state
7959 2005-06-23 Andy Wingo <wingo@pobox.com>
7961 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7964 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7965 gst_caps_replace takes care of this for us.
7967 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7968 gst_pad_set_caps on the target, not just its setcaps() function.
7970 * tests/network-clock.scm:
7971 * tests/network-clock-utils.scm: A network clock simulator.
7972 Something of an algorithmic testbed before doing something in C.
7974 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7976 * check/Makefile.am:
7977 * check/gst/capslist.h:
7978 copy over from 0.8, and add two with bitmasks specified with
7980 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7981 add test to parse everything from capslist.h
7982 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7984 add test for structure deserialization
7985 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7986 add tests for deserialization of strings to int types
7987 * gst/gststructure.c: (gst_structure_nth_field_name):
7988 * gst/gststructure.h:
7989 add a way to get the name of a field referenced by index
7990 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7991 instead of checking if the resulting long long lies between
7992 min and max, we check if the long long would fit into
7993 a number of bytes for the final type.
7994 This fixes cases where a string represents 2^32 - 1, which
7995 when cast to int would be the (valid) -1, but is bigger than
7998 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8000 * gst/parse/grammar.y:
8001 add a log line for type deserialization
8003 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8005 * check/gst/gstvalue.c: (START_TEST):
8006 * gst/gstvalue.c: (gst_value_deserialize):
8007 return long long, not int, so gint64 deserialization actually
8008 works. Is there any flag that makes the compiler check this ?
8011 2005-06-22 Wim Taymans <wim@fluendo.com>
8014 Added convenience macros for setting buffers in GValue.
8016 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8018 * check/gst/.cvsignore:
8019 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8020 add a test deserializing int64, and comment part out because
8023 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8025 * check/Makefile.am:
8026 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8027 * testsuite/Makefile.am:
8028 * testsuite/caps/Makefile.am:
8029 * testsuite/caps/value_serialize.c:
8030 * testsuite/test_gst_init.c:
8031 move a value_serialize test over
8033 2005-06-20 Wim Taymans <wim@fluendo.com>
8038 * gst/gstvalue.c: (gst_value_compare_buffer),
8039 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8040 (gst_value_compare_flags), (gst_value_serialize_flags),
8041 (gst_value_deserialize_flags), (_gst_value_initialize):
8042 Fix serialisation of buffers, they are not boxed types anymore
8044 2005-06-20 Wim Taymans <wim@fluendo.com>
8046 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8047 Testcase to show error in buffer-on-caps serialisation.
8049 2005-06-20 Andy Wingo <wingo@pobox.com>
8051 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8052 will be adding to later.
8054 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8055 if its socks fill with rocks.
8056 (gst_system_clock_obtain): Set the name on object construction.
8057 Avoid double-checked locking.
8059 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8061 * gst/gsturi.c: (gst_element_make_from_uri):
8062 Fix potential endless loop.
8064 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8066 * check/Makefile.am:
8068 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8070 move over from testsuite dir and clean up
8073 * testsuite/Makefile.am:
8074 * testsuite/tags/.cvsignore:
8075 * testsuite/tags/Makefile.am:
8076 * testsuite/tags/merge.c:
8077 remove testsuite/tags
8079 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8081 * docs/gst/gstreamer-sections.txt:
8082 * docs/gst/tmpl/gstenumtypes.sgml:
8083 * win32/gstenumtypes.c:
8084 clean up documentation build a little
8086 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8089 add macros for checking refcounts on objects and caps
8090 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8091 add some more unit tests
8092 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8093 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8094 fix leaked refcounts (I hope :)) so unittest works
8098 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8100 * configure.ac: back to HEAD
8102 === release 0.9.1 ===
8104 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8110 2005-06-17 Andy Wingo <wingo@pobox.com>
8112 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8113 assert; it's always possible that the pad gets deactivated in
8114 between the checks in gstpad.c and the implementation. Rely on
8115 finish_preroll() to return a FLUSHING or similar instead of on the
8118 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8119 clock and post an EOS message if we come out of finish_preroll in
8122 2005-06-16 David Schleef <ds@schleef.org>
8124 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8125 (gst_capsfilter_set_property): Allow NULL as possible value
8126 for filter_caps property, indicating GST_CAPS_ANY.
8128 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8130 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8132 * gst/schedulers/Makefile.am:
8134 * gstreamer.spec.in:
8137 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8139 * gstreamer.spec.in:
8142 2005-06-08 Andy Wingo <wingo@pobox.com>
8144 * gst/gstutils.c: RPAD fixes all around.
8145 (gst_element_link_pads): Refcounting fixes.
8147 * tools/gst-inspect.c:
8148 * tools/gst-xmlinspect.c:
8150 * gst/base/gsttypefindhelper.c:
8151 * gst/base/gstbasesink.c:
8152 * gst/gstqueue.c: RPAD fixes.
8154 * gst/gstghostpad.h:
8155 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8156 pads. The tricky thing is they provide both source and sink
8157 interfaces, since they proxy the internal pad for the external
8158 pad, and vice versa. Implement with lower-level ProxyPad objects,
8159 with the interior proxy pad as a child of the exterior ghost pad.
8160 Should write a doc on this.
8162 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8163 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8166 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8167 pads are real pads. No ghost pads in this file. Not documenting
8168 the myriad s/RPAD/PAD/ and REALIZE fixes.
8169 (gst_pad_class_init): Add properties for "direction" and
8170 "template". Both are construct-only, so they can't change during
8171 the life of the pad. Fixes properly deriving from GstPad.
8172 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8173 derived objects, just set properties when creating the objects via
8175 (gst_pad_get_parent): Implement as a function, return NULL if the
8176 parent is not an element.
8177 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8178 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8180 * gst/gstobject.c (gst_object_class_init): Make name a construct
8181 property. Don't set it in the object init.
8183 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8184 with UNKNOWN direction.
8185 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8186 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8187 (gst_element_remove_pad): Remove ghost-pad special cases.
8188 (gst_element_pads_activate): Remove rpad cruft.
8190 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8191 catch the pad's-parent-not-an-element case.
8193 * gst/gst.h: Include gstghostpad.h.
8195 * gst/gst.c (init_post): No more real, ghost pads.
8197 * gst/Makefile.am: Add gstghostpad.[ch].
8199 * check/Makefile.am:
8200 * check/gst/gstbin.c:
8201 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8202 into a bin creates ghost pads, and that the refcounts are right.
8203 Partly moved from gstbin.c.
8205 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8207 * check/gst-libs/.cvsignore:
8208 * check/gst/.cvsignore:
8209 * check/pipelines/.cvsignore:
8211 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8212 (START_TEST), (cleanup_suite), (main):
8213 add some tests related to cleanup after running pipelines
8215 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8217 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8218 add a testsuite for GstBuffer
8220 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8222 * gst/gstminiobject.h:
8223 add defines for accessing the refcount
8225 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8227 * Makefile.am: added support for html unit test coverage reports
8229 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8231 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8232 Free existing caps if the capsfilter changes. Add a FIXME about
8233 setting those caps on the pads.
8235 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8236 Before adding a ghost pad to a parent bin, check that there isn't
8237 already one for the element on the bin. Prevents infinite recursion
8238 when using decodebin in parse pipelines. Andy says he'll rewrite the
8239 way this works anyway, so ignore the hack.
8241 2005-06-02 Andy Wingo <wingo@pobox.com>
8243 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8244 file size, pass it on to the type find helper.
8246 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8247 segment_start and segment_end properly according to the seek
8248 method. Segment_end is still a bit flaky because offset can be
8249 negative for CUR and END cases, but it takes -1 as an "unset"
8252 2005-06-02 Wim Taymans <wim@fluendo.com>
8254 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8255 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8256 (gst_basesink_activate):
8257 * gst/base/gstbasesink.h:
8258 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8259 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8260 (gst_pad_query), (gst_pad_start_task):
8262 * gst/gstqueue.c: (gst_queue_bufferalloc),
8263 (gst_queue_handle_sink_event), (gst_queue_chain):
8264 Bufferalloc: return GstFlowReturn to more accuratly report
8265 why allocation failed.
8267 2005-06-02 Wim Taymans <wim@fluendo.com>
8269 * gst/gstpipeline.c: (gst_pipeline_send_event):
8270 Take snapshot of state without blocking.
8272 2005-06-02 Wim Taymans <wim@fluendo.com>
8274 * docs/design/part-TODO.txt:
8275 * docs/design/part-caps.txt:
8276 * docs/design/part-clocks.txt:
8277 * docs/design/part-negotiation.txt:
8278 * docs/design/part-preroll.txt:
8281 2005-05-30 Wim Taymans <wim@fluendo.com>
8283 * gst/elements/gstidentity.c: (gst_identity_event),
8284 (gst_identity_transform), (gst_identity_get_property):
8285 Protect last_message property as it is accessed from
8288 2005-05-30 Wim Taymans <wim@fluendo.com>
8290 * gst/gstelement.c: (gst_element_init),
8291 (gst_element_pads_activate), (gst_element_change_state):
8292 Slicker pad activation code.
8294 2005-05-30 Wim Taymans <wim@fluendo.com>
8298 * gst/gstelementfactory.h:
8300 Move elementfactory methods to separate .h file.
8302 2005-05-30 Wim Taymans <wim@fluendo.com>
8304 * docs/design/part-overview.txt:
8305 * gst/gstsystemclock.h:
8306 Small typo fixes, doc updates.
8308 2005-05-30 Wim Taymans <wim@fluendo.com>
8310 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8311 (init_popt_callback):
8312 Remove cpu-opt flag.
8314 2005-05-30 Wim Taymans <wim@fluendo.com>
8316 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8317 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8319 Avoid typechecking in places where not needed.
8320 Added accessor for malloc_data.
8322 2005-05-30 Wim Taymans <wim@fluendo.com>
8324 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8325 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8326 (gst_pad_configure_sink), (gst_pad_configure_src),
8327 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8328 (gst_pad_start_task):
8329 Propagate errors from _set_caps() in configure_src/sink
8330 functions instead of returning TRUE.
8331 FLUSH events can travel up and downstream
8334 2005-05-30 Wim Taymans <wim@fluendo.com>
8336 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8337 (gst_basesink_activate):
8338 Handle EOS in preroll.
8340 2005-05-30 Wim Taymans <wim@fluendo.com>
8342 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8343 (gst_queue_loop), (gst_queue_handle_src_event):
8344 Remove old pieces of code
8345 Flushing the queue in an upstream event is a very bad idea.
8347 2005-05-26 Andy Wingo <wingo@pobox.com>
8349 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8350 gst_value_set_mini_object so as to add a ref on the object (which
8351 will be removed when the value is unset).
8353 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8354 arg type in ::handoff.
8356 * gst/gstelement.c (gst_element_change_state): Also deactivate
8357 pads in READY->NULL, just in case the element didn't make it to
8358 PAUSED. Wingo tested, Wim approved.
8360 2005-05-26 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_alloc_buffer),
8364 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8365 A flushing pad cannot be used to alloc_buffer from.
8367 2005-05-26 Wim Taymans <wim@fluendo.com>
8369 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8370 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8371 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8372 (gst_bus_create_watch), (gst_bus_add_watch_full):
8374 Implement a real GSource and use g_main_context_wakeup() to
8375 signal new messages instead of the socketpair.
8377 2005-05-25 Wim Taymans <wim@fluendo.com>
8379 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8380 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8381 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8382 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8383 (gst_pad_send_event), (gst_pad_start_task):
8384 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8385 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8386 (gst_queue_sink_activate), (gst_queue_src_activate),
8387 (gst_queue_change_state):
8389 Fix state changes for non sinks. We now change sinks, then elements
8390 with unconnected srcpads, then the rest.
8391 More efficient queue unlocking in flush and state changes.
8392 Set the pad activate mode even if it does not have an activate
8395 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8397 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8398 Don't go in pull mode for non-seekable sources.
8399 * gst/elements/gsttypefindelement.h:
8400 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8401 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8402 (free_entry), (stop_typefinding),
8403 (gst_type_find_element_handle_event), (find_peek),
8404 (gst_type_find_element_chain), (do_pull_typefind),
8405 (gst_type_find_element_change_state):
8406 Allow typefinding (w/o seeking) in push-mode, simplified version
8408 * gst/gstutils.c: (gst_buffer_join):
8410 gst_buffer_join() from 0.8.
8412 2005-05-25 Wim Taymans <wim@fluendo.com>
8414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8415 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8416 (gst_pad_send_event), (gst_pad_start_task):
8417 Disable attempt at mode switching until it is figured out.
8419 2005-05-25 Wim Taymans <wim@fluendo.com>
8421 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8422 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8423 (gst_basesink_finish_preroll), (gst_basesink_chain),
8424 (gst_basesink_loop), (gst_basesink_activate),
8425 (gst_basesink_change_state):
8426 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8427 (gst_basesrc_get_range), (gst_basesrc_loop),
8428 (gst_basesrc_activate):
8429 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8430 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8431 (gst_real_pad_init), (gst_real_pad_set_property),
8432 (gst_real_pad_get_property), (gst_pad_set_active),
8433 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8434 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8435 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8436 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8437 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8438 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8439 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8440 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8441 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8442 (gst_pad_stop_task):
8444 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8445 (gst_queue_loop), (gst_queue_src_activate):
8446 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8447 (gst_task_get_state):
8449 * gst/schedulers/threadscheduler.c:
8450 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8451 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8453 Remove ACTIVE pad flag, use FLUSHING everywhere
8454 Added _pad_chain(), _pad_get_range() to call chain/getrange
8456 Add locks around IS_FLUSHING when reading.
8457 Take STREAM lock in chain(), get_range() functions so plugins
8458 don't need to take it anymore.
8462 2005-05-25 Wim Taymans <wim@fluendo.com>
8464 * tools/gst-launch.c: (event_loop):
8465 Unref message after using its contents instead of
8468 2005-05-24 Wim Taymans <wim@fluendo.com>
8470 * docs/design/draft-ghostpads.txt:
8471 * docs/design/draft-push-pull.txt:
8472 * docs/design/draft-query.txt:
8473 * docs/design/part-overview.txt:
8474 Docs updates, added general overview doc.
8476 2005-05-21 David Schleef <ds@schleef.org>
8478 * docs/gst/tmpl/old/GstBin.sgml:
8479 * docs/gst/tmpl/old/GstBuffer.sgml:
8480 * docs/gst/tmpl/old/GstCaps.sgml:
8481 * docs/gst/tmpl/old/GstClock.sgml:
8482 * docs/gst/tmpl/old/GstCompat.sgml:
8483 * docs/gst/tmpl/old/GstData.sgml:
8484 * docs/gst/tmpl/old/GstElement.sgml:
8485 * docs/gst/tmpl/old/GstEvent.sgml:
8486 * docs/gst/tmpl/old/GstIndex.sgml:
8487 * docs/gst/tmpl/old/GstStructure.sgml:
8488 * docs/gst/tmpl/old/GstTag.sgml:
8489 * docs/gst/tmpl/old/cothreads.sgml:
8490 * docs/gst/tmpl/old/cothreads_compat.sgml:
8491 * docs/gst/tmpl/old/gettext.sgml:
8492 * docs/gst/tmpl/old/gobject2gtk.sgml:
8493 * docs/gst/tmpl/old/grammar.tab.sgml:
8494 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8495 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8496 * docs/gst/tmpl/old/gst_private.sgml:
8497 * docs/gst/tmpl/old/gstaggregator.sgml:
8498 * docs/gst/tmpl/old/gstarch.sgml:
8499 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8500 * docs/gst/tmpl/old/gstbufferstore.sgml:
8501 * docs/gst/tmpl/old/gstdata_private.sgml:
8502 * docs/gst/tmpl/old/gstdisksink.sgml:
8503 * docs/gst/tmpl/old/gstdisksrc.sgml:
8504 * docs/gst/tmpl/old/gstelementfactory.sgml:
8505 * docs/gst/tmpl/old/gstextratypes.sgml:
8506 * docs/gst/tmpl/old/gstfakesink.sgml:
8507 * docs/gst/tmpl/old/gstfakesrc.sgml:
8508 * docs/gst/tmpl/old/gstfdsink.sgml:
8509 * docs/gst/tmpl/old/gstfdsrc.sgml:
8510 * docs/gst/tmpl/old/gstfilesink.sgml:
8511 * docs/gst/tmpl/old/gstfilesrc.sgml:
8512 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8513 * docs/gst/tmpl/old/gstidentity.sgml:
8514 * docs/gst/tmpl/old/gstindexfactory.sgml:
8515 * docs/gst/tmpl/old/gstmarshal.sgml:
8516 * docs/gst/tmpl/old/gstmd5sink.sgml:
8517 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8518 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8519 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8520 * docs/gst/tmpl/old/gstpipefilter.sgml:
8521 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8522 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8523 * docs/gst/tmpl/old/gstshaper.sgml:
8524 * docs/gst/tmpl/old/gstspider.sgml:
8525 * docs/gst/tmpl/old/gstspideridentity.sgml:
8526 * docs/gst/tmpl/old/gststatistics.sgml:
8527 * docs/gst/tmpl/old/gsttee.sgml:
8528 * docs/gst/tmpl/old/gsttimecache.sgml:
8529 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8530 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8531 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8532 * docs/gst/tmpl/old/types.sgml:
8533 I didn't intend to add these or check them in.
8535 2005-05-19 David Schleef <ds@schleef.org>
8537 * configure.ac: Use -no-common everywhere. In a sane world, it
8538 would be the default in libtool, because without it, you can't
8539 build DLLs on Windows.
8540 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8541 * docs/gst/gstreamer-sections.txt:
8542 * docs/gst/tmpl/gstcpu.sgml:
8543 * docs/gst/tmpl/gstdata.sgml:
8544 * docs/gst/tmpl/gstthread.sgml:
8546 2005-05-19 David Schleef <ds@schleef.org>
8548 * gst/gstminiobject.c: (gst_value_set_mini_object),
8549 (gst_value_take_mini_object), (gst_value_get_mini_object):
8550 * gst/gstminiobject.h: Add GValue set/get functions.
8552 2005-05-19 Wim Taymans <wim@fluendo.com>
8554 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8555 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8556 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8558 * gst/gstbus.c: (gst_bus_post):
8559 * gst/gstelement.c: (gst_element_get_random_pad):
8560 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8561 Make subbufer unref the parent in finalize.
8562 some more debugging info.
8565 2005-05-19 Wim Taymans <wim@fluendo.com>
8567 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8568 (gst_basesink_init), (gst_basesink_finalize),
8569 (gst_basesink_activate), (gst_basesink_change_state):
8570 Don't free preroll queue too early.
8572 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8576 Hi, I'm outdated. Please shoot me.
8578 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8580 * gst/gstpipeline.c: (gst_pipeline_send_event):
8581 Do not access variables after they have been deleted.
8583 2005-05-19 Wim Taymans <wim@fluendo.com>
8585 * tools/gst-inspect.c: (print_plugin_features):
8586 A plugin feature does unfortunatly not use the
8589 2005-05-18 Wim Taymans <wim@fluendo.com>
8591 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8592 Port _span() functions to new subbuffers.
8594 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8596 * gst/gstbin.c: (gst_bin_add_func):
8597 Fix clock settery in bins when adding kids after the clock has
8600 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8602 * gst/elements/gstidentity.c: (gst_identity_class_init):
8603 Workaround until signals support GstMiniObject.
8605 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8608 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8610 2005-05-18 Wim Taymans <wim@fluendo.com>
8612 * gst/base/Makefile.am:
8613 * gst/base/gstadapter.c: (gst_adapter_base_init),
8614 (gst_adapter_class_init), (gst_adapter_init),
8615 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8616 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8617 (gst_adapter_flush), (gst_adapter_available),
8618 (gst_adapter_available_fast):
8619 * gst/base/gstadapter.h:
8620 Ported and added adapter to the base classes.
8622 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8626 Make sure the class is reffed/unreffed once before threads can be
8627 used. Fixes #304551.
8629 2005-05-17 Wim Taymans <wim@fluendo.com>
8631 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8632 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8633 * gst/gstminiobject.c: (gst_mini_object_get_type),
8634 (gst_mini_object_free):
8635 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8636 (gst_pad_push), (gst_pad_push_event):
8637 * gst/gstqueue.c: (gst_queue_change_state):
8638 Don't queue buffers in basesink when we are flushing.
8639 Unref buffer when flushing in basesink.
8640 Flush queue when going to READY
8641 Unref buffer when _push() returns an error.
8642 Don't free MiniObject instance when refcount is incremented
8643 in _finalize() so that we can recover objects.
8645 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8647 * docs/manual/advanced-schedulers.xml:
8648 * docs/manual/appendix-checklist.xml:
8649 * docs/pwg/advanced-clock.xml:
8650 * docs/pwg/advanced-interfaces.xml:
8651 * docs/pwg/advanced-request.xml:
8652 * docs/pwg/advanced-types.xml:
8653 * docs/pwg/intro-preface.xml:
8654 * examples/plugins/example.c: (gst_example_get_type),
8655 (gst_example_class_init), (gst_example_chain),
8656 (gst_example_set_property), (gst_example_get_property),
8657 (gst_example_change_state), (plugin_init):
8658 * examples/plugins/example.h:
8661 2005-05-17 Wim Taymans <wim@fluendo.com>
8663 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8664 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8665 * gst/gstqueue.c: (gst_queue_change_state):
8666 Clear queue when going to READY.
8667 Remove IN_SETCAPS flag too.
8669 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8671 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8672 Remove implicit cast from gboolean to GstElementStateReturn;
8673 make sure we still return failure in paused => ready case if
8674 the parent class fails to change state and our own stop
8677 2005-05-17 Wim Taymans <wim@fluendo.com>
8679 * tools/gst-launch.c: (event_loop):
8680 Message was unreffed too soon.
8682 2005-05-16 Andy Wingo <wingo@pobox.com>
8684 * gst/gstbin.c (sink_iterator_filter): Err... um...
8686 * check/gst/gstbin.c (test_ghost_pads): New test for the
8687 ghosting-if-elements-not-in-same-bin behavior.
8689 2005-05-16 David Schleef <ds@schleef.org>
8691 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8692 accessing refcount directly.
8694 2005-05-15 David Schleef <ds@schleef.org>
8696 * check/Makefile.am: remove GstData checks
8697 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8698 * gst/Makefile.am: add miniobject, remove data
8699 * gst/gst.h: add miniobject, remove data
8700 * gst/gstdata.c: remove
8701 * gst/gstdata.h: remove
8702 * gst/gstdata_private.h: remove
8703 * gst/gsttypes.h: remove GstEvent and GstMessage
8704 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8705 * gst/gstmarshal.list: change BOXED -> OBJECT
8707 Implement GstMiniObject.
8708 * gst/gstminiobject.c:
8709 * gst/gstminiobject.h:
8711 Modify to be subclasses of GstMiniObject.
8712 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8713 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8714 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8715 (gst_subbuffer_get_type), (gst_subbuffer_init),
8716 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8719 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8720 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8721 (_gst_event_copy), (gst_event_new):
8723 * gst/gstmessage.c: (_gst_message_initialize),
8724 (gst_message_get_type), (gst_message_class_init),
8725 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8726 (gst_message_new), (gst_message_new_error),
8727 (gst_message_new_warning), (gst_message_new_tag),
8728 (gst_message_new_state_changed), (gst_message_new_application):
8730 * gst/gstprobe.c: (gst_probe_perform),
8731 (gst_probe_dispatcher_dispatch):
8733 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8734 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8735 (_gst_query_copy), (gst_query_new):
8737 Update elements for GstData -> GstMiniObject changes
8739 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8740 (gst_queue_chain), (gst_queue_loop):
8741 * gst/elements/gstbufferstore.c:
8742 (gst_buffer_store_add_buffer_func),
8743 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8744 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8745 (gst_fakesink_render):
8746 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8747 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8748 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8749 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8750 (gst_filesrc_create_read):
8751 * gst/elements/gstidentity.c: (gst_identity_class_init):
8752 * gst/elements/gsttypefindelement.c:
8753 (gst_type_find_element_src_event), (free_entry_buffers),
8754 (gst_type_find_element_handle_event):
8755 * libs/gst/dataprotocol/dataprotocol.c:
8756 (gst_dp_header_from_buffer):
8757 * libs/gst/dataprotocol/dataprotocol.h:
8758 * libs/gst/dataprotocol/dp-private.h:
8760 2005-05-15 David Schleef <ds@schleef.org>
8762 * gst/elements/gstelements.c: Don't include headers that were
8765 2005-05-15 David Schleef <ds@schleef.org>
8767 * gst/elements/Makefile.am: Remove some elements that don't
8768 need to be in the core (or even exist at all).
8769 * gst/elements/gstaggregator.c:
8770 * gst/elements/gstaggregator.h:
8771 * gst/elements/gstmd5sink.c:
8772 * gst/elements/gstmd5sink.h:
8773 * gst/elements/gstmultifilesrc.c:
8774 * gst/elements/gstmultifilesrc.h:
8775 * gst/elements/gstpipefilter.c:
8776 * gst/elements/gstpipefilter.h:
8777 * gst/elements/gstshaper.c:
8778 * gst/elements/gstshaper.h:
8779 * gst/elements/gststatistics.c:
8780 * gst/elements/gststatistics.h:
8781 * po/POTFILES.in: Remove above files.
8783 2005-05-14 Andy Wingo <wingo@pobox.com>
8785 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8786 so as to get the refs right.
8787 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8788 unreffing objects that don't pass the filter.
8790 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8791 gst_element_set_bus.
8792 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8793 normal cases, this will destroy the bus.
8795 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8798 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8801 2005-05-13 Andy Wingo <wingo@pobox.com>
8803 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8804 gst_pad_link, call pad_link_maybe_ghosting,
8805 (pad_link_maybe_ghosting): Links pads, making sure that the
8806 elements being linked are in the same bin.
8807 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8808 Helpers for pad_link_maybe_ghosting.
8810 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8813 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8815 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8817 * docs/design/part-element-source.txt:
8820 2005-05-12 Wim Taymans <wim@fluendo.com>
8822 * gst/base/gstbasesink.c: (gst_basesink_init),
8823 (gst_basesink_activate):
8824 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8825 (gst_basesrc_is_seekable):
8826 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8827 (bin_element_is_sink), (gst_bin_change_state):
8828 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8830 Identify sinks by their flag to avoid overly complicated
8832 Do state changes even for elements not reachable from the
8834 BaseSink is a sink now :)
8835 Some more debugging info in the basesrc.
8838 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8840 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8841 Implement _query on a bin, similar to _send_event.
8843 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8845 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8846 Discont event offset format should be GST_FORMAT_BYTES,
8847 not GST_FORMAT_TIME.
8849 2005-05-12 Wim Taymans <wim@fluendo.com>
8851 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8852 Same fix as Ronald's but without the signal.
8854 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8856 * gst/gstutils.c: (gst_element_query_position):
8857 No, an element is not a pad.
8859 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8861 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8862 (gst_bin_get_state):
8863 If a child is removed from a bin while we remove the child from
8864 the bin and while we're retrieving its state, signal this to the
8865 get_state function so we abort the wait (instead of waiting for
8866 a timeout) and can immediately re-iterate over all other elements.
8868 2005-05-12 Wim Taymans <wim@fluendo.com>
8870 * gst/base/Makefile.am:
8871 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8872 (gst_basesrc_start):
8873 * gst/base/gstbasesrc.h:
8874 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8875 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8876 (gst_pushsrc_init), (gst_pushsrc_create):
8877 * gst/base/gstpushsrc.h:
8878 Added is_seekable to BaseSrc
8879 Added simple PushSrc.
8881 2005-05-11 Wim Taymans <wim@fluendo.com>
8883 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8884 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8885 (gst_element_link_pads), (gst_element_query_position),
8886 (gst_element_query_convert), (intersect_caps_func),
8887 (gst_pad_query_position), (gst_pad_query_convert):
8888 Fix refcounting in utils function.
8889 No point in trying to activate a pad when it's added, it could
8890 be added from the state change function and then we deadlock, the
8891 element has to decide what to do.
8893 2005-05-10 Andy Wingo <wingo@pobox.com>
8895 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8896 *all* the arguments.
8898 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8899 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8900 lock (according to the docs -- if this is wrong change the docs).
8902 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8903 flush messages in the NULL state.
8905 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8906 message immediately and return.
8907 (gst_bus_set_flushing): New function. If a bus is flushing, it
8908 flushes out any queued messages and immediately unrefs new
8909 messages. This is so when an element goes to NULL, all of the
8910 unhandled messages coming from it can be freed, and their
8911 references to the element dropped. In other words: message source
8912 ref considered harmful :P
8914 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8915 we're finished with it.
8917 * gst/gstmessage.c (gst_message_new_state_changed):
8919 2005-05-10 Wim Taymans <wim@fluendo.com>
8921 * gst/gstvalue.c: (gst_value_compare_flags),
8922 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8923 (_gst_value_initialize):
8924 Added flags serialize/deserialize/compare code.
8926 2005-05-09 Andy Wingo <wingo@pobox.com>
8928 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8929 Intersect the peer's caps with our caps.
8931 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8933 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8934 * gst/elements/gsttypefindelement.c: (find_peek):
8935 Handle negative offsets better. Fixes decodebin.
8937 2005-05-09 Wim Taymans <wim@fluendo.com>
8939 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8940 (gst_base_transform_event):
8941 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8942 Implement accept_caps.
8943 Fix silly lock/unlock mismatch in base class.
8945 2005-05-09 Wim Taymans <wim@fluendo.com>
8947 * docs/design/draft-push-pull.txt:
8948 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8949 * gst/elements/gstfilesink.c: (gst_filesink_init),
8950 (gst_filesink_query):
8951 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8952 (gst_type_find_handle_src_query), (find_element_get_length):
8953 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8957 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8958 (gst_real_pad_get_caps_unlocked),
8959 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8960 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8961 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8962 (gst_real_pad_dispose), (gst_real_pad_finalize),
8963 (gst_pad_load_and_link), (gst_pad_save_thyself),
8964 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8965 (gst_pad_check_pull_range), (gst_pad_pull_range),
8966 (gst_pad_template_get_type), (gst_pad_template_class_init),
8967 (gst_pad_template_init), (gst_pad_template_dispose),
8968 (name_is_valid), (gst_static_pad_template_get),
8969 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8970 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8971 (gst_pad_get_element_private), (gst_pad_start_task),
8972 (gst_pad_pause_task), (gst_pad_stop_task),
8973 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8974 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8975 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8976 (gst_ghost_pad_new):
8978 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8979 (gst_query_new_position), (gst_query_set_position),
8980 (gst_query_parse_position), (gst_query_new_convert),
8981 (gst_query_set_convert), (gst_query_parse_convert):
8983 * gst/gstqueryutils.c:
8984 * gst/gstqueryutils.h:
8985 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8986 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8987 (gst_queue_handle_src_query):
8988 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8989 (gst_element_query_position), (gst_element_query_convert),
8990 (intersect_caps_func), (gst_pad_query_position),
8991 (gst_pad_query_convert):
8993 * tools/gst-inspect.c: (print_pad_info):
8994 * tools/gst-xmlinspect.c: (print_element_info):
8995 Remove old query functions. Ported old code.
8996 Added position/convert helper functions to gstutils.
8997 Reordered gstpad.c code, grouping relevant things.
8998 Remove gst_message_new(), always need to speficy a specific
9002 2005-05-09 Andy Wingo <wingo@pobox.com>
9004 * gst/gstiterator.h: Add some includes.
9006 * gst/gstqueryutils.h: Include more headers.
9009 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9010 some uses of gst_pad_query.
9012 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9013 NULL out parameters.
9014 (gst_query_new_position): New proc, allocates a new position
9017 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9018 gstqueryutils.c to the build.
9020 * gst/gststructure.c (gst_structure_set_valist): Implement with
9021 the generic G_VALUE_COLLECT.
9023 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9025 * gst/Makefile.am: (gst_headers):
9026 Added gstqueryutils.h to the list of headers to install, that was
9027 a 'nachty' move wingo :)
9029 2005-05-06 Andy Wingo <wingo@pobox.com>
9032 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9033 GstData, init a memchunk.
9034 (standard_definitions): Add a few query types, deprecate a few.
9035 (gst_query_get_type): New proc.
9036 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9038 (gst_query_new_application, gst_query_get_structure): New public
9041 * docs/design/draft-query.txt: Removed LINKS from the query types,
9042 because all the rest can be dispatched to other pads -- seemed
9043 ugly to have a query that couldn't be dispatched. internal_links
9044 is fine as a pad method.
9046 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9047 in gstpad.c, but maintain binary compatibility for the moment.
9048 Will fix before 0.9 is out.
9050 * gst/gstqueryutils.c:
9051 * gst/gstqueryutils.h: New files, implement 3 methods for each
9052 query type: parse_query, parse_response, and set. Probably need an
9055 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9057 * gst/elements/gstfilesink.c (gst_filesink_query2):
9058 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9059 query_types, and formats methods.
9061 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9062 (gst_pad_set_query2_function): New functions.
9063 (gst_real_pad_init): Set query2_default as the default query2
9064 function. Basically just dispatches to internally linked pads.
9068 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9069 without using the atomic operations. Only one thread can possibly
9070 be accessing the data at this point. Changed so as to avoid
9071 gst_atomic operations.
9073 2005-05-06 Wim Taymans <wim@fluendo.com>
9075 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9076 Also set caps if we use the fallback buffer alloc.
9078 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9080 * docs/gst/Makefile.am:
9081 * docs/gst/gstreamer-docs.sgml:
9082 * docs/gst/gstreamer-sections.txt:
9083 * docs/gst/tmpl/gstatomic.sgml:
9084 * docs/gst/tmpl/gstmemchunk.sgml:
9085 * testsuite/elements/struct_i386.h:
9086 * win32/GStreamer.vcproj:
9088 Purge GstAtomic stuff from docs and win32 makefiles as well
9090 2005-05-06 Wim Taymans <wim@fluendo.com>
9092 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9093 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9094 * gst/gstpad.c: (gst_pad_peer_get_caps):
9095 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9096 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9097 (gst_queue_src_activate), (gst_queue_change_state):
9099 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9100 (intersect_caps_func):
9101 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9102 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9103 Some fixes for the peer_get_caps() change.
9105 2005-05-06 Wim Taymans <wim@fluendo.com>
9107 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9108 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9109 (gst_basesink_activate):
9110 Actually do something with error codes returned from the push
9113 2005-05-06 Wim Taymans <wim@fluendo.com>
9115 * docs/design/part-element-sink.txt:
9116 * docs/design/part-element-source.txt:
9117 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9118 (gst_basesink_event), (gst_basesink_activate):
9119 * gst/base/gstbasesink.h:
9120 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9121 (gst_basesrc_activate):
9122 * gst/base/gstbasesrc.h:
9123 * gst/gstelement.c: (gst_element_pads_activate):
9124 Some more documentation.
9125 Fixed scheduling decision in _pads_activate().
9127 2005-05-05 Andy Wingo <wingo@pobox.com>
9129 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9132 2005-05-05 Wim Taymans <wim@fluendo.com>
9134 * gst/base/Makefile.am:
9135 * gst/base/gstbasesink.h:
9136 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9137 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9138 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9139 (gst_collectpads_class_init), (gst_collectpads_init),
9140 (gst_collectpads_finalize), (gst_collectpads_new),
9141 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9142 (find_pad), (gst_collectpads_remove_pad),
9143 (gst_collectpads_is_active), (gst_collectpads_collect),
9144 (gst_collectpads_collect_range), (gst_collectpads_start),
9145 (gst_collectpads_stop), (gst_collectpads_peek),
9146 (gst_collectpads_pop), (gst_collectpads_available),
9147 (gst_collectpads_read), (gst_collectpads_flush),
9148 (gst_collectpads_chain):
9149 * gst/base/gstcollectpads.h:
9150 * gst/elements/Makefile.am:
9151 * gst/elements/gstelements.c:
9152 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9153 (gst_fakesink_get_times), (gst_fakesink_event),
9154 (gst_fakesink_preroll), (gst_fakesink_render):
9155 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9156 (gst_filesink_init), (gst_filesink_set_location),
9157 (gst_filesink_open_file), (gst_filesink_close_file),
9158 (gst_filesink_pad_query), (gst_filesink_event),
9159 (gst_filesink_render), (gst_filesink_change_state):
9160 * gst/elements/gstfilesink.h:
9161 Added object to help in making collect pad based elements.
9163 Make event function in sink baseclass return gboolean.
9165 2005-05-05 Wim Taymans <wim@fluendo.com>
9167 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9168 (gst_bin_get_by_name):
9170 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9171 (gst_clock_finalize):
9172 * gst/gstdata.c: (gst_data_replace):
9174 * gst/gstelement.c: (gst_element_request_pad),
9175 (gst_element_pads_activate):
9176 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9178 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9179 (gst_pad_set_checkgetrange_function),
9180 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9181 (gst_pad_check_pull_range), (gst_pad_pull_range),
9182 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9183 (gst_pad_pause_task), (gst_pad_stop_task):
9184 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9185 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9186 Fix name lookup in GstBin.
9187 Added _data_replace() function and _buffer_replace()
9188 Use finalize method to clean up clock.
9189 Fix refcounting on request pads.
9190 Fix pad schedule mode error.
9191 Some more object refcounting debug info,
9194 2005-05-04 Andy Wingo <wingo@pobox.com>
9196 * check/Makefile.am:
9197 * docs/gst/tmpl/gstatomic.sgml:
9198 * docs/gst/tmpl/gstplugin.sgml:
9199 * gst/base/gstbasesink.c: (gst_basesink_activate):
9200 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9201 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9202 (gst_basesrc_query), (gst_basesrc_set_property),
9203 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9204 (gst_basesrc_activate):
9205 * gst/base/gstbasesrc.h:
9206 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9207 (gst_base_transform_src_activate):
9208 * gst/elements/gstelements.c:
9209 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9210 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9211 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9212 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9213 (gst_type_find_element_checkgetrange),
9214 (gst_type_find_element_activate):
9215 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9216 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9217 (gst_caps_load_thyself):
9218 * gst/gstelement.c: (gst_element_pads_activate),
9219 (gst_element_save_thyself), (gst_element_restore_thyself):
9220 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9221 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9223 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9224 (gst_xml_parse_file), (gst_xml_parse_memory),
9225 (gst_xml_get_element), (gst_xml_make_element):
9226 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9227 (_file_index_id_save_xml), (gst_file_index_commit):
9228 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9229 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9231 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9232 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9233 * tools/gst-complete.c: (main):
9234 * tools/gst-compprep.c: (main):
9235 * tools/gst-inspect.c: (print_element_properties_info):
9236 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9237 * tools/gst-xmlinspect.c: (print_element_properties):
9240 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9242 * gst/gstplugin.c: (gst_plugin_check_module),
9243 (gst_plugin_check_file), (gst_plugin_load_file):
9244 apply patch from #172526 to make register work on MacOSX
9246 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9248 * docs/gst/tmpl/gstconfig.sgml:
9249 * gst/gstconfig.h.in:
9250 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9251 * testsuite/debug/printf_extension.c: (main):
9252 Do not use GST_PTR_FORMAT on pointers to types with
9253 sizeof < sizeof(gpointer). Fixes test on 64-bit
9254 * testsuite/elements/property.h:
9255 use correct printf format
9257 2005-05-02 Wim Taymans <wim@fluendo.com>
9259 * docs/design/draft-push-pull.txt:
9260 * docs/design/draft-query.txt:
9261 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9262 (gst_basesrc_start):
9263 Added draft for new query API.
9264 Added draft for better selecting scheduling methods.
9265 Make basesrc ignore length if the subclass does not support
9268 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9271 possible fixes for automake-1.5 - _LIBADD is reserved
9273 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9275 * docs/faq/Makefile.am:
9276 * docs/manual/Makefile.am:
9278 * docs/pwg/Makefile.am:
9280 possible fixes for automake-1.5
9282 2005-04-28 Wim Taymans <wim@fluendo.com>
9284 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9285 (gst_basesink_pad_getcaps), (gst_basesink_init),
9286 (gst_basesink_do_sync):
9287 * gst/gstclock.c: (gst_clock_entry_new):
9288 * gst/gstevent.c: (gst_event_discont_get_value):
9289 * gst/gstpipeline.c: (pipeline_bus_handler),
9290 (gst_pipeline_change_state):
9291 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9292 Better debugging of clocking info.
9293 Allow NULL values when getting discont values.
9295 2005-04-27 Wim Taymans <wim@fluendo.com>
9297 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9298 * check/gst/gstpad.c: (gst_pad_suite):
9299 Increase timeout for checks.
9301 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9303 * check/Makefile.am:
9304 fix the broken rule for cleanup. Apparently this rule is
9305 only needed on FC2, so maybe this warrants further autotool
9308 2005-04-26 Wim Taymans <wim@fluendo.com>
9310 * gst/gsttrashstack.h:
9311 Ooohh. a nasty one! After having a failed pop() from the stack,
9312 it's possible that the stack is empty. In that case, don't
9313 follow the NULL pointer.
9315 2005-04-25 Wim Taymans <wim@fluendo.com>
9317 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9318 (gst_pad_set_checkgetrange_function),
9319 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9320 (gst_pad_check_pull_range), (gst_pad_pull_range),
9321 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9322 (gst_pad_pause_task), (gst_pad_stop_task):
9323 * gst/gstplugin.c: (gst_plugin_load):
9325 Remove gst_library_load as it does more harm than good with
9326 the new g_module flags.
9327 Revert bogus caps template check in pad linking, pad caps
9328 are important when linking not the template, which is more
9329 general than the current caps.
9331 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9333 * gst/autoplug/.cvsignore:
9334 * gst/autoplug/Makefile.am:
9335 * gst/autoplug/gstsearchfuncs.c:
9336 * gst/autoplug/gstsearchfuncs.h:
9337 * gst/autoplug/gstspider.c:
9338 * gst/autoplug/gstspider.h:
9339 * gst/autoplug/gstspideridentity.c:
9340 * gst/autoplug/gstspideridentity.h:
9341 * gst/autoplug/spidertest.c:
9344 2005-04-25 Wim Taymans <wim@fluendo.com>
9346 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9347 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9348 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9349 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9351 Added stubs for unimplemented functions.
9353 2005-04-24 David Schleef <ds@schleef.org>
9355 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9358 2005-04-24 David Schleef <ds@schleef.org>
9360 Convert everything from GstAtomicInt to g_atomic_int_*, and
9365 * gst/gstatomic_impl.h:
9373 * gst/gstdata_private.h:
9380 * gst/gststructure.c:
9381 * gst/gststructure.h:
9382 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9385 2005-04-24 David Schleef <ds@schleef.org>
9387 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9388 make the regressions tests work. Remove some code that is no
9390 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9391 Disable warning for pads without templates.
9393 2005-04-24 David Schleef <ds@schleef.org>
9395 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9396 functions that handle filtered links.
9397 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9399 * gst/gstutils.c: Fix/remove utility functions that handle
9402 * gst/gstvalue.c: Add serialization/deserialization of caps
9403 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9404 requires fixing so that the filter caps notation creates
9405 a capsfilter element and sets the filter_caps property. I
9406 think everyone probably wants to keep the shorthand notation.
9407 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9408 * docs/gst/tmpl/gstpad.sgml:
9410 * gst/elements/gstelements.c: Register capsfilter element.
9411 * gst/Makefile.am: fix spacing
9412 * docs/random/ds/0.9-suggested-changes: random
9414 2005-04-23 David Schleef <ds@schleef.org>
9416 * gst/elements/Makefile.am:
9417 * gst/elements/gstcapsfilter.c: New element that acts like an
9418 identity, but filters caps. Will eventually replace filtered
9419 caps in pad linking.
9420 * gst/gstutils.c: (gst_element_create_all_pads): New function
9421 to create all the ALWAYS pads that are registered with an
9422 element class. This functionality should eventually be
9423 merged in with GstElement initialization.
9425 * testsuite/trigger/README: part of trigger test code that should
9426 have been checked in a long time ago.
9428 2005-04-23 David Schleef <ds@schleef.org>
9430 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9431 needed with new versions of libtool (nobody will confirm this),
9432 and hard to carry around.
9433 * gst/autoplug/Makefile.am:
9434 * gst/base/Makefile.am:
9435 * gst/elements/Makefile.am:
9436 * gst/indexers/Makefile.am:
9437 * gst/schedulers/Makefile.am:
9438 * libs/gst/bytestream/Makefile.am:
9439 * libs/gst/control/Makefile.am:
9440 * libs/gst/dataprotocol/Makefile.am:
9441 * libs/gst/getbits/Makefile.am:
9443 2005-04-21 Wim Taymans <wim@fluendo.com>
9445 * docs/design/draft-push-pull.txt:
9446 * docs/design/part-MT-refcounting.txt:
9447 * docs/design/part-TODO.txt:
9448 * docs/design/part-caps.txt:
9449 * docs/design/part-events.txt:
9450 * docs/design/part-gstbus.txt:
9451 * docs/design/part-gstpipeline.txt:
9452 * docs/design/part-messages.txt:
9453 * docs/design/part-push-pull.txt:
9454 * docs/design/part-query.txt:
9457 2005-04-21 Wim Taymans <wim@fluendo.com>
9459 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9460 (gst_message_new), (gst_message_new_error),
9461 (gst_message_new_warning), (gst_message_new_tag),
9462 (gst_message_new_state_changed), (gst_message_new_application),
9463 (gst_message_get_structure):
9465 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9466 (gst_structure_copy_conditional):
9467 Use parent refcount in GstMessage to ensure GstStructure
9469 Cleaned up headers a bit.
9472 2005-04-20 Wim Taymans <wim@fluendo.com>
9474 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9475 (gst_basesink_pad_getcaps), (gst_basesink_init),
9476 (gst_basesink_chain_unlocked):
9477 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9478 (gst_type_find_helper):
9479 * gst/elements/gsttypefindelement.c:
9480 (gst_type_find_element_have_type), (gst_type_find_element_init),
9481 (stop_typefinding), (gst_type_find_element_handle_event),
9482 (find_suggest), (gst_type_find_element_chain),
9483 (gst_type_find_element_checkgetrange),
9484 (gst_type_find_element_getrange), (do_typefind),
9485 (gst_type_find_element_activate):
9486 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9487 (gst_buffer_default_free), (gst_buffer_default_copy),
9488 (gst_buffer_set_caps):
9489 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9491 * gst/gstmessage.c: (gst_message_new),
9492 (gst_message_new_state_changed):
9493 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9494 (gst_pad_set_checkgetrange_function),
9495 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9496 (gst_pad_set_caps), (gst_pad_check_pull_range),
9497 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9499 * gst/gsttypefind.c: (gst_type_find_register):
9500 Make gst_caps_replace() work like other _replace() functions.
9501 Use _caps_replace() where possible.
9502 Make sure _message_new() initialises its field.
9503 Add gst_static_pad_template_get_caps()
9506 2005-04-18 Andy Wingo <wingo@pobox.com>
9508 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9509 on the peer, not the pad. I think that was a typo. Pass an extra
9510 arg to see if random access is possible. Activate the pads as
9511 PULL_RANGE if possible.
9513 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9515 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9516 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9519 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9521 * docs/faq/using.xml:
9522 Add note on gstreamer-properties (#154996).
9524 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9526 * docs/random/bbb/optional-properties:
9527 Some analysis on optional properties.
9529 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9531 * docs/gst/tmpl/gstelementfactory.sgml:
9533 * gst/gstelementfactory.c: (gst_element_factory_init),
9534 (gst_element_factory_cleanup), (gst_element_register),
9535 (__gst_element_factory_add_static_pad_template),
9536 (gst_element_factory_get_static_pad_templates),
9537 (gst_element_factory_can_src_caps),
9538 (gst_element_factory_can_sink_caps):
9539 * gst/registries/Makefile.am:
9540 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9541 (gst_xml_registry_class_init), (gst_xml_registry_init),
9542 (gst_xml_registry_new), (gst_xml_registry_set_property),
9543 (gst_xml_registry_get_property), (get_time), (make_dir),
9544 (gst_xml_registry_get_perms_func),
9545 (plugin_times_older_than_recurse), (plugin_times_older_than),
9546 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9547 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9548 (add_to_char_array), (read_string), (read_uint), (read_enum),
9549 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9550 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9551 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9552 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9553 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9554 (gst_xml_registry_rebuild):
9555 * gst/registries/gstlibxmlregistry.h:
9556 * tools/gst-compprep.c: (main):
9557 * tools/gst-inspect.c: (print_pad_templates_info):
9558 * tools/gst-xmlinspect.c: (print_element_info):
9559 Use libxml2 for registry parsing, use staticpadtemplates in
9560 elementfactories. Makes gst_init() +/- 10x faster.
9562 2005-04-12 Wim Taymans <wim@fluendo.com>
9564 * gst/base/Makefile.am:
9565 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9566 (gst_basesink_pad_getcaps), (gst_basesink_init),
9567 (gst_basesink_event), (gst_basesink_change_state):
9568 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9569 (gst_basesrc_init), (gst_basesrc_query),
9570 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9571 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9572 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9573 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9574 (gst_basesrc_stop), (gst_basesrc_activate),
9575 (gst_basesrc_change_state):
9576 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9577 (helper_find_suggest), (gst_type_find_helper):
9578 * gst/base/gsttypefindhelper.h:
9579 * gst/elements/Makefile.am:
9580 * gst/elements/gstelements.c:
9581 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9582 (gst_fakesink_get_times), (gst_fakesink_event),
9583 (gst_fakesink_preroll), (gst_fakesink_render):
9584 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9585 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9586 (gst_fakesrc_get_property), (gst_fakesrc_create),
9587 (gst_fakesrc_start), (gst_fakesrc_stop):
9588 * gst/elements/gstfakesrc.h:
9589 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9590 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9591 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9592 (gst_filesrc_create_read), (gst_filesrc_create),
9593 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9594 (gst_filesrc_start):
9595 * gst/elements/gsttypefindelement.c:
9596 (gst_type_find_element_have_type), (gst_type_find_element_init),
9597 (start_typefinding), (stop_typefinding), (push_buffer_store),
9598 (gst_type_find_element_handle_event),
9599 (gst_type_find_element_chain),
9600 (gst_type_find_element_checkgetrange),
9601 (gst_type_find_element_getrange), (do_typefind),
9602 (gst_type_find_element_activate),
9603 (gst_type_find_element_change_state):
9604 * gst/elements/gsttypefindelement.h:
9605 * gst/gstpipeline.c: (pipeline_bus_handler):
9606 Added typefind helper.
9607 Small preroll fix in the base sink.
9608 Disable typefind code in basesrc.
9609 Crude port of typefindelement.
9613 2005-04-11 Wim Taymans <wim@fluendo.com>
9615 * check/gst/gstbus.c: (gstbus_suite):
9616 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9618 Fix up the timeout so that the test does not fail.
9620 2005-04-06 Wim Taymans <wim@fluendo.com>
9623 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9624 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9625 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9626 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9627 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9628 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9629 (gst_basesrc_stop), (gst_basesrc_activate),
9630 (gst_basesrc_change_state), (basesrc_find_peek),
9631 (basesrc_find_suggest), (gst_basesrc_type_find):
9632 * gst/base/gstbasesrc.h:
9633 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9634 (gst_filesrc_class_init), (gst_filesrc_init),
9635 (gst_filesrc_finalize), (gst_filesrc_set_location),
9636 (gst_filesrc_set_property), (gst_filesrc_get_property),
9637 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9638 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9639 (gst_filesrc_create_read), (gst_filesrc_create),
9640 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9641 * gst/elements/gstfilesrc.h:
9642 * gst/gstelement.c: (gst_element_get_state_func),
9643 (gst_element_lost_state), (gst_element_pads_activate):
9644 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9645 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9646 (gst_pad_pull_range):
9648 More work on the generic source base class, implement seeking,
9650 Make filesrc extend the base source class.
9651 Added gst_pad_set_checkgetrange_function to GstPad.
9653 2005-04-06 Andy Wingo <wingo@pobox.com>
9655 * pkgconfig/gstreamer-base.pc.in:
9656 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9658 * pkgconfig/Makefile.am:
9659 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9661 2005-04-04 Wim Taymans <wim@fluendo.com>
9663 * gst/base/Makefile.am:
9665 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9666 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9667 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9668 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9669 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9670 (gst_basesrc_base_init), (gst_basesrc_class_init),
9671 (gst_basesrc_init), (gst_basesrc_get_formats),
9672 (gst_basesrc_get_query_types), (gst_basesrc_query),
9673 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9674 (gst_basesrc_set_property), (gst_basesrc_get_property),
9675 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9676 (gst_basesrc_loop), (gst_basesrc_activate),
9677 (gst_basesrc_change_state):
9678 * gst/base/gstbasesrc.h:
9679 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9680 (gst_fakesrc_class_init), (gst_fakesrc_init),
9681 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9682 (gst_fakesrc_get_property), (gst_fakesrc_create):
9683 * gst/elements/gstfakesrc.h:
9684 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9685 (gst_filesrc_open_file), (gst_filesrc_loop),
9686 (gst_filesrc_activate), (filesrc_find_peek),
9687 (gst_filesrc_type_find):
9688 Made base source class, make fakesrc extend it.
9689 Add comments to basesink class.
9690 Some filesrc cleanup.
9692 2005-03-31 David Schleef <ds@schleef.org>
9694 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9695 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9696 expected to link against libgstreamer.
9697 * gst/base/Makefile.am: link against libgstreamer
9698 * gst/elements/Makefile.am: same
9700 2005-03-31 Andy Wingo <wingo@pobox.com>
9702 * tests/instantiate/Makefile.am:
9703 * tests/instantiate/caps.c: Add test to test speed of caps copy
9706 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9707 GMemChunk to be fair.
9709 * gst/gsttrashstack.h: Remove warning about using the fallback
9710 trash stack implementation, it's still faster than malloc.
9712 2005-03-30 Andy Wingo <wingo@pobox.com>
9714 * tests/complexity.c: Add a copyright.
9716 2005-03-31 Wim Taymans <wim@fluendo.com>
9718 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9719 (gst_base_transform_class_init), (gst_base_transform_init),
9720 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9721 (gst_base_transform_get_property),
9722 (gst_base_transform_sink_activate),
9723 (gst_base_transform_src_activate),
9724 (gst_base_transform_change_state):
9725 * gst/base/gstbasetransform.h:
9726 * gst/elements/gstidentity.c: (gst_identity_class_init),
9727 (gst_identity_event), (gst_identity_check_perfect),
9728 (gst_identity_transform), (gst_identity_start),
9729 (gst_identity_stop):
9730 Added start/stop methods to transform base class so subclasses
9731 don't need to deal with state changes even.
9733 2005-03-31 Wim Taymans <wim@fluendo.com>
9735 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9736 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9738 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9739 (gst_pad_pull_range):
9740 Added rate to the discont event to prepare for variable speed
9741 and reverse playback.
9743 2005-03-29 David Schleef <ds@schleef.org>
9746 * testsuite/trigger/Makefile.am:
9747 * testsuite/trigger/trigger.c: A little example program to show
9748 how trigger-based elements can work.
9750 2005-03-29 Wim Taymans <wim@fluendo.com>
9752 * gst/base/Makefile.am:
9754 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9755 (gst_basesink_base_init), (gst_basesink_class_init),
9756 (gst_basesink_pad_getcaps), (gst_basesink_init),
9757 (gst_basesink_activate), (gst_basesink_change_state):
9758 * gst/base/gstbasesink.h:
9759 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9760 (gst_base_transform_base_init), (gst_base_transform_finalize),
9761 (gst_base_transform_class_init), (gst_base_transform_init),
9762 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9763 (gst_base_transform_event), (gst_base_transform_getrange),
9764 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9765 (gst_base_transform_set_property),
9766 (gst_base_transform_get_property),
9767 (gst_base_transform_sink_activate),
9768 (gst_base_transform_src_activate),
9769 (gst_base_transform_change_state):
9770 * gst/base/gstbasetransform.h:
9771 * gst/elements/gstidentity.c: (gst_identity_finalize),
9772 (gst_identity_class_init), (gst_identity_init),
9773 (gst_identity_event), (gst_identity_check_perfect),
9774 (gst_identity_transform), (gst_identity_set_property),
9775 (gst_identity_get_property), (gst_identity_change_state):
9776 * gst/elements/gstidentity.h:
9777 * gst/gstelement.c: (gst_element_get_state_func),
9778 (gst_element_lost_state), (gst_element_pads_activate):
9779 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9780 (gst_pad_check_pull_range), (gst_pad_pull_range):
9782 Simplify pad activation.
9783 Added function to check if pull_range can be performed.
9784 Error out when pulling inactive or flushing pads.
9785 Removed const from refcounted types as it does not make sense.
9786 Simplify pad templates in basesink
9787 Added base class for simple 1-to-1 transforms.
9788 Make identity subclass the base transform.
9790 2005-03-29 Andy Wingo <wingo@pobox.com>
9792 * docs/libs/gstreamer-libs-overrides.txt:
9793 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9794 really don't understand what's going on, but like whatever. I want
9797 * docs/gst/Makefile.am:
9798 * docs/libs/Makefile.am: Dist the overrides files.
9800 * check/Makefile.am (clean-local): Remove .libs directories.
9802 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9803 elements to EXTRA_DIST, so po/ files are happy.
9805 * po/POTFILES.in: Er, remove it here.
9807 * po/POTFILES: Remove gstspider.c.
9809 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9811 * docs/libs/gstreamer-libs-docs.sgml:
9812 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9815 * tests/complexity.c (main): Set the length of the preroll queue
9816 on the sinks to prevent a lockup.
9818 * libs/gst/dataprotocol/Makefile.am:
9819 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9820 the same as the one in check/gst-libs/gdp.c.
9822 * po/, docs/gst/: Commit automatic changes to docs and po files.
9824 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9825 the versioned libgstbase.
9827 * check/Makefile.am: Depend on an unversioned gst-register, seems
9828 to make autoconf happier.
9830 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9832 2005-03-28 Wim Taymans <wim@fluendo.com>
9835 * docs/design/part-gstelement.txt:
9836 * docs/design/part-negotiation.txt:
9837 * docs/design/part-preroll.txt:
9838 * docs/design/part-scheduling.txt:
9839 * docs/design/part-states.txt:
9841 * gst/base/Makefile.am:
9843 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9844 (gst_basesink_base_init), (gst_basesink_class_init),
9845 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9846 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9847 (gst_basesink_set_pad_functions),
9848 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9849 (gst_basesink_set_property), (gst_basesink_get_property),
9850 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9851 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9852 (gst_basesink_preroll_queue_push),
9853 (gst_basesink_preroll_queue_empty),
9854 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9855 (gst_basesink_event), (gst_basesink_get_times),
9856 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9857 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9858 (gst_basesink_loop), (gst_basesink_activate),
9859 (gst_basesink_change_state):
9860 * gst/base/gstbasesink.h:
9861 * gst/elements/Makefile.am:
9862 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9863 (gst_fakesink_class_init), (gst_fakesink_init),
9864 (gst_fakesink_set_property), (gst_fakesink_get_property),
9865 (gst_fakesink_get_times), (gst_fakesink_event),
9866 (gst_fakesink_preroll), (gst_fakesink_render),
9867 (gst_fakesink_change_state):
9868 * gst/elements/gstfakesink.h:
9869 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9870 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9871 * gst/gstelement.c: (gst_element_add_pad),
9872 (gst_element_get_state_func), (gst_element_abort_state),
9873 (gst_element_commit_state), (gst_element_lost_state),
9874 (gst_element_set_state), (gst_element_pads_activate):
9875 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9876 * gst/gstpipeline.c: (gst_pipeline_send_event),
9877 (gst_pipeline_change_state):
9878 Added state change code.
9880 Added sink base class, make fakesink extend the base class.
9881 Small cleanups in GstPipeline.
9883 2005-03-26 David Schleef <ds@schleef.org>
9885 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9886 is broken and should be implemented in a different library.
9887 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9888 * gst/gst.h: remove gstcpu.h
9889 * gst/gstcpu.c: remove
9890 * gst/gstcpu.h: remove
9891 * gst/Makefile.am.future: Remove this file. It's ancient.
9893 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9895 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9896 (gst_bin_send_event):
9897 Add default event/set_manager handlers. The set_manager handler
9898 takes care that the manager is distributed over kids that were
9899 already in the bin before the manager was set. The event handler
9900 is a utility virtual function that sends the event over all sinks,
9901 so that gst_element_send_event (bin, event); has the expected
9903 * gst/gstpad.c: (gst_pad_event_default):
9904 Re-install default event handling for discontinuities, so that
9905 seeking works without requiring hacks in applications or extra
9907 * gst/gstpipeline.c: (gst_pipeline_class_init),
9908 (gst_pipeline_send_event):
9909 Half hack, half utility: set a pipeline to PAUSED for seek events,
9910 since that is the only way we can guarantee a/v sync. Means that
9911 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9912 and it "just works".
9914 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9916 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9917 Lock/unlock mismatch.
9919 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9921 * docs/faq/gst-uninstalled:
9922 add gst-plugins-base
9923 * docs/gst/Makefile.am:
9924 don't error out until docs are fixed
9925 * docs/gst/gstreamer.types:
9928 2005-03-22 Wim Taymans <wim@fluendo.com>
9930 * check/Makefile.am:
9931 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9932 * gst/gststructure.c: (gst_structure_set_valist),
9933 (gst_structure_copy_conditional):
9934 Activated more tests.
9936 Added G_TYPE_POINTER to GstStructure.
9939 2005-03-22 Wim Taymans <wim@fluendo.com>
9941 * docs/design/part-TODO.txt:
9942 * docs/design/part-events.txt:
9943 * docs/design/part-gstbin.txt:
9944 * docs/design/part-gstbus.txt:
9945 * docs/design/part-gstpipeline.txt:
9946 * docs/design/part-messages.txt:
9951 2005-03-21 Wim Taymans <wim@fluendo.com>
9953 * gst/gstbus.c: (gst_bus_post):
9954 Fix copy-and-paste error.
9956 2005-03-21 Wim Taymans <wim@fluendo.com>
9958 * check/Makefile.am:
9960 * gst/elements/Makefile.am:
9961 * gst/elements/gstelements.c:
9962 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9963 (gst_fakesink_event), (gst_fakesink_chain):
9964 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9965 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9966 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9967 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9968 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9969 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9970 (gst_fakesrc_loop), (gst_fakesrc_activate),
9971 (gst_fakesrc_change_state):
9972 * gst/elements/gstfakesrc.h:
9973 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9974 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9975 (gst_filesrc_open_file), (gst_filesrc_loop),
9976 (gst_filesrc_activate), (gst_filesrc_change_state),
9977 (filesrc_find_peek), (filesrc_find_suggest),
9978 (gst_filesrc_type_find):
9979 * gst/elements/gstidentity.c: (gst_identity_finalize),
9980 (gst_identity_class_init), (gst_identity_init),
9981 (gst_identity_proxy_getcaps), (identity_queue_push),
9982 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9983 (gst_identity_getrange), (gst_identity_chain),
9984 (gst_identity_sink_loop), (gst_identity_src_loop),
9985 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9986 (gst_identity_set_property), (gst_identity_get_property),
9987 (gst_identity_change_state):
9988 * gst/elements/gstidentity.h:
9989 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9990 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9991 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9992 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9993 (gst_tee_sink_activate):
9994 * gst/elements/gsttee.h:
9995 * gst/gst.c: (gst_register_core_elements), (init_post):
9997 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9998 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9999 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10000 (gst_bin_change_state):
10002 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10003 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10004 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10005 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10006 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10007 (bus_watch_callback), (bus_watch_destroy),
10008 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10009 (poll_timeout), (gst_bus_poll):
10013 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10014 (gst_element_post_message), (gst_element_message_full),
10015 (gst_element_get_state_func), (gst_element_get_state),
10016 (gst_element_abort_state), (gst_element_commit_state),
10017 (gst_element_lost_state), (gst_element_set_state),
10018 (gst_element_pads_activate), (gst_element_change_state),
10019 (gst_element_dispose), (gst_element_set_manager_func),
10020 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10021 (gst_element_set_manager), (gst_element_get_manager),
10022 (gst_element_set_bus), (gst_element_get_bus),
10023 (gst_element_set_scheduler), (gst_element_get_scheduler):
10024 * gst/gstelement.h:
10025 * gst/gstevent.c: (gst_event_new_segment_seek),
10026 (gst_event_new_flush):
10028 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10029 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10030 (gst_message_new_eos), (gst_message_new_error),
10031 (gst_message_new_warning), (gst_message_new_tag),
10032 (gst_message_new_state_changed), (gst_message_new_application),
10033 (gst_message_get_structure), (gst_message_parse_tag),
10034 (gst_message_parse_state_changed), (gst_message_parse_error),
10035 (gst_message_parse_warning):
10036 * gst/gstmessage.h:
10037 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10038 (gst_real_pad_set_property), (gst_pad_set_active),
10039 (gst_pad_is_active), (gst_pad_set_blocked_async),
10040 (gst_pad_set_blocked), (gst_pad_is_blocked),
10041 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10042 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10043 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10044 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10045 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10046 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10047 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10048 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10049 (gst_pad_set_caps), (gst_pad_configure_sink),
10050 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10051 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10052 (gst_real_pad_dispose), (gst_real_pad_finalize),
10053 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10054 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10055 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10057 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10058 (pipeline_bus_handler), (gst_pipeline_change_state),
10059 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10060 * gst/gstpipeline.h:
10062 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10063 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10064 (gst_queue_link_src), (gst_queue_bufferalloc),
10065 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10066 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10067 (gst_queue_loop), (gst_queue_handle_src_event),
10068 (gst_queue_handle_src_query), (gst_queue_src_activate),
10069 (gst_queue_change_state):
10071 * gst/gstscheduler.c: (gst_scheduler_init),
10072 (gst_scheduler_dispose), (gst_scheduler_create_task),
10073 (gst_scheduler_factory_create):
10074 * gst/gstscheduler.h:
10075 * gst/gststructure.c: (gst_structure_get_type),
10076 (gst_structure_copy_conditional):
10077 * gst/gststructure.h:
10078 * gst/gsttaginterface.h:
10079 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10080 (gst_task_init), (gst_task_dispose), (gst_task_create),
10081 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10087 * gst/schedulers/Makefile.am:
10088 * gst/schedulers/cothreads_compat.h:
10089 * gst/schedulers/entryscheduler.c:
10090 * gst/schedulers/faircothreads.c:
10091 * gst/schedulers/faircothreads.h:
10092 * gst/schedulers/fairscheduler.c:
10093 * gst/schedulers/gstbasicscheduler.c:
10094 * gst/schedulers/gstoptimalscheduler.c:
10095 * gst/schedulers/gthread-cothreads.h:
10096 * gst/schedulers/threadscheduler.c:
10097 (gst_thread_scheduler_task_get_type),
10098 (gst_thread_scheduler_task_class_init),
10099 (gst_thread_scheduler_task_init),
10100 (gst_thread_scheduler_task_start),
10101 (gst_thread_scheduler_task_stop),
10102 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10103 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10104 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10105 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10107 * libs/gst/Makefile.am:
10108 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10109 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10110 (gst_file_pad_parent_set):
10111 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10112 (gst_dp_event_from_packet):
10113 * tests/complexity.c: (main):
10114 * tests/mass_elements.c: (main):
10115 * testsuite/states/locked.c: (message_received), (main):
10116 * testsuite/states/parent.c: (main):
10117 * tools/gst-inspect.c: (print_element_flag_info),
10118 (print_implementation_info), (print_pad_info):
10119 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10121 * tools/gst-md5sum.c: (event_loop), (main):
10122 * tools/gst-typefind.c: (main):
10123 * tools/gst-xmlinspect.c: (print_element_info):
10125 Added GstBus for mainloop integration.
10126 Added GstMessage for sending notifications on the bus.
10127 Added GstTask as an abstraction for pipeline entry points.
10129 Removed Schedulers.
10130 Simplified GstQueue for multithreaded core.
10131 Made _link threadsafe, removed old capsnego.
10132 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10133 Added pad blocking functions.
10134 Reworked scheduling functions in GstPad to prepare for
10135 scheduling updates soon.
10136 Moved events out of data stream.
10137 Simplified GstEvent types.
10138 Added return values to push/pull.
10139 Removed clocking from GstElement.
10140 Added prototypes for state change function for next merge.
10141 Removed iterate from bins and state change management.
10142 Fixed some elements, disabled others for now.
10143 Fixed -inspect and -launch.
10144 Added check for GstBus.
10146 2005-03-10 Wim Taymans <wim@fluendo.com>
10148 * docs/design/part-MT-refcounting.txt:
10149 * docs/design/part-clocks.txt:
10150 * docs/design/part-gstelement.txt:
10151 * docs/design/part-gstobject.txt:
10152 * docs/design/part-standards.txt:
10153 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10154 (gst_bin_remove_func), (gst_bin_remove):
10158 * testsuite/clock/clock1.c: (main):
10159 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10161 * testsuite/dlopen/loadgst.c: (do_test):
10162 * testsuite/refcounting/bin.c: (add_remove_test1),
10163 (add_remove_test2), (main):
10164 * testsuite/refcounting/element.c: (main):
10165 * testsuite/refcounting/element_pad.c: (main):
10166 * testsuite/refcounting/pad.c: (main):
10167 * tools/gst-launch.c: (sigint_handler_sighandler):
10168 * tools/gst-typefind.c: (main):
10170 Added doc about clock.
10171 removed gst_bin_iterate_recurse_up(), marked methods
10173 Fix more testsuites.
10175 2005-03-09 Wim Taymans <wim@fluendo.com>
10177 * gst/gstpad.c: (gst_pad_get_direction),
10178 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10179 (gst_pad_collect_valist):
10180 * testsuite/bins/interface.c: (main):
10181 * testsuite/caps/audioscale.c: (test_caps):
10182 * testsuite/caps/caps.c: (test1), (test2), (test3):
10183 * testsuite/caps/deserialize.c: (main):
10184 * testsuite/caps/enumcaps.c: (main):
10185 * testsuite/caps/filtercaps.c: (main):
10186 * testsuite/caps/intersect2.c: (main):
10187 * testsuite/caps/random.c: (main):
10188 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10189 * testsuite/caps/sets.c: (check_caps):
10190 * testsuite/caps/simplify.c: (check_caps), (main):
10191 * testsuite/caps/subtract.c: (check_caps):
10192 Fix _pad_get_direction wrt ghostpads.
10193 Fix caps testsuite.
10195 2005-03-09 Wim Taymans <wim@fluendo.com>
10197 * check/Makefile.am:
10198 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10199 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10200 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10201 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10202 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10203 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10204 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10205 (bin_element_is_sink), (gst_bin_iterate_sinks),
10206 (gst_bin_iterate_all_by_interface):
10208 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10209 (gst_element_change_state), (gst_element_dispose),
10210 (gst_element_finalize), (gst_element_set_loop_function):
10211 * gst/gstelement.h:
10212 * gst/gstiterator.c: (find_custom_fold_func):
10213 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10214 (gst_pad_collectv), (gst_pad_collect_valist),
10215 (gst_pad_template_new):
10216 * gst/gstpipeline.c: (gst_pipeline_class_init),
10217 (gst_pipeline_dispose), (gst_pipeline_set_property),
10218 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10219 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10220 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10222 * gst/schedulers/entryscheduler.c:
10223 * gst/schedulers/gstbasicscheduler.c:
10224 (gst_basic_scheduler_cothreaded_chain),
10225 (gst_basic_scheduler_chain_add_element):
10226 * testsuite/bins/interface.c: (main):
10228 Added GstSystemClock test.
10229 Implemented clock distribution code in GstBin.
10230 Implemented iterate sinks method for future use.
10231 Rearranged gstelement.h
10232 Fix GstIterator comparison bug.
10233 Moved some code to GstPipeline, mostly clocking related.
10235 2005-03-09 Wim Taymans <wim@fluendo.com>
10238 * gst/gst_private.h:
10239 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10240 (gst_bin_remove_func), (gst_bin_remove),
10241 (gst_bin_get_by_name_recurse_up):
10242 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10243 (gst_clock_id_compare_func), (gst_clock_id_wait),
10244 (gst_clock_id_wait_async), (gst_clock_init),
10245 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10246 * gst/gstelement.h:
10247 * gst/gstinfo.c: (_gst_debug_init):
10249 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10250 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10252 Bump version number, we're now 0.9.0
10253 Add future debugging category.
10254 Fix NULL _unref() in _get_by_name_recurse_up
10255 Rearrange gstpad.h.
10258 2005-03-08 Wim Taymans <wim@fluendo.com>
10260 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10261 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10262 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10263 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10264 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10265 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10266 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10267 * gst/elements/gstidentity.c: (gst_identity_class_init):
10268 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10269 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10270 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10271 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10272 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10274 * gst/gstelement.c: (gst_element_class_init),
10275 (gst_element_base_class_init), (gst_element_init),
10276 (gst_element_get_random_pad), (gst_element_wait_state_change),
10277 (gst_element_change_state), (gst_element_dispose),
10278 (gst_element_finalize), (gst_element_set_loop_function):
10279 * gst/gstelement.h:
10280 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10281 * gst/gstthread.c: (gst_thread_class_init),
10282 (gst_thread_release_children_locks), (gst_thread_change_state):
10283 * gst/schedulers/gstbasicscheduler.c:
10284 (gst_basic_scheduler_loopfunc_wrapper),
10285 (gst_basic_scheduler_chain_wrapper),
10286 (gst_basic_scheduler_src_wrapper),
10287 (gst_basic_scheduler_remove_element):
10288 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10289 Remove threadsafe properties. Fix elements because GObject
10290 complains when installing a property before declaring a
10291 set/get_property handler.
10292 Rearrange gstelement.h file, use STATE macros for state locks.
10293 Free mutexes in the finalize method instead of dispose.
10295 2005-03-08 Wim Taymans <wim@fluendo.com>
10297 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10298 * gst/gstthread.c: (gst_thread_release_children_locks):
10299 Added parentage check.
10300 Fix build og GstThread again.
10302 2005-03-08 Wim Taymans <wim@fluendo.com>
10304 * docs/design/part-MT-refcounting.txt:
10305 * docs/design/part-conventions.txt:
10306 * docs/design/part-gstobject.txt:
10307 * docs/design/part-relations.txt:
10308 * docs/design/part-standards.txt:
10309 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10310 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10311 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10312 (gst_bin_iterate_all_by_interface):
10315 * gst/gstelement.c: (gst_element_class_init),
10316 (gst_element_change_state), (gst_element_set_loop_function):
10317 * gst/gstelement.h:
10318 * gst/gstiterator.c:
10319 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10320 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10321 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10322 (gst_object_set_parent), (gst_object_unparent),
10323 (gst_object_check_uniqueness):
10325 Docs updates, clean up some headers.
10327 2005-03-07 Wim Taymans <wim@fluendo.com>
10329 * check/.cvsignore:
10330 * check/Makefile.am:
10331 * check/gst-libs/.cvsignore:
10332 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10333 * check/gst/.cvsignore:
10334 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10335 (START_TEST), (gstbus_suite), (main):
10336 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10337 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10338 (gst_data_suite), (main):
10339 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10340 (add_fold_func), (gstiterator_suite), (main):
10341 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10342 (thread_name_object), (thread_name_object_default),
10343 (gst_object_name_compare), (gst_object_suite), (main):
10344 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10345 (gst_pad_suite), (main):
10346 * check/gstcheck.c: (gst_check_log_message_func),
10347 (gst_check_log_critical_func), (gst_check_init):
10348 * check/gstcheck.h:
10349 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10350 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10353 2005-03-07 Wim Taymans <wim@fluendo.com>
10355 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10356 (gst_list_iterator_next), (gst_list_iterator_resync),
10357 (gst_list_iterator_free), (gst_iterator_new_list),
10358 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10359 (gst_iterator_free), (gst_iterator_push), (filter_next),
10360 (filter_resync), (filter_uninit), (filter_free),
10361 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10362 (gst_iterator_foreach), (find_custom_fold_func),
10363 (gst_iterator_find_custom):
10364 * gst/gstiterator.h:
10365 Added missing files.
10367 2005-03-07 Wim Taymans <wim@fluendo.com>
10371 * docs/design/part-MT-refcounting.txt:
10372 * docs/design/part-conventions.txt:
10373 * docs/design/part-gstobject.txt:
10374 * docs/design/part-relations.txt:
10375 * examples/mixer/mixer.c: (main):
10376 * examples/thread/thread.c: (eos), (main):
10378 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10379 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10380 (gst_spider_plug_from_srcpad):
10381 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10382 (gst_spider_identity_change_state),
10383 (gst_spider_identity_sink_loop_type_finding):
10384 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10385 * gst/elements/gstidentity.c: (gst_identity_init):
10386 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10387 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10388 * gst/elements/gsttypefindelement.c: (free_entry):
10391 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10392 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10393 (gst_bin_set_index), (gst_bin_set_element_sched),
10394 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10395 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10396 (gst_bin_iterate_elements), (iterate_child_recurse),
10397 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10398 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10399 (compare_interface), (gst_bin_get_by_interface),
10400 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10402 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10403 (gst_buffer_default_free), (gst_buffer_default_copy),
10404 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10405 (gst_buffer_create_sub):
10407 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10408 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10409 (gst_caps_unref), (gst_static_caps_get),
10410 (gst_caps_remove_and_get_structure), (gst_caps_append),
10411 (gst_caps_append_structure), (gst_caps_remove_structure),
10412 (gst_caps_copy_nth), (gst_caps_set_simple),
10413 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10414 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10415 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10416 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10417 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10418 (gst_caps_structure_figure_out_union),
10419 (gst_caps_switch_structures), (gst_caps_do_simplify),
10420 (gst_caps_replace), (gst_caps_from_string),
10421 (gst_caps_copy_conditional):
10423 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10424 (_gst_clock_id_free), (gst_clock_id_unref),
10425 (gst_clock_id_compare_func), (gst_clock_id_wait),
10426 (gst_clock_id_wait_async), (gst_clock_class_init),
10427 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10428 (gst_clock_get_time), (gst_clock_set_time_adjust),
10429 (gst_clock_set_property), (gst_clock_get_property):
10432 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10433 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10435 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10436 (gst_element_requires_clock), (gst_element_provides_clock),
10437 (gst_element_set_clock), (gst_element_clock_wait),
10438 (gst_element_wait), (gst_element_set_time_delay),
10439 (gst_element_is_indexable), (gst_element_add_pad),
10440 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10441 (pad_compare_name), (gst_element_get_static_pad),
10442 (gst_element_request_pad), (gst_element_get_request_pad),
10443 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10444 (gst_element_class_get_pad_template_list),
10445 (gst_element_class_get_pad_template), (gst_element_error_func),
10446 (gst_element_get_random_pad), (gst_element_get_event_masks),
10447 (gst_element_send_event), (gst_element_seek),
10448 (gst_element_get_query_types), (gst_element_query),
10449 (gst_element_get_formats), (gst_element_convert),
10450 (gst_element_is_locked_state), (gst_element_set_locked_state),
10451 (gst_element_sync_state_with_parent), (gst_element_change_state),
10452 (gst_element_finalize), (gst_element_yield),
10453 (gst_element_interrupt), (gst_element_set_scheduler),
10454 (gst_element_get_scheduler), (gst_element_set_loop_function):
10455 * gst/gstelement.h:
10457 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10458 (gst_format_get_by_nick), (gst_format_get_details),
10459 (gst_format_iterate_definitions):
10461 * gst/gstindex.c: (gst_index_gtype_resolver):
10464 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10465 (gst_mem_chunk_free):
10466 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10467 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10468 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10469 (gst_object_dispatch_properties_changed),
10470 (gst_object_set_name_default), (gst_object_set_name),
10471 (gst_object_get_name), (gst_object_set_name_prefix),
10472 (gst_object_get_name_prefix), (gst_object_set_parent),
10473 (gst_object_get_parent), (gst_object_unparent),
10474 (gst_object_check_uniqueness), (gst_object_save_thyself),
10475 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10476 (gst_object_set_property), (gst_object_get_property),
10477 (gst_object_get_path_string):
10479 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10480 (gst_real_pad_init), (gst_real_pad_get_property),
10481 (gst_pad_custom_new), (gst_pad_get_direction),
10482 (gst_pad_set_active), (gst_pad_is_active),
10483 (gst_pad_set_event_function), (gst_pad_is_linked),
10484 (gst_pad_link_free), (gst_pad_link_intersect),
10485 (gst_pad_link_fixate), (gst_pad_set_caps),
10486 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10487 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10488 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10489 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10490 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10491 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10492 (gst_pad_realize), (gst_pad_get_allowed_caps),
10493 (gst_real_pad_dispose), (gst_real_pad_finalize),
10494 (gst_pad_collectv), (gst_pad_collect_valist),
10495 (gst_pad_template_dispose), (gst_pad_template_new),
10496 (gst_pad_get_internal_links):
10498 * gst/gstpipeline.c: (gst_pipeline_dispose),
10499 (gst_pipeline_change_state):
10500 * gst/gstpipeline.h:
10502 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10503 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10504 * gst/gstpluginfeature.h:
10505 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10506 * gst/gstquery.c: (_gst_query_type_initialize),
10507 (gst_query_type_register), (gst_query_type_get_by_nick),
10508 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10510 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10511 * gst/gstscheduler.c: (gst_scheduler_add_element),
10512 (gst_scheduler_factory_create):
10513 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10514 (gst_structure_free), (gst_structure_set_name),
10515 (gst_structure_id_set_value), (gst_structure_set_value),
10516 (gst_structure_set_valist), (gst_structure_remove_field),
10517 (gst_structure_remove_fields),
10518 (gst_structure_remove_fields_valist),
10519 (gst_structure_remove_all_fields), (gst_structure_foreach),
10520 (gst_structure_map_in_place),
10521 (gst_caps_structure_fixate_field_nearest_int),
10522 (gst_caps_structure_fixate_field_nearest_double):
10523 * gst/gststructure.h:
10524 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10525 (gst_system_clock_init), (gst_system_clock_dispose),
10526 (gst_system_clock_async_thread),
10527 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10528 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10529 * gst/gstsystemclock.h:
10530 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10531 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10532 * gst/gsttaginterface.c:
10533 * gst/gstthread.c: (gst_thread_dispose),
10534 (gst_thread_release_children_locks), (gst_thread_change_state),
10535 (gst_thread_main_loop):
10536 * gst/gsttrashstack.h:
10537 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10539 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10540 (gst_element_request_pad), (gst_element_get_pad_from_template),
10541 (gst_element_request_compatible_pad),
10542 (gst_element_get_compatible_pad_filtered),
10543 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10544 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10545 (gst_element_link_many), (gst_element_link),
10546 (gst_element_link_pads), (gst_element_unlink_pads),
10547 (gst_element_unlink_many), (gst_element_unlink),
10548 (gst_pad_can_link_filtered), (gst_pad_can_link),
10549 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10550 (gst_object_default_error), (gst_bin_add_many),
10551 (gst_bin_remove_many), (gst_element_populate_std_props),
10552 (gst_element_class_install_std_props), (gst_buffer_merge),
10553 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10554 (link_fold_func), (gst_pad_proxy_setcaps):
10556 * gst/gstvalue.c: (gst_value_deserialize_string):
10557 * gst/parse/grammar.y:
10558 * gst/schedulers/gstbasicscheduler.c:
10559 (gst_basic_scheduler_cothreaded_chain),
10560 (gst_basic_scheduler_chain_recursive_add),
10561 (gst_basic_scheduler_pad_link):
10562 * gst/schedulers/gstoptimalscheduler.c:
10563 (get_group_schedule_function),
10564 (gst_opt_scheduler_state_transition),
10565 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10566 * libs/gst/bytestream/bytestream.c:
10567 * libs/gst/dataprotocol/dataprotocol.c:
10568 (gst_dp_header_from_buffer):
10571 * tests/threadstate/threadstate2.c: (eos):
10572 * tools/gst-compprep.c: (main):
10573 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10574 (print_pad_info), (print_children_info):
10575 * tools/gst-launch.c: (idle_func), (main):
10576 * tools/gst-md5sum.c: (idle_func), (main):
10577 * tools/gst-xmlinspect.c: (print_element_info):
10578 First THREADED backport attempt, focusing on adding locks and
10579 making sure the API is threadsafe. Needs more work. More docs
10582 2005-02-24 Andy Wingo <wingo@pobox.com>
10584 * tests/bench-complexity.scm:
10585 * tests/complexity.gnuplot: New files, good for running complexity
10588 * tests/Makefile.am:
10589 * tests/complexity.c: New test, sets up N elements, at each level
10590 teeing into M streams per element. Eeeenteresting.
10592 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10593 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10594 running bench-mass_elements.scm.
10596 * tests/bench-mass_elements.scm: New script, runs mass_elements
10597 for various numbers of identities, outputting the results to a
10598 file. Requires guile 1.6. Just for testing.
10600 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10602 * gst/schedulers/fairscheduler.c:
10603 compile with debug disabled
10605 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10608 hunting season on 0.9 is now OPEN