1 2005-11-15 Andy Wingo <wingo@pobox.com>
3 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
4 error if the user selected "no clock" as the clocking method.
6 * check/gst/gstpipeline.c (test_base_time): New test for buffer
7 timestamps with live capture.
9 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
10 is 0 but we are a live source, timestamp the buffers using the
13 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15 * docs/gst/gstreamer-sections.txt:
22 2005-11-14 Wim Taymans <wim@fluendo.com>
25 add suppressions from Wim's Debian machine
27 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
30 add suppressions from Andy's AMD64 Ubuntu machine
32 2005-11-14 Andy Wingo <wingo@pobox.com>
34 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
35 STATE_LOCK not necessary. Fixes #311489.
37 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
40 * gst/gstindex.c (gst_index_add_object): Note in the docs that
41 this function is not implemented.
43 2005-11-14 Julien MOUTTE <julien@moutte.net>
45 * gst/base/gstbasetransform.c:
46 (gst_base_transform_prepare_output_buf):
47 Ref the source pad caps while we need them.
50 2005-11-11 Wim Taymans <wim@fluendo.com>
52 * docs/gst/gstreamer-sections.txt:
53 Added some docs for GstCollectData.
55 * gst/base/gstadapter.c:
56 Some small code example fix.
58 * gst/base/gstcollectpads.c:
59 * gst/base/gstcollectpads.h:
62 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
64 * configure.ac: back to HEAD
68 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
71 releasing 0.9.5, "Bike Lunch Day"
73 2005-11-11 Wim Taymans <wim@fluendo.com>
75 * gst/gstbuffer.c: (_gst_buffer_copy):
78 * gst/gstcaps.c: (gst_caps_is_equal):
80 Make _is_equal fast in the trivial cases.
82 * gst/gstminiobject.c:
83 * gst/gstminiobject.h:
84 More docs. Spifify .h file.
89 2005-11-11 Wim Taymans <wim@fluendo.com>
91 * gst/base/gstbasetransform.c:
92 (gst_base_transform_prepare_output_buf),
93 (gst_base_transform_handle_buffer):
95 If we're processing a buffer and need to allocate an output
96 buffer, we cannot accept a format change. If we did get a
97 format change, we have to alloc a buffer ourselves of the
100 2005-11-11 Wim Taymans <wim@fluendo.com>
102 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
103 While checking the flag for reentrancy in the gstcaps function
104 is nice to detect recursive invocations, it also makes it
105 impossible to call getcaps from multiple threads, which must be
106 possible. So, checking for recursive calls has to go.
108 2005-11-11 Michael Smith <msmith@fluendo.com>
110 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
111 Don't sync on buffers that fall partially outside our current
112 segment. Prevents an assertion failure/abort playing some files.
114 2005-11-10 Andy Wingo <wingo@pobox.com>
116 * check/gst/gstbin.c (test_message_state_changed_children): Style
119 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
120 gst_bus_poll with the signal watch. Ensures that poll and a signal
121 watch see the same messages.
123 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
124 a poll and a watch at the same time get the same messages.
126 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
128 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
129 * gst/gstcaps.c: (gst_caps_intersect):
130 Don't call gst_caps_do_simplify - it doesn't respect order of caps
133 2005-11-10 Wim Taymans <wim@fluendo.com>
135 * docs/design/part-TODO.txt:
138 2005-11-10 Wim Taymans <wim@fluendo.com>
140 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
141 * gst/base/gstbasesrc.c: (gst_base_src_wait),
142 (gst_base_src_do_sync), (gst_base_src_get_range):
143 Implement clock sync in base class.
145 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
147 patch by: Tim-Philipp Müller <tim at centricular dot net>
149 * gst/gststructure.c: (gst_structure_parse_field),
150 (gst_structure_from_string):
151 Forward-port a 0.8 patch to handle escaped spaces in structure string,
152 so that gst_parse_launch() can deal with spaces in filtered link
154 * check/gst/capslist.h:
155 * check/gst/gststructure.c: (GST_START_TEST):
156 add unit tests for this change
158 2005-11-10 Wim Taymans <wim@fluendo.com>
160 * docs/gst/gstreamer-sections.txt:
163 Fix docs, move some STATE macros to private.
165 2005-11-10 Wim Taymans <wim@fluendo.com>
167 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
168 Added check for bug #317341
172 Some more spiffifying.
174 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
175 Call peer linkfunction if we are a source pad. Totally fixes
179 Update docs, source pads should call the peer linkfunction
180 so they can atomically perform the pad link.
182 2005-11-09 Wim Taymans <wim@fluendo.com>
186 Uber-spiffy-spiffify some more.
188 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
190 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
191 * gst/elements/gstfilesink.c: (gst_file_sink_init):
192 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
193 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
194 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
195 * gst/gstpad.c: (gst_pad_init):
196 Use GST_DEBUG_FUNCPTR() more extensively.
198 2005-11-09 Wim Taymans <wim@fluendo.com>
200 * gst/gstobject.c: (gst_object_class_init):
204 2005-11-09 Edward Hervey <edward@fluendo.com>
206 * gst/gsttypefindfactory.c:
209 2005-11-09 Edward Hervey <edward@fluendo.com>
211 * gst/base/gsttypefindhelper.c:
216 2005-11-09 Wim Taymans <wim@fluendo.com>
225 2005-11-09 Wim Taymans <wim@fluendo.com>
231 2005-11-09 Wim Taymans <wim@fluendo.com>
233 * docs/gst/gstreamer-sections.txt:
234 Moved the message async delivery private lock and cond
235 to the private section.
241 2005-11-09 Edward Hervey <edward@fluendo.com>
243 * docs/gst/gstreamer-sections.txt:
246 Document GstURIHandler
248 2005-11-09 Wim Taymans <wim@fluendo.com>
250 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
251 (gst_iterator_find_custom):
255 2005-11-09 Wim Taymans <wim@fluendo.com>
258 Document another field.
260 * gst/gststructure.c:
261 * gst/gststructure.h:
264 2005-11-09 Wim Taymans <wim@fluendo.com>
269 2005-11-09 Wim Taymans <wim@fluendo.com>
271 * docs/gst/gstreamer-sections.txt:
272 Added some new macros.
279 2005-11-09 Wim Taymans <wim@fluendo.com>
281 * docs/design/part-TODO.txt:
282 Some more items for the TODO
288 2005-11-09 Andy Wingo <wingo@pobox.com>
290 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
291 to work on something else now tho...
293 * gst/base/gstadapter.c: More adapter docs.
295 * gst/elements/gstfilesink.c (gst_file_sink_start)
296 (gst_file_sink_stop): New functions, replace the state change
298 (gst_file_sink_class_init): Hook up the start and stop functions.
299 (gst_file_sink_base_init): Don't set the state change handler any
300 more. It was a bit ugly too, being set from here...
301 (gst_file_sink_get_property, gst_file_sink_set_property):
303 (gst_file_sink_set_location): More robust check that doesn't call
306 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
308 * gst/base/gstbasetransform.c: (gst_base_transform_event):
309 Hold STREAM_LOCK while pushing newsegment or tag events as well.
311 2005-11-08 Wim Taymans <wim@fluendo.com>
313 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
314 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
315 (gst_base_sink_chain), (gst_base_sink_change_state):
316 * gst/base/gstbasesink.h:
317 * gst/base/gstbasesrc.h:
320 Avoid excessive typechecking in macros.
322 * gst/gstminiobject.c: (gst_mini_object_get_type),
323 (gst_mini_object_init), (gst_mini_object_new),
324 (gst_mini_object_free):
325 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
326 (gst_object_finalize):
327 Remove cruft code, optimize alloc_trace.
329 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
331 * docs/faq/gst-uninstalled:
332 fix up PS1 for systems that try to reset it
334 2005-11-07 Wim Taymans <wim@fluendo.com>
336 * gst/base/gstbasesrc.c: (gst_base_src_init),
337 (gst_base_src_get_range):
338 Set the segment_end to -1 initially. Fixed typefind.
340 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
342 * gst/base/gstadapter.c:
343 Debug category should be 'adapter', not 'GstAdapter'.
345 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
346 (gst_collectpads_class_init), (gst_collectpads_init),
347 (gst_collectpads_peek), (gst_collectpads_pop),
348 (gst_collectpads_event), (gst_collectpads_chain):
349 Add debug category and some debugging output. Use boilerplate
350 macros. Remove some extraneous words from docs.
352 2005-11-05 Andy Wingo <wingo@pobox.com>
354 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
357 2005-11-04 Stefan Kost <ensonic@users.sf.net>
359 * docs/gst/gstreamer-sections.txt:
362 * gst/gstminiobject.h:
367 2005-11-04 Wim Taymans <wim@fluendo.com>
369 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
370 Small update to stop at the configured segment_end
373 2005-11-04 Stefan Kost <ensonic@users.sf.net>
379 2005-11-04 Edward Hervey <edward@fluendo.com>
381 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
382 Check if we are doing a segment seek and have arrived at the
385 2005-11-04 Wim Taymans <wim@fluendo.com>
387 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
388 Don't leak a mutex unlock in case of an error.
393 2005-11-04 Wim Taymans <wim@fluendo.com>
395 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
397 Get the context to wake up only once.
399 2005-11-03 Wim Taymans <wim@fluendo.com>
401 * check/states/sinks.c: (GST_START_TEST):
402 Uncomment fixed check.
404 * docs/design/part-TODO.txt:
407 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
408 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
409 (gst_base_sink_get_position):
410 If we are going to PLAYING, post the right pending state
411 when we post the intermediate paused message.
413 * gst/gstelement.c: (gst_element_continue_state),
414 (gst_element_set_state_func), (gst_element_change_state):
415 Don't post state changes that were between the same state
418 2005-11-03 Stefan Kost <ensonic@users.sf.net>
420 * docs/gst/gstreamer-sections.txt:
423 * gst/gstminiobject.h:
426 more docs and doc style fixes
428 2005-11-03 Stefan Kost <ensonic@users.sf.net>
430 * docs/gst/gstreamer-sections.txt:
432 * gst/gstminiobject.c:
435 2005-11-03 Andy Wingo <wingo@pobox.com>
437 * check/states/sinks.c (test_livesrc_sink): Add checks that the
438 state-changed messages actually have the right order and the right
441 2005-11-03 Wim Taymans <wim@fluendo.com>
443 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
444 Added some more checks. Specifically the case where NO_PREROLL
445 elements are in the pipeline.
447 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
448 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
449 (gst_base_sink_get_position):
450 Post READY->PAUSED state change messages too.
451 Fix bug where VOID was posted as pending state...
453 * gst/gstbin.c: (gst_bin_recalc_state):
454 use _element_continue_state() to continue the state change.
456 * gst/gstelement.c: (gst_element_continue_state),
457 (gst_element_commit_state), (gst_element_set_state_func),
458 (gst_element_change_state), (gst_element_change_state_func):
459 Lots of state change cleanups, assign the STATE_RETURN in
460 a new continue_state() function that also propagates the
461 last return value from a state change to the app.
462 Update some debug statements with proper category.
464 2005-11-03 Wim Taymans <wim@fluendo.com>
466 * docs/design/part-events.txt:
467 * docs/design/part-gstpipeline.txt:
468 * docs/design/part-messages.txt:
469 * docs/design/part-overview.txt:
470 * docs/design/part-seeking.txt:
471 * docs/design/part-states.txt:
472 * docs/design/part-trickmodes.txt:
473 * docs/manual/advanced-position.xml:
477 People think !! is ugly, this looks better.
479 * gst/gstpad.c: (gst_pad_set_blocked_async):
480 Remove !! since it's fixed elsewhere now.
482 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
484 * gst/gstminiobject.h:
486 Add !! to _FLAG_IS_SET macros to make the result boolean.
488 2005-11-03 Edward Hervey <edward@fluendo.com>
490 * gst/gstpad.c: (gst_pad_set_blocked_async):
491 comparing a flag and a gboolean rarely returns coherent results...
492 Added two characters (!!) to make that work correctly.
494 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
496 * gst/gstbus.c: (gst_bus_class_init):
499 * gst/gstqueue.c: (gst_queue_loop):
500 Don't assume a miniobject that isn't a buffer is an
501 event (it could be that there is a refcounting
502 problem somewhere and the pointer is stale and
503 refers to an already destroyed miniobject).
505 2005-11-03 Julien MOUTTE <julien@moutte.net>
507 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
509 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
511 * docs/manual/advanced-position.xml:
512 Update seek example and explanations to current 0.9 API.
514 * gst/elements/gsttypefindelement.c:
515 (gst_type_find_element_activate):
516 Remove FIXME comment now that the found caps
519 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
521 * gst/gstregistryxml.c: (load_feature):
522 Add another GST_STR_NULL instance
524 2005-11-02 Edward Hervey <edward@fluendo.com>
526 * gst/gstpad.c: (handle_pad_block):
527 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
529 2005-11-02 Wim Taymans <wim@fluendo.com>
534 * gst/gstelement.c: (gst_element_commit_state):
538 Mention that the returned element is reffed in the docs.
540 2005-11-02 Wim Taymans <wim@fluendo.com>
542 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
543 (gst_pad_push), (gst_pad_push_event):
544 Unlock blocked pads when they are flushed.
546 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
549 * docs/gst/gstreamer-sections.txt:
552 * gst/gstregistry.c: (gst_registry_scan_path_level):
553 fix for a nasty little missed situation where an installed plug-in
554 which was in the cache did not get overridden by an uninstalled one
555 which was earlier in the plugin path because the newly created plugin
556 for the uninstalled one (not in the registry) didn't get its
557 ->registered set to TRUE
559 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
561 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
562 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
563 (gst_collectpads_is_active), (gst_collectpads_collect),
564 (gst_collectpads_collect_range), (gst_collectpads_start),
565 (gst_collectpads_stop), (gst_collectpads_peek),
566 (gst_collectpads_pop), (gst_collectpads_available),
567 (gst_collectpads_read), (gst_collectpads_flush):
568 Guard public API with assertions.
571 Fix docs for gst_pad_set_link_function().
573 2005-11-02 Johan Dahlin <johan@gnome.org>
575 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
576 Unref found_caps after we used it.
578 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
580 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
581 Don't try to ref NULL.
583 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
585 * win32/common/config.h.in:
586 provide a GST_FUNCTION that just gives a string for now
588 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
590 * win32/common/gstenumtypes.c: (register_gst_object_flags),
591 (gst_object_flags_get_type), (register_gst_bin_flags),
592 (gst_bin_flags_get_type), (register_gst_buffer_flag),
593 (gst_buffer_flag_get_type), (register_gst_bus_flags),
594 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
595 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
596 (gst_clock_return_get_type), (register_gst_clock_entry_type),
597 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
598 (gst_clock_flags_get_type), (register_gst_state),
599 (gst_state_get_type), (register_gst_state_change_return),
600 (gst_state_change_return_get_type), (register_gst_state_change),
601 (gst_state_change_get_type), (register_gst_element_flags),
602 (gst_element_flags_get_type), (register_gst_core_error),
603 (gst_core_error_get_type), (register_gst_library_error),
604 (gst_library_error_get_type), (register_gst_resource_error),
605 (gst_resource_error_get_type), (register_gst_stream_error),
606 (gst_stream_error_get_type), (register_gst_event_type),
607 (gst_event_type_get_type), (register_gst_seek_type),
608 (gst_seek_type_get_type), (register_gst_seek_flags),
609 (gst_seek_flags_get_type), (register_gst_format),
610 (gst_format_get_type), (register_gst_index_certainty),
611 (gst_index_certainty_get_type), (register_gst_index_entry_type),
612 (gst_index_entry_type_get_type),
613 (register_gst_index_lookup_method),
614 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
615 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
616 (gst_index_resolver_method_get_type), (register_gst_index_flags),
617 (gst_index_flags_get_type), (register_gst_debug_level),
618 (gst_debug_level_get_type), (register_gst_debug_color_flags),
619 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
620 (gst_iterator_result_get_type), (register_gst_iterator_item),
621 (gst_iterator_item_get_type), (register_gst_message_type),
622 (gst_message_type_get_type), (register_gst_mini_object_flags),
623 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
624 (gst_pad_link_return_get_type), (register_gst_flow_return),
625 (gst_flow_return_get_type), (register_gst_activate_mode),
626 (gst_activate_mode_get_type), (register_gst_pad_direction),
627 (gst_pad_direction_get_type), (register_gst_pad_flags),
628 (gst_pad_flags_get_type), (register_gst_pad_presence),
629 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
630 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
631 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
632 (gst_plugin_error_get_type), (register_gst_plugin_flags),
633 (gst_plugin_flags_get_type), (register_gst_rank),
634 (gst_rank_get_type), (register_gst_query_type),
635 (gst_query_type_get_type), (register_gst_tag_merge_mode),
636 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
637 (gst_tag_flag_get_type), (register_gst_task_state),
638 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
639 (gst_alloc_trace_flags_get_type),
640 (register_gst_type_find_probability),
641 (gst_type_find_probability_get_type), (register_gst_uri_type),
642 (gst_uri_type_get_type), (register_gst_parse_error),
643 (gst_parse_error_get_type):
644 * win32/common/gstversion.h:
647 2005-11-01 Luca Ognibene <luogni@tin.it>
650 fix docs. popt is dead, long live GOption.
652 2005-10-31 Wim Taymans <wim@fluendo.com>
657 2005-10-31 Andy Wingo <wingo@pobox.com>
661 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
663 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
664 need to serialize property notifications on GLib 2.8. GLib 2.6 has
665 the possibility of deadlocks here if code calling notify() or
666 set() has a lock that can be taken in another notify handler (ABBA
667 with class lock and e.g. python GIL state lock).
669 2005-10-28 Julien MOUTTE <julien@moutte.net>
671 * gst/gstbus.c: Doc updates.
673 2005-10-28 Wim Taymans <wim@fluendo.com>
675 * docs/design/part-TODO.txt:
677 * gst/gstsystemclock.c:
678 * gst/gstsystemclock.h:
681 2005-10-28 Edward Hervey <edward@fluendo.com>
683 * docs/gst/gstreamer-docs.sgml:
684 * docs/gst/gstreamer-sections.txt:
685 the GstURIType documentation page is private, it only defines GstURIType
686 which should be defined in the GstURIHandler page
688 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
690 * gst/gstbin.c: (gst_bin_class_init):
693 Documentation updates.
695 2005-10-28 Wim Taymans <wim@fluendo.com>
697 * docs/gst/gstreamer-sections.txt:
700 Documented the clocks.
702 2005-10-28 Stefan Kost <ensonic@users.sf.net>
704 * docs/gst/gstreamer-sections.txt:
705 move some macros to private sections
706 * gst/gstminiobject.c:
707 * gst/gstminiobject.h:
708 add descriptions provided by ds and some more
710 mark macro as to be removed
712 2005-10-28 Wim Taymans <wim@fluendo.com>
714 * docs/design/part-TODO.txt:
717 * gst/gstiterator.c: (gst_iterator_fold),
718 (gst_iterator_find_custom):
722 2005-10-28 Wim Taymans <wim@fluendo.com>
724 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
725 (gst_base_transform_init):
728 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
729 An EOS event marks the queue as completely filled.
731 2005-10-27 Wim Taymans <wim@fluendo.com>
733 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
734 (gst_base_sink_do_sync), (gst_base_sink_get_position):
737 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
738 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
739 (gst_base_transform_event), (gst_base_transform_getrange),
740 (gst_base_transform_chain):
741 * gst/base/gstbasetransform.h:
743 Protect transform and concurrent buffer alloc with a new lock.
744 Try not to break ABI/API.
746 2005-10-27 Wim Taymans <wim@fluendo.com>
748 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
749 (gst_base_src_init), (gst_base_src_query),
750 (gst_base_src_default_newsegment),
751 (gst_base_src_configure_segment), (gst_base_src_do_seek),
752 (gst_base_src_send_event), (gst_base_src_event_handler),
753 (gst_base_src_pad_get_range), (gst_base_src_loop),
754 (gst_base_src_unlock), (gst_base_src_default_negotiate),
755 (gst_base_src_start), (gst_base_src_deactivate),
756 (gst_base_src_activate_push), (gst_base_src_change_state):
757 Move some stuff around and cleanup things.
759 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
761 * gst/base/gstbasesrc.c: (gst_base_src_query):
762 Add missing break statements.
764 2005-10-27 Wim Taymans <wim@fluendo.com>
766 * check/gst/gstbin.c: (GST_START_TEST):
767 An extra refcount is taken in basesrc.
769 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
770 (gst_base_src_get_range), (gst_base_src_pad_get_range),
772 Small cleanups, check for flushing after being unlocked from the
773 LIVE_LOCK. take refcounts correctly (not yet everywhere).
774 Don't send out EOS when going to READY.
776 2005-10-27 Wim Taymans <wim@fluendo.com>
778 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
779 (gst_base_sink_get_position):
782 * gst/gstbin.c: (message_check), (bin_replace_message),
783 (bin_remove_messages), (is_eos), (gst_bin_add_func),
784 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
785 (bin_query_duration_init), (bin_query_duration_fold),
786 (bin_query_duration_done), (bin_query_generic_fold),
788 * tools/gst-launch.c: (main):
791 2005-10-26 Stefan Kost <ensonic@users.sf.net>
793 * examples/controller/audio-example.c: (main):
794 * examples/queue/queue.c: (event_loop):
795 * gst/base/gstbasetransform.h:
796 * gst/gstelement.c: (gst_element_send_event):
798 * gst/gstpad.c: (gst_pad_send_event):
801 changing log priority in error situations
803 2005-10-25 Wim Taymans <wim@fluendo.com>
805 * gst/gstbin.c: (message_check), (bin_replace_message),
806 (bin_remove_messages), (is_eos), (gst_bin_add_func),
807 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
808 (bin_query_duration_init), (bin_query_duration_fold),
809 (bin_query_duration_done), (bin_query_generic_fold),
811 Some doc and debug updates.
812 Cache previously requested query DURATION for speed. invalidate
813 cached duration if element posts a DURATION message.
815 2005-10-25 Wim Taymans <wim@fluendo.com>
817 * docs/design/part-TODO.txt:
820 * gst/gstbin.c: (message_check), (bin_replace_message),
821 (bin_remove_messages), (is_eos), (gst_bin_add_func),
822 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
823 (bin_query_duration_init), (bin_query_duration_fold),
824 (bin_query_duration_done), (bin_query_generic_fold),
826 Handle SEGMENT_START/DONE messages correctly.
827 More evolved query algorithm that handles duration queries
830 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
831 (gst_element_get_state_func), (gst_element_abort_state),
832 (gst_element_commit_state), (gst_element_lost_state):
838 2005-10-25 Wim Taymans <wim@fluendo.com>
840 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
841 Don't use invalid stream_time.
843 * gst/gstevent.c: (gst_event_new_newsegment):
844 stream_time in newsegment cannot be undefined.
846 2005-10-24 Wim Taymans <wim@fluendo.com>
851 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
853 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
855 2005-10-24 Stefan Kost <ensonic@users.sf.net>
857 * docs/libs/tmpl/gstdparam.sgml:
858 * docs/libs/tmpl/gstdplinint.sgml:
859 * docs/libs/tmpl/gstdpman.sgml:
860 * docs/libs/tmpl/gstdpsmooth.sgml:
861 * docs/libs/tmpl/gstunitconvert.sgml:
864 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
869 === release 0.9.4 ===
871 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
874 releasing 0.9.4, "Tyrannosaurus Rex"
876 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
878 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
879 (gst_file_sink_get_current_offset):
880 Use fseeko() and ftello() if available. When falling back on
881 lseek() to get the current offset, fflush() first to make sure
882 everything is up-to-date and we get the right offset.
884 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
886 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
887 * gst/base/gstbasesrc.c: (gst_base_src_loop):
888 * gst/gsterror.c: (_gst_stream_errors_init):
890 * gst/gstqueue.c: (gst_queue_loop):
892 remove prematurely added error category and clean up the instances
894 2005-10-21 Wim Taymans <wim@fluendo.com>
896 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
897 (gst_base_sink_get_position), (gst_base_sink_query),
898 (gst_base_sink_change_state):
899 Simply set the right flag when going to playing, that's all
900 we need to do instead of calling a function inside the object
901 lock (that could take the lock as well and deadlock)
903 2005-10-21 Wim Taymans <wim@fluendo.com>
905 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
907 Don't warn, the peer element knows what to do best when
908 the seek failed, it might try something else.
910 2005-10-21 Wim Taymans <wim@fluendo.com>
912 * gst/base/gstbasesrc.c: (gst_base_src_init),
913 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
916 2005-10-21 Wim Taymans <wim@fluendo.com>
918 * docs/design/part-segments.txt:
921 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
922 Correctly set caps, even on the subbufer.
924 2005-10-21 Wim Taymans <wim@fluendo.com>
926 * docs/gst/gstreamer-docs.sgml:
927 * docs/gst/gstreamer-sections.txt:
934 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
938 And 2% more doc coverage.
940 2005-10-21 Andy Wingo <wingo@pobox.com>
942 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
945 2005-10-20 Wim Taymans <wim@fluendo.com>
947 * gst/gsterror.c: (gst_error_get_message):
950 * gst/gststructure.c:
955 2005-10-20 Wim Taymans <wim@fluendo.com>
960 Another 1% more coverage.
962 2005-10-20 Wim Taymans <wim@fluendo.com>
964 * docs/gst/gstreamer-sections.txt:
965 * gst/gstelement.c: (gst_element_get_state_func),
966 (gst_element_abort_state), (gst_element_commit_state),
967 (gst_element_lost_state):
969 * gst/gstquery.c: (gst_query_set_position),
970 (gst_query_parse_position), (gst_query_set_duration),
971 (gst_query_parse_duration), (gst_query_new_convert):
973 Yay! 1% more docs coverage.
975 2005-10-20 Wim Taymans <wim@fluendo.com>
978 * gst/gstquery.c: (gst_query_set_position),
979 (gst_query_parse_position), (gst_query_set_duration),
980 (gst_query_parse_duration), (gst_query_new_convert):
982 * gst/gstutils.c: (gst_element_query_convert):
984 Docs and consistency fixes.
986 2005-10-20 Wim Taymans <wim@fluendo.com>
992 2005-10-20 Wim Taymans <wim@fluendo.com>
994 * gst/gstbin.c: (message_check), (bin_replace_message),
995 (bin_remove_messages), (is_eos), (gst_bin_add_func),
996 (update_degree), (gst_bin_sort_iterator_next),
997 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
998 Reworked the message handling a bit, cache the messages instead of
999 only the senders. alows us to do more in the future.
1001 2005-10-20 Wim Taymans <wim@fluendo.com>
1003 * docs/design/part-TODO.txt:
1006 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1007 (gst_base_sink_query):
1008 Don't use clock time to report position when in EOS.
1010 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1012 * tools/gst-inspect.c: (print_interfaces),
1013 (print_element_properties_info), (print_element_info):
1014 Fix interface output with gst-inspect -a; don't print
1015 newlines after double/float properties.
1017 2005-10-20 Wim Taymans <wim@fluendo.com>
1019 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1020 (gst_base_sink_query):
1021 Speed up current position calculation.
1023 * gst/base/gstbasesrc.c: (gst_base_src_query),
1024 (gst_base_src_default_newsegment):
1025 Correctly set stream position in newsegment.
1027 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1028 (update_degree), (gst_bin_sort_iterator_next),
1029 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1030 * gst/gstmessage.c: (gst_message_new_custom):
1031 Clean up debugging info
1033 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1034 (gst_queue_loop), (gst_queue_handle_src_query):
1037 2005-10-19 Wim Taymans <wim@fluendo.com>
1039 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1040 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1041 Fix query handling again.
1043 2005-10-19 Wim Taymans <wim@fluendo.com>
1045 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1046 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1047 * gst/base/gstbasesrc.c: (gst_base_src_query):
1048 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1049 * gst/elements/gsttypefindelement.c:
1050 (gst_type_find_handle_src_query), (find_element_get_length),
1051 (gst_type_find_element_activate):
1054 * gst/gstquery.c: (gst_query_new_position),
1055 (gst_query_set_position), (gst_query_parse_position),
1056 (gst_query_new_duration), (gst_query_set_duration),
1057 (gst_query_parse_duration), (gst_query_set_segment),
1058 (gst_query_parse_segment):
1060 Bundling query position/duration is not a good idea since duration
1061 does not change much and we don't want to recalculate it for every
1062 position query, so they are separated again..
1063 Base value in segment query is not needed.
1065 * gst/gstqueue.c: (gst_queue_handle_src_query):
1066 * gst/gstutils.c: (gst_element_query_position),
1067 (gst_element_query_duration), (gst_pad_query_position),
1068 (gst_pad_query_duration):
1070 Updates for query API change.
1071 Added some docs here and there.
1073 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1075 * check/gst/gstbin.c: (GST_START_TEST):
1076 * check/gst/gstghostpad.c: (GST_START_TEST):
1077 * check/pipelines/cleanup.c: (GST_START_TEST):
1078 wait on thread to die so we can check refcount correctly
1080 2005-10-18 Wim Taymans <wim@fluendo.com>
1082 * check/pipelines/stress.c: (GST_START_TEST):
1083 Make check a little more time consuming.
1085 2005-10-18 Wim Taymans <wim@fluendo.com>
1087 * check/Makefile.am:
1088 * check/pipelines/stress.c: (GST_START_TEST),
1089 (simple_launch_lines_suite), (main):
1090 Small state change torture test.
1092 * docs/design/part-states.txt:
1093 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1094 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1095 (gst_base_sink_change_state):
1096 Never take state lock from streaming thread, clean up ugly
1097 hacks. Unfortunatly core does not yet support nice ways to
1100 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1102 Start state recalc if a STATE_DIRTY message is posted, but only
1103 on the toplevel bin.
1105 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1106 (gst_element_get_state_func), (gst_element_abort_state),
1107 (gst_element_commit_state), (gst_element_lost_state),
1108 (gst_element_set_state_func), (gst_element_change_state):
1110 State variables are now protected with the LOCK, the state
1111 lock is only used to serialize _set_state().
1113 2005-10-18 Wim Taymans <wim@fluendo.com>
1115 * check/gst/gstbin.c: (GST_START_TEST):
1116 * check/gst/gstmessage.c: (GST_START_TEST):
1117 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1118 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1120 * gst/gstelement.c: (gst_element_abort_state),
1121 (gst_element_commit_state), (gst_element_lost_state):
1122 * gst/gstmessage.c: (gst_message_new_state_changed),
1123 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1124 (gst_message_new_segment_done), (gst_message_new_duration),
1125 (gst_message_parse_state_changed),
1126 (gst_message_parse_segment_start),
1127 (gst_message_parse_segment_done), (gst_message_parse_duration):
1129 * tools/gst-launch.c: (event_loop):
1130 Seriously, this is better than a previous commit as we only need
1131 to notify the fact that an element changed state in a streaming
1132 thread, marking the state of the parents dirty, hence the
1133 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1136 2005-10-18 Wim Taymans <wim@fluendo.com>
1138 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1139 (gst_bin_recalc_func):
1140 * gst/gstelement.c: (gst_element_set_clock),
1141 (gst_element_abort_state), (gst_element_lost_state):
1142 Cleanups, prepare for state change fixes.
1144 2005-10-18 Wim Taymans <wim@fluendo.com>
1147 * gst/gstelement.c: (gst_element_class_init),
1148 (gst_element_set_state), (gst_element_set_state_func):
1150 Pending ABI changes.
1151 GThreadPool in GstBinClass to monitor async state changes.
1152 state_cookie in GstElement to detect concurrent gst/set state.
1153 set_state is now virtual too in case a very complicated element
1154 has to be constructed.
1156 2005-10-18 Wim Taymans <wim@fluendo.com>
1158 * check/gst/gstbin.c: (GST_START_TEST):
1159 * check/gst/gstmessage.c: (GST_START_TEST):
1160 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1161 * gst/gstbin.c: (bin_bus_handler):
1162 * gst/gstelement.c: (gst_element_commit_state),
1163 (gst_element_lost_state):
1164 * gst/gstmessage.c: (gst_message_new_state_changed),
1165 (gst_message_new_segment_start), (gst_message_new_segment_done),
1166 (gst_message_new_duration), (gst_message_parse_state_changed),
1167 (gst_message_parse_segment_start),
1168 (gst_message_parse_segment_done), (gst_message_parse_duration):
1170 * tools/gst-launch.c: (event_loop):
1171 Make messages future proof.
1172 state-change gets a flag if it was a message comming from the
1174 segment-start/stop can also be specified in other formats.
1175 A message to notify an app that a pipeline changed playback
1177 Also fix a GstMessage leak in -launch
1179 2005-10-18 Andy Wingo <wingo@pobox.com>
1181 * gst/gstelement.c (gst_element_dispose): More helpful message.
1183 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1185 * gst/gstregistry.c: (gst_registry_scan_path_level):
1186 unref a plug-in we get that was already initialized
1188 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1190 * docs/gst/gstreamer-sections.txt:
1191 * docs/libs/gstreamer-libs-sections.txt:
1196 2005-10-17 Andy Wingo <wingo@pobox.com>
1198 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1201 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1203 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1205 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1206 (gst_element_get_state_func): Better debug message.
1207 (gst_element_commit_state): s/INFO/DEBUG/.
1208 (gst_element_lost_state, gst_element_change_state):
1210 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1211 (gst_message_new_custom): s/INFO/LOG/.
1213 2005-10-17 Michael Smith <msmith@fluendo.com>
1215 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1216 Check if end time is valid using end time, not start time.
1218 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1220 * check/gst-libs/controller.c: (GST_START_TEST),
1221 (gst_controller_suite):
1222 * libs/gst/controller/gstcontroller.c:
1223 (gst_controlled_property_set_interpolation_mode):
1224 * libs/gst/controller/gstcontroller.h:
1225 * libs/gst/controller/gstinterpolation.c:
1226 * testsuite/controller/.cvsignore:
1227 * testsuite/controller/Makefile.am:
1228 * testsuite/controller/interpolator.c:
1229 merge controller testsuites
1231 remove mem-chunk from docs
1233 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1235 * gst/gstmemchunk.c:
1236 * gst/gstmemchunk.h:
1237 * gst/gsttrashstack.c:
1238 * gst/gsttrashstack.h:
1239 out. get out. you're fired. to the Attic !
1241 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1243 * gst/gstcaps.c: (gst_caps_intersect):
1244 fix signedness issues in a (hopefully) correct way
1245 * gst/gstelement.c: (gst_element_pads_activate):
1247 * gst/gstobject.c: (gst_object_set_parent):
1250 2005-10-17 Julien MOUTTE <julien@moutte.net>
1252 * gst/gstvalue.h: Fix prototypes.
1254 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1256 * docs/gst/gstreamer-sections.txt:
1257 * gst/gst.c: (gst_version_string):
1259 * gst/gstversion.h.in:
1260 * win32/common/libgstreamer.def:
1261 add gst_version_string ()
1263 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1267 * gst/gst.c: (init_post):
1268 * win32/common/config.h.in:
1270 * gst/gstcaps.c: (gst_caps_intersect):
1271 use gint64, the range could be bigger than a guint
1273 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1276 document potential problem in 2038
1278 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1280 * gst/gstcaps.c: (gst_caps_intersect):
1281 Fix guint j diving under 0
1283 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1286 * win32/common/config.h:
1287 * win32/common/config.h.in:
1288 check for process.h, declares getpid() on Windows
1290 include process.h if we have it
1291 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1292 * gst/gstmemchunk.h:
1293 fix signedness issues
1294 * win32/common/libgstreamer.def:
1297 2005-10-16 Julien MOUTTE <julien@moutte.net>
1299 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1300 fix. Because of unsigned ints, caps intersection was going nuts and
1301 trying to access structures with G_MAXUINT index. That fixes
1302 videotestsrc ! ffmpegcolorspace ! fakesink
1303 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1306 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1309 use the gettext macro
1310 * gst/elements/gstelements.c:
1312 * gst/indexers/gstindexers.c:
1313 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1314 * win32/common/config.h:
1316 * win32/common/config.h.in:
1317 add the template to generate config.h
1318 * win32/common/gstenumtypes.c:
1319 * win32/common/gstversion.h:
1322 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1324 * gst/gst.c: (gst_version):
1325 * gst/gstversion.h.in:
1328 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1331 Oops, add missing closing bracket.
1333 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1336 use common m4's for argument checking
1338 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1340 * docs/gst/gstreamer-sections.txt:
1342 Add GST_EVENT_TYPE_NAME() macro.
1344 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1347 * gst/gstpluginfeature.c:
1349 privatize more symbols
1351 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1354 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1355 everything that uses GStreamer API should have the includes
1357 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1359 * docs/gst/gstreamer-sections.txt:
1360 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1362 give each value a _get_type, removes the DATA exports
1364 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1368 remove _gst_registry_auto_load, not used anymore
1369 * gst/gstbin.c: (gst_bin_get_type):
1371 * gst/gstelement.c: (gst_element_get_type):
1373 * gst/gstobject.c: (gst_object_get_type):
1375 * gst/gstpad.c: (gst_pad_get_type):
1377 make _get_type functions similar, fixes data export from library
1379 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1382 correctly make conditionals
1383 * gst/elements/Makefile.am:
1384 * gst/elements/gstelements.c:
1385 fix typo causing fdsrc not to build
1387 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1389 * testsuite/Makefile.am:
1390 * testsuite/bytestream/.cvsignore:
1391 * testsuite/bytestream/Makefile.am:
1392 * testsuite/bytestream/filepadsink.c:
1393 * testsuite/bytestream/gstbstest.c:
1394 * testsuite/bytestream/test1.c:
1395 * testsuite/bytestream/testfile1:
1396 * testsuite/caps/normalisation.c:
1397 * testsuite/caps/random.c: (main):
1398 * testsuite/cleanup/.cvsignore:
1399 * testsuite/cleanup/Makefile.am:
1400 * testsuite/cleanup/cleanup1.c:
1401 * testsuite/cleanup/cleanup2.c:
1402 * testsuite/cleanup/cleanup3.c:
1403 * testsuite/cleanup/cleanup4.c:
1404 * testsuite/cleanup/cleanup5.c:
1405 * testsuite/controller/interpolator.c:
1406 * testsuite/debug/printf_extension.c: (main):
1407 * testsuite/elements/tee.c:
1408 * testsuite/negotiation/.cvsignore:
1409 * testsuite/negotiation/Makefile.am:
1410 * testsuite/negotiation/pad_link.c:
1411 * testsuite/pad/Makefile.am:
1412 * testsuite/pad/chainnopull.c:
1413 * testsuite/pad/getnopush.c:
1414 * testsuite/pad/link.c:
1415 * testsuite/refcounting/sched.c: (create_pipeline):
1416 * testsuite/registry/Makefile.am:
1417 * testsuite/registry/gst-print-formats.c:
1418 * testsuite/schedulers/.cvsignore:
1419 * testsuite/schedulers/142183-2.c:
1420 * testsuite/schedulers/142183.c:
1421 * testsuite/schedulers/143777-2.c:
1422 * testsuite/schedulers/143777.c:
1423 * testsuite/schedulers/147713.c:
1424 * testsuite/schedulers/147819.c:
1425 * testsuite/schedulers/147894-2.c:
1426 * testsuite/schedulers/147894.c:
1427 * testsuite/schedulers/Makefile.am:
1428 * testsuite/schedulers/group_link.c:
1429 * testsuite/schedulers/queue_link.c:
1430 * testsuite/schedulers/relink.c:
1431 * testsuite/schedulers/unlink.c:
1432 * testsuite/schedulers/unref.c:
1433 * testsuite/schedulers/useless_iteration.c:
1434 * testsuite/states/bin.c:
1435 clean out/remove some stuff from the testsuite directories
1437 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1440 check for some headers
1441 * gst/elements/Makefile.am:
1442 * gst/elements/gstelements.c:
1443 don't compile fdsrc without sys/socket.h
1444 * gst/indexers/Makefile.am:
1445 * gst/indexers/gstindexers.c: (plugin_init):
1446 don't compile fileindex without mmap
1448 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1455 * check/Makefile.am:
1456 * docs/gst/Makefile.am:
1457 * examples/helloworld/Makefile.am:
1459 * gst/base/Makefile.am:
1460 * gst/check/Makefile.am:
1461 * gst/elements/Makefile.am:
1462 * gst/indexers/Makefile.am:
1463 * gst/parse/Makefile.am:
1464 * libs/gst/controller/Makefile.am:
1465 * libs/gst/dataprotocol/Makefile.am:
1466 * examples/helloworld/helloworld.c: (event_loop):
1467 compile fixes, though it's not being compiled currently
1469 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1471 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1472 Add some simple tests for the new taglist date API.
1474 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1476 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1477 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1478 Beautify 'last-message' output: print 'none' for buffer timestamps
1479 and durations if none is set; improve alignment with next messages.
1481 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1483 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1484 * gst/gstpluginfeature.h:
1485 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1486 * gst/gstregistry.h:
1487 * docs/gst/gstreamer-sections.txt:
1488 Add new API to check plugin feature version requirements.
1490 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1491 Some basic tests for the above.
1493 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1495 * gst/gststructure.c: (gst_structure_to_string):
1496 guard against NULL printf - happens when for example
1497 a message structure with GstClock gets serialized
1499 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1501 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1502 Fix presumable copy'n'pasto.
1504 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1506 * gst/elements/gstfakesrc.h:
1507 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1508 * gst/elements/gsttypefindelement.c:
1510 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1511 I wonder if this could actually write +2GB files before
1513 2005-10-13 Andy Wingo <wingo@pobox.com>
1515 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1516 Fix Timmeke Waymans bug.
1517 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1518 string of the proper length to gst_caps_from_string. There's a
1519 potential for, before this fix, that this could cause someone
1520 connecting over the network to cause a segfault if the payload is
1523 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1525 * docs/design/draft-push-pull.txt:
1526 * docs/design/part-overview.txt:
1527 * docs/random/TODO-pre-0.9:
1528 * docs/random/old/ChangeLog.gstreamer:
1529 * gst/base/gstpushsrc.c:
1533 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1535 * gst/glib-compat.c: (gst_flags_get_first_value):
1536 * gst/glib-compat.h:
1537 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1538 (gst_value_compare_double), (gst_value_serialize_flags):
1539 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1542 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1544 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1545 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1547 * tools/gst-launch.c: (event_loop):
1548 print out clock nicely
1550 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1552 * docs/gst/gstreamer-sections.txt:
1554 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1555 (gst_tag_list_get_date_index):
1556 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1557 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1559 2005-10-13 Julien MOUTTE <julien@moutte.net>
1561 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1562 (gst_collectpads_chain):
1563 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1566 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1568 * docs/gst/gstreamer-sections.txt:
1571 * tools/gst-inspect.c: (main):
1572 * tools/gst-launch.c: (main):
1573 * tools/gst-run.c: (main):
1574 * tools/gst-xmlinspect.c: (main):
1575 fix GOption context leaks
1578 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1582 * win32/common/config.h:
1584 * win32/vs6/grammar.dsp:
1585 * win32/vs6/libgstelements.dsp:
1586 * win32/vs6/libgstreamer.dsp:
1589 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1591 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1592 * gst/base/gstbasesrc.c: (gst_base_src_query):
1593 fix more guint64<->gdouble conversions
1595 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1598 add win32-update target
1599 * win32/common/gstconfig.h:
1600 * win32/common/gstenumtypes.c:
1601 * win32/common/gstenumtypes.h:
1602 * win32/common/gstversion.h:
1603 add files that visual studio can't generate
1605 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1608 add a win32-update target
1611 2005-10-12 Wim Taymans <wim@fluendo.com>
1613 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1614 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1615 * gst/gstelement.c: (gst_element_commit_state),
1616 (gst_element_set_state):
1617 Protect flags with proper lock.
1618 unref provided cached clock in dispose.
1620 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1623 * gst/gstminiobject.h:
1625 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1626 removed unused flags from miniobject
1629 2005-10-12 Wim Taymans <wim@fluendo.com>
1631 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1632 (gst_file_sink_event), (gst_file_sink_render):
1633 Flush before seeking.
1635 2005-10-12 Andy Wingo <wingo@pobox.com>
1637 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1638 always been the case.
1640 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1642 * check/gst/gstbin.c: (GST_START_TEST):
1643 * docs/gst/gstreamer-sections.txt:
1644 * gst/base/gstbasesink.c: (gst_base_sink_init):
1645 * gst/base/gstbasesrc.c: (gst_base_src_init),
1646 (gst_base_src_get_range), (gst_base_src_check_get_range),
1647 (gst_base_src_start), (gst_base_src_stop):
1648 * gst/base/gstbasesrc.h:
1649 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1650 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1651 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1655 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1657 * gst/gstelement.c: (gst_element_is_locked_state),
1658 (gst_element_set_locked_state), (gst_element_commit_state),
1659 (gst_element_set_state):
1661 * gst/gstindex.c: (gst_index_init):
1663 * gst/gstminiobject.h:
1664 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1665 (gst_object_set_parent):
1667 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1668 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1670 * gst/gstpadtemplate.h:
1671 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1672 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1673 * gst/gstpipeline.h:
1674 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1675 (gst_file_index_commit):
1676 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1677 * testsuite/pad/link.c: (gst_test_src_init),
1678 (gst_test_filter_init), (gst_test_sink_init):
1679 * testsuite/states/locked.c: (main):
1680 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1681 moved bitshift from macro to enum definition
1683 2005-10-12 Wim Taymans <wim@fluendo.com>
1685 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1686 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1687 (gst_file_sink_render):
1688 Some more debugging info.
1690 2005-10-12 Wim Taymans <wim@fluendo.com>
1692 * docs/design/part-states.txt:
1693 * tools/gst-launch.c: (main):
1695 Revert non-intentional change.
1697 2005-10-12 Wim Taymans <wim@fluendo.com>
1699 * check/gst/gstbin.c: (GST_START_TEST):
1700 * check/gst/gstelement.c: (GST_START_TEST):
1701 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1702 * check/gst/gstghostpad.c: (GST_START_TEST):
1703 * check/gst/gstpipeline.c: (GST_START_TEST):
1704 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1705 * check/states/sinks.c: (GST_START_TEST):
1706 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1707 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1708 (gst_bin_remove_func), (gst_bin_get_state_func),
1709 (gst_bin_recalc_state), (gst_bin_change_state_func),
1711 * gst/gstelement.c: (gst_element_get_state_func),
1712 (gst_element_get_state), (gst_element_abort_state),
1713 (gst_element_commit_state), (gst_element_set_state),
1714 (gst_element_change_state), (gst_element_change_state_func):
1716 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1717 (gst_pipeline_provide_clock_func):
1718 * gst/gstutils.c: (gst_element_link_pads_filtered):
1719 * tools/gst-launch.c: (main):
1720 * tools/gst-typefind.c: (main):
1721 Use GstClockTime in _get_state() instead of GTimeVal.
1722 Remove old code in gstutils.c
1724 2005-10-12 Andy Wingo <wingo@pobox.com>
1726 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1729 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1730 there is no task. Shouldn't affect any code, as nothing in our
1731 plugins checks this return value.
1732 (gst_pad_stop_task): Also take the stream lock if the pad has no
1735 2005-10-12 Wim Taymans <wim@fluendo.com>
1737 * gst/gstpad.c: (pre_activate), (post_activate),
1738 (gst_pad_activate_pull), (gst_pad_activate_push):
1739 Cleanup activation code. Reset old state if
1742 2005-10-12 Wim Taymans <wim@fluendo.com>
1744 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1745 (gst_base_sink_change_state):
1746 No need to prerol after receiving EOS.
1748 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1749 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1750 * gst/elements/gstidentity.c: (gst_identity_event):
1751 Print events more verbosely.
1753 2005-10-12 Wim Taymans <wim@fluendo.com>
1755 * check/Makefile.am:
1756 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1757 * check/states/sinks2.c:
1758 Moved sinks2 testcode in sinks check.
1760 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1761 (gst_bin_remove_func), (gst_bin_recalc_state),
1762 (gst_bin_change_state_func), (bin_bus_handler):
1763 Fix potential race condition when _get_state() iterated over an
1764 ASYNC element right before it posted a state completion.
1767 Do proper cast here.
1769 * gst/gstevent.c: (gst_event_new_newsegment),
1770 (gst_event_parse_newsegment):
1771 A playback rate of 0.0 is not allowed.
1773 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1775 * win32/common/config.h:
1776 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1777 (_trewinddir), (_ttelldir), (_tseekdir):
1778 * win32/common/dirent.h:
1779 * win32/common/gtchar.h:
1780 * win32/common/libgstbase.def:
1781 * win32/common/libgstreamer.def:
1782 * win32/vs6/grammar.dsp:
1783 * win32/vs6/gst_inspect.dsp:
1784 * win32/vs6/gst_launch.dsp:
1785 * win32/vs6/gstreamer.dsw:
1786 * win32/vs6/libgstbase.dsp:
1787 * win32/vs6/libgstelements.dsp:
1788 * win32/vs6/libgstreamer.dsp:
1789 Visual Studio 6 project files, and a new common directory.
1792 2005-10-11 Wim Taymans <wim@fluendo.com>
1794 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1795 (gst_base_sink_do_sync), (gst_base_sink_query),
1796 (gst_base_sink_change_state):
1797 * gst/base/gstbasesink.h:
1798 Correctly parse newsegment info.
1800 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1802 * gst/gst.c: (init_post):
1803 split plugin paths correctly
1805 2005-10-11 Wim Taymans <wim@fluendo.com>
1807 * check/gst/gstevent.c: (GST_START_TEST):
1808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1809 (gst_base_sink_change_state):
1810 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1811 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1812 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1813 * gst/gstevent.c: (gst_event_new_newsegment),
1814 (gst_event_parse_newsegment):
1816 Added extra flag to newsegment for future API freeze.
1817 Updated check and base elements.
1819 2005-10-11 Julien MOUTTE <julien@moutte.net>
1821 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1822 (gst_collectpads_add_pad), (gst_collectpads_pop),
1823 (gst_collectpads_event), (gst_collectpads_chain):
1824 * gst/base/gstcollectpads.h: Handle EOS correctly.
1826 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1828 * tools/gst-launch.c: (main):
1829 more null protecting
1831 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1833 * gst/gst-i18n-lib.h:
1834 check for ENABLE_NLS, not GETTEXT_PACKAGE
1835 * gst/gstregistry.c: (gst_registry_add_plugin),
1836 (gst_registry_scan_path_level),
1837 (_gst_registry_remove_cache_plugins):
1838 protect possibly NULL strings
1839 * gst/parse/types.h:
1840 config.h already included before
1841 * tools/gst-inspect.c: (main):
1842 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1843 check for ENABLE_NLS, not GETTEXT_PACKAGE
1844 * tools/gst-launch.c: (main):
1845 check for ENABLE_NLS, not GETTEXT_PACKAGE
1847 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1850 if we don't have glib, fail before testing 2.8
1851 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1852 fix a leak, should fix plugins-base testsuite
1854 2005-10-11 Andy Wingo <wingo@pobox.com>
1856 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1857 take the mode we're going to as an arg. Go head and set the mode
1858 and flushing flags now, so that if the activate function starts a
1859 thread all the flags will be in the right state.
1860 (post_activate): Renamed also. Just handle making sure streaming
1861 finishes for the deactivation case, and setting the deactivated
1863 (gst_pad_set_active): Complain loudly if deactivation fails.
1864 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1865 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1866 remove the terrible hack.
1868 2005-10-11 Wim Taymans <wim@fluendo.com>
1870 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1871 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1872 (gst_bin_recalc_state), (gst_bin_change_state_func),
1873 (gst_bin_dispose), (bin_bus_handler):
1875 Prepare to make current EOS message queue more generic.
1878 * gst/gstevent.c: (gst_event_new_newsegment),
1879 (gst_event_parse_newsegment):
1881 Rename base to stream_time.
1886 2005-10-11 Wim Taymans <wim@fluendo.com>
1888 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1889 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1890 (gst_bin_change_state_func), (bin_bus_handler):
1892 Work on proper clock selection.
1894 2005-10-11 Edward Hervey <edward@fluendo.com>
1896 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1897 * libs/gst/controller/gstcontroller.h:
1898 Added GList* version of _remove_properties() in order to be able to wrap
1901 2005-10-11 Wim Taymans <wim@fluendo.com>
1903 * docs/design/part-states.txt:
1906 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1907 (gst_bin_change_state_func), (bin_bus_handler):
1908 Doc updates. Don't distribute the same clock over and over again.
1914 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1915 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1916 (gst_pad_send_event):
1918 Make probe emission threadsafe again.
1919 Register quarks and move _get_name() from utils.
1922 * gst/gstpipeline.c: (gst_pipeline_class_init),
1923 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1924 Only redistribute the clock of it changed.
1926 * gst/gstsystemclock.h:
1931 Moved the _flow_get_name() to GstPad.
1933 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1935 * check/gst-libs/gdp.c: (GST_START_TEST):
1936 * check/gst/gstcaps.c: (GST_START_TEST):
1937 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1938 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1939 (gst_dp_packet_from_caps):
1940 fix more valgrind warnings before turning up the heat
1942 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1944 * gst/parse/grammar.y:
1945 some cleanup before the hacking
1947 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1949 * gst/base/gstbasesrc.c: (gst_base_src_query):
1951 * gst/gstutils.c: (gst_guint64_to_gdouble),
1952 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1954 externalize, basesrc uses it
1955 obviously the implementation needs testing
1957 2005-10-10 Wim Taymans <wim@fluendo.com>
1959 * tests/sched/Makefile.am:
1960 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1961 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1963 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1965 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1966 apparently converting from guint64 to double is not implemented
1969 2005-10-10 Wim Taymans <wim@fluendo.com>
1971 * check/Makefile.am:
1972 * check/generic/states.c: (GST_START_TEST):
1973 * check/gst/gstbin.c: (GST_START_TEST):
1974 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1975 * check/states/sinks.c: (GST_START_TEST):
1976 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1978 Check fixes, use API as stated in design docs, remove hacks.
1980 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1981 (gst_base_sink_change_state):
1982 Catch stopping our task while we're shutting down.
1984 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1985 (gst_bin_remove_func), (gst_bin_get_state_func),
1986 (gst_bin_recalc_state), (gst_bin_change_state_func),
1989 * gst/gstelement.c: (gst_element_init),
1990 (gst_element_get_state_func), (gst_element_abort_state),
1991 (gst_element_commit_state), (gst_element_lost_state),
1992 (gst_element_set_state), (gst_element_change_state),
1993 (gst_element_change_state_func):
1995 New state change algorithm (see #318116)
1997 * gst/gstpipeline.c: (gst_pipeline_class_init),
1998 (gst_pipeline_init), (gst_pipeline_set_property),
1999 (gst_pipeline_get_property), (do_pipeline_seek),
2000 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2001 * gst/gstpipeline.h:
2002 Remove crude state change hacks.
2007 * tools/gst-launch.c: (main):
2008 Fixes for state change. Needs some more work to fully use the
2011 2005-10-10 Andy Wingo <wingo@pobox.com>
2013 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2015 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2016 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2019 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2021 * gst/gstiterator.c: (gst_iterator_new):
2022 Fix my previous commit: GTypes passed to gst_iterator_new()
2023 can be fundamental types.
2025 2005-10-10 Wim Taymans <wim@fluendo.com>
2027 * gst/gstelement.c: (gst_element_iterate_pad_list),
2028 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2029 (gst_element_iterate_sink_pads):
2030 Use src/sink pads lists for the respective iterators instead
2033 2005-10-10 Andy Wingo <wingo@pobox.com>
2035 Merged in popt removal + GOption addition patch from Ronald, bug
2038 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2039 GstElement macros around, remove popt-related symbols, add goption
2042 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2044 * docs/gst/Makefile.am:
2045 * docs/libs/Makefile.am: No POPT_CFLAGS.
2047 * examples/manual/Makefile.am:
2048 * docs/manual/basics-init.xml: Doc updates with an example.
2050 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2051 (gst_init), (parse_one_option), (parse_goption_arg):
2052 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2053 bit of hand merging and debugging to get the GOption stuff working
2056 * tests/Makefile.am:
2057 * tools/Makefile.am:
2058 * tools/gst-inspect.c: (main):
2059 * tools/gst-launch.c: (main):
2060 * tools/gst-run.c: (main):
2061 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2063 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2065 * gst/gstiterator.c: (gst_iterator_new):
2066 Add assertions to make sure passed GType is likely to really
2067 be a GType (as the compiler won't catch it if the size and
2068 GType arguments get mixed up, see #318447).
2070 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2072 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2074 * gst/gstbin.c: (gst_bin_iterate_sorted):
2075 Pass GType and size arguments to gst_iterator_new() in the right
2076 order (maybe we should make _new() take the GType as first argument
2077 just like _new_list()?) (#318447).
2080 2005-10-10 Wim Taymans <wim@fluendo.com>
2082 * gst/gstelement.c: (gst_element_finalize):
2083 And free the GStaticRecMutex too
2085 2005-10-10 Andy Wingo <wingo@pobox.com>
2087 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2088 Allocate and free the mutex properly.
2090 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2092 (GstElement): The state_lock is now recursive. Rebuild your
2093 plugins, suckers. Old macros adapted.
2095 * docs/gst/gstreamer-sections.txt: Doc updates.
2098 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2099 (g_static_rec_cond_wait): Ported from state changes patch, while
2100 we wait on bug #317802 to be solved in a well-distributed GLib.
2102 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2103 gst_element_change_state, variable name changes.
2104 (gst_element_change_state): Split out of gst_element_set_state in
2105 preparation for the state change merge. Doesn't pay attention to
2106 the 'transition' argument.
2107 (gst_element_set_state): Updates, hopefully purely cosmetic.
2108 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2110 (gst_element_get_state_func): Renamed from get_state, cosmetic
2113 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2115 * gst/elements/gstelements.c:
2116 * win32/GStreamer.vcproj:
2118 * win32/dirent.c: (_tseekdir):
2119 * win32/gst-inspect.vcproj:
2120 * win32/gst-launch.vcproj:
2121 * win32/gstconfig.h:
2122 * win32/gstelements.vcproj:
2123 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2124 * win32/gstreamer.def:
2126 updates for the win32 build (patch from Sebastien Moutte)
2128 2005-10-10 Andy Wingo <wingo@pobox.com>
2130 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2131 gst_bin_get_state, cleaned up (but no logic changes).
2132 (bin_element_is_sink): Comment updates.
2133 (sink_iterator_filter): Remove needless cast.
2134 (gst_bin_iterate_sinks): Doc update.
2135 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2136 cleaned up (but no logic changes).
2138 * check/states/sinks.c (test_src_sink): Cleanups from the state
2140 (test_livesrc_sink): Sync on the state.
2142 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2143 the state change patch.
2145 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2148 * check/gst/gstbin.c: Merge in some style fixes and additional
2149 checks from Wim's state change patch.
2151 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2153 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2154 (gst_type_find_helper):
2155 Check whether we have the requested data already in our list of
2156 cached buffers before pulling a new buffer; also make the buffer
2157 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2159 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2164 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2165 don't use long long, it's not portable. Replacing with
2166 gint64 seems to work; let's hope no skeletons fall out of the closet.
2168 2005-10-10 Andy Wingo <wingo@pobox.com>
2170 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2172 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2174 * docs/gst/gstreamer-sections.txt:
2179 * gst/gstmessage.c: (gst_message_parse_state_changed):
2182 more docs, fix compilation
2184 2005-10-09 Philippe Khalaf <burger@speedy.org>
2186 Fixed a few forgotten variables on previous commit
2188 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2190 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2191 Fix evil typefind crasher: getrange() might return a short
2192 buffer at the end of a file, but gst_type_find_peek() must
2193 either return the full data as requested or NULL, but
2194 never a short buffer.
2196 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2198 * gst/gstmessage.c: (gst_message_new_state_changed),
2199 (gst_message_parse_state_changed):
2201 don't use "new", it's a C++ keyword
2203 2005-10-08 Wim Taymans <wim@fluendo.com>
2205 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2206 * gst/gstelement.c: (gst_element_post_message):
2207 * gst/gstpipeline.c: (gst_pipeline_change_state):
2208 Small docs and debug updates.
2210 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2212 * docs/gst/gstreamer-sections.txt:
2213 * gst/gstelementfactory.c:
2218 2005-10-08 Wim Taymans <wim@fluendo.com>
2220 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2221 (gst_bin_dispose), (bin_bus_handler):
2222 Fix typos, add comments.
2223 Clear EOS list when going to PAUSED from any direction and do it
2224 in a threadsafe way.
2225 Get base time in a threadsafe way too.
2226 Fix confusing debug in the change_state function.
2227 Various other small cleanups.
2229 * gst/gstelement.c: (gst_element_post_message):
2230 Fix very verbose bus posting code.
2232 * gst/gstpipeline.c: (gst_pipeline_class_init),
2233 (gst_pipeline_set_property), (gst_pipeline_get_property),
2234 (gst_pipeline_change_state):
2235 Small ARG_ -> PROP_ cleanup
2237 2005-10-08 Wim Taymans <wim@fluendo.com>
2239 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2240 Do a less CPU demanding EOS check because we can.
2242 2005-10-08 Wim Taymans <wim@fluendo.com>
2244 * libs/gst/dataprotocol/dataprotocol.c:
2245 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2246 (gst_dp_packet_from_event):
2247 * libs/gst/dataprotocol/dataprotocol.h:
2248 * libs/gst/dataprotocol/dp-private.h:
2249 It's about time we bump the version number.
2250 Since event types don't fit in the guint8 anymore describing
2251 the payload type, make payload type 16 bits wide.
2253 2005-10-08 Wim Taymans <wim@fluendo.com>
2255 * docs/design/part-TODO.txt:
2256 * docs/design/part-clocks.txt:
2257 * docs/design/part-events.txt:
2258 * docs/design/part-gstbin.txt:
2259 * docs/design/part-gstelement.txt:
2260 * docs/design/part-gstpipeline.txt:
2261 * docs/design/part-live-source.txt:
2262 * docs/design/part-messages.txt:
2263 * docs/design/part-overview.txt:
2264 * docs/design/part-states.txt:
2267 2005-10-08 Wim Taymans <wim@fluendo.com>
2271 Fix event quark registration.
2272 Add some space between events so we can insert them in the
2275 2005-10-08 Wim Taymans <wim@fluendo.com>
2277 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2278 (gst_base_sink_handle_buffer):
2285 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2286 (gst_queue_set_property), (gst_queue_get_property):
2288 Remove old unused properties.
2290 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2291 * docs/gst/gstreamer-sections.txt:
2294 * gst/gstminiobject.c:
2295 * gst/gstminiobject.h:
2299 lots of new docs and doc fixes
2301 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2303 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2305 * gst/gstregistry.c: (gst_registry_lookup_locked),
2306 (gst_registry_scan_path_level):
2307 * gst/gstregistryxml.c: (load_plugin):
2308 Only ever load one plugin for a given plugin basename.
2309 This ensures correct overriding of GST_PLUGIN_PATH over
2310 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2311 system installed plugins.
2313 2005-10-08 Wim Taymans <wim@fluendo.com>
2315 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2316 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2317 Prepare for doing QOS.
2319 2005-10-08 Wim Taymans <wim@fluendo.com>
2321 * check/gst/gstbin.c: (GST_START_TEST):
2322 * check/pipelines/cleanup.c: (GST_START_TEST):
2323 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2324 Allow new clock message too.
2326 2005-10-08 Wim Taymans <wim@fluendo.com>
2328 * gst/gstmessage.c: (gst_message_new_error),
2329 (gst_message_new_warning), (gst_message_new_tag),
2330 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2331 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2332 (gst_message_new_segment_start), (gst_message_new_segment_done),
2333 (gst_message_parse_state_changed),
2334 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2335 (gst_message_parse_new_clock):
2337 Also carry the clock in question.
2339 2005-10-08 Wim Taymans <wim@fluendo.com>
2341 * gst/gstmessage.c: (gst_message_new_custom),
2342 (gst_message_new_eos), (gst_message_new_error),
2343 (gst_message_new_warning), (gst_message_new_tag),
2344 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2345 (gst_message_new_new_clock), (gst_message_new_segment_start),
2346 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2347 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2350 Added clock related messages.
2352 * gst/gstpipeline.c: (gst_pipeline_change_state):
2353 Post message when the clock changed.
2355 * tools/gst-launch.c: (event_loop):
2358 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2360 * tools/gst-inspect.c: (print_element_properties_info):
2361 Can't pass NULL strings to g_print() on windows.
2363 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2366 * docs/gst/Makefile.am:
2367 * docs/gst/gstreamer-docs.sgml:
2368 * docs/gst/running.xml:
2369 * docs/version.entities.in:
2370 add a chapter on running GStreamer.
2371 document GST_DEBUG and GST_PLUGIN* env vars
2373 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2378 remove PLUGINS_BUILDDIR stuff
2379 * gst/gst.c: (init_post):
2380 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2382 remove, it was condescending and not needed
2384 2005-10-08 Wim Taymans <wim@fluendo.com>
2386 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2387 (gst_base_sink_handle_object), (gst_base_sink_event),
2388 (gst_base_sink_wait), (gst_base_sink_handle_event),
2389 (gst_base_sink_change_state):
2390 * gst/base/gstbasesink.h:
2391 Repost EOS message while going to PLAYING if still EOS.
2392 Make sure that when receiving a FLUSH_START we don't attempt
2393 to sync on the clock anymore.
2395 2005-10-08 Wim Taymans <wim@fluendo.com>
2397 * tools/gst-launch.c: (event_loop):
2398 Better message printout.
2400 2005-10-08 Wim Taymans <wim@fluendo.com>
2402 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2403 (gst_bin_child_proxy_get_children_count):
2404 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2405 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2406 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2407 (gst_child_proxy_set_valist):
2408 * gst/parse/grammar.y:
2409 Make ChildProxy threadsafe and fix mem leaks.
2411 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2413 * gst/gst.c: (init_post):
2414 debug the GST_PLUGIN_ env vars
2416 2005-10-08 Wim Taymans <wim@fluendo.com>
2418 * check/gst/gstbin.c: (GST_START_TEST):
2419 * check/gst/gstmessage.c: (GST_START_TEST):
2420 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2421 * gst/gstelement.c: (gst_element_commit_state),
2422 (gst_element_lost_state):
2423 * gst/gstmessage.c: (gst_message_new_state_changed),
2424 (gst_message_parse_state_changed):
2426 * tools/gst-launch.c: (event_loop):
2427 Added extra field to STATE_CHANGE message with the pending
2428 state, which will be different from the new state soon.
2430 2005-10-08 Wim Taymans <wim@fluendo.com>
2432 * gst/gstbus.c: (gst_bus_pop):
2434 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2435 Small cleanups and doc updates.
2437 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2439 * gst/gst.c: (init_pre):
2440 * gst/gstbin.c: (gst_bin_add_func):
2441 log distributing clocks and base time
2442 * gst/gstregistry.c: (gst_registry_add_plugin),
2443 (gst_registry_scan_path_level), (gst_registry_scan_path):
2444 clean up the debugging output a little
2445 * gst/gstutils.c: (gst_element_state_get_name):
2446 warn about a memleak (I've actually seen this be used, though
2447 it was probably a bug)
2449 2005-10-07 Wim Taymans <wim@fluendo.com>
2451 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2452 (gst_base_src_init), (gst_base_src_default_newsegment),
2453 (gst_base_src_newsegment), (gst_base_src_do_seek),
2454 (gst_base_src_loop), (gst_base_src_start):
2455 * gst/base/gstbasesrc.h:
2456 Make the newsegment event customizable by subclasses.
2458 2005-10-07 Wim Taymans <wim@fluendo.com>
2460 * gst/gstevent.c: (gst_event_new_buffersize),
2461 (gst_event_parse_buffersize):
2463 New event for future idea.
2465 2005-10-07 Andy Wingo <wingo@pobox.com>
2467 * gst/gstelement.c (gst_element_post_message): Doc update.
2469 * docs/gst/gstreamer-sections.txt: Update.
2471 * gst/gstmessage.c (gst_message_new_application): Made into a
2472 function like honest API calls.
2473 (gst_message_new_element): New message type.
2475 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2477 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2478 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2481 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2482 NO_PREROLL from gst_element_change_state to fall through.
2484 2005-10-07 Wim Taymans <wim@fluendo.com>
2486 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2487 (gst_ghost_pad_do_activate_push):
2488 Activating a ghostpad with no internal pad in push mode
2491 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2494 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2495 Fixes compilation on Windows.
2497 2005-10-07 Michael Smith <msmith@fluendo.com>
2499 * tools/gst-inspect.c:
2500 Print out feature and plugin count at the end when printing out
2503 2005-10-04 Michael Smith <msmith@fluendo.com>
2505 * gst/gsterror.c: (_gst_stream_errors_init):
2506 Add another error string used in a few existing plugins.
2509 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2510 * tools/gst-inspect.c: (print_element_info):
2511 When a feature disappears from a plugin (and the feature exists in
2512 the cached registry file), things went horribly wrong. This isn't a
2513 complete fix, we should actually be removing the 'missing' features
2514 from the features list when we load the actual plugin. That's not
2517 2005-10-04 Johan Dahlin <johan@gnome.org>
2519 * check/gst/gstiterator.c: (GST_START_TEST):
2520 * gst/gstbin.c: (gst_bin_iterate_elements),
2521 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2522 * gst/gstelement.c: (gst_element_iterate_pads):
2523 * gst/gstformat.c: (gst_format_iterate_definitions):
2524 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2525 (gst_iterator_new_list), (gst_iterator_filter):
2526 * gst/gstiterator.h:
2527 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2528 Add a GType to GstIterator, update callsites and tests.
2530 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2532 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2533 give events a chance to be handled by event probes when the pad
2536 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2538 * gst/gstevent.c: (gst_event_type_get_name),
2539 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2541 add string representations for event types
2543 2005-10-06 Wim Taymans <wim@fluendo.com>
2545 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2546 Don't use NULL pointers.
2548 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2550 * gst/gst_private.h:
2554 * gst/gstpluginfeature.c:
2555 widen the debug category in output to fit the biggest one we have
2556 add a bus category and use it
2557 play with the colors
2558 fix up some categories
2560 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2562 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2563 add push activation of sink ghost pads.
2564 Andye, please verify
2566 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2568 * gst/gstutils.c: (gst_element_link_pads):
2569 fix a bug in the case where neither element has a pad
2570 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2571 add a test for that case
2573 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2575 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2576 emit have-data before checking for peers. This allows
2577 for probe handlers to connect elements. This helps autopluggers.
2578 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2580 add six checks, linked/unlinked with no/true/false probe
2582 2005-10-04 Wim Taymans <wim@fluendo.com>
2584 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2585 (gst_fake_sink_event), (gst_fake_sink_preroll),
2586 (gst_fake_sink_render), (gst_fake_sink_change_state):
2587 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2588 (gst_fake_src_get_property), (gst_fake_src_create),
2589 (gst_fake_src_stop):
2590 * gst/elements/gstidentity.c: (gst_identity_stop):
2591 Protect last_message with lock.
2593 2005-10-04 Edward Hervey <edward@fluendo.com>
2596 Added precision in the comments for GST_FORMAT_DEFAULT
2598 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2600 * tools/gst-launch.c: (main):
2601 Don't try to run erroneous pipelines.
2603 2005-10-04 Julien MOUTTE <julien@moutte.net>
2605 * gst/gstbus.c: We don't need this header.
2607 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2612 === release 0.9.3 ===
2614 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2618 Releasing 0.9.3, "Unregistered"
2620 2005-10-03 Andy Wingo <wingo@pobox.com>
2622 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2623 whereby calling a pad's activatepush() function can start a thread
2624 that starts to push or pull before the pad gets the FLUSHING flag
2625 unset. Hack around it by holding the stream lock until the flag is
2626 set. Need to replace this with a proper solution. Together with
2627 the ghost pad fixes, this fixes mp3 playing/tagreading.
2629 * docs/design/part-gstghostpad.txt: Add a note about activation of
2630 proxy pads outside of ghost pads.
2632 * gst/gstghostpad.c: Implement the ghost pad activation design.
2634 2005-10-02 Andy Wingo <wingo@pobox.com>
2636 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2637 It is volatile, after all.
2639 * docs/design/part-gstghostpad.txt: Flesh out activation with
2642 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2645 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2648 Fix (unused) AM_CONDITIONAL tests.
2650 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2652 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2654 * gst/gstutils.c: (gst_pad_query_convert):
2655 Add assertion that makes sure src_val is >=0, just like
2656 gst_query_new_convert() has. (#315895)
2658 2005-09-30 Edward Hervey <edward@fluendo.com>
2660 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2661 Let's not iterate pads we're not interested in, it avoids getting
2662 sky-high refcounts on sinkpad.
2664 2005-09-30 Wim Taymans <wim@fluendo.com>
2666 * gst/gstelement.c: (gst_element_set_state),
2667 (gst_element_change_state):
2668 Small tweak, element in ASYNC remains ASYNC.
2670 2005-09-30 Wim Taymans <wim@fluendo.com>
2672 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2673 Only error is an error.
2675 * gst/gstbin.c: (gst_bin_change_state):
2678 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2679 Also call pad_block in pad alloc.
2681 * gst/gstutils.c: (gst_flow_get_name):
2684 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2686 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2687 (gst_base_src_get_range):
2688 Fix documentation typos. Add some more debug info.
2690 2005-09-29 David Schleef <ds@schleef.org>
2692 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2693 more end-user friendly.
2694 * tools/gst-inspect.c: (main): Check if command-line argument is
2695 a file and attempt to load that file as a plugin.
2697 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2699 * check/gst/gstbin.c:
2700 * check/states/sinks.c:
2701 fix tests for the new warning
2702 * check/gst/gstpipeline.c:
2703 add a test for pipeline and bus interaction
2705 elements should be NULL if they get disposed; add a warning if not
2707 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2710 for 2.6 refcounting, make debug log more correct by printing
2711 the actual refcounts at the time of swap (Wim)
2713 2005-09-29 Andy Wingo <wingo@pobox.com>
2715 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2716 removes signal watches previously added via
2717 gst_bus_add_signal_watch.
2718 (gst_bus_add_signal_watch): Don't return the source id, just store
2719 it on the bus if there wasn't an id already.
2721 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2722 add_signal_watch and remove_signal_watch.
2724 2005-09-29 Edward Hervey <edward@fluendo.com>
2726 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2727 Better if we actually iterate the list :)
2729 2005-09-29 Wim Taymans <wim@fluendo.com>
2731 * check/gst/gstbin.c: (GST_START_TEST):
2732 Change for new bus API.
2734 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2735 (send_messages), (GST_START_TEST), (gstbus_suite):
2736 Change for new bus signal API.
2738 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2739 (gst_bus_source_prepare), (gst_bus_source_check),
2740 (gst_bus_create_watch), (gst_bus_add_watch_full),
2741 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2742 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2744 Remove support for multiple GSources operating on different
2745 message types as it is too complex and unneeded when using
2747 Added support for receiving signals from the bus.
2749 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2751 * docs/libs/tmpl/gstdataprotocol.sgml:
2752 * docs/manual/advanced-dataaccess.xml:
2753 * gst/elements/gstcapsfilter.c:
2755 rename filter-caps to caps property
2757 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2759 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2760 More robust fraction string parsing.
2762 * docs/pwg/appendix-porting.xml:
2763 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2765 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2767 * gst/gstcaps.c: (gst_caps_do_simplify):
2768 Thou shalt not free a structure and then continue using it
2769 in the next loop iteration.
2771 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2773 Add test case for caps simplification.
2775 2005-09-29 Wim Taymans <wim@fluendo.com>
2777 * check/gst/gstbin.c: (GST_START_TEST):
2780 2005-09-29 Wim Taymans <wim@fluendo.com>
2782 * check/gst/gstbin.c: (GST_START_TEST):
2785 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2786 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2787 (find_element), (gst_bin_sort_iterator_next),
2788 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2789 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2790 (gst_bin_change_state), (gst_bin_dispose):
2791 A bin does not have a bus, it gets the bus from the parent.
2793 * gst/gstelement.c: (gst_element_requires_clock),
2794 (gst_element_provides_clock), (gst_element_is_indexable),
2795 (gst_element_is_locked_state), (gst_element_change_state),
2796 (gst_element_set_bus_func):
2799 * gst/gstpipeline.c: (gst_pipeline_class_init),
2800 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2801 The pipeline provides a bus.
2803 2005-09-28 Johan Dahlin <johan@gnome.org>
2805 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2806 gst_structure_get_enum instead of gst_structure_get_int
2808 * gst/gststructure.c (gst_structure_get_enum): Impl.
2810 * gst/gststructure.h (gst_structure_get_enum): Add
2812 * docs/gst/gstreamer-sections.txt: Ditto
2814 * gst/gstmessage.c (gst_message_new_state_changed): Use
2815 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2816 which does introspection.
2817 Reviewed by Christian Schaller
2819 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2821 * gst/gstinfo.c: (gst_debug_log_default):
2822 don't do dummy g_strdup()s
2823 * libs/gst/controller/gstcontroller.c:
2824 (on_object_controlled_property_changed),
2825 (gst_controlled_property_new), (gst_controller_new_valist),
2826 (gst_controller_new_list),
2827 (gst_controller_remove_properties_valist), (gst_controller_set),
2828 (gst_controller_get), (gst_controller_sync_values),
2829 (gst_controller_get_value_array), (_gst_controller_class_init),
2830 (gst_controller_get_type):
2831 * libs/gst/controller/gstcontroller.h:
2832 * libs/gst/controller/gstinterpolation.c:
2833 (gst_controlled_property_find_timed_value_node):
2834 convert // to /**/ comments
2836 2005-09-28 Wim Taymans <wim@fluendo.com>
2838 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2839 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2840 (gst_bus_sync_signal_handler):
2842 Added async-message and sync-message signals to the bus.
2843 Added helper BusFunc to emit signals for all posted messages.
2845 * gst/gstmessage.c: (gst_message_type_get_name),
2846 (gst_message_type_to_quark), (gst_message_get_type):
2848 Register quarks for message names.
2850 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2852 * docs/libs/gstreamer-libs-sections.txt:
2853 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2854 (gst_controller_new_list):
2855 * libs/gst/controller/gstcontroller.h:
2856 added another constructor for language bindings
2858 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2860 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2864 * gst/gstinfo.c: (_gst_debug_init):
2865 slightly more readable color for refcount debugging
2867 2005-09-28 Wim Taymans <wim@fluendo.com>
2869 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2870 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2871 (find_element), (gst_bin_sort_iterator_next),
2872 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2873 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2874 (gst_bin_change_state), (gst_bin_dispose):
2875 Small doc fixes. get_clock -> provide_clock.
2877 * gst/gstelement.c: (gst_element_class_init),
2878 (gst_element_provides_clock), (gst_element_provide_clock),
2879 (gst_element_get_clock), (gst_element_commit_state),
2880 (gst_element_lost_state):
2882 Make get/set_clock() symetric. Add provide_clock vmethod since
2883 that is actually what this function does.
2885 * gst/gstpipeline.c: (gst_pipeline_class_init),
2886 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2887 (gst_pipeline_get_clock):
2888 get_clock -> provide_clock.
2890 2005-09-28 Andy Wingo <wingo@pobox.com>
2892 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2893 lieu of real docs...
2895 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2897 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2899 * gst/elements/gstcapsfilter.c:
2900 * gst/elements/gstfakesink.c:
2901 * gst/elements/gstfakesrc.c:
2902 * gst/elements/gstfdsink.c:
2903 * gst/elements/gstfdsrc.c:
2904 * gst/elements/gstfilesink.c:
2905 * gst/elements/gstfilesrc.c:
2906 * gst/elements/gstidentity.c:
2907 * gst/elements/gsttee.c:
2908 * gst/elements/gsttypefindelement.c:
2909 Make element details static.
2911 2005-09-28 Wim Taymans <wim@fluendo.com>
2913 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2914 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2915 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2916 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2917 (gst_bin_change_state), (gst_bin_dispose):
2918 Some documentation updates.
2919 Clean up dispose handlers.
2921 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2922 * gst/gstpad.c: (gst_pad_dispose):
2923 Clean up dispose handler.
2925 * gst/gstpipeline.c: (gst_pipeline_change_state):
2926 Removed spurious UNLOCK.
2928 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2930 * docs/gst/gstreamer-sections.txt:
2931 * gst/base/gstbasesrc.h:
2936 * gst/gstpipeline.c:
2937 * gst/gstpipeline.h:
2940 added two new functions to the docs
2941 documents all undocumented GstXXXFlags
2942 completed some incomplete docs
2944 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2946 * gst/gstbin.c: (gst_bin_dispose):
2947 * gst/gstelement.c: (gst_element_dispose):
2948 remove now useless and leaky resurrection code in dispose
2949 * gst/base/gstbasesrc.c: (gst_base_src_init):
2950 * gst/gstelementfactory.c: (gst_element_factory_create):
2951 * gst/gstobject.c: (gst_object_set_parent):
2954 2005-09-27 Wim Taymans <wim@fluendo.com>
2956 * docs/design/part-TODO.txt:
2959 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2960 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2961 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2962 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2963 (gst_bin_change_state):
2965 Remove element variable, we keep element info in the iterator now.
2967 2005-09-27 Andy Wingo <wingo@pobox.com>
2969 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2972 2005-09-27 Wim Taymans <wim@fluendo.com>
2974 * check/gst/gstbin.c: (GST_START_TEST):
2975 Enable check that works now.
2977 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2978 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2979 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2980 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2981 (gst_bin_change_state):
2983 Redid the state change algorithm using a topological sort algo.
2984 Handles all cases correctly.
2985 Exposed iterator for state change order.
2988 Temp storage for state changes. Need to get rid of this soon.
2990 2005-09-27 Wim Taymans <wim@fluendo.com>
2992 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2993 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2994 (link_fold_func), (gst_pad_proxy_setcaps):
2995 Leak fixes, the fold functions need to unref the passed object and
2996 _get_parent_*() returns ref to parent.
2998 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3000 * check/gst/gstbuffer.c: (test_make_writable):
3001 Plug leak in test case and fix 'make check-valgrind'
3003 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3005 * gst/gstbuffer.c: (gst_subbuffer_init):
3006 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3007 works correctly in all circumstances (we could have just copied
3008 the parent buffer's readonly flag, but conceptually it seems
3009 cleaner to mark all subbuffers as read-only). (based on patch
3010 by Alessandro Decina, #314710).
3012 * check/gst/gstbuffer.c: (create_read_only_buffer),
3013 (test_make_writable), (test_subbuffer_make_writable),
3015 Add some tests for gst_buffer_make_writable().
3017 2005-09-27 Wim Taymans <wim@fluendo.com>
3019 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3020 use gst_object_has_ancestor().
3022 * gst/gstobject.c: (gst_object_has_ancestor):
3024 gst_object_has_ancestor() copied from gstbin.c as it is a
3027 * tests/instantiate/create.c: (create_all_elements):
3028 * tests/lat.c: (handoff_src), (handoff_sink):
3029 * tests/sched/runxml.c: (main):
3030 * tests/seeking/seeking1.c: (main):
3031 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3033 Fix compilation of some tests.
3035 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3038 Remove comment. GST_TYPE_G_ERROR is here to stay,
3039 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3042 2005-09-26 Wim Taymans <wim@fluendo.com>
3044 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3045 Added check that shows error in state change order.
3047 2005-09-26 Wim Taymans <wim@fluendo.com>
3049 * gst/gstbin.c: (gst_bin_change_state):
3050 Make state change function use 3 queues again, we were
3051 adding elements in the wrong order.
3053 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3056 * gst/gstpad.c: (gst_pad_dispose):
3057 Added some debug info first.
3059 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3061 * docs/design/draft-push-pull.txt:
3062 * docs/design/part-events.txt:
3063 * docs/design/part-overview.txt:
3064 * docs/design/part-scheduling.txt:
3065 Replace all _pull_region() with _pull_range()
3067 2005-09-26 Andy Wingo <wingo@pobox.com>
3069 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3071 * check/gst-libs/controller.c: Update for controller api change.
3074 * tests/Makefile.am:
3075 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3076 over by GLib bug 118439.
3078 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3079 routines to a function.
3081 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3083 * libs/gst/controller/gsthelper.c:
3084 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3085 (gst_object_sync_values): Renamed from sink_values. Ugh.
3087 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3089 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3090 Renamed from controller_key, as it is exported.
3092 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3094 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3099 * gst/gstpadtemplate.h:
3102 * gst/gstqueryutils.c:
3103 * gst/gstqueryutils.h:
3104 remove queryutils headers after moving the two used functions
3105 to gstquery. also fixes build problem for gstsiddec
3107 2005-09-26 Michael Smith <msmith@fluendo.com>
3109 * tools/gst-launch.1.in:
3110 Correct documentation in manpage of debug syntax
3112 2005-09-26 Wim Taymans <wim@fluendo.com>
3114 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3115 (gst_base_src_is_seekable), (gst_base_src_change_state):
3116 Some more debugging info.
3118 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3120 * docs/gst/gstreamer-sections.txt:
3121 * gst/base/gstbasetransform.h:
3125 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3127 * docs/gst/.cvsignore:
3128 * docs/gst/tmpl/.cvsignore:
3129 * docs/gst/tmpl/gstpipeline.sgml:
3130 * docs/gst/tmpl/gstplugin.sgml:
3131 * gst/gstpipeline.c:
3134 inlined the last two docs files
3135 removed the tmpl directory from cvs (no more conflicts here!)
3137 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3139 * docs/gst/gstreamer-sections.txt:
3140 * docs/gst/tmpl/.cvsignore:
3141 * docs/gst/tmpl/gstpad.sgml:
3142 * docs/gst/tmpl/gstpadtemplate.sgml:
3144 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3145 (gst_pad_finalize), (gst_pad_set_pad_template):
3147 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3148 (gst_pad_template_class_init), (gst_pad_template_init),
3149 (gst_pad_template_dispose), (name_is_valid),
3150 (gst_static_pad_template_get), (gst_pad_template_new),
3151 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3152 (gst_pad_template_pad_created):
3153 * gst/gstpadtemplate.h:
3154 inlined two more docs
3155 factored gstpadtemplate out of gstpad
3157 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3159 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3160 (test_children_state_change_order_semi_sink):
3161 Fix test case: we can't rely on a fixed state change order when
3162 going from READY => PAUSED because the sink might commit its
3163 new state first when the first buffer created by the source
3164 reaches the sink before the source has finished its change state.
3165 (Test case still fails at times, see #316856, comment 5 onwards)
3167 2005-09-24 Wim Taymans <wim@fluendo.com>
3169 * docs/design/part-events.txt:
3170 * docs/design/part-gstbus.txt:
3171 * docs/design/part-gstpipeline.txt:
3172 * docs/design/part-messages.txt:
3173 * docs/design/part-overview.txt:
3174 * docs/design/part-segments.txt:
3181 * gst/gstiterator.c:
3182 Various documentation updates.
3184 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3187 Well, that's embarassing. Luckily we weren't using
3188 GST_CLOCK_DIFF anywhere.
3190 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3192 * common/gtk-doc.mak:
3193 don't fail on building XML, FC4 slave shows a bunch of doc
3194 missing bits that I don't get
3196 * gst/gstpipeline.c:
3197 * gst/gststructure.c:
3200 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3202 * docs/design/part-gstbin.txt:
3203 * docs/design/part-gstbus.txt:
3205 Add blurb about how the bus goes into flushing mode and
3206 drops all messages when its bin goes from READY into NULL
3209 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3211 * docs/gst/gstreamer-sections.txt:
3212 * gst/gststructure.c: (gst_structure_get_clock_time):
3213 * gst/gststructure.h:
3214 add a method to get a GstClockTime out of a structure
3216 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3218 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3219 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3220 Added test to check state change order in bins (can still be made
3221 to fail here under heavy disk load; bails out with 'Push on pad
3222 fakesink:sink0, but it was not activated in push mode').
3224 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3225 Fix state change order when there is only a semi sink (#316856)
3227 * gst/gstbus.c: (gst_bus_class_init):
3228 Use _class_peek_parent(), not _class_ref(); fix docs to say
3229 'default main context' instead of 'mainloop' where that is
3232 * gst/gstelement.c: (gst_element_commit_state),
3233 (gst_element_set_state):
3234 Fix typos in debug messages
3236 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3239 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3240 * gst/gstpluginfeature.c:
3243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3244 change an assert into an error until it gets fixed properly
3246 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3248 * docs/gst/gstreamer-sections.txt:
3249 * docs/gst/tmpl/.cvsignore:
3250 * docs/gst/tmpl/gstelement.sgml:
3251 * docs/gst/tmpl/gstinfo.sgml:
3252 * docs/gst/tmpl/gstobject.sgml:
3257 * gst/gstobject.c: (gst_object_class_init):
3259 inlined 3 more biiiig doc files and added some missing docs on the fly
3261 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3263 * check/gst/.cvsignore:
3264 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3265 * gst/gstregistryxml.c: (load_plugin),
3266 (gst_registry_xml_save_plugin):
3267 put back source in registry. add checks for find_plugin.
3268 * testsuite/states/bin.c: (assert_state), (empty_bin),
3269 (test_adding_one_element), (main):
3270 * testsuite/states/locked.c: (main):
3271 some compile/run fixes
3273 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3275 * check/gst/gstvalue.c: (GST_START_TEST):
3276 fix leaks in the test itself
3278 2005-09-22 Wim Taymans <wim@fluendo.com>
3280 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3281 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3282 (gst_base_sink_query):
3283 Prepare for more accurate position reporting and query
3286 * gst/gstelement.c: (gst_element_send_event),
3287 (gst_element_set_state):
3290 2005-09-22 Wim Taymans <wim@fluendo.com>
3292 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3293 (gst_query_parse_segment):
3296 Add segment query for future use.
3298 2005-09-22 Wim Taymans <wim@fluendo.com>
3300 * gst/gstbin.c: (gst_bin_add_func):
3301 Some more debug info.
3303 * gst/gstelement.c: (gst_element_send_event):
3307 Don't know how flags got broken.
3312 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3314 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3315 Add simplistic test suite for GST_TYPE_DATE serialisation and
3318 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3320 * docs/gst/gstreamer-sections.txt:
3321 * gst/gststructure.c: (gst_structure_set_valist),
3322 (gst_structure_get_date):
3323 * gst/gststructure.h:
3324 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3325 (gst_date_copy), (gst_value_compare_date),
3326 (gst_value_serialize_date), (gst_value_deserialize_date),
3327 (gst_value_transform_date_string),
3328 (gst_value_transform_string_date), (_gst_value_initialize):
3330 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3331 bunch of utility functions along with a hack that checks that
3332 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3333 is required. Part of the grand scheme in #170777.
3335 2005-09-22 Andy Wingo <wingo@pobox.com>
3337 * gst/gstconfig.h.in: Psych out gtk-doc.
3339 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3341 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3343 * tools/gst-inspect.c (print_element_list): Plug some
3344 inconsequential leaks.
3346 * gst/gstregistry.c (gst_registry_get_default): Doc.
3348 * check/gst/gstplugin.c:
3349 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3350 * gst/gstelementfactory.c (gst_element_factory_create):
3351 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3354 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3355 (gst_plugin_feature_load): Doc, don't eat refs.
3357 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3358 (gst_plugin_list_free): Doc.
3359 (gst_plugin_load_file): Doc updates.
3361 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3362 accessors returning refcounted objects, return a ref.
3364 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3365 accessor for caps. IDEMPOTENCE. Oh yes.
3367 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3369 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3371 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3372 (_gst_debug_register_funcptr):
3373 Add mutex to serialise access to the hash table with
3374 the function pointer => function name string mapping;
3375 make that hash table static scope (#316809).
3377 * gst/registries/.cvsignore:
3378 Remove left-over file.
3380 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3382 * docs/pwg/appendix-porting.xml:
3383 And something about newsegment events and caps-on-buffers to
3384 the porting guide (feel free to improve).
3386 2005-09-21 Andy Wingo <wingo@pobox.com>
3388 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3389 data and event probes on the same pad.
3390 (test_buffer_probe_once): Test that removing probes from within
3391 the probe functions works.
3393 2005-09-21 Andy Wingo <wingo@pobox.com>
3395 * check/gst/gstutils.c: New file.
3396 (test_buffer_probe_n_times): A simple buffer probe test. More to
3399 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3400 have-data::buffer, not have-data.
3401 (gst_pad_add_event_probe): Likewise for have-data::event.
3402 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3403 peer' isn't quite right yet though.
3404 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3405 (gst_pad_remove_data_probe): Change to take the guint handler_id
3406 as their arg, not the function+data, which is more glib-like.
3408 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3409 the signal emission to indicate if the data is a buffer or an
3411 (gst_pad_get_type): Initialize buffer and event quarks.
3412 (gst_pad_class_init): have-data is now a detailed signal, yes it
3415 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3417 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3418 * gst/gstutils.c: (gst_util_set_value_from_string),
3419 (gst_util_set_object_arg):
3420 Don't put functional code in g_return_if_fail() or
3421 g_return_val_if_fail() statements, otherwise things will
3422 break when G_DISABLE_CHECKS is defined during compilation.
3424 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3426 * docs/gst/tmpl/.cvsignore:
3427 * docs/gst/tmpl/gstvalue.sgml:
3430 inlied another one and added some obvious docs
3432 2005-09-21 Wim Taymans <wim@fluendo.com>
3434 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3435 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3436 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3437 (gst_fdsrc_get_property), (gst_fdsrc_create):
3438 * gst/elements/gstfdsrc.h:
3439 Properly implement fdsrc. Removed signal and timeout,
3440 better implemented somewhere else.
3442 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3444 * docs/gst/tmpl/.cvsignore:
3445 * docs/gst/tmpl/gstimplementsinterface.sgml:
3446 * gst/gstinterface.c:
3449 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3451 * docs/gst/gstreamer-sections.txt:
3452 * docs/gst/tmpl/.cvsignore:
3453 * docs/gst/tmpl/gstenumtypes.sgml:
3454 remove obsolete doc file
3456 2005-09-21 David Schleef <ds@schleef.org>
3458 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3459 little beer, fix a little leak.
3461 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3463 * docs/gst/gstreamer-docs.sgml:
3464 * docs/gst/gstreamer-sections.txt:
3465 * docs/gst/tmpl/.cvsignore:
3470 * gst/gstindex.c: (gst_index_class_init):
3472 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3473 (gst_index_factory_class_init), (gst_index_factory_init),
3474 (gst_index_factory_finalize), (gst_index_factory_new),
3475 (gst_index_factory_destroy), (gst_index_factory_find),
3476 (gst_index_factory_create), (gst_index_factory_make):
3477 * gst/gstindexfactory.h:
3478 * gst/gstpluginfeature.c:
3479 * gst/gstpluginfeature.h:
3480 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3481 more docs inlined, splitted gstindex.{c,h}
3483 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3485 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3488 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3490 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3491 Set sync to FALSE by default.
3493 2005-09-20 Wim Taymans <wim@fluendo.com>
3495 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3496 (gst_base_sink_init):
3497 Make sync property settable from subclass.
3499 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3500 (gst_fake_sink_change_state):
3501 Set sync to FALSE by default.
3503 2005-09-20 Wim Taymans <wim@fluendo.com>
3505 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3506 * tools/gst-launch.c: (main):
3507 The timeout handler should have lower priority than the source
3508 so we don't timeout before popping a message with 0 timeout.
3509 Dump error messages after failed state change.
3511 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3513 * tools/gst-inspect.c: (print_element_properties_info):
3516 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3518 * check/gst/gstevent.c:
3519 * gst/elements/gstfakesink.c:
3520 * gst/elements/gstfakesink.h:
3521 remove the sync property from fakesink.
3522 has the side effect of setting sync TRUE
3523 for fakesink, which is a change. Anyone who knows how
3524 to fix this nicely in a GObject-y way, feel free.
3526 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3528 * docs/gst/gstreamer-docs.sgml:
3529 remove probe refsection
3531 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3533 * check/Makefile.am:
3534 disable valgrinding the controller test again
3535 * docs/gst/gstreamer-sections.txt:
3536 update for api-changes
3538 2005-09-20 Wim Taymans <wim@fluendo.com>
3540 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3541 (gst_base_sink_set_property), (gst_base_sink_get_property),
3542 (gst_base_sink_do_sync):
3543 * gst/base/gstbasesink.h:
3544 Added sync property to basesink to disable clock sync.
3546 2005-09-20 Andy Wingo <wingo@pobox.com>
3548 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3549 eating the caller's refcount.
3551 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3552 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3555 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3556 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3557 of GLib 2.8 public, so we can know which refcount to check in
3560 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3561 (gst_object_init): Only set the gst refcount if we're going ahead
3562 with the refcount hack.
3564 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3566 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3567 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3568 more leaks plumbed, added more debug-logging
3572 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3575 remove include of gstmemchunk.h
3577 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3579 * gst/gstclock.c: (_gst_clock_id_free):
3580 Commit from the Political Party For More Atomic CVS Commits,
3581 so that people don't waste too much of their day fishing
3582 out obvious leaks out of massive commits.
3583 Oh, and fix a pretty damn obvious leak in the memchunk
3586 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3588 * check/Makefile.am:
3589 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3590 plug mem-leak, re-add to valgrindable tests
3592 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3595 unbreak the build for those who have chronic arthritis
3596 and typing "make check" is just too taxing on the hands
3598 2005-09-20 Andy Wingo <wingo@pobox.com>
3600 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3601 really want it out, you should fix plugins at the same time.
3603 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3606 * docs/gst/gstreamer-sections.txt:
3608 added missing symbols to api docs
3609 disable ref-count hack if we have glib >= 2.8
3611 2005-09-19 David Schleef <ds@schleef.org>
3613 * docs/gst/Makefile.am: Ignore a few more internal headers
3614 * docs/gst/gstreamer-docs.sgml: Remove old sections
3615 * docs/gst/gstreamer-sections.txt: Remove old sections
3616 * docs/gst/tmpl/gstobject.sgml: update
3617 * docs/gst/tmpl/gstplugin.sgml: update
3618 * docs/gst/tmpl/gstpluginfeature.sgml: update
3619 * docs/random/ds/0.9-suggested-changes: update.
3620 * gst/Makefile.am: remove memchunk and trashstack, since they're
3622 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3623 * gst/gst.h: don't include some headers
3624 * gst/gstchildproxy.c: add gstmarshal.h
3625 * gst/gstclock.c: Don't use memchunks
3626 * gst/gstminiobject.c: Add some docs
3627 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3628 * gst/gstobject.h: same
3629 * gst/gstplugin.c: include gstmacros.h
3630 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3631 * gst/gstquery.c: don't use memchunks
3632 * gst/gstregistry.c: rename gst_registry_deinit()
3633 * gst/gstregistry.h: same
3635 2005-09-19 David Schleef <ds@schleef.org>
3637 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3638 * docs/libs/gstreamer-libs-sections.txt:
3639 * docs/libs/tmpl/gstgetbits.sgml:
3640 * docs/libs/tmpl/gstputbits.sgml:
3642 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3644 * win32/gstenumtypes.c:
3645 * win32/gstenumtypes.h:
3648 2005-09-19 Wim Taymans <wim@fluendo.com>
3650 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3651 Automatically PAUSE and RESUME a pipeline when a flushing seek
3654 2005-09-19 Andy Wingo <wingo@pobox.com>
3656 * gst/gstregistry.h: Spacing fixen.
3658 2005-09-19 Wim Taymans <wim@fluendo.com>
3660 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3661 Handle state change failure more correctly.
3663 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3665 * check/Makefile.am:
3666 * check/pipelines/cleanup.c: (run_pipeline):
3667 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3669 enable cleanup again after fixing the leak
3671 some more info on docs
3673 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3675 * check/Makefile.am:
3676 re-enable tests now that leaks are plugged
3678 * check/gst/gstbin.c:
3679 * check/gst/gstpipeline.c:
3680 add some more tests while fixing leaks
3682 make sure binaries are uptodate when valgrinding/gdbing
3684 * gst/gstelementfactory.c:
3685 remove a ref too many, and add a FIXME for when we get
3686 round to disposing of classes
3688 fix the refcounting when loading a plugin from a file and
3689 the code pretends that the pointer is the same even though
3690 of course it can change
3691 * gst/gstpluginfeature.c:
3692 unref plugins marked cached (a bit confusing as a name)
3693 as the docs state should be done
3694 various doc additions to explain refcounting
3695 * gst/gstregistry.c:
3696 * gst/gstregistryxml.c:
3699 2005-09-19 Wim Taymans <wim@fluendo.com>
3701 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3702 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3703 (send_messages), (GST_START_TEST), (gstbus_suite):
3704 * check/gst/gstpipeline.c: (GST_START_TEST):
3705 * check/pipelines/cleanup.c: (run_pipeline):
3706 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3708 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3709 (gst_bus_source_check), (gst_bus_source_dispatch),
3710 (gst_bus_create_watch), (gst_bus_add_watch_full),
3711 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3713 * tools/gst-launch.c: (event_loop):
3714 * tools/gst-md5sum.c: (event_loop):
3715 GstBusHandler -> GstBusFunc, return value has the same meaning as
3716 any other GSource (FALSE == remove source).
3717 _add_watch() and _add_watch_full() now take a MessageType mask to
3718 only handle specific types of messages.
3719 _poll() returns the GstMessage instead of the message type to avoid
3721 _have_pending() takes a MessageType mask now too.
3722 Added testsuite for multiple bus watches.
3723 Fix testsuites and applications for new bus API.
3725 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3727 * check/Makefile.am:
3728 mark a bunch of the tests as to fix until we fix them
3730 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3733 use GST_PLUGIN settings for valgrind tests as well, so we're
3734 valgrinding the correct thing
3735 * gst/gst.c: (init_post):
3738 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3740 * gst/gst.c: (init_post), (gst_deinit):
3741 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3742 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3743 * gst/gstindex.c: (gst_index_factory_class_init),
3744 (gst_index_factory_finalize):
3745 * gst/gstobject.c: (gst_object_dispose):
3746 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3747 (gst_plugin_load_file), (gst_plugin_desc_free):
3748 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3749 (gst_plugin_feature_finalize):
3750 * gst/gstregistry.c: (gst_registry_class_init),
3751 (gst_registry_init), (gst_registry_finalize),
3752 (gst_registry_get_default), (gst_registry_deinit):
3753 * gst/gstregistry.h:
3754 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3755 various cleanups and memleak plugging. make valgrind is happy now.
3757 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3760 add a check-valgrind target
3762 2005-09-18 David Schleef <ds@schleef.org>
3764 * tools/gst-inspect.c: Revert the GOption code.
3766 2005-09-17 David Schleef <ds@schleef.org>
3768 * check/Makefile.am: Fix environment variables.
3769 * check/gst/gstplugin.c: Fix for API changes.
3770 * tools/gst-inspect.c: Fix for API changes.
3771 * tools/gst-xmlinspect.c: Fix for API changes.
3772 * gst/gstelementfactory.c:
3775 * gst/gstpluginfeature.c:
3776 * gst/gstpluginfeature.h:
3777 * gst/gstregistry.c:
3778 * gst/gstregistry.h:
3779 * gst/gstregistryxml.c:
3780 * gst/gsttypefind.c:
3781 * gst/gsttypefindfactory.c:
3782 * gst/indexers/gstfileindex.c:
3783 * gst/indexers/gstmemindex.c:
3784 * gst/schedulers/Makefile.am:
3785 Change registry to keep track of both plugins and features,
3786 removing the feature tracking from plugins themselves.
3788 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3790 * check/Makefile.am:
3791 * tools/gst-register.1.in:
3794 2005-09-15 David Schleef <ds@schleef.org>
3796 * check/gst/gstplugin.c:
3797 * gst/gstelementfactory.c:
3799 * gst/gstpluginfeature.c:
3800 * gst/gstregistry.c:
3801 Getting tired of debugging. Disabled all the unreffing of
3802 plugins and features, which fixes the segfaults, but of
3803 course leaks like crazy. At least playbin works.
3805 2005-09-15 David Schleef <ds@schleef.org>
3807 * check/gst/gstplugin.c: (register_check_elements),
3808 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3810 * gst/elements/gsttypefindelement.c: Fix refcounting.
3811 * gst/gsttypefind.c:
3812 * gst/gsttypefindfactory.c:
3813 * gst/gsttypefindfactory.h:
3815 2005-09-15 David Schleef <ds@schleef.org>
3817 * gst/gstindex.c: get refcounting correct.
3818 * gst/gstregistry.c: Handle the case where a feature/plugin is
3821 2005-09-15 David Schleef <ds@schleef.org>
3823 * check/Makefile.am:
3824 * check/gst/gstplugin.c: Add test
3825 * gst/gstplugin.c: Fix problems noticed by testsuite
3827 * gst/gstregistry.c:
3828 * gst/gstregistry.h:
3830 2005-09-15 David Schleef <ds@schleef.org>
3832 * gst/gstplugin.c: Implement semi-decent recounting and locking
3833 in plugins and plugin features.
3835 * gst/gstpluginfeature.c:
3836 * gst/gstpluginfeature.h:
3837 * gst/gstregistry.c:
3839 2005-09-15 Michael Smith <msmith@fluendo.com>
3841 * gst/gstregistry.c: (gst_registry_get_feature_list):
3842 Implement this. Makes oggdemux work; decodebin still broken.
3844 2005-09-14 David Schleef <ds@schleef.org>
3846 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3848 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3849 * gst/check/Makefile.am:
3850 * libs/gst/controller/Makefile.am:
3851 * libs/gst/dataprotocol/Makefile.am:
3853 2005-09-14 David Schleef <ds@schleef.org>
3855 * configure.ac: Remove getbits library. Nothing uses it, and
3856 it should be in something like liboil if someone did want
3858 * libs/gst/Makefile.am:
3859 * libs/gst/getbits/Makefile.am:
3860 * libs/gst/getbits/gbtest.c:
3861 * libs/gst/getbits/getbits.c:
3862 * libs/gst/getbits/getbits.h:
3863 * libs/gst/getbits/gstgetbits_generic.c:
3864 * libs/gst/getbits/gstgetbits_i386.s:
3865 * libs/gst/getbits/gstgetbits_inl.h:
3867 2005-09-14 David Schleef <ds@schleef.org>
3869 * gst/Makefile.am: Dist glib-compat.h
3871 2005-09-14 David Schleef <ds@schleef.org>
3873 * configure.ac: Remove gst/registries, since it's no longer used.
3874 * gst/registries/Makefile.am:
3875 * gst/registries/gstlibxmlregistry.c:
3876 * gst/registries/gstlibxmlregistry.h:
3877 * gst/registries/gstxmlregistry.c:
3878 * gst/registries/gstxmlregistry.h:
3879 * gst/registries/registrytest.c:
3881 2005-09-14 David Schleef <ds@schleef.org>
3883 * gst/glib-compat.h:
3884 * gst/gstregistryxml.c:
3885 Convergence is near. Seriously.
3887 2005-09-14 David Schleef <ds@schleef.org>
3889 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3890 * gst/glib-compat.h:
3891 Attempt #4 to appease the buildbots.
3893 2005-09-14 David Schleef <ds@schleef.org>
3895 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3898 2005-09-14 David Schleef <ds@schleef.org>
3900 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3903 2005-09-14 David Schleef <ds@schleef.org>
3905 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3908 2005-09-14 David Schleef <ds@schleef.org>
3910 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3911 * gst/glib-compat.h: Add some functions that are in newer versions
3912 of glib than we care to require.
3913 * gst/gstregistryxml.c: Use them.
3915 2005-09-14 David Schleef <ds@schleef.org>
3917 * po/POTFILES.in: remove gst-register.c
3919 2005-09-14 David Schleef <ds@schleef.org>
3921 * docs/gst/gstreamer-docs.sgml:
3922 * docs/gst/gstreamer-sections.txt:
3923 * docs/gst/gstreamer.types:
3924 * docs/gst/tmpl/gstelement.sgml:
3925 * docs/gst/tmpl/gstplugin.sgml:
3926 * docs/gst/tmpl/gstpluginfeature.sgml:
3927 Documentation updates for registry changes.
3929 2005-09-14 David Schleef <ds@schleef.org>
3931 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3932 because we don't require glib-2.8.
3934 2005-09-14 David Schleef <ds@schleef.org>
3936 * gst/gstregistryxml.c: Added. Essentially moved out of the
3937 registries directory.
3939 2005-09-14 David Schleef <ds@schleef.org>
3941 * check/Makefile.am:
3942 * check/generic/states.c:
3946 * gst/gst_private.h:
3947 * gst/gstelementfactory.c:
3952 * gst/gstpluginfeature.c:
3953 * gst/gstpluginfeature.h:
3954 * gst/gstregistry.c:
3955 * gst/gstregistry.h:
3956 * gst/gstregistrypool.c: remove
3957 * gst/gstregistrypool.h: remove
3958 * gst/gsttypefind.c:
3959 * gst/gsttypefindfactory.c:
3961 * tools/Makefile.am:
3962 * tools/gst-compprep.c:
3963 * tools/gst-inspect.c:
3964 * tools/gst-register.c: remove
3965 * tools/gst-xmlinspect.c:
3966 Registry rewrite. Changes registry from being a file created
3967 by a tool into a simple cache file created automatically by
3968 libgstreamer. Removed gst-register (because it's no longer
3969 needed). Remove registry pools, because we only have one
3970 registry implementation (XML). Fix up other subsystems as
3973 2005-09-13 Michael Smith <msmith@fluendo.com>
3975 * gst/gstconfig.h.in:
3976 Don't Use windows linking attributes for MinGW. Fixes #316157
3978 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3980 * gst/gstutils.c: (set_state_async_thread_func),
3981 (gst_element_set_state_async):
3982 Apparently people think it's better if this function doesn't
3983 try to set the state to whatever state was asked for on the first
3984 call to this function for any object. Seriously.
3986 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3988 * check/gst/gstpipeline.c: (GST_START_TEST):
3989 * docs/gst/gstreamer-sections.txt:
3990 * gst/gstutils.c: (set_state_async_thread_func),
3991 (gst_element_set_state_async):
3993 add a "gst_element_set_state_async" method that
3994 sets the state and starts a thread to make sure the state
3995 change completes as best as it can
3997 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3999 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4000 codify design+behaviour in testsuite after discussion
4002 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4004 * docs/gst/tmpl/gstelement.sgml:
4005 * docs/manual/appendix-quotes.xml:
4007 * gst/gstelement.c: (gst_element_set_state):
4010 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4012 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4013 (gst_base_transform_prepare_output_buf),
4014 (gst_base_transform_handle_buffer):
4015 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4016 (gst_capsfilter_prepare_buf):
4017 Remove the requirement for sub-classes to call the parent
4018 implementation of prepare_output_buffer with a wrapper function.
4021 * gst/gsttagsetter.h:
4024 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4026 * docs/gst/gstreamer-sections.txt:
4029 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4031 * docs/gst/gstreamer-sections.txt:
4032 * docs/gst/tmpl/gstelement.sgml:
4033 * docs/gst/tmpl/gstplugin.sgml:
4034 * gst/gstminiobject.c:
4036 docs now stop throwing warnings
4038 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4040 * docs/gst/gstreamer-sections.txt:
4041 * docs/gst/gstreamer.types:
4042 * docs/gst/tmpl/gstpad.sgml:
4043 * docs/gst/tmpl/gsttypes.sgml:
4044 * gst/base/gstadapter.h:
4045 * gst/base/gstbasesink.h:
4046 * gst/base/gstbasesrc.h:
4056 * gst/gststructure.c:
4057 * gst/registries/gstlibxmlregistry.h:
4058 various documentation fixes
4060 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4062 * docs/gst/gstreamer-sections.txt:
4063 * docs/gst/tmpl/gstvalue.sgml:
4064 rearrange gstvalue section
4065 * gst/gstutils.c: (gst_element_state_get_name):
4067 * gst/gstvalue.c: (_gst_value_initialize):
4071 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4073 * check/gst-libs/controller.c:
4075 * gst/base/gstbasetransform.c:
4076 (gst_base_transform_default_prepare_buf),
4077 (gst_base_transform_handle_buffer):
4078 * gst/base/gstbasetransform.h:
4079 Some more basetransform changes and fixes to enable sub-classes
4080 that modify buffer metadata only.
4081 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4082 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4083 (gst_capsfilter_prepare_buf):
4084 If the output pad has fixed allowed caps and input buffers
4085 don't have any, set the fixed caps on outgoing buffers.
4087 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4088 * check/elements/identity.c: (GST_START_TEST):
4089 Make the error a little clearer when the test fails because
4090 identity made a copy of the buffer.
4091 * docs/gst/gstreamer-sections.txt:
4092 New symbols in gstbasetransform.h
4093 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4094 (gst_base_transform_init), (gst_base_transform_transform_size),
4095 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4096 (gst_base_transform_default_prepare_buf),
4097 (gst_base_transform_get_unit_size),
4098 (gst_base_transform_buffer_alloc),
4099 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4100 (gst_base_transform_change_state),
4101 (gst_base_transform_set_passthrough),
4102 (gst_base_transform_set_in_place),
4103 (gst_base_transform_is_in_place):
4104 * gst/base/gstbasetransform.h:
4105 Change BaseTransform to separate in_place operate from same_caps
4106 output. in_place implies that the element can perform the transform
4107 on incoming buffers in-place, even if the caps on the output are
4109 Sub-class elements can now implement special buffer allocation
4110 methods for outgoing buffers if they wish to.
4111 Big documentation addition.
4112 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4113 * gst/elements/gstelements.c:
4114 Changes for basetransform modifications.
4115 * gst/elements/Makefile.am:
4116 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4117 Compile fix. Extra debug output.
4119 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4121 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4123 add tests for valid pad naming
4124 * gst/check/gstcheck.c: (gst_check_log_message_func),
4125 (gst_check_log_critical_func):
4127 remove printing of code, it is fragile when the code contains
4128 % and the line number is enough info
4129 * gst/check/gstcheck.h:
4130 * gst/gstpad.c: (gst_pad_template_new):
4133 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4136 say what CHECK flags we use
4137 * docs/libs/gstreamer-libs.types:
4138 * libs/gst/controller/Makefile.am:
4139 * libs/gst/controller/gst-controller.c:
4140 * libs/gst/controller/gst-controller.h:
4141 * libs/gst/controller/gst-helper.c:
4142 * libs/gst/controller/gst-interpolation.c:
4143 * libs/gst/controller/gstcontroller.c:
4144 * libs/gst/controller/gsthelper.c:
4145 * libs/gst/controller/gstinterpolation.c:
4146 * tools/gst-inspect.c: (print_plugin_info):
4147 we don't use dashes in header names
4149 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4151 * check/Makefile.am:
4152 * check/gst/.cvsignore:
4153 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4154 (gst_pipeline_suite), (main):
4155 adding a test for pipelines and state changes
4156 * gst/gstutils.c: (get_state_func):
4158 * gstreamer.spec.in:
4161 2005-09-08 Michael Smith <msmith@fluendo.com>
4163 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4164 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4165 (gst_file_src_is_seekable), (gst_file_src_get_size),
4166 (gst_file_src_start):
4167 * gst/elements/gstfilesrc.h:
4168 Various fixes for unseekable, unmmapable, and non-normal files, so
4169 that fallback to read() rather than mmap() works.
4170 * gst/gstevent.c: (gst_event_new_newsegment):
4171 Allow newsegment events with segment_start == segment_end, as will
4172 correctly happen if you use filesrc on a zero-size file, for
4175 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4177 * gst/gstplugin.c: (gst_plugin_load_file):
4178 Call g_module_close when we don't load the module
4180 * gst/registries/gstlibxmlregistry.c:
4181 (gst_xml_registry_get_property):
4182 Port leak fix from 0.8
4184 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4186 * docs/gst/gstreamer-docs.sgml:
4187 * docs/gst/tmpl/.cvsignore:
4188 * docs/gst/tmpl/gsttrace.sgml:
4189 * docs/gst/tmpl/gsttrashstack.sgml:
4198 * gst/gsttaginterface.c:
4199 * gst/gsttaginterface.h:
4202 * gst/gsttagsetter.c:
4203 * gst/gsttagsetter.h:
4206 * gst/gsttrashstack.c:
4207 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4208 inlined docs for gsttrace, gsttrashstack
4210 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4213 * gst/elements/gstbufferstore.h:
4214 * gst/elements/gsttypefindelement.c:
4215 * gst/elements/gsttypefindelement.h:
4217 * gst/gsttypefind.c:
4218 * gst/gsttypefind.h:
4219 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4220 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4221 (gst_type_find_factory_dispose),
4222 (gst_type_find_factory_unload_thyself),
4223 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4224 (gst_type_find_factory_get_caps),
4225 (gst_type_find_factory_get_extensions),
4226 (gst_type_find_factory_call_function):
4227 * gst/gsttypefindfactory.h:
4228 * gst/registries/gstlibxmlregistry.c:
4229 * gst/registries/gstxmlregistry.c:
4230 splitted gsttypefind into gsttypefind, gsttypefindfactory
4232 2005-09-07 Andy Wingo <wingo@pobox.com>
4234 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4235 condition whereby the pad's task function is entered before the
4236 pad_mode variable was set.
4238 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4240 * gst/gstpad.c: (gst_pad_alloc_buffer):
4241 Catch misbehaving pad_alloc functions that don't
4242 set up caps and do it for them.
4244 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4246 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4248 * docs/gst/tmpl/.cvsignore:
4249 * docs/gst/tmpl/gstmemchunk.sgml:
4250 * docs/gst/tmpl/gstparse.sgml:
4251 * docs/gst/tmpl/gsttaglist.sgml:
4252 * docs/gst/tmpl/gsttagsetter.sgml:
4253 * docs/gst/tmpl/gsttypefind.sgml:
4254 * docs/gst/tmpl/gsttypefindfactory.sgml:
4255 * gst/gstmemchunk.c:
4258 * gst/gsttaginterface.c:
4259 * gst/gsttypefind.c:
4260 * gst/gsttypefind.h:
4263 === release 0.9.2 ===
4265 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4270 releasing 0.9.2, "South"
4272 2005-09-05 Andy Wingo <wingo@pobox.com>
4274 * gst/registries/gstxmlregistry.h:
4275 * gst/registries/gstxmlregistry.c: Um... resurrect...
4277 * gst/registries/gstxmlregistry.h:
4278 * gst/registries/gstxmlregistry.c: and update to newer API.
4279 Incidentally they should be a bit faster now that they don't have
4282 2005-09-05 Andy Wingo <wingo@pobox.com>
4284 * gst/registries/gstxmlregistry.h:
4285 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4286 replaced by the libxml registry a while back
4288 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4290 * docs/gst/tmpl/gstplugin.sgml:
4291 * gst/elements/gstelements.c:
4293 * gst/gstplugin.c: (gst_plugin_register_func),
4294 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4295 (gst_plugin_get_source):
4297 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4298 (gst_xml_registry_save_plugin):
4299 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4300 (gst_xml_registry_save_plugin):
4301 * tools/gst-inspect.c: (print_plugin_info):
4302 add a "source" plugin description field, to represent the source
4303 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4304 will set it to PACKAGE, which is automake's idea of the name of
4307 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4313 * docs/faq/Makefile.am:
4314 * docs/gst/tmpl/gstelement.sgml:
4315 * docs/gst/tmpl/gsttypes.sgml:
4316 * docs/htmlinstall.mak:
4317 * docs/manual/Makefile.am:
4318 * docs/pwg/Makefile.am:
4319 reorganize doc build a little
4320 split out docbook and gtk-doc stuff
4321 have two separate --enable's and enable them through autogen
4322 but disable by default in configure (to be similar to other
4324 * gstreamer.spec.in:
4325 clean up docs install
4345 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4347 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4350 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4351 (gst_fake_sink_change_state):
4352 Make state change function thread-safe.
4354 * gst/gstpad.c: (gst_pad_alloc_buffer):
4355 Set offset on generic buffer allocated by fallback.
4357 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4359 * docs/gst/gstreamer-sections.txt:
4360 * docs/gst/tmpl/gstelement.sgml:
4362 * libs/gst/controller/gst-controller.c:
4363 (gst_controlled_property_set_interpolation_mode),
4364 (gst_controlled_property_new),
4365 (gst_controller_find_controlled_property):
4366 run the wingo-magic script against the docs
4368 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4370 * docs/gst/gstreamer-docs.sgml:
4371 * docs/gst/gstreamer-sections.txt:
4372 * docs/gst/tmpl/.cvsignore:
4373 * docs/gst/tmpl/gstelementdetails.sgml:
4374 * docs/gst/tmpl/gstelementfactory.sgml:
4377 * gst/gstelementfactory.c:
4378 * gst/gstelementfactory.h:
4379 merged elementdetails docs into elementfactory docs
4382 2005-09-02 Andy Wingo <wingo@pobox.com>
4384 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4385 consider this enum an enum and not a flags.
4387 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4389 * docs/gst/gstreamer-docs.sgml:
4390 * docs/gst/tmpl/.cvsignore:
4391 * docs/gst/tmpl/gstghostpad.sgml:
4392 * docs/gst/tmpl/gstiterator.sgml:
4393 * docs/gst/tmpl/gstmacros.sgml:
4394 * docs/gst/tmpl/gstrealpad.sgml:
4395 * docs/gst/tmpl/gstregistry.sgml:
4396 * docs/gst/tmpl/gstregistrypool.sgml:
4397 * docs/gst/tmpl/gststructure.sgml:
4398 * docs/gst/tmpl/gstsystemclock.sgml:
4399 * docs/gst/tmpl/gsttrace.sgml:
4400 * gst/gstghostpad.c:
4402 * gst/gstmemchunk.c:
4403 * gst/gstmemchunk.h:
4405 * gst/gstregistry.c:
4406 * gst/gstregistrypool.c:
4407 * gst/gststructure.c:
4408 * gst/gstsystemclock.c:
4411 2005-09-02 Andy Wingo <wingo@pobox.com>
4413 * gst/gstelement.h (GstState): Renamed from GstElementState,
4414 changed to be a normal enum instead of flags.
4415 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4416 munged to be GST_STATE_CHANGE_*.
4417 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4418 work with the new state representation.
4419 (GstStateChange): New enumeration of possible state transitions.
4420 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4421 (GstElementClass::change_state): Pass the GstStateChange along as
4422 an argument. Helps language bindings, so they don't have to use
4423 tricky lock-needing macros like GST_STATE_CHANGE ().
4425 * scripts/update-states (file): New script. Run it on a file to
4426 update it for state naming and API changes. Updates files in
4429 * All files updated for the new API.
4431 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4433 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4434 * gst/gstutils.c: (gst_util_set_value_from_string),
4435 (gst_util_set_object_arg):
4436 fix a bunch of unchecked return values
4437 * tools/gst-complete.c: (main):
4438 * gstreamer.spec.in:
4441 2005-09-01 Wim Taymans <wim@fluendo.com>
4443 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4444 (gst_base_sink_event), (gst_base_sink_do_sync),
4445 (gst_base_sink_handle_event):
4446 * gst/base/gstbasesink.h:
4447 Handle newsegments more correctly.
4452 * gst/gstevent.c: (gst_event_new_newsegment):
4453 A newsegment cannot have a start_time of -1
4455 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4457 * win32/gstenumtypes.c:
4458 * win32/gstenumtypes.h:
4461 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4463 * libs/gst/controller/gst-controller.c:
4464 (gst_controlled_property_set_interpolation_mode),
4465 (gst_controlled_property_new):
4468 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4470 * docs/faq/gst-uninstalled:
4475 * gst/gstutils.c: (gst_element_link_filtered):
4477 add gst_element_link_filtered
4479 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4481 * docs/gst/gstreamer-docs.sgml:
4482 * docs/gst/gstreamer-sections.txt:
4483 * docs/gst/tmpl/.cvsignore:
4484 * docs/gst/tmpl/gsterror.sgml:
4485 * docs/gst/tmpl/gstfilter.sgml:
4486 * docs/gst/tmpl/gsturihandler.sgml:
4487 * docs/gst/tmpl/gsturitype.sgml:
4488 * docs/gst/tmpl/gstutils.sgml:
4489 * docs/gst/tmpl/gstxml.sgml:
4497 inlined more docs, fixed double id-ref
4499 2005-08-31 Wim Taymans <wim@fluendo.com>
4501 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4502 (gst_base_transform_handle_buffer):
4503 Passthrough elements don't need the caps as they don't care.
4505 2005-08-31 Wim Taymans <wim@fluendo.com>
4507 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4508 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4509 Don't leak refcounts on buffers.
4511 2005-08-31 Wim Taymans <wim@fluendo.com>
4513 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4514 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4515 (gst_base_transform_chain), (gst_base_transform_change_state):
4516 * gst/base/gstbasetransform.h:
4517 Handle the case where we are not negotiated more gracefully.
4519 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4521 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4522 (gst_file_src_map_region):
4523 Set READONLY flag on mmap'ed buffers, otherwise
4524 gst_buffer_make_writable() won't work properly (#314708).
4526 2005-08-31 Wim Taymans <wim@fluendo.com>
4528 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4529 passthrough elements can even do inplace on non writable
4530 buffers (as they don't touch them).
4532 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4534 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4535 (gst_test_mono_source_set_property),
4536 (gst_test_mono_source_class_init), (GST_START_TEST),
4537 (gst_controller_suite):
4538 more tests (hehe I have the most)
4540 describe popping messages whenusing mulltiple sources
4541 * libs/gst/controller/gst-controller.c:
4542 (gst_controlled_property_set_interpolation_mode),
4543 (gst_controlled_property_new):
4544 * libs/gst/controller/gst-controller.h:
4545 * libs/gst/controller/gst-interpolation.c:
4546 implement boolean properties
4548 2005-08-31 Wim Taymans <wim@fluendo.com>
4550 * gst/gstminiobject.c: (gst_mini_object_ref):
4551 Cannot assert that the refcount has to be positive
4552 since a disposed object can be resurrected.
4554 2005-08-31 Wim Taymans <wim@fluendo.com>
4556 * gst/gstpad.c: (gst_pad_init):
4557 Revert change, need to first fix badly behaving
4560 2005-08-30 Wim Taymans <wim@fluendo.com>
4562 * check/elements/fakesrc.c: (setup_fakesrc):
4563 * check/elements/identity.c: (setup_identity):
4564 Activate pads before using them.
4566 2005-08-30 Wim Taymans <wim@fluendo.com>
4568 * gst/base/gstadapter.c: (gst_adapter_flush):
4569 Flushing out 0 bytes is ok for this function.
4571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4572 no newsegment gives a warning and sets the start/stop to
4575 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4576 (gst_base_transform_set_passthrough):
4579 * gst/gstminiobject.c: (gst_mini_object_ref):
4580 Check refcount here too.
4582 * gst/gstpad.c: (gst_pad_init):
4583 Pads are initially flushing and refusing data.
4585 * gst/gstutils.c: (gst_element_link_pads_filtered):
4586 When adding a capsfilter element make sure it has the
4587 same state as the parent bin.
4589 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4591 * docs/gst/tmpl/.cvsignore:
4592 * docs/gst/tmpl/gstformat.sgml:
4593 * docs/gst/tmpl/gstversion.sgml:
4597 * gst/gstversion.h.in:
4598 more docs and two more inlined
4600 2005-08-30 Wim Taymans <wim@fluendo.com>
4602 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4603 Don't sync to clock.
4605 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4607 * docs/gst/gstreamer-sections.txt:
4608 ultral33t func10ns deserve to appear in the docs actually
4609 * docs/gst/tmpl/.cvsignore:
4610 * docs/gst/tmpl/gstcompat.sgml:
4611 * docs/gst/tmpl/gstconfig.sgml:
4612 * gst/check/gstcheck.c:
4614 * gst/gstconfig.h.in:
4617 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4619 * docs/gst/tmpl/.cvsignore:
4620 * docs/gst/tmpl/gstquery.sgml:
4621 * docs/gst/tmpl/gstutils.sgml:
4624 inlined and extended docs
4626 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4628 * check/gst-libs/controller.c: (GST_START_TEST),
4629 (gst_controller_suite):
4631 * docs/gst/tmpl/gstutils.sgml:
4632 * docs/libs/gstreamer-libs-sections.txt:
4633 * docs/libs/tmpl/gstdataprotocol.sgml:
4635 * examples/controller/audio-example.c: (main):
4636 controller example works now
4639 * tools/gst-inspect.c: (print_element_properties_info):
4640 show param spec flags
4642 2005-08-29 Andy Wingo <wingo@pobox.com>
4644 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4646 2005-08-28 Andy Wingo <wingo@pobox.com>
4648 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4649 as having two arguments instead of just one. Allows superclasses
4650 to access information on subclasses -- see the terrible for() loop
4651 in gtype.c:g_type_create_instance for the reason why. All callers
4654 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4656 * docs/design/part-messages.txt:
4658 * docs/gst/tmpl/.cvsignore:
4659 * docs/gst/tmpl/gstcaps.sgml:
4660 * docs/gst/tmpl/gstclock.sgml:
4667 added descriptions for bus and message
4668 inline caps and clock docs
4670 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4676 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4678 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4681 2005-08-26 Andy Wingo <wingo@pobox.com>
4683 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4684 element_set_state's return val.
4685 (test_2_elements): Add test that's been disabled for months.
4687 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4688 can-activate-pull properties.
4690 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4691 can-activate-pull properties. Implement is_seekable so fakesrc can
4692 operate in pull mode.
4694 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4696 (gst_base_sink_activate, gst_base_sink_activate_pull)
4697 (gst_base_sink_activate_push): Make activation mode choosing work.
4699 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4700 is right. Make pull mode work. Post an eos before pausing in pull
4702 (gst_base_sink_change_state): Pay attention to the core's
4703 change_state() return val.
4705 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4706 has-getrange properties. Cleanups.
4708 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4709 has_getrange and replace with can_activate_pull and
4712 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4713 locking comments. Remove has_loop, has_chain and replace with
4714 can_activate_pull and can_activate_push.
4716 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4719 * examples/Makefile.am:
4720 * examples/metadata/Makefile.am:
4721 * examples/metadata/read-metadata.c: (message_loop),
4722 (have_pad_handler), (make_pipeline), (print_tag), (main):
4723 Add metadata reading example that loops over a list of filenames,
4724 dumping any tags found.
4726 * gst/gstbus.c: (gst_bus_dispose):
4727 * gst/gstelement.c: (gst_element_dispose):
4728 Release a few potentially-held references in dispose.
4730 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4732 * docs/gst/tmpl/gstminiobject.sgml:
4733 do *not* add tmpl/*.sgml files to CVS!
4735 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4737 * libs/gst/bytestream/.cvsignore:
4738 * libs/gst/bytestream/Makefile.am:
4739 * libs/gst/bytestream/adapter.c:
4740 * libs/gst/bytestream/adapter.h:
4741 * libs/gst/bytestream/bytestream.c:
4742 * libs/gst/bytestream/bytestream.h:
4743 * libs/gst/bytestream/filepad.c:
4744 * libs/gst/bytestream/filepad.h:
4745 removing obsolete files
4747 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4749 * docs/gst/gstreamer-docs.sgml:
4750 * docs/libs/gstreamer-libs-docs.sgml:
4751 disabed additional index entries again, as this makes docs-gen just
4752 slow and they aren't useful yet
4753 * docs/libs/gstreamer-libs-sections.txt:
4754 little -section.txt cleanup for libs
4756 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4759 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4760 fix up some debugging
4761 (gst_base_transform_get_unit_size),
4762 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4763 (gst_base_transform_handle_buffer):
4764 * gst/base/gstbasetransform.h:
4765 handle and store timed NEWSEGMENT events so that subclasses that
4766 calculate time by counting samples have a segment_start time they
4767 need to add to their timestamps - see audioresample
4769 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4772 removed ';' from the end of macro defs
4773 * docs/gst/gstreamer-docs.sgml:
4774 * docs/gst/gstreamer-sections.txt:
4775 * docs/gst/tmpl/.cvsignore:
4777 * gst/gstelement.c: (gst_element_class_init),
4778 (gst_element_set_state), (activate_pads),
4779 (gst_element_save_thyself):
4780 * gst/gstevent.c: (gst_event_new_newsegment):
4782 * gst/gstiterator.c:
4783 * gst/gstiterator.h:
4786 * gst/gstutils.c: (gst_pad_query_convert):
4788 fixed parameter name mismatches between source, header and docs
4789 added some more docs, resolved the last batch of unused elements in
4790 docs (now someone needs to doc them)
4792 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4794 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4795 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4796 don't walk through the plugins backwards. Where is all this
4797 reversed logic coming from ?
4799 2005-08-25 Wim Taymans <wim@fluendo.com>
4801 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4802 (gst_base_transform_transform_size),
4803 (gst_base_transform_configure_caps),
4804 (gst_base_transform_get_unit_size),
4805 (gst_base_transform_buffer_alloc),
4806 (gst_base_transform_change_state):
4807 * gst/base/gstbasetransform.h:
4808 Cache caps unit_size.
4809 Make sure we cannot negotiate up and downstream at the
4812 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4814 * gst/gst.c: (init_pre), (init_post):
4815 register the installed plugin path after the env var
4816 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4817 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4818 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4819 directories, so the tests can prefer uninstalled over installed
4821 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4823 * gst/base/gstbasetransform.h:
4828 2005-08-25 Wim Taymans <wim@fluendo.com>
4830 * gst/gstbin.c: (bin_bus_handler):
4831 Be a bit more conservative about the posted message.
4833 * gst/gstbus.c: (gst_bus_post):
4834 Some cleanups, warn wrong return values.
4836 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4838 * check/gst/gstbin.c: (GST_START_TEST):
4839 * gst/gstbin.c: (bin_bus_handler):
4840 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4841 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4842 (gst_message_new_warning), (gst_message_new_tag),
4843 (gst_message_new_state_changed), (gst_message_new_segment_start),
4844 (gst_message_new_segment_done), (gst_message_new_custom):
4846 * tools/gst-launch.c: (event_loop):
4847 * tools/gst-md5sum.c: (event_loop):
4848 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4850 2005-08-25 Wim Taymans <wim@fluendo.com>
4852 * check/generic/states.c: (GST_START_TEST):
4853 Cleanup can be done at the end.
4855 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4856 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4857 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4858 Oh boy.. Thanks for finding this, Thomas.
4860 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4862 * docs/gst/gstreamer.types:
4865 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4867 * docs/gst/gstreamer-docs.sgml:
4868 * docs/gst/gstreamer-sections.txt:
4869 * docs/gst/tmpl/.cvsignore:
4871 * gst/gstiterator.c:
4873 * gst/registries/gstxmlregistry.h:
4874 added missing classes and symbols (123 more to go)
4875 removed removed symbols from section file
4876 fixed many doc-comments
4878 2005-08-24 Wim Taymans <wim@fluendo.com>
4880 * check/generic/states.c: (GST_START_TEST):
4881 Make sure all tasks are stopped.
4883 * check/gst/gstbin.c: (GST_START_TEST):
4884 Unref after usage for proper valgrinding.
4886 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4887 Really wait for the task to stop before destroying the
4890 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4891 (gst_queue_src_activate_push):
4892 Small cleanups. Don't stop the task when we did not start
4895 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4896 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4897 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4900 Protect the stream lock with the object lock.
4901 Disallow setting the stream lock when running.
4902 Add cleanup_all to wait for the threadpool to finish.
4903 Remove code to autoallocate a mutex if none was provided.
4904 Add _join() to wait for a task to stop.
4905 Protect the thread pool with a global lock.
4907 2005-08-24 Wim Taymans <wim@fluendo.com>
4909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4910 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4911 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4912 * gst/base/gstbasesink.h:
4913 Handle newsegment events correctly.
4914 Drop buffers out of the segment range.
4916 2005-08-22 Andy Wingo <wingo@pobox.com>
4918 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4919 macro, implements an interface and gstimplementsinterface for a
4922 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4924 * check/Makefile.am:
4925 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4926 add a test that does a bunch of state changes on elements
4927 needs some fixing for valgrind
4928 * check/states/sinks.c: (gst_object_suite):
4931 add prototype for gst_caps_is_equal_fixed
4933 * gst/gstregistrypool.c:
4936 2005-08-24 Andy Wingo <wingo@pobox.com>
4938 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4939 convert a negative value. Doesn't make much sense. Mostly this is
4940 here to force callers to ensure -1 maps to -1.
4942 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4944 * docs/pwg/advanced-types.xml:
4945 Well done to Michael for catching my deliberate introduction
4946 of this spelling mistake.
4947 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4949 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4950 unlink pads before removing the element from the bin.
4952 2005-08-24 Andy Wingo <wingo@pobox.com>
4954 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4955 the same thing as GST_DEBUG=*:4.
4956 (parse_debug_level, parse_debug_category): New helper parsers.
4958 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4960 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4961 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4962 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4963 (gst_base_transform_buffer_alloc),
4964 (gst_base_transform_handle_buffer):
4965 use gboolean return values and pointers to size so we can use the
4966 full GST_BUFFER_SIZE range (guint) for buffer sizes
4967 use GstPadDirection for transform_caps
4968 * gst/base/gstbasetransform.h:
4969 rename get_size to get_unit_size since that's what it is
4970 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4971 use GstPadDirection for transform_caps
4972 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4974 cleanup and debugging
4976 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4978 * gst/gstelement.c: (gst_element_class_init),
4979 (gst_element_set_state), (activate_pads),
4980 (gst_element_save_thyself):
4981 * tools/gst-compprep.c: (main):
4982 * tools/gst-inspect.c: (print_element_properties_info):
4983 * tools/gst-xmlinspect.c: (print_element_properties):
4984 Fixed long standing mem-leak
4986 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4988 * check/gst/gstbin.c: (GST_START_TEST):
4989 * gst/gstbin.c: (bin_bus_handler):
4990 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4991 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4992 (gst_message_new_warning), (gst_message_new_tag),
4993 (gst_message_new_state_changed), (gst_message_new_segment_start),
4994 (gst_message_new_segment_done), (gst_message_new_custom):
4996 * tools/gst-launch.c: (event_loop):
4997 * tools/gst-md5sum.c: (event_loop):
4998 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4999 that applications can sensibly post custom messages with references
5000 to their own objects.
5002 2005-08-24 Andy Wingo <wingo@pobox.com>
5004 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5007 2005-08-24 Wim Taymans <wim@fluendo.com>
5009 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5010 (gst_base_transform_transform_caps),
5011 (gst_base_transform_transform_size),
5012 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5013 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5014 (gst_base_transform_handle_buffer):
5015 * gst/base/gstbasetransform.h:
5016 Many fixes and new features added by Thomas. Can now also do
5017 transforms with variable sizes and a custom fixate_caps function.
5019 2005-08-24 Wim Taymans <wim@fluendo.com>
5021 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5025 Cast to ClockTime before formatting to time.
5030 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5032 * check/gst-libs/controller.c: (GST_START_TEST),
5033 (gst_controller_suite):
5034 * docs/gst/tmpl/gstcaps.sgml:
5035 * docs/gst/tmpl/gstghostpad.sgml:
5036 * docs/gst/tmpl/gstquery.sgml:
5037 * docs/gst/tmpl/gstutils.sgml:
5038 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5039 (gst_object_sink_values), (gst_object_get_value_arrays),
5040 (gst_object_get_value_array):
5041 gracefully handle helper method calls to objects that are not beeing
5042 controlled, added test case for that
5044 2005-08-23 Wim Taymans <wim@fluendo.com>
5046 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5047 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5048 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5049 (gst_event_parse_qos), (gst_event_new_seek),
5050 (gst_event_parse_seek):
5052 Some more debugging output and doc cleanups.
5054 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5055 Fix possible deadlock.
5057 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5059 * docs/gst/gstreamer-docs.sgml:
5060 * docs/gst/gstreamer-sections.txt:
5061 * docs/gst/gstreamer.types:
5062 * docs/gst/tmpl/.cvsignore:
5067 added 100 symbols from gstreamer-unused.txt to the right sections
5068 fixed more broken comments
5069 added GstBus to docs
5071 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5073 * docs/gst/gstreamer-sections.txt:
5074 * docs/gst/tmpl/.cvsignore:
5075 * docs/gst/tmpl/gstbin.sgml:
5076 * docs/gst/tmpl/gstbuffer.sgml:
5077 * gst/base/gstbasesrc.c:
5078 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5081 * tools/gst-launch.1.in:
5082 inlined more doc comments, added missing comments and fixed comments
5085 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5087 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5091 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5093 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5094 * gst/gststructure.h:
5095 add a fixate function for booleans; add a FIXME that these func
5096 names should probably be gst_structure_fixate_*
5098 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5100 * docs/gst/gstreamer-docs.sgml:
5101 * docs/gst/gstreamer-sections.txt:
5103 * gst/gstbin.c: (gst_bin_get_type),
5104 (gst_bin_child_proxy_get_child_by_index),
5105 (gst_bin_child_proxy_get_children_count),
5106 (gst_bin_child_proxy_init):
5107 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5108 (gst_child_proxy_get_child_by_index),
5109 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5110 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5111 (gst_child_proxy_get), (gst_child_proxy_set_property),
5112 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5113 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5114 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5115 * gst/gstchildproxy.h:
5116 * gst/parse/grammar.y:
5117 * tools/gst-inspect.c: (print_interfaces),
5118 (print_element_properties_info), (print_element_info):
5119 ported gstchildproxy over from 0.8
5120 ported gst-inspect fixes and enhancements over from 0.8
5122 2005-08-22 Wim Taymans <wim@fluendo.com>
5124 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5125 (gst_base_transform_handle_buffer):
5126 Also call the transform function if we have ANY caps.
5128 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5131 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5133 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5134 Don't pretend to handle seek events if the source is not seekable
5136 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5139 Remove extra parameter to debug output
5141 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5142 (gst_base_src_do_seek), (gst_base_src_activate_push):
5143 Fix seek event handling.
5145 * gst/gstpipeline.c: (gst_pipeline_change_state):
5146 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5147 (gst_queue_src_activate_push):
5148 Don't start the src pad task on FLUSH_STOP if the pad
5152 2005-08-22 Wim Taymans <wim@fluendo.com>
5154 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5155 Added check for gst_static_caps_get() refcounting.
5157 2005-08-22 Wim Taymans <wim@fluendo.com>
5159 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5160 Make _static_caps_get() refcounting sane.
5162 * gst/gstelement.c: (gst_element_set_state):
5163 Add g_return_val_if_fail() to protect against segfaults.
5165 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5167 * docs/gst/tmpl/gstevent.sgml:
5170 inlined remaining docs, added missing doc comments
5172 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5174 * check/gst/gstbin.c: (GST_START_TEST):
5175 since we don't know when preroll is done, use refcount range
5177 * gst/check/gstcheck.h:
5178 add macro for checking refcount range
5180 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5182 * check/Makefile.am:
5183 clean up environment for when registry gets built versus
5184 when actual tests are run; valgrind seems to not report
5185 leaks if GST_PLUGIN_PATH is set to some specific values
5186 * check/gst/gstbin.c: (GST_START_TEST):
5187 add more refcounting checks; maybe this exposes a
5190 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5191 * gst/check/gstcheck.h:
5192 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5193 (gst_bin_change_state):
5194 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5195 add/fix debugging/whitespace
5197 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5199 * check/gst/gstevent.c: (event_probe), (test_event),
5201 Er, don't call gst_bin_watch_for_state_change you idiot.
5203 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5205 * check/Makefile.am:
5206 Use CHECK_CFLAGS and CHECK_LIBS
5207 * check/gst/gstevent.c: (event_probe), (test_event),
5210 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5211 (gst_base_src_start), (gst_base_src_stop),
5212 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5213 (gst_base_src_change_state):
5214 Sprinkle gst_base_src_stop liberally around error paths to fix
5215 problems reusing a source after failed state changes.
5216 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5217 (helper_find_suggest), (gst_type_find_helper):
5218 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5220 * docs/gst/tmpl/gstevent.sgml:
5221 Migrate part of the docs from the SGML file. Wait for ensonic to
5222 tell me how I did it wrong ;)
5223 * tools/gst-typefind.c: (main):
5224 Extra robustness to state changes between files.
5226 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5228 * check/Makefile.am:
5229 don't valgrind the controller test - it's leaking - Stefan, HELP
5230 * gst/check/gstcheck.c: (gst_check_message_error),
5231 (gst_check_chain_func), (gst_check_setup_element),
5232 (gst_check_teardown_element), (gst_check_setup_src_pad),
5233 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5234 (gst_check_teardown_sink_pad):
5235 * gst/check/gstcheck.h:
5236 add a bunch of methods to set up elements, and src and sink pads
5237 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5238 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5243 whitespace/doc fixes
5245 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5248 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5249 be handled by the application and not always printed as well
5251 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5253 * check/Makefile.am:
5255 * gst/check/gstcheck.c: (gst_check_message_error):
5256 * gst/check/gstcheck.h:
5257 add a fail_unless_equals_int
5258 add fail_unless for error messages
5260 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5262 * check/Makefile.am:
5264 * common/Makefile.am:
5267 factor out some of the common stuff so we can use it
5269 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5271 * check/Makefile.am:
5272 * check/gst/gstiterator.c: (GST_START_TEST):
5273 * check/gst/gstsystemclock.c: (GST_START_TEST),
5274 (gst_systemclock_suite):
5275 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5279 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5281 * check/elements/.cvsignore:
5282 * check/elements/gstfakesrc.c:
5283 rename to name of element
5284 * check/elements/identity.c: (chain_func), (event_func),
5285 (setup_identity), (cleanup_identity), (GST_START_TEST),
5286 (identity_suite), (main):
5287 add a test for identity
5288 * check/Makefile.am:
5289 * pkgconfig/Makefile.am:
5290 * pkgconfig/gstreamer-check.pc.in:
5291 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5295 move the check stuff to a library that gets installed
5296 * check/gst-libs/controller.c: (GST_START_TEST):
5297 * check/gst-libs/gdp.c:
5298 * check/gst/gst.c: (GST_START_TEST):
5299 * check/gst/gstbin.c:
5300 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5301 * check/gst/gstbus.c:
5302 * check/gst/gstcaps.c: (GST_START_TEST):
5303 * check/gst/gstelement.c:
5304 * check/gst/gstghostpad.c:
5305 * check/gst/gstiterator.c:
5306 * check/gst/gstmessage.c:
5307 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5308 * check/gst/gstobject.c:
5309 * check/gst/gstpad.c: (GST_START_TEST):
5310 * check/gst/gststructure.c: (GST_START_TEST):
5311 * check/gst/gstsystemclock.c: (GST_START_TEST),
5312 (gst_systemclock_suite):
5313 * check/gst/gsttag.c: (gst_tag_suite):
5314 * check/gst/gstvalue.c:
5315 * check/pipelines/cleanup.c:
5316 * check/pipelines/simple_launch_lines.c:
5317 * check/states/sinks.c:
5318 change include statement
5320 * docs/gst/gstreamer-sections.txt:
5321 * docs/gst/tmpl/gstpad.sgml:
5322 document more pad stuff
5323 * gst/gstminiobject.c: (gst_mini_object_ref),
5324 (gst_mini_object_unref):
5327 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5329 * docs/gst/tmpl/gst.sgml:
5331 eliminate another tmpl file, fix spelling in the long-description
5333 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5335 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5336 (test_event), (timediff), (gstevents_suite):
5337 Should fix build on 64-bit arch's
5339 2005-08-18 Andy Wingo <wingo@pobox.com>
5341 Make sure that when a pipeline goes to PLAYING, that data has
5342 actually hit the sink.
5344 * check/states/sinks.c (test_sink): A sink that doesn't get any
5345 data shouldn't return SUCCESS for going to either PLAYING or
5346 PAUSED. Test also the return values on the way back down.
5348 * gst/gstelement.c (gst_element_set_state): When changing the
5349 state of an element currently changing state asynchronously, go to
5350 lost-state after commiting the pending state. Makes future calls
5351 to get_state continue to return ASYNC.
5353 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5354 ASYNC when going to PLAYING if we still don't have preroll, as can
5355 happen with live sources.
5357 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5359 * docs/pwg/advanced-types.xml:
5360 Hack long paragraph into 2 chunks as a workaround for buggy
5361 jadetex version in sid and breezy that loops infinitely and
5364 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5366 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5367 (test_event), (timediff), (gstevents_suite):
5368 Provide more error margin in clock measurements to allow for
5369 g_get_current_time inaccuracies.
5371 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5373 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5374 (test_event), (timediff), (gstevents_suite):
5375 Fix error message output so I might be able to tell why the
5376 test works here but fails on the build farm.
5378 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5380 * check/Makefile.am:
5381 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5382 (test_event), (timediff), (gstevents_suite), (main):
5385 * docs/design/part-seeking.txt:
5388 * docs/gst/tmpl/gstevent.sgml:
5389 * docs/gst/tmpl/gstfakesrc.sgml:
5392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5393 Treat a buffer-without-newsegment the same as a receiving
5394 a newsegment not in time format, and disable syncing to the clock
5397 * gst/gstbus.c: (gst_bus_set_sync_handler):
5398 Assert if anyone tries to replace the existing sync_handler for bus,
5399 as only the owner should be setting it.
5402 Have a fixed set of custom event enums with events identified by
5403 their structure name (as in 0.8), rather than a free-for-all
5404 allowing collisions between enum values from different plugins.
5406 * gst/gstpad.c: (gst_pad_class_init):
5409 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5410 Handle out-of-band downstream events from the sending thread.
5412 2005-08-17 Andy Wingo <wingo@pobox.com>
5414 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5415 play-timeout==0 to mean no timeout at all. In that case, don't
5416 bother with a get_state or a warning, just return directly, even
5419 * gst/base/gstbasetransform.c: Debug changes.
5422 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5423 ensure bins post state change messages. A bit of a hack but I can't
5424 think of a way to avoid it.
5426 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5428 2005-08-16 Andy Wingo <wingo@pobox.com>
5430 * gst/base/gstadapter.h:
5431 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5432 peek() but you own the data. Not terribly efficient atm.
5434 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5436 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5437 (gst_element_found_tags):
5439 Add two utility functions for tag handling.
5441 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5443 * docs/manual/advanced-dataaccess.xml:
5444 * docs/manual/basics-helloworld.xml:
5445 Fix docs to use _bin_add() before _link(), which fixes the examples
5446 with recent core versions (reported by Madhan Raj M
5447 <raj_madan@rediffmail.com>, #313199).
5449 2005-08-16 Wim Taymans <wim@fluendo.com>
5451 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5452 Added subtract checks.
5454 * docs/design/part-events.txt:
5455 Some more docs about newsegment
5457 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5460 * gst/gstcaps.c: (gst_caps_to_string):
5461 Add comments, cleanups.
5463 * gst/gstelement.c: (gst_element_save_thyself):
5466 * gst/gstvalue.c: (gst_value_collect_int_range),
5467 (gst_string_unwrap), (gst_value_union_int_int_range),
5468 (gst_value_union_int_range_int_range),
5469 (gst_value_intersect_int_int_range),
5470 (gst_value_intersect_int_range_int_range),
5471 (gst_value_intersect_double_double_range),
5472 (gst_value_intersect_double_range_double_range),
5473 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5474 (gst_value_subtract_int_range_int),
5475 (gst_value_subtract_double_range_double),
5476 (gst_value_subtract_double_range_double_range),
5477 (gst_value_subtract_from_list), (gst_value_subtract_list),
5478 (gst_value_can_compare), (gst_value_compare_fraction):
5479 Cleanups, add comments, remove unneeded asserts.
5481 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5483 * tools/gst-launch.c: (event_loop):
5484 don't convert NULL structures to strings
5486 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5488 * docs/gst/gstreamer-sections.txt:
5489 made some defines private
5490 * docs/gst/tmpl/gstconfig.sgml:
5491 * docs/gst/tmpl/gstqueue.sgml:
5492 * docs/gst/tmpl/gsttaglist.sgml:
5493 * docs/gst/tmpl/gsttypes.sgml:
5494 * docs/gst/tmpl/gstutils.sgml:
5495 * docs/pwg/appendix-porting.xml:
5496 * gst/base/gstbasesink.h:
5497 * gst/base/gstbasesrc.c:
5498 * gst/base/gstbasesrc.h:
5499 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5500 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5501 * gst/gstelement.c: (gst_element_class_init):
5502 * gst/gstpad.c: (gst_pad_class_init):
5503 * gst/gstqueue.c: (gst_queue_class_init):
5504 * gst/gstxml.c: (gst_xml_class_init):
5505 documented all undocumented signal inline
5506 * libs/gst/controller/gst-controller.h:
5509 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5511 * docs/pwg/appendix-porting.xml:
5512 Document _set_link_function -> _set_setcaps_function.
5514 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5516 * check/Makefile.am:
5517 add a .check target for running the check
5518 * check/gst-libs/controller.c: (GST_START_TEST):
5520 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5521 complete checks for gstbuffer; would be nice if I could get the
5522 gcov stuff to work so I can see if I actually completed gstbuffer.c
5524 add ASSERT_BUFFER_REFCOUNT
5526 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5528 * docs/gst/gstreamer-sections.txt:
5529 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5531 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5532 spew out a warning if a tag that is already registered
5533 is re-registered, unless it is re-registered with a
5534 different type (#308438).
5536 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5538 * docs/pwg/appendix-porting.xml:
5539 * docs/pwg/building-state.xml:
5540 Add some paragraphs about state changes in 0.9 to the PWG
5541 and the porting guide, in particular about the new meaning
5542 of GST_STATE_PAUSED and how to write state change functions
5543 with concurrent access by multiple threads in mind.
5545 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5547 * docs/gst/gstreamer-docs.sgml:
5548 * docs/libs/gstreamer-libs-docs.sgml:
5549 added deprecation and since indexes
5550 * libs/gst/controller/gst-controller.c:
5551 * libs/gst/controller/gst-helper.c:
5555 2005-08-11 Wim Taymans <wim@fluendo.com>
5557 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5558 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5559 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5560 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5561 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5562 (gst_ghost_pad_set_target):
5563 Actually implement (re)setting the target on a ghostpad
5564 as described in the docs.
5566 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5568 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5569 Check whether GST_DEBUG_NO_COLOR environment variable is
5570 set and disable coloured debug output if that is the case.
5572 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5574 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5575 (gst_type_find_helper):
5576 The memory returned by gst_type_find_peek() needs to
5577 stay valid until the end of a typefind function, and
5578 typefind functions may keep results from different
5579 offsets around, so we can't just unref the buffer from
5580 the previous _peek(), but have to save all buffers
5581 returned by _peek() until typefinding is done and only
5584 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5586 * docs/gst/gstreamer-sections.txt:
5588 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5590 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5592 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5593 Fix a pretty good memleak.
5595 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5597 * gst/gstiterator.h:
5598 Fix wrong include and 'make distcheck'.
5600 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5602 * gst/gstbin.c: (bin_bus_handler):
5603 Use gst_element_post_message() instead.
5605 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5607 * gst/base/gstadapter.h:
5608 * gst/base/gstbasesink.h:
5609 * gst/base/gstbasesrc.h:
5610 * gst/base/gstbasetransform.h:
5611 * gst/base/gstcollectpads.h:
5612 * gst/base/gstpushsrc.h:
5613 * gst/gstiterator.h:
5614 Add padding to our base elements' class and instance structs and
5615 to GstIterator (you will need to rebuild all plugins and apps!)
5617 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5619 * gst/gstbin.c: (bin_bus_handler):
5620 Make default message forwarding from child->bus to bin->bus
5621 threadsafe and make it not emit warnings if the parent has no bus.
5623 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5625 * gst/gstelement.c: (activate_pads):
5626 On paused->ready, set pad->caps to NULL, as is the documented
5627 behaviour in this state change. Fixes playback of series of
5628 media files when visualization is enabled in Totem.
5630 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5632 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5633 Allow NULL as filter-caps (which means "any").
5635 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5637 * docs/libs/gstreamer-libs-sections.txt:
5638 * libs/gst/controller/gst-controller.c:
5639 * libs/gst/controller/gst-controller.h:
5640 * libs/gst/controller/gst-helper.c:
5641 adding more entries to the docs and fix small doc-bugs
5643 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5645 * docs/gst/gstreamer-docs.sgml:
5646 * docs/gst/gstreamer-sections.txt:
5647 * docs/gst/gstreamer.types:
5648 * docs/gst/tmpl/gstbasesink.sgml:
5649 * docs/gst/tmpl/gstbasesrc.sgml:
5650 * docs/gst/tmpl/gstbasetransform.sgml:
5651 * docs/gst/tmpl/gstfakesrc.sgml:
5652 * gst/base/gstcollectpads.c:
5653 * gst/base/gstcollectpads.h:
5654 * libs/gst/controller/gst-controller.c:
5655 * libs/gst/controller/gst-controller.h:
5656 * libs/gst/controller/gst-helper.c:
5657 * libs/gst/controller/gst-interpolation.c:
5658 * libs/gst/controller/lib.c:
5659 added long/short desc for controller docs
5660 added collectpads base class docs
5661 added correct includes to base-class docs
5663 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5665 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5666 (gst_test_mono_source_set_property),
5667 (gst_test_mono_source_class_init), (GST_START_TEST),
5668 (gst_controller_suite):
5669 * docs/gst/gstreamer-docs.sgml:
5670 * docs/gst/gstreamer-sections.txt:
5671 * docs/gst/gstreamer.types:
5672 * docs/libs/gstreamer-libs-docs.sgml:
5673 * docs/libs/gstreamer-libs-sections.txt:
5674 * gst/base/gstadapter.c:
5675 * libs/gst/controller/gst-controller.c:
5676 (gst_controlled_property_new), (gst_controlled_property_free),
5677 (gst_controller_new_valist),
5678 (gst_controller_remove_properties_valist),
5679 (gst_controller_sink_values), (_gst_controller_finalize):
5680 * libs/gst/controller/gst-controller.h:
5681 * libs/gst/controller/gst-helper.c:
5682 (gst_object_control_properties), (gst_object_uncontrol_properties),
5683 (gst_object_get_controller), (gst_object_set_controller),
5684 (gst_object_sink_values), (gst_object_get_value_arrays),
5685 (gst_object_get_value_array):
5686 more tests (and fixes) for the controller
5687 more docs for the controller
5688 integrated companies docs for the adapter
5690 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5692 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5693 (GST_START_TEST), (fakesrc_suite):
5694 add tests for sizetype
5696 2005-08-04 Andy Wingo <wingo@pobox.com>
5698 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5699 fixes buffer_alloc proxying among other things.
5701 * gst/base/gstbasetransform.c:
5702 * gst/base/gstbasetransform.h:
5703 Revert patch to gstbasetransform from 7-28 removing
5706 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5707 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5708 Semantics changed, should return not the size of the output buffer
5709 but the byte size of a buffer with a given caps.
5711 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5713 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5714 out) are not the pad caps until setcaps finishes.
5715 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5716 not-in-place case as well. Deal with changing from in-place to
5717 not-in-place within calling pad_alloc_buffer. Still a bit
5718 concerned about the overhead here...
5720 2005-08-03 Andy Wingo <wingo@pobox.com>
5722 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5723 fixating is an error.
5725 2005-08-04 Edward Hervey <edward@fluendo.com>
5727 * gst/base/gstadapter.h:
5728 Added gst_adapter_get_type() to the header
5730 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5732 * check/Makefile.am:
5733 * check/gst-libs/controller.c:
5734 * libs/gst/controller/gst-controller.c:
5735 (gst_controller_new_valist):
5736 added check test suite for the controller
5737 * gst/base/gstpushsrc.c:
5740 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5742 * docs/gst/Makefile.am:
5743 * docs/gst/gstreamer-docs.sgml:
5744 * docs/gst/gstreamer-sections.txt:
5745 * docs/gst/gstreamer.types:
5746 * docs/gst/tmpl/gstfakesrc.sgml:
5748 * gst/base/gstbasesink.c:
5749 * gst/base/gstbasesink.h:
5750 * gst/base/gstbasesrc.c:
5751 * gst/base/gstbasesrc.h:
5752 * gst/base/gstbasetransform.c:
5753 * gst/base/gstpushsrc.c:
5754 * gst/base/gstpushsrc.h:
5755 add short/long description docs to base classes
5756 add pushsrc to the docs
5757 remove consolidated doc fragments
5759 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5762 * docs/libs/Makefile.am:
5763 * docs/libs/gstreamer-libs-docs.sgml:
5764 * docs/libs/gstreamer-libs-sections.txt:
5765 * docs/libs/gstreamer-libs.types:
5766 * examples/Makefile.am:
5767 * examples/controller/.cvsignore:
5768 * examples/controller/Makefile.am:
5769 * examples/controller/audio-example.c: (main):
5770 * libs/gst/Makefile.am:
5771 * libs/gst/controller/.cvsignore:
5772 * libs/gst/controller/Makefile.am:
5773 * libs/gst/controller/gst-controller.c:
5774 (on_object_controlled_property_changed), (gst_timed_value_compare),
5775 (gst_timed_value_find),
5776 (gst_controlled_property_set_interpolation_mode),
5777 (gst_controlled_property_new), (gst_controlled_property_free),
5778 (gst_controller_find_controlled_property),
5779 (gst_controller_new_valist), (gst_controller_new),
5780 (gst_controller_remove_properties_valist),
5781 (gst_controller_remove_properties), (gst_controller_set),
5782 (gst_controller_set_from_list), (gst_controller_unset),
5783 (gst_controller_get), (gst_controller_get_all),
5784 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5785 (gst_controller_get_value_array),
5786 (gst_controller_set_interpolation_mode),
5787 (_gst_controller_finalize), (_gst_controller_init),
5788 (_gst_controller_class_init), (gst_controller_get_type):
5789 * libs/gst/controller/gst-controller.h:
5790 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5791 (g_object_uncontrol_properties), (g_object_get_controller),
5792 (g_object_set_controller), (g_object_sink_values),
5793 (g_object_get_value_arrays), (g_object_get_value_array):
5794 * libs/gst/controller/gst-interpolation.c:
5795 (gst_controlled_property_find_timed_value_node),
5796 (interpolate_none_get), (interpolate_trigger_get),
5797 (interpolate_trigger_get_value_array):
5798 * libs/gst/controller/lib.c: (gst_controller_init):
5799 * pkgconfig/Makefile.am:
5800 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5801 * pkgconfig/gstreamer-control.pc.in:
5802 * testsuite/Makefile.am:
5803 * testsuite/controller/.cvsignore:
5804 * testsuite/controller/Makefile.am:
5805 * testsuite/controller/interpolator.c: (main):
5806 added controller code
5807 removed dparam pc files
5809 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5810 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5811 (gst_collectpads_stop):
5812 Broadcast the condition when shutting down, to make sure we wake all
5813 threads up. Shut down pads on finalize, for safety.
5815 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5816 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5817 (gst_base_transform_handle_buffer),
5818 (gst_base_transform_change_state):
5819 Handle PAUSED->READY->PAUSED transition after negotiation
5821 * gst/gstmessage.c: (gst_message_init):
5822 Extra piece of debug for new messages.
5824 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5827 * docs/gst/tmpl/gstbasesrc.sgml:
5828 * docs/gst/tmpl/gstelement.sgml:
5829 * docs/gst/tmpl/gstevent.sgml:
5830 * docs/gst/tmpl/gstfakesrc.sgml:
5831 * docs/gst/tmpl/gstformat.sgml:
5832 * docs/gst/tmpl/gstghostpad.sgml:
5833 * docs/gst/tmpl/gstpad.sgml:
5834 * docs/gst/tmpl/gstquery.sgml:
5835 * docs/gst/tmpl/gststructure.sgml:
5836 * docs/gst/tmpl/gsttaglist.sgml:
5837 * docs/gst/tmpl/gstvalue.sgml:
5838 * docs/libs/gstreamer-libs-docs.sgml:
5839 * docs/libs/gstreamer-libs-sections.txt:
5840 * docs/libs/gstreamer-libs.types:
5841 * libs/gst/Makefile.am:
5842 * libs/gst/control/.cvsignore:
5843 * libs/gst/control/Makefile.am:
5844 * libs/gst/control/control.c:
5845 * libs/gst/control/control.h:
5846 * libs/gst/control/dparam.c:
5847 * libs/gst/control/dparam.h:
5848 * libs/gst/control/dparam_smooth.c:
5849 * libs/gst/control/dparam_smooth.h:
5850 * libs/gst/control/dparamcommon.h:
5851 * libs/gst/control/dparammanager.c:
5852 * libs/gst/control/dparammanager.h:
5853 * libs/gst/control/dplinearinterp.c:
5854 * libs/gst/control/dplinearinterp.h:
5855 * libs/gst/control/unitconvert.c:
5856 * libs/gst/control/unitconvert.h:
5857 * testsuite/Makefile.am:
5858 * testsuite/dynparams/.cvsignore:
5859 * testsuite/dynparams/Makefile.am:
5860 * testsuite/dynparams/dparamstest.c:
5861 * tools/Makefile.am:
5862 * tools/gst-inspect.c: (print_element_info), (main):
5863 * tools/gst-xmlinspect.c: (print_element_info), (main):
5864 deactivate and remove dparams (libgstcontrol)
5866 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5868 * gst/elements/gsttypefindelement.c:
5869 (gst_type_find_element_have_type), (gst_type_find_element_init),
5870 (stop_typefinding), (gst_type_find_element_handle_event),
5871 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5872 * gst/elements/gsttypefindelement.h:
5873 Set caps on all outgoing buffers, not just the first one.
5875 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5877 * gst/elements/gsttypefindelement.c:
5878 (gst_type_find_element_have_type),
5879 (gst_type_find_element_check_set_buffer_caps),
5880 (gst_type_find_element_init), (stop_typefinding),
5881 (gst_type_find_element_handle_event),
5882 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5883 * gst/elements/gsttypefindelement.h:
5884 Set caps on first outgoing buffer when we've found the type.
5886 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5888 * docs/gst/gstreamer-docs.sgml:
5889 * docs/gst/gstreamer-sections.txt:
5890 * docs/gst/tmpl/gstscheduler.sgml:
5891 * docs/gst/tmpl/gstschedulerfactory.sgml:
5892 Remove some old cruft from docs.
5894 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5897 Fix inline docs for GstPadLinkReturn.
5899 * gst/gststructure.c: (gst_structure_has_name):
5900 * gst/gststructure.h:
5901 * docs/gst/gstreamer-sections.txt:
5902 New API: gst_structure_has_name().
5904 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5907 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5908 and _LARGEFILE_SOURCE in config.h as required. Do not
5909 export those flags in our .pc files any longer (#142209).
5911 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5913 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5914 (gst_file_sink_do_seek), (gst_file_sink_event),
5915 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5916 Redo seek/tell calls with large file support in mind; add some
5917 debugging messages; add log message that tells us when large
5918 file support is unavailable or not enabled for some reason.
5920 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5921 Add log message that tells us when large file support
5922 is unavailable or not enabled for some reason.
5924 2005-07-29 Wim Taymans <wim@fluendo.com>
5926 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5927 Added test for removing an element with ghostpad from a bin.
5928 Fixed test as current implementation does the right thing.
5930 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5931 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5932 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5933 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5934 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5935 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5936 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5937 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5938 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5939 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5940 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5941 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5942 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5943 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5944 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5945 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5946 * gst/gstghostpad.h:
5947 Clean up ghostpads, remove properties for internal stuff.
5950 Prepare for switching targets, not all use cases work yet.
5952 2005-07-29 Wim Taymans <wim@fluendo.com>
5954 * docs/design/part-gstghostpad.txt:
5957 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5958 (gst_bin_remove_func):
5959 Unlinking pads while holding the bin LOCK is not a good
5962 * gst/gstpad.c: (gst_pad_class_init),
5963 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5964 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5965 No prob setting template after creating the pad.
5967 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5969 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5970 (gst_bus_peek), (gst_bus_source_dispatch),
5971 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5972 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5973 gst_bus_poll may be called from other threads. Handle
5974 this nicely by not making poll_data disappear off the
5975 stack once gst_bus_poll returns.
5976 gst_bus_peek now increments the refcount on the returned
5979 2005-07-29 Wim Taymans <wim@fluendo.com>
5981 * docs/design/part-gstghostpad.txt:
5982 Overview of current GhostPad datastructures and use
5983 cases for changing the target.
5985 2005-07-28 Wim Taymans <wim@fluendo.com>
5987 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5988 Added checks for hierarchy consistency whan adding linked
5991 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5992 Added check to test element scheduling without bin/pipeline.
5994 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5995 First add elements to bin, then link.
5997 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5998 (gst_bin_remove_func):
5999 Unlink pads from elements added/removed from bin to maintain
6000 hierarchy consistency.
6002 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6004 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6005 (gst_base_transform_handle_buffer):
6006 * gst/base/gstbasetransform.h:
6007 Remove broken delay_configure (fixes renegotiation of software
6008 scaling pipelines); remove some leftover printf()s.
6010 2005-07-28 Wim Taymans <wim@fluendo.com>
6012 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6013 Added some more tests for wrong hierarchy
6015 * docs/design/part-overview.txt:
6018 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6021 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6022 (gst_element_dispose):
6025 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6026 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6027 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6028 (gst_pad_set_caps), (gst_pad_send_event):
6029 Check for correct hierarchy when linking pads. Moving to
6030 strict requirement for ghostpads when linking elements in
6034 Clean ups. Added WRONG_HIERARCHY return value.
6036 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6038 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6039 Better debug if no transform is possible.
6041 2005-07-27 Wim Taymans <wim@fluendo.com>
6043 * docs/random/wtay/network-transp:
6046 2005-07-27 Wim Taymans <wim@fluendo.com>
6048 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6049 (gst_dp_event_from_packet):
6050 Fix serialization of seek events.
6052 2005-07-27 Wim Taymans <wim@fluendo.com>
6054 * check/gst-libs/gdp.c: (GST_START_TEST):
6055 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6056 Fix compilation and fix event serialization.
6058 2005-07-27 Wim Taymans <wim@fluendo.com>
6061 * docs/design/part-TODO.txt:
6062 * docs/design/part-events.txt:
6065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6066 (gst_base_sink_event), (gst_base_sink_do_sync),
6067 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6068 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6069 (gst_base_src_do_seek), (gst_base_src_event_handler),
6070 (gst_base_src_loop):
6071 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6072 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6073 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6074 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6075 (gst_base_transform_set_passthrough),
6076 (gst_base_transform_is_passthrough):
6077 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6078 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6084 * gst/gstelement.c: (gst_element_seek):
6086 Update gst_element_seek.
6088 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6089 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6090 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6091 (gst_event_new_eos), (gst_event_new_newsegment),
6092 (gst_event_parse_newsegment), (gst_event_new_tag),
6093 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6094 (gst_event_parse_qos), (gst_event_new_seek),
6095 (gst_event_parse_seek), (gst_event_new_navigation):
6097 Make GstEvent use GstStructure. Add parsing code, make sure the
6098 API is sufficiently generic.
6099 Mark possible directions of events and serialization.
6101 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6102 (_gst_message_copy), (gst_message_new_segment_start),
6103 (gst_message_new_segment_done), (gst_message_new_custom),
6104 (gst_message_parse_segment_start),
6105 (gst_message_parse_segment_done):
6108 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6109 (gst_pad_set_caps), (gst_pad_send_event):
6110 Update for new events.
6111 Catch events sent in wrong directions.
6113 * gst/gstqueue.c: (gst_queue_link_src),
6114 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6115 (gst_queue_handle_src_query):
6120 Remove event code from this file.
6122 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6123 (gst_dp_event_from_packet):
6126 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6128 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6129 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6130 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6131 Make debugging actually useful.
6133 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6135 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6136 (gst_pad_fixate_caps):
6137 Implement default fixation once again, so that gst_pad_fixate()
6138 actually does anything at all. This probably needs to be some
6139 sort of a last resort, and use profile-based fixation first, but
6140 since that doesn't exist yet, this is the best we have. Fixes
6141 visualization in Totem.
6143 2005-07-22 Wim Taymans <wim@fluendo.com>
6145 * docs/design/part-events.txt:
6148 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6149 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6150 (gst_base_sink_activate_pull):
6153 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6154 (gst_fake_src_create):
6155 Fix handoff marshall.
6157 * gst/elements/gstidentity.c: (gst_identity_class_init),
6158 (gst_identity_transform_ip):
6159 We're a real inplace element.
6161 * gst/gstbus.c: (gst_bus_post):
6162 Added some comments.
6164 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6165 * tests/muxing/case1.c: (main):
6166 * tests/sched/dynamic-pipeline.c: (main):
6167 * tests/sched/interrupt1.c: (main):
6168 * tests/sched/interrupt2.c: (main):
6169 * tests/sched/interrupt3.c: (main):
6170 * tests/sched/runxml.c: (main):
6171 * tests/sched/sched-stress.c: (main):
6172 * tests/seeking/seeking1.c: (event_received), (main):
6173 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6175 * tests/threadstate/threadstate3.c: (main):
6176 * tests/threadstate/threadstate4.c: (main):
6177 * tests/threadstate/threadstate5.c: (main):
6180 2005-07-21 Wim Taymans <wim@fluendo.com>
6182 * docs/design/part-seeking.txt:
6183 Some small additions.
6185 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6186 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6187 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6188 * gst/base/gstbasesink.h:
6189 discont values are gint64, handle the math correctly.
6191 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6192 Make the basesrc report error if the source pad is not linked.
6194 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6195 (gst_queue_loop), (gst_queue_handle_src_query),
6196 (gst_queue_src_activate_push):
6197 Make queue collect data even if the srcpad is not linked.
6198 Start pushing out data as soon as it is linked.
6200 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6202 Added gst_flow_get_name() to ease error reporting.
6204 2005-07-20 Wim Taymans <wim@fluendo.com>
6206 * gst/gstmessage.c: (gst_message_new_segment_start),
6207 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6208 (gst_message_parse_segment_done):
6210 Added a bunch of messages for advanced seeking.
6212 * gst/parse/grammar.y:
6213 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6214 (gst_dpman_state_changed):
6215 Fix some new-pad -> pad-added signals
6217 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6219 * docs/manual/appendix-porting.xml:
6220 * docs/pwg/appendix-porting.xml:
6221 Document new-pad/state-change signal renames and the FixedList
6224 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6226 * docs/manual/advanced-autoplugging.xml:
6227 * docs/manual/basics-helloworld.xml:
6228 * docs/manual/basics-pads.xml:
6229 * docs/random/ds/0.9-suggested-changes:
6230 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6235 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6236 (gst_structure_parse_array), (gst_structure_parse_value):
6237 * gst/gstvalue.c: (gst_type_is_fixed),
6238 (gst_value_list_prepend_value), (gst_value_list_append_value),
6239 (gst_value_list_get_size), (gst_value_list_get_value),
6240 (gst_value_transform_array_string), (gst_value_serialize_array),
6241 (gst_value_deserialize_array), (gst_value_intersect_array),
6242 (gst_value_is_fixed), (_gst_value_initialize):
6244 GstElement::new-pad -> pad-added, GstElement::state-change ->
6245 state-changed, GstValueFixedList -> GstValueArray, add format and
6246 flags as their own arguments in gst_element_seek() (should improve
6247 "bindeability"), remove function generators since they don't work
6248 under a whole bunch of compilers (they were deprecated already
6251 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6253 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6254 (_gst_debug_register_funcptr):
6256 Fix illegal cast on some platforms (#309253).
6258 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6260 * gst/gstmessage.c: (gst_message_new_custom):
6262 Add _new_custom, make _new_application a macro to _new_custom.
6264 2005-07-20 Wim Taymans <wim@fluendo.com>
6266 * gst/base/gstbasesrc.c: (gst_base_src_init),
6267 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6268 * gst/base/gstbasesrc.h:
6269 Add a gboolean to decide when to push out a discont.
6271 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6272 (gst_queue_loop), (gst_queue_handle_src_query),
6273 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6274 (gst_queue_set_property), (gst_queue_get_property):
6277 * tests/threadstate/threadstate1.c: (main):
6278 Make a thread test compile and run... very silly..
6281 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6283 * docs/manual/appendix-porting.xml:
6284 Mention removal of libgstgconf-0.9.la and existence of gconf
6287 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6289 * docs/pwg/advanced-clock.xml:
6290 * docs/pwg/appendix-porting.xml:
6291 * docs/pwg/intro-preface.xml:
6292 * docs/pwg/other-base.xml:
6293 * docs/pwg/other-manager.xml:
6294 * docs/pwg/other-nton.xml:
6295 * docs/pwg/other-ntoone.xml:
6296 * docs/pwg/other-oneton.xml:
6298 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6299 demuxer), remove n-to-n (was never written), fix some code examples
6300 and links and update the porting section to include all this.
6302 2005-07-19 Wim Taymans <wim@fluendo.com>
6304 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6305 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6306 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6307 (gst_queue_src_activate_push), (gst_queue_change_state),
6308 (gst_queue_get_property):
6310 Propagate GstFlowReturn more intelligently upstream and output
6311 an ERROR/EOS when streaming stopped due to fatal error.
6313 2005-07-19 Wim Taymans <wim@fluendo.com>
6315 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6316 Don't block forever for the state change to complete, the
6317 pipeline already did with a sensible timeout.
6319 2005-07-19 Wim Taymans <wim@fluendo.com>
6321 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6322 Make sure we never call the create function is we
6325 2005-07-19 Andy Wingo <wingo@pobox.com>
6327 * gst/parse/parse.l: Attempt to solve bug #172815.
6329 2005-07-19 Wim Taymans <wim@fluendo.com>
6331 * docs/design/part-clocks.txt:
6332 * docs/design/part-events.txt:
6333 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6335 Only update the seeking values when we are not
6338 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6340 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6341 Oops, ignore the result of gst_pad_push_event here.
6343 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6345 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6346 (gst_base_src_activate_push):
6347 Send discont event from the loop function, as pads
6348 aren't activated yet in the activate_push handler.
6350 * gst/gstbin.c: (bin_bus_handler):
6351 Don't leak element name.
6353 2005-07-18 Andy Wingo <wingo@pobox.com>
6355 * configure.ac: Use AS_LIBTOOL_TAGS.
6357 2005-07-18 Wim Taymans <wim@fluendo.com>
6359 * docs/gst/gstreamer.types:
6360 Remove deleted types.
6362 2005-07-18 Wim Taymans <wim@fluendo.com>
6364 * check/elements/gstfakesrc.c: (GST_START_TEST):
6367 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6368 (init_popt_callback):
6370 * gst/gst_private.h:
6371 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6372 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6375 * gst/gstconfig.h.in:
6376 * gst/gstelement.c: (gst_element_class_init),
6377 (gst_element_set_base_time), (gst_element_get_base_time),
6378 (iterator_fold_with_resync), (gst_element_change_state),
6379 (gst_element_dispose), (gst_element_get_bus):
6381 * gst/gstelementfactory.h:
6382 * gst/gsterror.c: (_gst_core_errors_init):
6385 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6387 * gst/gstinfo.c: (_gst_debug_init):
6388 * gst/gstmessage.c: (_gst_message_copy):
6390 * gst/gstminiobject.h:
6393 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6394 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6397 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6398 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6399 (gst_pipeline_get_last_stream_time):
6400 * gst/gstpipeline.h:
6401 * gst/gstpluginfeature.h:
6403 * gst/gstscheduler.c:
6404 * gst/gstscheduler.h:
6405 * gst/gststructure.h:
6406 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6407 (gst_task_finalize), (gst_task_func), (gst_task_create),
6408 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6409 (gst_task_stop), (gst_task_pause):
6411 * gst/gsttypefind.h:
6413 * gst/registries/gstlibxmlregistry.c: (load_feature),
6414 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6415 * gst/registries/gstxmlregistry.c:
6416 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6417 * gst/schedulers/threadscheduler.c:
6418 * libs/gst/control/dparammanager.h:
6419 * tools/gst-inspect.c: (print_element_list),
6420 (print_plugin_features), (print_element_features):
6421 * tools/gst-xmlinspect.c: (print_element_list),
6422 (print_plugin_info), (main):
6423 Removed plugable schedulers.
6424 Removed Scheduler/Manager from elements.
6425 Removed gsttypes.h, rearranged includes.
6426 Removed dependency pad<->element, element<>pipeline, and
6427 various others, fix includes.
6428 implement gst_pad_get_parent() with gst_object_get_parent()
6429 Make GstTask sefcontained.
6430 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6432 Fix endless loop in iterator_fold_with_resync.
6435 2005-07-18 Wim Taymans <wim@fluendo.com>
6441 2005-07-18 Wim Taymans <wim@fluendo.com>
6446 2005-07-18 Wim Taymans <wim@fluendo.com>
6452 2005-07-18 Wim Taymans <wim@fluendo.com>
6454 * docs/design/part-dynamic.txt:
6455 * docs/design/part-events.txt:
6456 * docs/design/part-seeking.txt:
6457 Some more docs in the works.
6459 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6460 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6461 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6462 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6463 (gst_base_transform_handle_buffer),
6464 (gst_base_transform_sink_activate_push),
6465 (gst_base_transform_src_activate_pull),
6466 (gst_base_transform_set_passthrough),
6467 (gst_base_transform_is_passthrough):
6470 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6473 * gst/gstevent.c: (gst_event_finalize):
6476 * gst/gstutils.c: (gst_element_unlink),
6477 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6478 (gst_pad_proxy_setcaps):
6480 Add _get_parent_element() to get a pads parent as an element.
6482 2005-07-18 Wim Taymans <wim@fluendo.com>
6484 * check/gst/gstbin.c: (GST_START_TEST):
6487 2005-07-18 Wim Taymans <wim@fluendo.com>
6489 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6490 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6491 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6492 (gst_base_sink_event), (gst_base_sink_do_sync),
6493 (gst_base_sink_chain), (gst_base_sink_loop),
6494 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6495 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6497 Fix logic for returning ASYNC when not prerolled.
6499 2005-07-18 Wim Taymans <wim@fluendo.com>
6501 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6502 Fix nasty refcount bug.
6504 2005-07-16 Philippe Khalaf <burger@speedy.org>
6506 * gst/elements/gstfdsrc.c:
6507 * gst/elements/gstfdsrc.h:
6508 * gst/elements/gstelements.c:
6509 * gst/elements/Makefile.am:
6510 Ported fdsrc to 0.9.
6512 2005-07-16 Wim Taymans <wim@fluendo.com>
6514 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6515 (gst_base_sink_do_sync):
6518 2005-07-16 Wim Taymans <wim@fluendo.com>
6520 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6521 (gst_base_sink_event), (gst_base_sink_get_times),
6522 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6523 * gst/base/gstbasesink.h:
6524 Store and use discont values when syncing buffers as described
6527 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6528 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6529 (gst_base_src_activate_push):
6530 Push discont event when starting.
6532 * gst/elements/gstidentity.c: (gst_identity_transform):
6535 * gst/gstbin.c: (gst_bin_change_state):
6536 Small cleanups in base_time distribution.
6538 * gst/gstelement.c: (gst_element_set_base_time),
6539 (gst_element_get_base_time), (gst_element_change_state):
6541 Added methods for the base_time of the element.
6544 * gst/gstpipeline.c: (gst_pipeline_send_event),
6545 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6546 (gst_pipeline_get_last_stream_time):
6547 * gst/gstpipeline.h:
6549 Handle seeking as described in design doc, remove stream_time
6551 Cleanups clock and stream_time selection code. Added accessors
6552 for the stream_time.
6555 2005-07-16 Andy Wingo <wingo@pobox.com>
6557 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6560 2005-07-16 Wim Taymans <wim@fluendo.com>
6562 * check/gst/gstbin.c: (GST_START_TEST):
6563 Make elements silent as the deep_notify refs the
6564 parent, which might make the test fail.
6566 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6567 Don't hold the lock for too long.
6569 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6571 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6572 Don't unref the caps we passed to gst_caps_make_writable() after
6573 passing them. gst_caps_make_writable() will do that for us.
6575 2005-07-15 Andy Wingo <wingo@pobox.com>
6577 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6580 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6581 own marshalling function for the handoff signal. Properly type the
6582 buffer as a buffer. Fixes some warnings. Should do a more general
6584 (gst_identity_class_init): Plug into the right marshaller.
6586 2005-07-15 Wim Taymans <wim@fluendo.com>
6588 * docs/design/part-TODO.txt:
6589 * docs/design/part-clocks.txt:
6590 * docs/design/part-element-sink.txt:
6591 * docs/design/part-events.txt:
6592 * docs/design/part-gstpipeline.txt:
6593 Updated docs, mostly DISCONT related.
6595 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6597 * docs/pwg/building-pads.xml:
6598 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6600 2005-07-15 Andy Wingo <wingo@pobox.com>
6602 * tools/gst-typefind.c: Update, add copyright block.
6604 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6605 Normalize and truncate caps before fixation.
6608 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6609 discards all but the first structure from its argument.
6611 2005-07-15 Wim Taymans <wim@fluendo.com>
6613 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6614 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6615 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6616 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6617 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6618 (gst_base_transform_chain), (gst_base_transform_change_state),
6619 (gst_base_transform_set_passthrough),
6620 (gst_base_transform_is_passthrough):
6621 * gst/base/gstbasetransform.h:
6622 Make passthrough work using the bufferpools.
6623 Changed API a bit, subclasses have to write into a buffer
6624 provided by the base class.
6625 More debug info in nego functions.
6627 * gst/elements/gstidentity.c: (gst_identity_init),
6628 (gst_identity_transform):
6629 Port to new base class.
6631 2005-07-15 Wim Taymans <wim@fluendo.com>
6633 * gst/gstmessage.c: (gst_message_new_state_changed):
6634 * tools/gst-launch.c: (event_loop), (main):
6635 Totally dump messages in -launch with the -m option.
6636 Fix message name for State messages,
6638 2005-07-14 Wim Taymans <wim@fluendo.com>
6640 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6641 Post error messages on errors.
6643 2005-07-14 Wim Taymans <wim@fluendo.com>
6645 * gst/gstcaps.c: (gst_caps_do_simplify):
6649 Define error for stream stopped.
6651 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6652 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6653 Do proper return values.
6655 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6656 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6657 (gst_pad_get_range):
6658 Better return values.
6661 Reorganise return values, add macro to check for fatal errors.
6663 * gst/gstqueue.c: (gst_queue_chain):
6664 Return proper GstFlowReturn values,
6666 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6668 * docs/gst/gstreamer-sections.txt:
6669 * docs/gst/gstreamer.types:
6670 * docs/gst/tmpl/gst.sgml:
6671 * docs/gst/tmpl/gstbasesink.sgml:
6672 * docs/gst/tmpl/gstbasesrc.sgml:
6673 * docs/gst/tmpl/gstbasetransform.sgml:
6674 * docs/gst/tmpl/gstbin.sgml:
6675 * docs/gst/tmpl/gstbuffer.sgml:
6676 * docs/gst/tmpl/gstcaps.sgml:
6677 * docs/gst/tmpl/gstclock.sgml:
6678 * docs/gst/tmpl/gstcompat.sgml:
6679 * docs/gst/tmpl/gstconfig.sgml:
6680 * docs/gst/tmpl/gstelement.sgml:
6681 * docs/gst/tmpl/gstelementdetails.sgml:
6682 * docs/gst/tmpl/gstelementfactory.sgml:
6683 * docs/gst/tmpl/gstenumtypes.sgml:
6684 * docs/gst/tmpl/gsterror.sgml:
6685 * docs/gst/tmpl/gstevent.sgml:
6686 * docs/gst/tmpl/gstfakesink.sgml:
6687 * docs/gst/tmpl/gstfakesrc.sgml:
6688 * docs/gst/tmpl/gstfilesink.sgml:
6689 * docs/gst/tmpl/gstfilesrc.sgml:
6690 * docs/gst/tmpl/gstfilter.sgml:
6691 * docs/gst/tmpl/gstformat.sgml:
6692 * docs/gst/tmpl/gstghostpad.sgml:
6693 * docs/gst/tmpl/gstimplementsinterface.sgml:
6694 * docs/gst/tmpl/gstindex.sgml:
6695 * docs/gst/tmpl/gstindexfactory.sgml:
6696 * docs/gst/tmpl/gstinfo.sgml:
6697 * docs/gst/tmpl/gstiterator.sgml:
6698 * docs/gst/tmpl/gstmacros.sgml:
6699 * docs/gst/tmpl/gstmemchunk.sgml:
6700 * docs/gst/tmpl/gstminiobject.sgml:
6701 * docs/gst/tmpl/gstobject.sgml:
6702 * docs/gst/tmpl/gstpad.sgml:
6703 * docs/gst/tmpl/gstpadtemplate.sgml:
6704 * docs/gst/tmpl/gstparse.sgml:
6705 * docs/gst/tmpl/gstpipeline.sgml:
6706 * docs/gst/tmpl/gstplugin.sgml:
6707 * docs/gst/tmpl/gstpluginfeature.sgml:
6708 * docs/gst/tmpl/gstquery.sgml:
6709 * docs/gst/tmpl/gstqueue.sgml:
6710 * docs/gst/tmpl/gstregistry.sgml:
6711 * docs/gst/tmpl/gstregistrypool.sgml:
6712 * docs/gst/tmpl/gstscheduler.sgml:
6713 * docs/gst/tmpl/gstschedulerfactory.sgml:
6714 * docs/gst/tmpl/gststructure.sgml:
6715 * docs/gst/tmpl/gstsystemclock.sgml:
6716 * docs/gst/tmpl/gsttaglist.sgml:
6717 * docs/gst/tmpl/gsttagsetter.sgml:
6718 * docs/gst/tmpl/gsttrace.sgml:
6719 * docs/gst/tmpl/gsttrashstack.sgml:
6720 * docs/gst/tmpl/gsttypefind.sgml:
6721 * docs/gst/tmpl/gsttypefindfactory.sgml:
6722 * docs/gst/tmpl/gsttypes.sgml:
6723 * docs/gst/tmpl/gsturihandler.sgml:
6724 * docs/gst/tmpl/gsturitype.sgml:
6725 * docs/gst/tmpl/gstutils.sgml:
6726 * docs/gst/tmpl/gstvalue.sgml:
6727 * docs/gst/tmpl/gstversion.sgml:
6728 * docs/gst/tmpl/gstxml.sgml:
6729 * docs/libs/tmpl/gstcontrol.sgml:
6730 * docs/libs/tmpl/gstdataprotocol.sgml:
6731 * docs/libs/tmpl/gstdparam.sgml:
6732 * docs/libs/tmpl/gstdplinint.sgml:
6733 * docs/libs/tmpl/gstdpman.sgml:
6734 * docs/libs/tmpl/gstdpsmooth.sgml:
6735 * docs/libs/tmpl/gstgetbits.sgml:
6736 * docs/libs/tmpl/gstunitconvert.sgml:
6737 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6738 (gst_push_src_base_init), (gst_push_src_class_init),
6739 (gst_push_src_init), (gst_push_src_create):
6740 * gst/base/gstpushsrc.h:
6741 * gst/elements/gstelements.c:
6742 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6743 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6744 (gst_fake_sink_init), (gst_fake_sink_set_property),
6745 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6746 (gst_fake_sink_event), (gst_fake_sink_preroll),
6747 (gst_fake_sink_render), (gst_fake_sink_change_state):
6748 * gst/elements/gstfakesink.h:
6749 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6750 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6751 (gst_fake_src_base_init), (gst_fake_src_class_init),
6752 (gst_fake_src_init), (gst_fake_src_event_handler),
6753 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6754 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6755 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6756 (gst_fake_src_create_buffer), (gst_fake_src_create),
6757 (gst_fake_src_start), (gst_fake_src_stop):
6758 * gst/elements/gstfakesrc.h:
6759 * gst/elements/gstfilesink.c: (_do_init),
6760 (gst_file_sink_base_init), (gst_file_sink_class_init),
6761 (gst_file_sink_init), (gst_file_sink_dispose),
6762 (gst_file_sink_set_location), (gst_file_sink_set_property),
6763 (gst_file_sink_get_property), (gst_file_sink_open_file),
6764 (gst_file_sink_close_file), (gst_file_sink_query),
6765 (gst_file_sink_event), (gst_file_sink_render),
6766 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6767 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6768 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6769 * gst/elements/gstfilesink.h:
6770 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6771 (gst_file_src_class_init), (gst_file_src_init),
6772 (gst_file_src_finalize), (gst_file_src_set_location),
6773 (gst_file_src_set_property), (gst_file_src_get_property),
6774 (gst_file_src_map_region), (gst_file_src_map_small_region),
6775 (gst_file_src_create_mmap), (gst_file_src_create_read),
6776 (gst_file_src_create), (gst_file_src_is_seekable),
6777 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6778 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6779 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6780 (gst_file_src_uri_handler_init):
6781 * gst/elements/gstfilesrc.h:
6782 more autistic cleanliness in functions/names/defines
6784 2005-07-13 Andy Wingo <wingo@pobox.com>
6786 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6787 source couldn't negotiate.
6789 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6793 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6794 function. I am channeling Hades. Put your boots on suckers!!!
6796 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6798 * testsuite/caps/Makefile.am:
6799 * testsuite/caps/value_compare.c:
6800 * testsuite/caps/value_intersect.c:
6801 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6802 move two testsuite apps over to the check dir
6804 2005-07-12 Wim Taymans <wim@fluendo.com>
6806 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6807 Added more debug info in the negotiate process.
6810 Prepare for segment playback.
6812 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6818 * tools/gst-launch.c: (main):
6819 NULL pipeline on errors.
6821 2005-07-12 Andy Wingo <wingo@pobox.com>
6823 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6824 not it comes from a malloc region. Make sure our copy gets freed.
6826 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6828 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6829 * check/gst/gstmessage.c: (GST_START_TEST):
6830 * check/gst/gststructure.c: (GST_START_TEST),
6831 (gst_structure_suite), (main):
6833 * gst/gstelement.c: (gst_element_message_full):
6834 clean up GError and debug string now that they get copied
6835 * gst/gstmessage.c: (gst_message_new_error),
6836 (gst_message_new_warning), (gst_message_parse_error),
6837 (gst_message_parse_warning):
6838 use GST_TYPE_G_ERROR for structure_new, and take copies of
6839 arguments, so that we don't mess up refcounting
6841 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6843 * check/Makefile.am:
6844 add per-test valgrind targets
6845 * check/gst-libs/gdp.c: (GST_START_TEST),
6846 (gst_data_protocol_suite), (main):
6849 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6851 * check/Makefile.am:
6852 instate more valgrindable tests
6853 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6854 (GST_START_TEST), (fakesrc_suite):
6855 * check/gst/gstpad.c: (GST_START_TEST):
6856 * check/gst/gststructure.c: (GST_START_TEST):
6858 * docs/gst/tmpl/gstminiobject.sgml:
6859 * gst/gstpad.c: (gst_pad_finalize):
6860 fix the static mutex leak
6862 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6864 * check/Makefile.am:
6865 add two more tests for valgrinding
6866 * check/gst/gstvalue.c: (GST_START_TEST):
6867 test refcount of deserialized buffer, found a leak
6868 * docs/gst/gstreamer-docs.sgml:
6869 * docs/gst/gstreamer-sections.txt:
6870 * docs/gst/gstreamer.types:
6871 * docs/gst/tmpl/gstminiobject.sgml:
6872 add miniobject to docs
6873 * gst/gstminiobject.c:
6875 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6876 (gst_string_unwrap):
6877 fix a hard-to-find invalid write for one of the tests
6878 fix a leak for deserialized buffers
6880 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6882 * docs/pwg/advanced-events.xml:
6883 * docs/pwg/advanced-request.xml:
6884 * docs/pwg/advanced-scheduling.xml:
6885 * docs/pwg/appendix-porting.xml:
6886 * docs/pwg/building-boiler.xml:
6887 * docs/pwg/intro-preface.xml:
6888 * docs/pwg/other-ntoone.xml:
6889 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6890 of example code and explanation for pad activation, loop() and
6891 getrange() functions and a bit more. Remove old comments pointing
6893 * examples/pwg/Makefile.am:
6894 Add loop/getrange examples.
6896 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6899 check for valgrind binary + some fixes
6901 valgrind suppressions for the tests
6902 * check/Makefile.am:
6903 add a valgrind: target that valgrinds the unit tests
6904 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6905 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6906 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6907 * check/gst/gstghostpad.c:
6909 * check/gst/gstdata.c:
6911 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6912 (thread_unref), (gst_mini_object_suite), (main):
6914 * gst/gst.c: (gst_deinit):
6916 add a method to clean up.
6917 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6918 (gst_system_clock_obtain):
6919 allow for disposing the system clock.
6920 * tools/gst-launch.c: (main):
6923 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6925 * docs/gst/tmpl/gstbasesrc.sgml:
6926 * docs/gst/tmpl/gstfakesrc.sgml:
6927 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6928 (gst_base_src_init), (gst_base_src_set_property),
6929 (gst_base_src_get_property), (gst_base_src_get_range),
6930 (gst_base_src_start):
6931 * gst/base/gstbasesrc.h:
6932 add num-buffers property
6933 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6934 (gst_fakesrc_init), (gst_fakesrc_set_property),
6935 (gst_fakesrc_get_property), (gst_fakesrc_create),
6936 (gst_fakesrc_start):
6937 remove num-buffers property
6939 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6941 * docs/gst/gstreamer-sections.txt:
6942 * docs/gst/tmpl/gstbasesink.sgml:
6943 * docs/gst/tmpl/gstbasesrc.sgml:
6944 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6945 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6946 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6947 (gst_base_sink_set_property), (gst_base_sink_get_property),
6948 (gst_base_sink_handle_object), (gst_base_sink_event),
6949 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6950 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6951 (gst_base_sink_loop), (gst_base_sink_deactivate),
6952 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6953 (gst_base_sink_change_state):
6954 * gst/base/gstbasesink.h:
6955 * gst/base/gstbasesrc.h:
6956 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6957 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6958 (gst_filesink_init):
6959 more macro splitting
6961 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6963 * gst/gstelement.c: (gst_element_get_bus):
6965 * tools/gst-launch.c: (check_intr), (event_loop):
6968 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6970 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6973 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6975 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6976 (gst_base_src_finalize):
6977 add finalize method and clean up properly
6978 * gst/gstpipeline.c: (gst_pipeline_dispose):
6981 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6983 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6985 add more things to check
6986 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6990 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6992 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6993 (GST_START_TEST), (fakesrc_suite):
6994 * check/gst-libs/gdp.c: (GST_START_TEST):
6995 * check/gst/gst.c: (GST_START_TEST):
6996 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6997 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6998 * check/gst/gstbus.c: (GST_START_TEST):
6999 * check/gst/gstcaps.c: (GST_START_TEST):
7000 * check/gst/gstdata.c: (GST_START_TEST):
7001 * check/gst/gstelement.c: (GST_START_TEST):
7002 * check/gst/gstghostpad.c: (GST_START_TEST):
7003 * check/gst/gstiterator.c: (GST_START_TEST):
7004 * check/gst/gstmessage.c: (GST_START_TEST):
7005 * check/gst/gstobject.c: (GST_START_TEST):
7006 * check/gst/gstpad.c: (GST_START_TEST):
7007 * check/gst/gststructure.c: (GST_START_TEST):
7008 * check/gst/gstsystemclock.c: (GST_START_TEST),
7009 (gst_systemclock_suite):
7010 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7011 * check/gst/gstvalue.c: (GST_START_TEST):
7012 * check/pipelines/cleanup.c: (GST_START_TEST):
7013 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7014 * check/states/sinks.c: (GST_START_TEST):
7015 * check/gstcheck.c: (gst_check_init):
7017 add debugging category
7018 use GST_START_TEST now, so we add a debug line
7020 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7022 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7023 add test for state change message on a bin
7024 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7026 * gst/gstbin.c: (gst_bin_init):
7027 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7028 * gst/gstelement.c: (gst_element_post_message),
7029 (gst_element_set_state):
7030 * gst/gstelementfactory.c: (gst_element_factory_create):
7031 * gst/gstmessage.c: (gst_message_new):
7032 * gst/gstscheduler.c:
7033 various debugging additions and cleanups
7035 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7037 * check/Makefile.am:
7038 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7040 adding tests for elements
7041 * gst/gstelement.c: (gst_element_dispose):
7043 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7045 * gst/registries/gstlibxmlregistry.c: (load_feature):
7046 plug more leaks. A simple gst_init() now is leakfree, yay.
7048 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7050 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7051 (gst_xml_registry_load):
7052 plug another memleak
7054 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7057 use GST_SET_ERROR_CFLAGS
7059 change to ERROR_CFLAGS
7061 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7064 make GST_ERROR_CFLAGS overridable and re-enable Werror
7066 add a note about error CFLAGS
7067 * docs/gst/tmpl/gstfakesrc.sgml:
7068 * gst/elements/gstfakesrc.c:
7069 comment out some unused code
7070 * gst/gst.c: (split_and_iterate):
7071 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7075 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7077 * common/Makefile.am:
7078 * common/gtk-doc.mak:
7079 * docs/gst/Makefile.am:
7080 factor out gtk-doc.mak
7082 2005-07-07 Wim Taymans <wim@fluendo.com>
7084 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7085 (gst_thread_scheduler_dispose):
7086 Unlock the STREAM_LOCK completely.
7088 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7090 * check/Makefile.am:
7091 * check/elements/.cvsignore:
7092 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7093 (START_TEST), (fakesrc_suite), (main):
7094 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7095 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7096 (gst_fakesrc_create), (gst_fakesrc_start):
7097 * gst/elements/gstfakesrc.h:
7098 adding a first element test
7100 2005-07-07 Andy Wingo <wingo@pobox.com>
7102 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7105 2005-07-07 Wim Taymans <wim@fluendo.com>
7111 2005-07-07 Wim Taymans <wim@fluendo.com>
7113 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7114 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7115 Allow subclasses to implement their own negotiation.
7117 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7119 * docs/design/part-gstbin.txt:
7120 * docs/design/part-gstpipeline.txt:
7121 Update design notes to reflect the movement of
7122 responsibility for bus handling from GstPipeline to
7125 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7128 Remove unnecessary queue2/3/4 examples.
7130 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7132 * examples/Makefile.am:
7133 * examples/helloworld/helloworld.c: (event_loop), (main):
7134 * examples/queue/queue.c: (event_loop), (main):
7135 * examples/queue2/queue2.c: (main):
7136 Update a couple of the examples to work again.
7138 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7139 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7140 Spelling corrections and extra debug.
7142 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7143 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7144 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7146 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7147 (gst_pipeline_change_state):
7148 * gst/gstpipeline.h:
7149 Move the bus handler for children to the GstBin, and create a
7150 separate bus for receiving messages from children to the one the
7151 bus sends 'upwards' on.
7153 2005-07-06 Wim Taymans <wim@fluendo.com>
7156 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7157 (gst_base_sink_handle_object), (gst_base_sink_loop),
7158 (gst_base_sink_change_state):
7159 * gst/base/gstbasesink.h:
7160 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7161 (gst_base_src_init), (gst_base_src_setcaps),
7162 (gst_base_src_getcaps), (gst_base_src_loop),
7163 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7164 (gst_base_src_start), (gst_base_src_change_state):
7165 * gst/base/gstbasesrc.h:
7166 Make basesrc negotiate.
7167 Handle the case where preroll fails in basesink.
7170 2005-07-06 Wim Taymans <wim@fluendo.com>
7172 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7173 Implement the fixate function.
7174 Clean up acceptcaps.
7176 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7178 * docs/pwg/building-filterfactory.xml:
7180 Remove never-written filter-factory chapter; I'll add the various
7181 base classes to part 4 ("other element types") later on.
7183 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7185 * docs/pwg/advanced-negotiation.xml:
7186 * docs/pwg/building-boiler.xml:
7187 * docs/pwg/building-pads.xml:
7189 * examples/pwg/Makefile.am:
7190 Add a chapter on caps negotiation, simplify the original code
7191 samples a bit w.r.t. caps negotiation, add link to the advanced
7192 section. Add a bunch of examples showing different use cases of
7193 different types of caps negotiation. Upstream renegotiation isn't
7194 fully documented yet since nobody knows how that works.
7196 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7198 * check/gst/gstpad.c:
7200 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7201 if pad has no parent, return NULL as list of internal links
7203 2005-07-05 Andy Wingo <wingo@pobox.com>
7205 * gst/elements/gstfilesrc.c:
7206 * gst/elements/gstfakesrc.c:
7207 * gst/base/gstpushsrc.c:
7208 * gst/base/gstbasesrc.h:
7209 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7211 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7214 better report generation target (lcov needs a patch)
7216 2005-07-05 Andy Wingo <wingo@pobox.com>
7218 * gst/elements, testsuite: Null if we got it...
7220 2005-07-05 Wim Taymans <wim@fluendo.com>
7223 * libs/gst/dataprotocol/Makefile.am:
7224 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7225 * libs/gst/dataprotocol/dataprotocol.h:
7226 * pkgconfig/Makefile.am:
7227 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7228 * pkgconfig/gstreamer-dataprotocol.pc.in:
7229 Ported dataprotol to 0.9.
7230 Added pkgconfig files.
7232 2005-07-05 Andy Wingo <wingo@pobox.com>
7234 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7235 Default to returning TRUE for the case when tranform_caps returns
7236 a fixed caps, like for identity or volume.
7238 * check/gst/gstbus.c (pound_bus_with_messages):
7239 * check/gst/gstmessage.c (START_TEST):
7240 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7243 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7244 logic weaks here: always run transform_caps, trying passthrough
7245 operation only if the original caps intersects with the transform.
7247 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7248 source and sink caps.
7250 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7251 Intersect the peer caps with the pad template before going into
7253 (gst_base_transform_transform_caps): More debugging.
7255 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7258 2005-07-04 Edward Hervey <edward@fluendo.com>
7262 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7265 2005-07-04 Andy Wingo <wingo@pobox.com>
7267 * check/gst/gstpad.c: Only set explicit caps on pads.
7269 2005-07-01 Andy Wingo <wingo@pobox.com>
7271 * tests/network-clock.scm: Commentary update.
7273 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7274 Didn't really make sense, not implementable with basetransform,
7276 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7277 attempt at implementing the sync property, needs an unlock method.
7279 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7280 New func, by default returns the same caps (the identity
7282 (gst_base_transform_getcaps): Uses transform_caps to return
7284 (gst_base_transform_setcaps): Complicated logic to get caps on
7285 both pads, even if they are different, and to call set_caps once
7286 for every time both pads get their caps set.
7287 (gst_base_transform_handle_buffer): Give the ref to the transform
7288 function. Allows in-place modification of the buffer.
7290 * gst/base/gstbasetransform.h (transform_caps): New class method.
7291 Given caps on one side, what can I do on the other.
7292 (set_caps): Take two caps, one for each side of the element.
7295 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7296 caps in place. This is safe because we can check the mutability of
7297 the caps, and a good idea because fixate functions are just called
7298 as a matter of last resort. (Not actually implemented.)
7299 (gst_pad_set_caps): If the caps we're setting is actually the same
7300 as the existing pad caps, just update the pointer without calling
7301 setcaps. Assert that caps is either NULL or fixed, as per the
7304 * gst/gstghostpad.c: Update for fixate changes.
7306 2005-07-02 Andy Wingo <wingo@pobox.com>
7309 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7310 two refcounts makes it immutable, which is enough. Doc more.
7312 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7314 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7315 Put the mini_object into GValue as a mini_object,
7316 not a gpointer, since that's how we declared
7319 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7321 * examples/pwg/Makefile.am:
7324 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7326 * docs/pwg/building-testapp.xml:
7328 * examples/pwg/Makefile.am:
7331 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7334 * examples/Makefile.am:
7335 * examples/pwg/Makefile.am:
7336 * examples/pwg/extract.pl:
7337 Enable building the PWG examples.
7338 * docs/pwg/advanced-interfaces.xml:
7339 Add URI interface stub.
7340 * docs/pwg/advanced-types.xml:
7341 * docs/pwg/other-autoplugger.xml:
7342 * docs/pwg/appendix-porting.xml:
7344 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7345 * docs/pwg/building-boiler.xml:
7346 * docs/pwg/building-chainfn.xml:
7347 * docs/pwg/building-pads.xml:
7348 * docs/pwg/building-props.xml:
7349 * docs/pwg/building-state.xml:
7350 * docs/pwg/building-testapp.xml:
7351 Update the building-*.xml parts for 0.9 changes. All examples
7352 code blocks compile in examples/pwg/*.
7354 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7356 * docs/manual/advanced-autoplugging.xml:
7357 * docs/manual/appendix-checklist.xml:
7358 * docs/manual/appendix-integration.xml:
7359 * docs/manual/highlevel-components.xml:
7360 Fix playbin/decodebin examples, update docs a bit, mention bus
7361 instead of signals in various places, mention kmplayer and
7362 kaffeine since they have a working GStreamer backend in the KDE
7365 2005-06-30 Wim Taymans <wim@fluendo.com>
7368 * docs/design/draft-ghostpads.txt:
7369 * docs/design/draft-push-pull.txt:
7370 * docs/design/draft-query.txt:
7371 * docs/design/part-TODO.txt:
7372 * docs/design/part-query.txt:
7373 Added CHANGES-0.9 doc, updated status of other docs.
7378 2005-06-30 Wim Taymans <wim@fluendo.com>
7380 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7381 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7382 (gst_base_sink_change_state):
7383 * gst/base/gstbasesink.h:
7384 Some tweaks, only EOS and a buffer complete a preroll.
7386 2005-06-30 Andy Wingo <wingo@pobox.com>
7388 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7389 activate_push down to the internal pad as well.
7391 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7393 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7395 * gst/gsttaginterface.c:
7396 Some documentation fixes (#307394 and #307397).
7398 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7400 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7402 * gst/gstvalue.c: (gst_value_intersect_list):
7403 Fix memleak (#309125).
7405 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7407 * docs/manual/advanced-dataaccess.xml:
7408 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7409 * docs/manual/basics-pads.xml:
7410 Add reference for filtered caps to above chapter.
7412 2005-06-30 Wim Taymans <wim@fluendo.com>
7414 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7415 (gst_bin_change_state):
7417 Lame attempt at making the state change function a bit
7420 2005-06-30 Wim Taymans <wim@fluendo.com>
7422 * docs/design/part-clocks.txt:
7423 * docs/design/part-element-sink.txt:
7424 * docs/design/part-events.txt:
7425 * docs/design/part-preroll.txt:
7426 * docs/design/part-states.txt:
7427 Some more tweeks and additions to the docs.
7429 2005-06-30 Wim Taymans <wim@fluendo.com>
7431 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7432 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7433 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7434 (gst_pad_check_pull_range), (gst_pad_get_range),
7435 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7437 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7438 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7439 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7440 (gst_pad_remove_buffer_probe):
7441 Removed atomic operations, use existing LOCK.
7442 Move exception handling out of main code path.
7444 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7446 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7447 (silly_return_true_function), (gst_pad_class_init),
7448 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7449 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7450 (gst_pad_send_event):
7451 Fix accumulator, add default value by using _emitv() instead
7452 of _emit() for signal emission.
7454 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7456 * docs/manual/advanced-dataaccess.xml:
7457 * examples/manual/Makefile.am:
7459 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7462 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7464 * gst/elements/gstfilesink.c: (gst_filesink_render):
7465 Simplify code so that we don't have to handle short
7466 writes and return GST_FLOW_ERROR if an error occured.
7468 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7470 * docs/gst/gstreamer-docs.sgml:
7473 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7475 * docs/gst/gstreamer-sections.txt:
7476 * docs/gst/tmpl/gstpad.sgml:
7477 * docs/gst/tmpl/gstprobe.sgml:
7479 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7480 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7481 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7482 (gst_pad_push_event), (gst_pad_send_event):
7484 * gst/gstutils.c: (gst_pad_add_data_probe),
7485 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7486 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7487 (gst_pad_remove_buffer_probe):
7489 Remove old probes, add new g-signal-based probes and some utility
7492 2005-06-29 Edward Hervey <edward@fluendo.com>
7494 * gst/gstelementfactory.c:
7497 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7498 the definition to the header file.
7500 2005-06-29 Andy Wingo <wingo@pobox.com>
7502 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7503 plugins from the source directory.
7505 2005-06-29 Wim Taymans <wim@fluendo.com>
7507 * docs/gst/tmpl/gstbuffer.sgml:
7508 * docs/gst/tmpl/gstclock.sgml:
7509 Some fixings for blantently wrong text.
7511 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7513 * check/Makefile.am:
7514 * gst/gst.c: (add_path_func), (init_pre):
7515 * gst/gstregistry.c: (gst_registry_add_path):
7516 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7517 only scan the GST_PLUGIN_PATH locations, and not add
7520 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7522 * docs/gst/gstreamer-sections.txt:
7523 * docs/gst/tmpl/gstbasesrc.sgml:
7530 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7532 * docs/manual/advanced-autoplugging.xml:
7533 Fix autoplugging example.
7535 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7537 * docs/manual/advanced-autoplugging.xml:
7538 * docs/manual/mime-world.fig:
7539 Try to get autoplugging working, fix type detection. Fix text
7540 in hello-world image.
7542 2005-06-29 Wim Taymans <wim@fluendo.com>
7544 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7545 (gst_base_sink_change_state):
7549 map SIGNAL and BROADCAST to the right function.
7552 Remove redundant braces.
7554 * gst/gstpad.c: (gst_pad_set_caps):
7555 Don't call setcaps function when reseting caps to NULL.
7557 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7558 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7559 (gst_system_clock_id_unschedule):
7560 Use BROADCAST as this is what we do.
7562 2005-06-29 Wim Taymans <wim@fluendo.com>
7564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7565 We are actually prerolling before commiting the state
7568 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7570 * docs/manual/advanced-clocks.xml:
7571 * docs/manual/advanced-interfaces.xml:
7572 * docs/manual/advanced-metadata.xml:
7573 * docs/manual/advanced-position.xml:
7574 * docs/manual/advanced-schedulers.xml:
7575 * docs/manual/advanced-threads.xml:
7576 * docs/manual/appendix-porting.xml:
7577 * docs/manual/basics-bins.xml:
7578 * docs/manual/basics-bus.xml:
7579 * docs/manual/basics-elements.xml:
7580 * docs/manual/basics-helloworld.xml:
7581 * docs/manual/basics-pads.xml:
7582 * docs/manual/highlevel-components.xml:
7583 * docs/manual/manual.xml:
7584 * docs/manual/thread.fig:
7585 Update (until threads/scheduling) Application Development Manual;
7586 remove GstThread, add GstBus, add simple porting checklist, add
7587 documentation for tag writing, clocks, make all examples until this
7588 part compile and run.
7589 * examples/manual/Makefile.am:
7590 Update from changes to Application Development Manual; add bus
7591 example, remove thread example.
7593 2005-06-28 Wim Taymans <wim@fluendo.com>
7595 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7596 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7597 (gst_bus_source_dispatch):
7598 Add debugging messages.
7599 Make internal methods static.
7600 Handle the case where the bus is flushed in the handler.
7602 * gst/gstelement.c: (gst_element_get_bus):
7603 Fix refcount in _get_bus();
7605 * gst/gstpipeline.c: (gst_pipeline_change_state),
7606 (gst_pipeline_get_clock_func):
7607 Clock refcounting fixes.
7608 Handle the case where preroll timed out more gracefully.
7610 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7611 Clean up the internal thread in dispose. This is needed
7612 for subclasses that actually get disposed.
7614 * gst/schedulers/threadscheduler.c:
7615 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7616 (gst_thread_scheduler_dispose):
7617 Free thread pool in dispose.
7619 2005-06-28 Andy Wingo <wingo@pobox.com>
7621 * tests/network-clock-utils.scm (debug, print-event): New utils.
7623 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7624 (*packet-loss*): Unified loss probability.
7625 (network-time): Report out-of-band events.
7627 * tests/plot-data: Add support for out-of-band events. Hack it
7628 into this script instead of passing it down the pipe; should fix
7631 2005-06-28 Wim Taymans <wim@fluendo.com>
7633 * docs/gst/gstreamer.types:
7634 * docs/gst/tmpl/gstbasesrc.sgml:
7635 * docs/gst/tmpl/gstpad.sgml:
7638 2005-06-28 Wim Taymans <wim@fluendo.com>
7640 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7641 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7642 (gst_proxy_pad_do_fixatecaps):
7643 Correctly proxy the check_pull_range function.
7645 2005-06-28 Andy Wingo <wingo@pobox.com>
7647 * tests/network-clock.scm: Removed need for slib.
7649 2005-06-28 Wim Taymans <wim@fluendo.com>
7651 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7652 (gst_basesink_preroll_queue_flush):
7653 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7654 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7655 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7656 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7657 (gst_proxy_pad_set_property):
7660 * gst/gstqueue.c: (gst_queue_init):
7661 The deprecated pad loop function is removed now.
7663 2005-06-28 Andy Wingo <wingo@pobox.com>
7665 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7666 New parameters, simulate network packet loss.
7668 * tests/network-clock-utils.scm: Initialize the RNG.
7670 2005-06-28 Wim Taymans <wim@fluendo.com>
7672 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7673 (gst_basesink_event), (gst_basesink_deactivate):
7674 Flushing the preroll queue always needs to unlock the waiters.
7676 2005-06-28 Edward Hervey <edward@fluendo.com>
7678 * gst/gstpipeline.c: (gst_pipeline_send_event):
7679 Wheen a seek was successful on a pipeline, set the stream_time to the
7680 seek offset in order to have a synchronized stream_time.
7682 2005-06-28 Wim Taymans <wim@fluendo.com>
7684 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7685 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7686 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7687 (gst_proxy_pad_do_fixatecaps):
7688 Call wrapper function instead of just calling the function
7689 pointers. This takes care of any locking and whatmore.
7691 2005-06-28 Wim Taymans <wim@fluendo.com>
7693 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7694 (gst_pad_pull_range):
7696 CONNECTED -> LINKED.
7698 2005-06-28 Andy Wingo <wingo@pobox.com>
7700 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7701 source-munging commit!!!
7703 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7704 (gst_object_sink): Take gpointer arguments, not GstObject --
7705 avoids casts. Like GLib.
7707 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7710 2005-06-27 Andy Wingo <wingo@pobox.com>
7712 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7715 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7716 returns a sorted copy of the trace list.
7717 (gst_alloc_trace_print_live): New API, only prints traces with
7718 live objects. Sort the list.
7719 (gst_alloc_trace_print_all): Sort the list.
7720 (gst_alloc_trace_print): Align columns.
7722 * gst/elements/gstttypefindelement.c:
7723 * gst/elements/gsttee.c:
7724 * gst/base/gstbasesrc.c:
7725 * gst/base/gstbasesink.c:
7726 * gst/base/gstbasetransform.c:
7727 * gst/gstqueue.c: Adapt for pad activation changes.
7729 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7731 (gst_pipeline_dispose): Drop ref on sched.
7733 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7734 (gst_pad_activate_default): Push mode by default.
7735 (pre_activate_switch, post_activate_switch): New stubs, things to
7736 do before and after switching activation modes on pads.
7737 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7738 the pad's activate function to choose which mode to activate.
7739 Shortcut on deactivation and call the right function directly.
7740 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7742 (gst_pad_activate_push): New API, same for push mode.
7743 (gst_pad_set_activate_function)
7744 (gst_pad_set_activatepull_function)
7745 (gst_pad_set_activatepush_function): Setters for new API.
7747 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7748 Trace all miniobjects.
7749 (gst_mini_object_make_writable): Unref the arg if we copy, like
7750 gst_caps_make_writable.
7752 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7754 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7755 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7756 Adapt for new pad API.
7758 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7761 * gst/gstelement.c (gst_element_iterate_src_pads)
7762 (gst_element_iterate_sink_pads): New API functions.
7764 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7765 should fold into gstiterator.c in some form.
7766 (gst_element_pads_activate): Simplified via use of fold and
7767 delegation of decisions to gstpad->activate.
7769 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7772 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7773 class once in init, like gstmessage. Didn't run into this issue
7774 but it seems correct. Don't initialize a trace, gstminiobject does
7777 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7778 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7780 (assert_live_count): New util function, uses alloc traces to check
7783 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7784 To be modified when unlink drops the internal pad.
7786 2005-06-27 Wim Taymans <wim@fluendo.com>
7788 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7789 (gst_bin_change_state):
7790 Cleanup the get_state() function a little, make sure it
7791 iterates the same set of elements.
7792 Added stub iterate_state_order().
7794 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7796 * docs/gst/gstreamer-docs.sgml:
7797 * docs/gst/gstreamer-sections.txt:
7798 * docs/gst/gstreamer.types:
7799 * docs/gst/tmpl/gstbasesink.sgml:
7800 * docs/gst/tmpl/gstbasesrc.sgml:
7801 * docs/gst/tmpl/gstbasetransform.sgml:
7802 * docs/gst/tmpl/gstelement.sgml:
7803 * docs/gst/tmpl/gstiterator.sgml:
7804 * gst/base/gstbasesrc.c:
7805 * gst/base/gstbasesrc.h:
7806 * gst/base/gstbasetransform.h:
7808 * gst/gstiterator.h:
7809 adding basetransform and iterator docs
7811 2005-06-27 Andy Wingo <wingo@pobox.com>
7813 * docs/design/part-activation.txt: Notes on how activation should
7814 work -- not quite implemented yet.
7816 2005-06-25 Wim Taymans <wim@fluendo.com>
7818 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7819 At least get the chain function correct, needs more
7822 2005-06-25 Wim Taymans <wim@fluendo.com>
7824 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7825 (gst_basesink_handle_object), (gst_basesink_event),
7826 (gst_basesink_do_sync), (gst_basesink_handle_event),
7827 (gst_basesink_change_state):
7829 Right, two problems here: ghostpads don't take locks and
7830 glib _rec_mutex_lock_full() with depth==0 still locks.
7831 Catch illegal locking and g_warn them.
7833 2005-06-25 Wim Taymans <wim@fluendo.com>
7835 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7836 Have to check for completion now...
7838 2005-06-25 Wim Taymans <wim@fluendo.com>
7840 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7841 (gst_basesink_handle_object), (gst_basesink_event),
7842 (gst_basesink_do_sync), (gst_basesink_handle_event),
7843 (gst_basesink_change_state):
7845 Unlock STREAM_LOCK whatever the recursion was.
7847 2005-06-25 Wim Taymans <wim@fluendo.com>
7849 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7850 (gst_basesink_preroll_queue_empty),
7851 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7852 (gst_basesink_event), (gst_basesink_do_sync),
7853 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7854 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7855 (gst_basesink_change_state):
7856 Reworked the base sink, handle event and buffer serialisation
7857 correctly and removed possible deadlock.
7858 Handle EOS correctly.
7860 2005-06-25 Wim Taymans <wim@fluendo.com>
7862 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7863 (gst_pipeline_change_state):
7864 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7865 Allow elements to post EOS in the state change function.
7866 Fix up -launch, make it exit the poll loop when the
7867 pipeline actually changed state.
7868 Fix up warning parsing in -launch.
7870 2005-06-25 Wim Taymans <wim@fluendo.com>
7872 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7873 (gst_tee_sink_activate):
7874 Core takes STREAM_LOCK for us now.
7876 2005-06-25 Wim Taymans <wim@fluendo.com>
7878 * gst/gstelement.c: (gst_element_get_state_func),
7879 (gst_element_set_state):
7881 * gst/gstmessage.c: (gst_message_parse_error),
7882 (gst_message_parse_warning):
7883 Keep track of current target state while performing a state
7884 change so that subclasses can do something interesting.
7885 Fix parsing of warning/error messages when GError is NULL.
7887 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7889 * docs/gst/Makefile.am:
7890 * docs/gst/gstreamer-docs.sgml:
7891 * docs/gst/gstreamer-sections.txt:
7892 * docs/gst/gstreamer.types:
7893 * docs/gst/tmpl/gstbasesink.sgml:
7894 * docs/gst/tmpl/gstbasesrc.sgml:
7895 * docs/gst/tmpl/gstbin.sgml:
7896 * docs/gst/tmpl/gstcompat.sgml:
7897 * docs/gst/tmpl/gstfakesink.sgml:
7898 * docs/gst/tmpl/gstfakesrc.sgml:
7899 * docs/gst/tmpl/gstfilesink.sgml:
7900 * docs/gst/tmpl/gstfilesrc.sgml:
7901 * docs/gst/tmpl/gstindex.sgml:
7902 * docs/manual/appendix-quotes.xml:
7903 * gst/base/gstbasesrc.h:
7904 * gst/elements/gstfakesrc.h:
7906 start pulling in base classes and elements in our docs
7908 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7910 * docs/gst/Makefile.am:
7911 * docs/libs/Makefile.am:
7912 fixed make distcheck with gtk-doc 1.3
7914 2005-06-23 Wim Taymans <wim@fluendo.com>
7916 * gst/gstelement.c: (gst_element_get_state_func),
7917 (gst_element_set_state), (gst_element_change_state):
7918 When the state did not change, also report NO_PREROLL
7921 2005-06-23 Wim Taymans <wim@fluendo.com>
7923 * gst/gstpad.c: (gst_pad_event_default):
7924 * gst/gstqueue.c: (gst_queue_loop):
7925 No unsafe task pausing please.
7927 2005-06-23 Wim Taymans <wim@fluendo.com>
7929 * gst/schedulers/threadscheduler.c:
7930 (gst_thread_scheduler_task_start),
7931 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7932 Ref the task before pushing it on the threadpool. This
7933 makes sure that we have a ref when the threadfunction is
7936 2005-06-23 Andy Wingo <wingo@pobox.com>
7938 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7939 offset is greater than the file's size.
7941 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7942 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7943 * gst/gstobject.c (gst_object_class_init): Make the class lock
7944 recursive. Wim won't let me drop deep_notify. Decodebin works
7947 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7948 internal pad, and hacks accordingly. Doesn't do it on the target
7949 pad because we change its caps. Probably catches all cases of
7951 (gst_ghost_pad_set_property): Connect to notify::caps as
7954 * tests/network-clock.scm (plot-simulation): Pipe data to the
7955 elite python skript.
7957 * tests/network-clock-utils.scm (define-parameter): New macro,
7958 defines a parameter that can be set via the command line.
7959 (set-parameter!, parse-parameter-arguments): Command line args
7962 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7965 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7967 * gst/elements/gsttypefindelement.c:
7968 (gst_type_find_element_handle_event):
7969 Don't restart typefinding on a discont.
7970 * gst/gstelement.c: (gst_element_set_state):
7972 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7973 Allow changing mode of an active pad.
7975 * gst/registries/gstlibxmlregistry.c: (load_feature):
7976 Don't cast a static pad template to a normal pad template.
7978 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7980 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7981 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7982 remove gst_strtoll completely, since it didn't actually do
7983 anything more than what g_ascii_strtoull already does.
7984 check for range errors when deserializing
7985 do a cast for the unsigned cases; but further fixing needs
7986 a decision on what the interpretation of "(int)" and
7987 deserialization should be for values that fall outside the
7988 type's boundaries (ie, refuse, or interpret as casting)
7990 2005-06-23 Wim Taymans <wim@fluendo.com>
7992 * check/Makefile.am:
7993 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7994 * docs/design/part-live-source.txt:
7995 * docs/design/part-states.txt:
7996 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7997 (gst_basesrc_set_live), (gst_basesrc_is_live),
7998 (gst_basesrc_get_range), (gst_basesrc_activate),
7999 (gst_basesrc_change_state):
8000 * gst/base/gstbasesrc.h:
8001 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8002 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8003 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8004 * gst/gstelement.c: (gst_element_get_state_func),
8005 (gst_element_set_state):
8008 * tools/gst-launch.c: (event_loop), (main):
8009 Added support for live sources and other elements that
8011 Updated design docs, added live-source design doc.
8012 Implemented live source functionality in basesrc
8013 Fix error condition in _bin_get_state()
8014 Implement live source handling in -launch.
8015 Added check for live sources.
8016 Fixed case in GstBin where elements were changed state
8020 2005-06-23 Andy Wingo <wingo@pobox.com>
8022 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8025 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8026 gst_caps_replace takes care of this for us.
8028 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8029 gst_pad_set_caps on the target, not just its setcaps() function.
8031 * tests/network-clock.scm:
8032 * tests/network-clock-utils.scm: A network clock simulator.
8033 Something of an algorithmic testbed before doing something in C.
8035 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8037 * check/Makefile.am:
8038 * check/gst/capslist.h:
8039 copy over from 0.8, and add two with bitmasks specified with
8041 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8042 add test to parse everything from capslist.h
8043 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8045 add test for structure deserialization
8046 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8047 add tests for deserialization of strings to int types
8048 * gst/gststructure.c: (gst_structure_nth_field_name):
8049 * gst/gststructure.h:
8050 add a way to get the name of a field referenced by index
8051 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8052 instead of checking if the resulting long long lies between
8053 min and max, we check if the long long would fit into
8054 a number of bytes for the final type.
8055 This fixes cases where a string represents 2^32 - 1, which
8056 when cast to int would be the (valid) -1, but is bigger than
8059 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8061 * gst/parse/grammar.y:
8062 add a log line for type deserialization
8064 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8066 * check/gst/gstvalue.c: (START_TEST):
8067 * gst/gstvalue.c: (gst_value_deserialize):
8068 return long long, not int, so gint64 deserialization actually
8069 works. Is there any flag that makes the compiler check this ?
8072 2005-06-22 Wim Taymans <wim@fluendo.com>
8075 Added convenience macros for setting buffers in GValue.
8077 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8079 * check/gst/.cvsignore:
8080 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8081 add a test deserializing int64, and comment part out because
8084 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8086 * check/Makefile.am:
8087 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8088 * testsuite/Makefile.am:
8089 * testsuite/caps/Makefile.am:
8090 * testsuite/caps/value_serialize.c:
8091 * testsuite/test_gst_init.c:
8092 move a value_serialize test over
8094 2005-06-20 Wim Taymans <wim@fluendo.com>
8099 * gst/gstvalue.c: (gst_value_compare_buffer),
8100 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8101 (gst_value_compare_flags), (gst_value_serialize_flags),
8102 (gst_value_deserialize_flags), (_gst_value_initialize):
8103 Fix serialisation of buffers, they are not boxed types anymore
8105 2005-06-20 Wim Taymans <wim@fluendo.com>
8107 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8108 Testcase to show error in buffer-on-caps serialisation.
8110 2005-06-20 Andy Wingo <wingo@pobox.com>
8112 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8113 will be adding to later.
8115 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8116 if its socks fill with rocks.
8117 (gst_system_clock_obtain): Set the name on object construction.
8118 Avoid double-checked locking.
8120 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8122 * gst/gsturi.c: (gst_element_make_from_uri):
8123 Fix potential endless loop.
8125 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8127 * check/Makefile.am:
8129 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8131 move over from testsuite dir and clean up
8134 * testsuite/Makefile.am:
8135 * testsuite/tags/.cvsignore:
8136 * testsuite/tags/Makefile.am:
8137 * testsuite/tags/merge.c:
8138 remove testsuite/tags
8140 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8142 * docs/gst/gstreamer-sections.txt:
8143 * docs/gst/tmpl/gstenumtypes.sgml:
8144 * win32/gstenumtypes.c:
8145 clean up documentation build a little
8147 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8150 add macros for checking refcounts on objects and caps
8151 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8152 add some more unit tests
8153 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8154 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8155 fix leaked refcounts (I hope :)) so unittest works
8159 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8161 * configure.ac: back to HEAD
8163 === release 0.9.1 ===
8165 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8171 2005-06-17 Andy Wingo <wingo@pobox.com>
8173 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8174 assert; it's always possible that the pad gets deactivated in
8175 between the checks in gstpad.c and the implementation. Rely on
8176 finish_preroll() to return a FLUSHING or similar instead of on the
8179 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8180 clock and post an EOS message if we come out of finish_preroll in
8183 2005-06-16 David Schleef <ds@schleef.org>
8185 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8186 (gst_capsfilter_set_property): Allow NULL as possible value
8187 for filter_caps property, indicating GST_CAPS_ANY.
8189 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8191 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8193 * gst/schedulers/Makefile.am:
8195 * gstreamer.spec.in:
8198 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8200 * gstreamer.spec.in:
8203 2005-06-08 Andy Wingo <wingo@pobox.com>
8205 * gst/gstutils.c: RPAD fixes all around.
8206 (gst_element_link_pads): Refcounting fixes.
8208 * tools/gst-inspect.c:
8209 * tools/gst-xmlinspect.c:
8211 * gst/base/gsttypefindhelper.c:
8212 * gst/base/gstbasesink.c:
8213 * gst/gstqueue.c: RPAD fixes.
8215 * gst/gstghostpad.h:
8216 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8217 pads. The tricky thing is they provide both source and sink
8218 interfaces, since they proxy the internal pad for the external
8219 pad, and vice versa. Implement with lower-level ProxyPad objects,
8220 with the interior proxy pad as a child of the exterior ghost pad.
8221 Should write a doc on this.
8223 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8224 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8227 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8228 pads are real pads. No ghost pads in this file. Not documenting
8229 the myriad s/RPAD/PAD/ and REALIZE fixes.
8230 (gst_pad_class_init): Add properties for "direction" and
8231 "template". Both are construct-only, so they can't change during
8232 the life of the pad. Fixes properly deriving from GstPad.
8233 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8234 derived objects, just set properties when creating the objects via
8236 (gst_pad_get_parent): Implement as a function, return NULL if the
8237 parent is not an element.
8238 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8239 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8241 * gst/gstobject.c (gst_object_class_init): Make name a construct
8242 property. Don't set it in the object init.
8244 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8245 with UNKNOWN direction.
8246 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8247 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8248 (gst_element_remove_pad): Remove ghost-pad special cases.
8249 (gst_element_pads_activate): Remove rpad cruft.
8251 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8252 catch the pad's-parent-not-an-element case.
8254 * gst/gst.h: Include gstghostpad.h.
8256 * gst/gst.c (init_post): No more real, ghost pads.
8258 * gst/Makefile.am: Add gstghostpad.[ch].
8260 * check/Makefile.am:
8261 * check/gst/gstbin.c:
8262 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8263 into a bin creates ghost pads, and that the refcounts are right.
8264 Partly moved from gstbin.c.
8266 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8268 * check/gst-libs/.cvsignore:
8269 * check/gst/.cvsignore:
8270 * check/pipelines/.cvsignore:
8272 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8273 (START_TEST), (cleanup_suite), (main):
8274 add some tests related to cleanup after running pipelines
8276 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8278 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8279 add a testsuite for GstBuffer
8281 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8283 * gst/gstminiobject.h:
8284 add defines for accessing the refcount
8286 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8288 * Makefile.am: added support for html unit test coverage reports
8290 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8292 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8293 Free existing caps if the capsfilter changes. Add a FIXME about
8294 setting those caps on the pads.
8296 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8297 Before adding a ghost pad to a parent bin, check that there isn't
8298 already one for the element on the bin. Prevents infinite recursion
8299 when using decodebin in parse pipelines. Andy says he'll rewrite the
8300 way this works anyway, so ignore the hack.
8302 2005-06-02 Andy Wingo <wingo@pobox.com>
8304 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8305 file size, pass it on to the type find helper.
8307 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8308 segment_start and segment_end properly according to the seek
8309 method. Segment_end is still a bit flaky because offset can be
8310 negative for CUR and END cases, but it takes -1 as an "unset"
8313 2005-06-02 Wim Taymans <wim@fluendo.com>
8315 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8316 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8317 (gst_basesink_activate):
8318 * gst/base/gstbasesink.h:
8319 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8320 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8321 (gst_pad_query), (gst_pad_start_task):
8323 * gst/gstqueue.c: (gst_queue_bufferalloc),
8324 (gst_queue_handle_sink_event), (gst_queue_chain):
8325 Bufferalloc: return GstFlowReturn to more accuratly report
8326 why allocation failed.
8328 2005-06-02 Wim Taymans <wim@fluendo.com>
8330 * gst/gstpipeline.c: (gst_pipeline_send_event):
8331 Take snapshot of state without blocking.
8333 2005-06-02 Wim Taymans <wim@fluendo.com>
8335 * docs/design/part-TODO.txt:
8336 * docs/design/part-caps.txt:
8337 * docs/design/part-clocks.txt:
8338 * docs/design/part-negotiation.txt:
8339 * docs/design/part-preroll.txt:
8342 2005-05-30 Wim Taymans <wim@fluendo.com>
8344 * gst/elements/gstidentity.c: (gst_identity_event),
8345 (gst_identity_transform), (gst_identity_get_property):
8346 Protect last_message property as it is accessed from
8349 2005-05-30 Wim Taymans <wim@fluendo.com>
8351 * gst/gstelement.c: (gst_element_init),
8352 (gst_element_pads_activate), (gst_element_change_state):
8353 Slicker pad activation code.
8355 2005-05-30 Wim Taymans <wim@fluendo.com>
8359 * gst/gstelementfactory.h:
8361 Move elementfactory methods to separate .h file.
8363 2005-05-30 Wim Taymans <wim@fluendo.com>
8365 * docs/design/part-overview.txt:
8366 * gst/gstsystemclock.h:
8367 Small typo fixes, doc updates.
8369 2005-05-30 Wim Taymans <wim@fluendo.com>
8371 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8372 (init_popt_callback):
8373 Remove cpu-opt flag.
8375 2005-05-30 Wim Taymans <wim@fluendo.com>
8377 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8378 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8380 Avoid typechecking in places where not needed.
8381 Added accessor for malloc_data.
8383 2005-05-30 Wim Taymans <wim@fluendo.com>
8385 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8386 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8387 (gst_pad_configure_sink), (gst_pad_configure_src),
8388 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8389 (gst_pad_start_task):
8390 Propagate errors from _set_caps() in configure_src/sink
8391 functions instead of returning TRUE.
8392 FLUSH events can travel up and downstream
8395 2005-05-30 Wim Taymans <wim@fluendo.com>
8397 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8398 (gst_basesink_activate):
8399 Handle EOS in preroll.
8401 2005-05-30 Wim Taymans <wim@fluendo.com>
8403 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8404 (gst_queue_loop), (gst_queue_handle_src_event):
8405 Remove old pieces of code
8406 Flushing the queue in an upstream event is a very bad idea.
8408 2005-05-26 Andy Wingo <wingo@pobox.com>
8410 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8411 gst_value_set_mini_object so as to add a ref on the object (which
8412 will be removed when the value is unset).
8414 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8415 arg type in ::handoff.
8417 * gst/gstelement.c (gst_element_change_state): Also deactivate
8418 pads in READY->NULL, just in case the element didn't make it to
8419 PAUSED. Wingo tested, Wim approved.
8421 2005-05-26 Wim Taymans <wim@fluendo.com>
8423 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8424 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8425 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8426 A flushing pad cannot be used to alloc_buffer from.
8428 2005-05-26 Wim Taymans <wim@fluendo.com>
8430 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8431 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8432 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8433 (gst_bus_create_watch), (gst_bus_add_watch_full):
8435 Implement a real GSource and use g_main_context_wakeup() to
8436 signal new messages instead of the socketpair.
8438 2005-05-25 Wim Taymans <wim@fluendo.com>
8440 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8441 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8442 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8443 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8444 (gst_pad_send_event), (gst_pad_start_task):
8445 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8446 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8447 (gst_queue_sink_activate), (gst_queue_src_activate),
8448 (gst_queue_change_state):
8450 Fix state changes for non sinks. We now change sinks, then elements
8451 with unconnected srcpads, then the rest.
8452 More efficient queue unlocking in flush and state changes.
8453 Set the pad activate mode even if it does not have an activate
8456 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8458 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8459 Don't go in pull mode for non-seekable sources.
8460 * gst/elements/gsttypefindelement.h:
8461 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8462 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8463 (free_entry), (stop_typefinding),
8464 (gst_type_find_element_handle_event), (find_peek),
8465 (gst_type_find_element_chain), (do_pull_typefind),
8466 (gst_type_find_element_change_state):
8467 Allow typefinding (w/o seeking) in push-mode, simplified version
8469 * gst/gstutils.c: (gst_buffer_join):
8471 gst_buffer_join() from 0.8.
8473 2005-05-25 Wim Taymans <wim@fluendo.com>
8475 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8476 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8477 (gst_pad_send_event), (gst_pad_start_task):
8478 Disable attempt at mode switching until it is figured out.
8480 2005-05-25 Wim Taymans <wim@fluendo.com>
8482 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8483 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8484 (gst_basesink_finish_preroll), (gst_basesink_chain),
8485 (gst_basesink_loop), (gst_basesink_activate),
8486 (gst_basesink_change_state):
8487 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8488 (gst_basesrc_get_range), (gst_basesrc_loop),
8489 (gst_basesrc_activate):
8490 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8491 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8492 (gst_real_pad_init), (gst_real_pad_set_property),
8493 (gst_real_pad_get_property), (gst_pad_set_active),
8494 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8495 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8496 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8497 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8498 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8499 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8500 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8501 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8502 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8503 (gst_pad_stop_task):
8505 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8506 (gst_queue_loop), (gst_queue_src_activate):
8507 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8508 (gst_task_get_state):
8510 * gst/schedulers/threadscheduler.c:
8511 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8512 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8514 Remove ACTIVE pad flag, use FLUSHING everywhere
8515 Added _pad_chain(), _pad_get_range() to call chain/getrange
8517 Add locks around IS_FLUSHING when reading.
8518 Take STREAM lock in chain(), get_range() functions so plugins
8519 don't need to take it anymore.
8523 2005-05-25 Wim Taymans <wim@fluendo.com>
8525 * tools/gst-launch.c: (event_loop):
8526 Unref message after using its contents instead of
8529 2005-05-24 Wim Taymans <wim@fluendo.com>
8531 * docs/design/draft-ghostpads.txt:
8532 * docs/design/draft-push-pull.txt:
8533 * docs/design/draft-query.txt:
8534 * docs/design/part-overview.txt:
8535 Docs updates, added general overview doc.
8537 2005-05-21 David Schleef <ds@schleef.org>
8539 * docs/gst/tmpl/old/GstBin.sgml:
8540 * docs/gst/tmpl/old/GstBuffer.sgml:
8541 * docs/gst/tmpl/old/GstCaps.sgml:
8542 * docs/gst/tmpl/old/GstClock.sgml:
8543 * docs/gst/tmpl/old/GstCompat.sgml:
8544 * docs/gst/tmpl/old/GstData.sgml:
8545 * docs/gst/tmpl/old/GstElement.sgml:
8546 * docs/gst/tmpl/old/GstEvent.sgml:
8547 * docs/gst/tmpl/old/GstIndex.sgml:
8548 * docs/gst/tmpl/old/GstStructure.sgml:
8549 * docs/gst/tmpl/old/GstTag.sgml:
8550 * docs/gst/tmpl/old/cothreads.sgml:
8551 * docs/gst/tmpl/old/cothreads_compat.sgml:
8552 * docs/gst/tmpl/old/gettext.sgml:
8553 * docs/gst/tmpl/old/gobject2gtk.sgml:
8554 * docs/gst/tmpl/old/grammar.tab.sgml:
8555 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8556 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8557 * docs/gst/tmpl/old/gst_private.sgml:
8558 * docs/gst/tmpl/old/gstaggregator.sgml:
8559 * docs/gst/tmpl/old/gstarch.sgml:
8560 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8561 * docs/gst/tmpl/old/gstbufferstore.sgml:
8562 * docs/gst/tmpl/old/gstdata_private.sgml:
8563 * docs/gst/tmpl/old/gstdisksink.sgml:
8564 * docs/gst/tmpl/old/gstdisksrc.sgml:
8565 * docs/gst/tmpl/old/gstelementfactory.sgml:
8566 * docs/gst/tmpl/old/gstextratypes.sgml:
8567 * docs/gst/tmpl/old/gstfakesink.sgml:
8568 * docs/gst/tmpl/old/gstfakesrc.sgml:
8569 * docs/gst/tmpl/old/gstfdsink.sgml:
8570 * docs/gst/tmpl/old/gstfdsrc.sgml:
8571 * docs/gst/tmpl/old/gstfilesink.sgml:
8572 * docs/gst/tmpl/old/gstfilesrc.sgml:
8573 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8574 * docs/gst/tmpl/old/gstidentity.sgml:
8575 * docs/gst/tmpl/old/gstindexfactory.sgml:
8576 * docs/gst/tmpl/old/gstmarshal.sgml:
8577 * docs/gst/tmpl/old/gstmd5sink.sgml:
8578 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8579 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8580 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8581 * docs/gst/tmpl/old/gstpipefilter.sgml:
8582 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8583 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8584 * docs/gst/tmpl/old/gstshaper.sgml:
8585 * docs/gst/tmpl/old/gstspider.sgml:
8586 * docs/gst/tmpl/old/gstspideridentity.sgml:
8587 * docs/gst/tmpl/old/gststatistics.sgml:
8588 * docs/gst/tmpl/old/gsttee.sgml:
8589 * docs/gst/tmpl/old/gsttimecache.sgml:
8590 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8591 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8592 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8593 * docs/gst/tmpl/old/types.sgml:
8594 I didn't intend to add these or check them in.
8596 2005-05-19 David Schleef <ds@schleef.org>
8598 * configure.ac: Use -no-common everywhere. In a sane world, it
8599 would be the default in libtool, because without it, you can't
8600 build DLLs on Windows.
8601 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8602 * docs/gst/gstreamer-sections.txt:
8603 * docs/gst/tmpl/gstcpu.sgml:
8604 * docs/gst/tmpl/gstdata.sgml:
8605 * docs/gst/tmpl/gstthread.sgml:
8607 2005-05-19 David Schleef <ds@schleef.org>
8609 * gst/gstminiobject.c: (gst_value_set_mini_object),
8610 (gst_value_take_mini_object), (gst_value_get_mini_object):
8611 * gst/gstminiobject.h: Add GValue set/get functions.
8613 2005-05-19 Wim Taymans <wim@fluendo.com>
8615 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8616 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8617 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8619 * gst/gstbus.c: (gst_bus_post):
8620 * gst/gstelement.c: (gst_element_get_random_pad):
8621 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8622 Make subbufer unref the parent in finalize.
8623 some more debugging info.
8626 2005-05-19 Wim Taymans <wim@fluendo.com>
8628 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8629 (gst_basesink_init), (gst_basesink_finalize),
8630 (gst_basesink_activate), (gst_basesink_change_state):
8631 Don't free preroll queue too early.
8633 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8637 Hi, I'm outdated. Please shoot me.
8639 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8641 * gst/gstpipeline.c: (gst_pipeline_send_event):
8642 Do not access variables after they have been deleted.
8644 2005-05-19 Wim Taymans <wim@fluendo.com>
8646 * tools/gst-inspect.c: (print_plugin_features):
8647 A plugin feature does unfortunatly not use the
8650 2005-05-18 Wim Taymans <wim@fluendo.com>
8652 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8653 Port _span() functions to new subbuffers.
8655 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8657 * gst/gstbin.c: (gst_bin_add_func):
8658 Fix clock settery in bins when adding kids after the clock has
8661 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8663 * gst/elements/gstidentity.c: (gst_identity_class_init):
8664 Workaround until signals support GstMiniObject.
8666 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8669 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8671 2005-05-18 Wim Taymans <wim@fluendo.com>
8673 * gst/base/Makefile.am:
8674 * gst/base/gstadapter.c: (gst_adapter_base_init),
8675 (gst_adapter_class_init), (gst_adapter_init),
8676 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8677 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8678 (gst_adapter_flush), (gst_adapter_available),
8679 (gst_adapter_available_fast):
8680 * gst/base/gstadapter.h:
8681 Ported and added adapter to the base classes.
8683 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8687 Make sure the class is reffed/unreffed once before threads can be
8688 used. Fixes #304551.
8690 2005-05-17 Wim Taymans <wim@fluendo.com>
8692 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8693 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8694 * gst/gstminiobject.c: (gst_mini_object_get_type),
8695 (gst_mini_object_free):
8696 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8697 (gst_pad_push), (gst_pad_push_event):
8698 * gst/gstqueue.c: (gst_queue_change_state):
8699 Don't queue buffers in basesink when we are flushing.
8700 Unref buffer when flushing in basesink.
8701 Flush queue when going to READY
8702 Unref buffer when _push() returns an error.
8703 Don't free MiniObject instance when refcount is incremented
8704 in _finalize() so that we can recover objects.
8706 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8708 * docs/manual/advanced-schedulers.xml:
8709 * docs/manual/appendix-checklist.xml:
8710 * docs/pwg/advanced-clock.xml:
8711 * docs/pwg/advanced-interfaces.xml:
8712 * docs/pwg/advanced-request.xml:
8713 * docs/pwg/advanced-types.xml:
8714 * docs/pwg/intro-preface.xml:
8715 * examples/plugins/example.c: (gst_example_get_type),
8716 (gst_example_class_init), (gst_example_chain),
8717 (gst_example_set_property), (gst_example_get_property),
8718 (gst_example_change_state), (plugin_init):
8719 * examples/plugins/example.h:
8722 2005-05-17 Wim Taymans <wim@fluendo.com>
8724 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8725 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8726 * gst/gstqueue.c: (gst_queue_change_state):
8727 Clear queue when going to READY.
8728 Remove IN_SETCAPS flag too.
8730 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8732 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8733 Remove implicit cast from gboolean to GstElementStateReturn;
8734 make sure we still return failure in paused => ready case if
8735 the parent class fails to change state and our own stop
8738 2005-05-17 Wim Taymans <wim@fluendo.com>
8740 * tools/gst-launch.c: (event_loop):
8741 Message was unreffed too soon.
8743 2005-05-16 Andy Wingo <wingo@pobox.com>
8745 * gst/gstbin.c (sink_iterator_filter): Err... um...
8747 * check/gst/gstbin.c (test_ghost_pads): New test for the
8748 ghosting-if-elements-not-in-same-bin behavior.
8750 2005-05-16 David Schleef <ds@schleef.org>
8752 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8753 accessing refcount directly.
8755 2005-05-15 David Schleef <ds@schleef.org>
8757 * check/Makefile.am: remove GstData checks
8758 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8759 * gst/Makefile.am: add miniobject, remove data
8760 * gst/gst.h: add miniobject, remove data
8761 * gst/gstdata.c: remove
8762 * gst/gstdata.h: remove
8763 * gst/gstdata_private.h: remove
8764 * gst/gsttypes.h: remove GstEvent and GstMessage
8765 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8766 * gst/gstmarshal.list: change BOXED -> OBJECT
8768 Implement GstMiniObject.
8769 * gst/gstminiobject.c:
8770 * gst/gstminiobject.h:
8772 Modify to be subclasses of GstMiniObject.
8773 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8774 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8775 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8776 (gst_subbuffer_get_type), (gst_subbuffer_init),
8777 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8780 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8781 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8782 (_gst_event_copy), (gst_event_new):
8784 * gst/gstmessage.c: (_gst_message_initialize),
8785 (gst_message_get_type), (gst_message_class_init),
8786 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8787 (gst_message_new), (gst_message_new_error),
8788 (gst_message_new_warning), (gst_message_new_tag),
8789 (gst_message_new_state_changed), (gst_message_new_application):
8791 * gst/gstprobe.c: (gst_probe_perform),
8792 (gst_probe_dispatcher_dispatch):
8794 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8795 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8796 (_gst_query_copy), (gst_query_new):
8798 Update elements for GstData -> GstMiniObject changes
8800 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8801 (gst_queue_chain), (gst_queue_loop):
8802 * gst/elements/gstbufferstore.c:
8803 (gst_buffer_store_add_buffer_func),
8804 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8805 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8806 (gst_fakesink_render):
8807 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8808 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8809 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8810 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8811 (gst_filesrc_create_read):
8812 * gst/elements/gstidentity.c: (gst_identity_class_init):
8813 * gst/elements/gsttypefindelement.c:
8814 (gst_type_find_element_src_event), (free_entry_buffers),
8815 (gst_type_find_element_handle_event):
8816 * libs/gst/dataprotocol/dataprotocol.c:
8817 (gst_dp_header_from_buffer):
8818 * libs/gst/dataprotocol/dataprotocol.h:
8819 * libs/gst/dataprotocol/dp-private.h:
8821 2005-05-15 David Schleef <ds@schleef.org>
8823 * gst/elements/gstelements.c: Don't include headers that were
8826 2005-05-15 David Schleef <ds@schleef.org>
8828 * gst/elements/Makefile.am: Remove some elements that don't
8829 need to be in the core (or even exist at all).
8830 * gst/elements/gstaggregator.c:
8831 * gst/elements/gstaggregator.h:
8832 * gst/elements/gstmd5sink.c:
8833 * gst/elements/gstmd5sink.h:
8834 * gst/elements/gstmultifilesrc.c:
8835 * gst/elements/gstmultifilesrc.h:
8836 * gst/elements/gstpipefilter.c:
8837 * gst/elements/gstpipefilter.h:
8838 * gst/elements/gstshaper.c:
8839 * gst/elements/gstshaper.h:
8840 * gst/elements/gststatistics.c:
8841 * gst/elements/gststatistics.h:
8842 * po/POTFILES.in: Remove above files.
8844 2005-05-14 Andy Wingo <wingo@pobox.com>
8846 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8847 so as to get the refs right.
8848 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8849 unreffing objects that don't pass the filter.
8851 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8852 gst_element_set_bus.
8853 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8854 normal cases, this will destroy the bus.
8856 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8859 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8862 2005-05-13 Andy Wingo <wingo@pobox.com>
8864 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8865 gst_pad_link, call pad_link_maybe_ghosting,
8866 (pad_link_maybe_ghosting): Links pads, making sure that the
8867 elements being linked are in the same bin.
8868 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8869 Helpers for pad_link_maybe_ghosting.
8871 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8874 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8876 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8878 * docs/design/part-element-source.txt:
8881 2005-05-12 Wim Taymans <wim@fluendo.com>
8883 * gst/base/gstbasesink.c: (gst_basesink_init),
8884 (gst_basesink_activate):
8885 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8886 (gst_basesrc_is_seekable):
8887 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8888 (bin_element_is_sink), (gst_bin_change_state):
8889 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8891 Identify sinks by their flag to avoid overly complicated
8893 Do state changes even for elements not reachable from the
8895 BaseSink is a sink now :)
8896 Some more debugging info in the basesrc.
8899 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8901 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8902 Implement _query on a bin, similar to _send_event.
8904 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8906 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8907 Discont event offset format should be GST_FORMAT_BYTES,
8908 not GST_FORMAT_TIME.
8910 2005-05-12 Wim Taymans <wim@fluendo.com>
8912 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8913 Same fix as Ronald's but without the signal.
8915 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8917 * gst/gstutils.c: (gst_element_query_position):
8918 No, an element is not a pad.
8920 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8922 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8923 (gst_bin_get_state):
8924 If a child is removed from a bin while we remove the child from
8925 the bin and while we're retrieving its state, signal this to the
8926 get_state function so we abort the wait (instead of waiting for
8927 a timeout) and can immediately re-iterate over all other elements.
8929 2005-05-12 Wim Taymans <wim@fluendo.com>
8931 * gst/base/Makefile.am:
8932 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8933 (gst_basesrc_start):
8934 * gst/base/gstbasesrc.h:
8935 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8936 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8937 (gst_pushsrc_init), (gst_pushsrc_create):
8938 * gst/base/gstpushsrc.h:
8939 Added is_seekable to BaseSrc
8940 Added simple PushSrc.
8942 2005-05-11 Wim Taymans <wim@fluendo.com>
8944 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8945 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8946 (gst_element_link_pads), (gst_element_query_position),
8947 (gst_element_query_convert), (intersect_caps_func),
8948 (gst_pad_query_position), (gst_pad_query_convert):
8949 Fix refcounting in utils function.
8950 No point in trying to activate a pad when it's added, it could
8951 be added from the state change function and then we deadlock, the
8952 element has to decide what to do.
8954 2005-05-10 Andy Wingo <wingo@pobox.com>
8956 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8957 *all* the arguments.
8959 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8960 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8961 lock (according to the docs -- if this is wrong change the docs).
8963 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8964 flush messages in the NULL state.
8966 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8967 message immediately and return.
8968 (gst_bus_set_flushing): New function. If a bus is flushing, it
8969 flushes out any queued messages and immediately unrefs new
8970 messages. This is so when an element goes to NULL, all of the
8971 unhandled messages coming from it can be freed, and their
8972 references to the element dropped. In other words: message source
8973 ref considered harmful :P
8975 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8976 we're finished with it.
8978 * gst/gstmessage.c (gst_message_new_state_changed):
8980 2005-05-10 Wim Taymans <wim@fluendo.com>
8982 * gst/gstvalue.c: (gst_value_compare_flags),
8983 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8984 (_gst_value_initialize):
8985 Added flags serialize/deserialize/compare code.
8987 2005-05-09 Andy Wingo <wingo@pobox.com>
8989 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8990 Intersect the peer's caps with our caps.
8992 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8994 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8995 * gst/elements/gsttypefindelement.c: (find_peek):
8996 Handle negative offsets better. Fixes decodebin.
8998 2005-05-09 Wim Taymans <wim@fluendo.com>
9000 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9001 (gst_base_transform_event):
9002 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9003 Implement accept_caps.
9004 Fix silly lock/unlock mismatch in base class.
9006 2005-05-09 Wim Taymans <wim@fluendo.com>
9008 * docs/design/draft-push-pull.txt:
9009 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9010 * gst/elements/gstfilesink.c: (gst_filesink_init),
9011 (gst_filesink_query):
9012 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9013 (gst_type_find_handle_src_query), (find_element_get_length):
9014 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9018 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9019 (gst_real_pad_get_caps_unlocked),
9020 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9021 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9022 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9023 (gst_real_pad_dispose), (gst_real_pad_finalize),
9024 (gst_pad_load_and_link), (gst_pad_save_thyself),
9025 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9026 (gst_pad_check_pull_range), (gst_pad_pull_range),
9027 (gst_pad_template_get_type), (gst_pad_template_class_init),
9028 (gst_pad_template_init), (gst_pad_template_dispose),
9029 (name_is_valid), (gst_static_pad_template_get),
9030 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9031 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9032 (gst_pad_get_element_private), (gst_pad_start_task),
9033 (gst_pad_pause_task), (gst_pad_stop_task),
9034 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9035 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9036 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9037 (gst_ghost_pad_new):
9039 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9040 (gst_query_new_position), (gst_query_set_position),
9041 (gst_query_parse_position), (gst_query_new_convert),
9042 (gst_query_set_convert), (gst_query_parse_convert):
9044 * gst/gstqueryutils.c:
9045 * gst/gstqueryutils.h:
9046 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9047 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9048 (gst_queue_handle_src_query):
9049 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9050 (gst_element_query_position), (gst_element_query_convert),
9051 (intersect_caps_func), (gst_pad_query_position),
9052 (gst_pad_query_convert):
9054 * tools/gst-inspect.c: (print_pad_info):
9055 * tools/gst-xmlinspect.c: (print_element_info):
9056 Remove old query functions. Ported old code.
9057 Added position/convert helper functions to gstutils.
9058 Reordered gstpad.c code, grouping relevant things.
9059 Remove gst_message_new(), always need to speficy a specific
9063 2005-05-09 Andy Wingo <wingo@pobox.com>
9065 * gst/gstiterator.h: Add some includes.
9067 * gst/gstqueryutils.h: Include more headers.
9070 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9071 some uses of gst_pad_query.
9073 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9074 NULL out parameters.
9075 (gst_query_new_position): New proc, allocates a new position
9078 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9079 gstqueryutils.c to the build.
9081 * gst/gststructure.c (gst_structure_set_valist): Implement with
9082 the generic G_VALUE_COLLECT.
9084 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9086 * gst/Makefile.am: (gst_headers):
9087 Added gstqueryutils.h to the list of headers to install, that was
9088 a 'nachty' move wingo :)
9090 2005-05-06 Andy Wingo <wingo@pobox.com>
9093 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9094 GstData, init a memchunk.
9095 (standard_definitions): Add a few query types, deprecate a few.
9096 (gst_query_get_type): New proc.
9097 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9099 (gst_query_new_application, gst_query_get_structure): New public
9102 * docs/design/draft-query.txt: Removed LINKS from the query types,
9103 because all the rest can be dispatched to other pads -- seemed
9104 ugly to have a query that couldn't be dispatched. internal_links
9105 is fine as a pad method.
9107 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9108 in gstpad.c, but maintain binary compatibility for the moment.
9109 Will fix before 0.9 is out.
9111 * gst/gstqueryutils.c:
9112 * gst/gstqueryutils.h: New files, implement 3 methods for each
9113 query type: parse_query, parse_response, and set. Probably need an
9116 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9118 * gst/elements/gstfilesink.c (gst_filesink_query2):
9119 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9120 query_types, and formats methods.
9122 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9123 (gst_pad_set_query2_function): New functions.
9124 (gst_real_pad_init): Set query2_default as the default query2
9125 function. Basically just dispatches to internally linked pads.
9129 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9130 without using the atomic operations. Only one thread can possibly
9131 be accessing the data at this point. Changed so as to avoid
9132 gst_atomic operations.
9134 2005-05-06 Wim Taymans <wim@fluendo.com>
9136 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9137 Also set caps if we use the fallback buffer alloc.
9139 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9141 * docs/gst/Makefile.am:
9142 * docs/gst/gstreamer-docs.sgml:
9143 * docs/gst/gstreamer-sections.txt:
9144 * docs/gst/tmpl/gstatomic.sgml:
9145 * docs/gst/tmpl/gstmemchunk.sgml:
9146 * testsuite/elements/struct_i386.h:
9147 * win32/GStreamer.vcproj:
9149 Purge GstAtomic stuff from docs and win32 makefiles as well
9151 2005-05-06 Wim Taymans <wim@fluendo.com>
9153 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9154 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9155 * gst/gstpad.c: (gst_pad_peer_get_caps):
9156 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9157 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9158 (gst_queue_src_activate), (gst_queue_change_state):
9160 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9161 (intersect_caps_func):
9162 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9163 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9164 Some fixes for the peer_get_caps() change.
9166 2005-05-06 Wim Taymans <wim@fluendo.com>
9168 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9169 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9170 (gst_basesink_activate):
9171 Actually do something with error codes returned from the push
9174 2005-05-06 Wim Taymans <wim@fluendo.com>
9176 * docs/design/part-element-sink.txt:
9177 * docs/design/part-element-source.txt:
9178 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9179 (gst_basesink_event), (gst_basesink_activate):
9180 * gst/base/gstbasesink.h:
9181 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9182 (gst_basesrc_activate):
9183 * gst/base/gstbasesrc.h:
9184 * gst/gstelement.c: (gst_element_pads_activate):
9185 Some more documentation.
9186 Fixed scheduling decision in _pads_activate().
9188 2005-05-05 Andy Wingo <wingo@pobox.com>
9190 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9193 2005-05-05 Wim Taymans <wim@fluendo.com>
9195 * gst/base/Makefile.am:
9196 * gst/base/gstbasesink.h:
9197 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9198 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9199 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9200 (gst_collectpads_class_init), (gst_collectpads_init),
9201 (gst_collectpads_finalize), (gst_collectpads_new),
9202 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9203 (find_pad), (gst_collectpads_remove_pad),
9204 (gst_collectpads_is_active), (gst_collectpads_collect),
9205 (gst_collectpads_collect_range), (gst_collectpads_start),
9206 (gst_collectpads_stop), (gst_collectpads_peek),
9207 (gst_collectpads_pop), (gst_collectpads_available),
9208 (gst_collectpads_read), (gst_collectpads_flush),
9209 (gst_collectpads_chain):
9210 * gst/base/gstcollectpads.h:
9211 * gst/elements/Makefile.am:
9212 * gst/elements/gstelements.c:
9213 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9214 (gst_fakesink_get_times), (gst_fakesink_event),
9215 (gst_fakesink_preroll), (gst_fakesink_render):
9216 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9217 (gst_filesink_init), (gst_filesink_set_location),
9218 (gst_filesink_open_file), (gst_filesink_close_file),
9219 (gst_filesink_pad_query), (gst_filesink_event),
9220 (gst_filesink_render), (gst_filesink_change_state):
9221 * gst/elements/gstfilesink.h:
9222 Added object to help in making collect pad based elements.
9224 Make event function in sink baseclass return gboolean.
9226 2005-05-05 Wim Taymans <wim@fluendo.com>
9228 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9229 (gst_bin_get_by_name):
9231 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9232 (gst_clock_finalize):
9233 * gst/gstdata.c: (gst_data_replace):
9235 * gst/gstelement.c: (gst_element_request_pad),
9236 (gst_element_pads_activate):
9237 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9239 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9240 (gst_pad_set_checkgetrange_function),
9241 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9242 (gst_pad_check_pull_range), (gst_pad_pull_range),
9243 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9244 (gst_pad_pause_task), (gst_pad_stop_task):
9245 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9246 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9247 Fix name lookup in GstBin.
9248 Added _data_replace() function and _buffer_replace()
9249 Use finalize method to clean up clock.
9250 Fix refcounting on request pads.
9251 Fix pad schedule mode error.
9252 Some more object refcounting debug info,
9255 2005-05-04 Andy Wingo <wingo@pobox.com>
9257 * check/Makefile.am:
9258 * docs/gst/tmpl/gstatomic.sgml:
9259 * docs/gst/tmpl/gstplugin.sgml:
9260 * gst/base/gstbasesink.c: (gst_basesink_activate):
9261 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9262 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9263 (gst_basesrc_query), (gst_basesrc_set_property),
9264 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9265 (gst_basesrc_activate):
9266 * gst/base/gstbasesrc.h:
9267 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9268 (gst_base_transform_src_activate):
9269 * gst/elements/gstelements.c:
9270 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9271 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9272 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9273 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9274 (gst_type_find_element_checkgetrange),
9275 (gst_type_find_element_activate):
9276 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9277 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9278 (gst_caps_load_thyself):
9279 * gst/gstelement.c: (gst_element_pads_activate),
9280 (gst_element_save_thyself), (gst_element_restore_thyself):
9281 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9282 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9284 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9285 (gst_xml_parse_file), (gst_xml_parse_memory),
9286 (gst_xml_get_element), (gst_xml_make_element):
9287 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9288 (_file_index_id_save_xml), (gst_file_index_commit):
9289 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9290 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9292 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9293 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9294 * tools/gst-complete.c: (main):
9295 * tools/gst-compprep.c: (main):
9296 * tools/gst-inspect.c: (print_element_properties_info):
9297 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9298 * tools/gst-xmlinspect.c: (print_element_properties):
9301 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9303 * gst/gstplugin.c: (gst_plugin_check_module),
9304 (gst_plugin_check_file), (gst_plugin_load_file):
9305 apply patch from #172526 to make register work on MacOSX
9307 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9309 * docs/gst/tmpl/gstconfig.sgml:
9310 * gst/gstconfig.h.in:
9311 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9312 * testsuite/debug/printf_extension.c: (main):
9313 Do not use GST_PTR_FORMAT on pointers to types with
9314 sizeof < sizeof(gpointer). Fixes test on 64-bit
9315 * testsuite/elements/property.h:
9316 use correct printf format
9318 2005-05-02 Wim Taymans <wim@fluendo.com>
9320 * docs/design/draft-push-pull.txt:
9321 * docs/design/draft-query.txt:
9322 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9323 (gst_basesrc_start):
9324 Added draft for new query API.
9325 Added draft for better selecting scheduling methods.
9326 Make basesrc ignore length if the subclass does not support
9329 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9332 possible fixes for automake-1.5 - _LIBADD is reserved
9334 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9336 * docs/faq/Makefile.am:
9337 * docs/manual/Makefile.am:
9339 * docs/pwg/Makefile.am:
9341 possible fixes for automake-1.5
9343 2005-04-28 Wim Taymans <wim@fluendo.com>
9345 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9346 (gst_basesink_pad_getcaps), (gst_basesink_init),
9347 (gst_basesink_do_sync):
9348 * gst/gstclock.c: (gst_clock_entry_new):
9349 * gst/gstevent.c: (gst_event_discont_get_value):
9350 * gst/gstpipeline.c: (pipeline_bus_handler),
9351 (gst_pipeline_change_state):
9352 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9353 Better debugging of clocking info.
9354 Allow NULL values when getting discont values.
9356 2005-04-27 Wim Taymans <wim@fluendo.com>
9358 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9359 * check/gst/gstpad.c: (gst_pad_suite):
9360 Increase timeout for checks.
9362 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9364 * check/Makefile.am:
9365 fix the broken rule for cleanup. Apparently this rule is
9366 only needed on FC2, so maybe this warrants further autotool
9369 2005-04-26 Wim Taymans <wim@fluendo.com>
9371 * gst/gsttrashstack.h:
9372 Ooohh. a nasty one! After having a failed pop() from the stack,
9373 it's possible that the stack is empty. In that case, don't
9374 follow the NULL pointer.
9376 2005-04-25 Wim Taymans <wim@fluendo.com>
9378 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9379 (gst_pad_set_checkgetrange_function),
9380 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9381 (gst_pad_check_pull_range), (gst_pad_pull_range),
9382 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9383 (gst_pad_pause_task), (gst_pad_stop_task):
9384 * gst/gstplugin.c: (gst_plugin_load):
9386 Remove gst_library_load as it does more harm than good with
9387 the new g_module flags.
9388 Revert bogus caps template check in pad linking, pad caps
9389 are important when linking not the template, which is more
9390 general than the current caps.
9392 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9394 * gst/autoplug/.cvsignore:
9395 * gst/autoplug/Makefile.am:
9396 * gst/autoplug/gstsearchfuncs.c:
9397 * gst/autoplug/gstsearchfuncs.h:
9398 * gst/autoplug/gstspider.c:
9399 * gst/autoplug/gstspider.h:
9400 * gst/autoplug/gstspideridentity.c:
9401 * gst/autoplug/gstspideridentity.h:
9402 * gst/autoplug/spidertest.c:
9405 2005-04-25 Wim Taymans <wim@fluendo.com>
9407 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9408 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9409 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9410 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9412 Added stubs for unimplemented functions.
9414 2005-04-24 David Schleef <ds@schleef.org>
9416 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9419 2005-04-24 David Schleef <ds@schleef.org>
9421 Convert everything from GstAtomicInt to g_atomic_int_*, and
9426 * gst/gstatomic_impl.h:
9434 * gst/gstdata_private.h:
9441 * gst/gststructure.c:
9442 * gst/gststructure.h:
9443 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9446 2005-04-24 David Schleef <ds@schleef.org>
9448 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9449 make the regressions tests work. Remove some code that is no
9451 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9452 Disable warning for pads without templates.
9454 2005-04-24 David Schleef <ds@schleef.org>
9456 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9457 functions that handle filtered links.
9458 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9460 * gst/gstutils.c: Fix/remove utility functions that handle
9463 * gst/gstvalue.c: Add serialization/deserialization of caps
9464 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9465 requires fixing so that the filter caps notation creates
9466 a capsfilter element and sets the filter_caps property. I
9467 think everyone probably wants to keep the shorthand notation.
9468 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9469 * docs/gst/tmpl/gstpad.sgml:
9471 * gst/elements/gstelements.c: Register capsfilter element.
9472 * gst/Makefile.am: fix spacing
9473 * docs/random/ds/0.9-suggested-changes: random
9475 2005-04-23 David Schleef <ds@schleef.org>
9477 * gst/elements/Makefile.am:
9478 * gst/elements/gstcapsfilter.c: New element that acts like an
9479 identity, but filters caps. Will eventually replace filtered
9480 caps in pad linking.
9481 * gst/gstutils.c: (gst_element_create_all_pads): New function
9482 to create all the ALWAYS pads that are registered with an
9483 element class. This functionality should eventually be
9484 merged in with GstElement initialization.
9486 * testsuite/trigger/README: part of trigger test code that should
9487 have been checked in a long time ago.
9489 2005-04-23 David Schleef <ds@schleef.org>
9491 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9492 needed with new versions of libtool (nobody will confirm this),
9493 and hard to carry around.
9494 * gst/autoplug/Makefile.am:
9495 * gst/base/Makefile.am:
9496 * gst/elements/Makefile.am:
9497 * gst/indexers/Makefile.am:
9498 * gst/schedulers/Makefile.am:
9499 * libs/gst/bytestream/Makefile.am:
9500 * libs/gst/control/Makefile.am:
9501 * libs/gst/dataprotocol/Makefile.am:
9502 * libs/gst/getbits/Makefile.am:
9504 2005-04-21 Wim Taymans <wim@fluendo.com>
9506 * docs/design/draft-push-pull.txt:
9507 * docs/design/part-MT-refcounting.txt:
9508 * docs/design/part-TODO.txt:
9509 * docs/design/part-caps.txt:
9510 * docs/design/part-events.txt:
9511 * docs/design/part-gstbus.txt:
9512 * docs/design/part-gstpipeline.txt:
9513 * docs/design/part-messages.txt:
9514 * docs/design/part-push-pull.txt:
9515 * docs/design/part-query.txt:
9518 2005-04-21 Wim Taymans <wim@fluendo.com>
9520 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9521 (gst_message_new), (gst_message_new_error),
9522 (gst_message_new_warning), (gst_message_new_tag),
9523 (gst_message_new_state_changed), (gst_message_new_application),
9524 (gst_message_get_structure):
9526 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9527 (gst_structure_copy_conditional):
9528 Use parent refcount in GstMessage to ensure GstStructure
9530 Cleaned up headers a bit.
9533 2005-04-20 Wim Taymans <wim@fluendo.com>
9535 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9536 (gst_basesink_pad_getcaps), (gst_basesink_init),
9537 (gst_basesink_chain_unlocked):
9538 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9539 (gst_type_find_helper):
9540 * gst/elements/gsttypefindelement.c:
9541 (gst_type_find_element_have_type), (gst_type_find_element_init),
9542 (stop_typefinding), (gst_type_find_element_handle_event),
9543 (find_suggest), (gst_type_find_element_chain),
9544 (gst_type_find_element_checkgetrange),
9545 (gst_type_find_element_getrange), (do_typefind),
9546 (gst_type_find_element_activate):
9547 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9548 (gst_buffer_default_free), (gst_buffer_default_copy),
9549 (gst_buffer_set_caps):
9550 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9552 * gst/gstmessage.c: (gst_message_new),
9553 (gst_message_new_state_changed):
9554 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9555 (gst_pad_set_checkgetrange_function),
9556 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9557 (gst_pad_set_caps), (gst_pad_check_pull_range),
9558 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9560 * gst/gsttypefind.c: (gst_type_find_register):
9561 Make gst_caps_replace() work like other _replace() functions.
9562 Use _caps_replace() where possible.
9563 Make sure _message_new() initialises its field.
9564 Add gst_static_pad_template_get_caps()
9567 2005-04-18 Andy Wingo <wingo@pobox.com>
9569 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9570 on the peer, not the pad. I think that was a typo. Pass an extra
9571 arg to see if random access is possible. Activate the pads as
9572 PULL_RANGE if possible.
9574 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9576 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9577 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9580 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9582 * docs/faq/using.xml:
9583 Add note on gstreamer-properties (#154996).
9585 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9587 * docs/random/bbb/optional-properties:
9588 Some analysis on optional properties.
9590 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9592 * docs/gst/tmpl/gstelementfactory.sgml:
9594 * gst/gstelementfactory.c: (gst_element_factory_init),
9595 (gst_element_factory_cleanup), (gst_element_register),
9596 (__gst_element_factory_add_static_pad_template),
9597 (gst_element_factory_get_static_pad_templates),
9598 (gst_element_factory_can_src_caps),
9599 (gst_element_factory_can_sink_caps):
9600 * gst/registries/Makefile.am:
9601 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9602 (gst_xml_registry_class_init), (gst_xml_registry_init),
9603 (gst_xml_registry_new), (gst_xml_registry_set_property),
9604 (gst_xml_registry_get_property), (get_time), (make_dir),
9605 (gst_xml_registry_get_perms_func),
9606 (plugin_times_older_than_recurse), (plugin_times_older_than),
9607 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9608 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9609 (add_to_char_array), (read_string), (read_uint), (read_enum),
9610 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9611 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9612 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9613 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9614 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9615 (gst_xml_registry_rebuild):
9616 * gst/registries/gstlibxmlregistry.h:
9617 * tools/gst-compprep.c: (main):
9618 * tools/gst-inspect.c: (print_pad_templates_info):
9619 * tools/gst-xmlinspect.c: (print_element_info):
9620 Use libxml2 for registry parsing, use staticpadtemplates in
9621 elementfactories. Makes gst_init() +/- 10x faster.
9623 2005-04-12 Wim Taymans <wim@fluendo.com>
9625 * gst/base/Makefile.am:
9626 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9627 (gst_basesink_pad_getcaps), (gst_basesink_init),
9628 (gst_basesink_event), (gst_basesink_change_state):
9629 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9630 (gst_basesrc_init), (gst_basesrc_query),
9631 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9632 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9633 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9634 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9635 (gst_basesrc_stop), (gst_basesrc_activate),
9636 (gst_basesrc_change_state):
9637 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9638 (helper_find_suggest), (gst_type_find_helper):
9639 * gst/base/gsttypefindhelper.h:
9640 * gst/elements/Makefile.am:
9641 * gst/elements/gstelements.c:
9642 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9643 (gst_fakesink_get_times), (gst_fakesink_event),
9644 (gst_fakesink_preroll), (gst_fakesink_render):
9645 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9646 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9647 (gst_fakesrc_get_property), (gst_fakesrc_create),
9648 (gst_fakesrc_start), (gst_fakesrc_stop):
9649 * gst/elements/gstfakesrc.h:
9650 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9651 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9652 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9653 (gst_filesrc_create_read), (gst_filesrc_create),
9654 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9655 (gst_filesrc_start):
9656 * gst/elements/gsttypefindelement.c:
9657 (gst_type_find_element_have_type), (gst_type_find_element_init),
9658 (start_typefinding), (stop_typefinding), (push_buffer_store),
9659 (gst_type_find_element_handle_event),
9660 (gst_type_find_element_chain),
9661 (gst_type_find_element_checkgetrange),
9662 (gst_type_find_element_getrange), (do_typefind),
9663 (gst_type_find_element_activate),
9664 (gst_type_find_element_change_state):
9665 * gst/elements/gsttypefindelement.h:
9666 * gst/gstpipeline.c: (pipeline_bus_handler):
9667 Added typefind helper.
9668 Small preroll fix in the base sink.
9669 Disable typefind code in basesrc.
9670 Crude port of typefindelement.
9674 2005-04-11 Wim Taymans <wim@fluendo.com>
9676 * check/gst/gstbus.c: (gstbus_suite):
9677 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9679 Fix up the timeout so that the test does not fail.
9681 2005-04-06 Wim Taymans <wim@fluendo.com>
9684 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9685 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9686 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9687 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9688 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9689 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9690 (gst_basesrc_stop), (gst_basesrc_activate),
9691 (gst_basesrc_change_state), (basesrc_find_peek),
9692 (basesrc_find_suggest), (gst_basesrc_type_find):
9693 * gst/base/gstbasesrc.h:
9694 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9695 (gst_filesrc_class_init), (gst_filesrc_init),
9696 (gst_filesrc_finalize), (gst_filesrc_set_location),
9697 (gst_filesrc_set_property), (gst_filesrc_get_property),
9698 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9699 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9700 (gst_filesrc_create_read), (gst_filesrc_create),
9701 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9702 * gst/elements/gstfilesrc.h:
9703 * gst/gstelement.c: (gst_element_get_state_func),
9704 (gst_element_lost_state), (gst_element_pads_activate):
9705 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9706 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9707 (gst_pad_pull_range):
9709 More work on the generic source base class, implement seeking,
9711 Make filesrc extend the base source class.
9712 Added gst_pad_set_checkgetrange_function to GstPad.
9714 2005-04-06 Andy Wingo <wingo@pobox.com>
9716 * pkgconfig/gstreamer-base.pc.in:
9717 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9719 * pkgconfig/Makefile.am:
9720 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9722 2005-04-04 Wim Taymans <wim@fluendo.com>
9724 * gst/base/Makefile.am:
9726 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9727 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9728 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9729 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9730 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9731 (gst_basesrc_base_init), (gst_basesrc_class_init),
9732 (gst_basesrc_init), (gst_basesrc_get_formats),
9733 (gst_basesrc_get_query_types), (gst_basesrc_query),
9734 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9735 (gst_basesrc_set_property), (gst_basesrc_get_property),
9736 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9737 (gst_basesrc_loop), (gst_basesrc_activate),
9738 (gst_basesrc_change_state):
9739 * gst/base/gstbasesrc.h:
9740 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9741 (gst_fakesrc_class_init), (gst_fakesrc_init),
9742 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9743 (gst_fakesrc_get_property), (gst_fakesrc_create):
9744 * gst/elements/gstfakesrc.h:
9745 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9746 (gst_filesrc_open_file), (gst_filesrc_loop),
9747 (gst_filesrc_activate), (filesrc_find_peek),
9748 (gst_filesrc_type_find):
9749 Made base source class, make fakesrc extend it.
9750 Add comments to basesink class.
9751 Some filesrc cleanup.
9753 2005-03-31 David Schleef <ds@schleef.org>
9755 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9756 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9757 expected to link against libgstreamer.
9758 * gst/base/Makefile.am: link against libgstreamer
9759 * gst/elements/Makefile.am: same
9761 2005-03-31 Andy Wingo <wingo@pobox.com>
9763 * tests/instantiate/Makefile.am:
9764 * tests/instantiate/caps.c: Add test to test speed of caps copy
9767 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9768 GMemChunk to be fair.
9770 * gst/gsttrashstack.h: Remove warning about using the fallback
9771 trash stack implementation, it's still faster than malloc.
9773 2005-03-30 Andy Wingo <wingo@pobox.com>
9775 * tests/complexity.c: Add a copyright.
9777 2005-03-31 Wim Taymans <wim@fluendo.com>
9779 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9780 (gst_base_transform_class_init), (gst_base_transform_init),
9781 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9782 (gst_base_transform_get_property),
9783 (gst_base_transform_sink_activate),
9784 (gst_base_transform_src_activate),
9785 (gst_base_transform_change_state):
9786 * gst/base/gstbasetransform.h:
9787 * gst/elements/gstidentity.c: (gst_identity_class_init),
9788 (gst_identity_event), (gst_identity_check_perfect),
9789 (gst_identity_transform), (gst_identity_start),
9790 (gst_identity_stop):
9791 Added start/stop methods to transform base class so subclasses
9792 don't need to deal with state changes even.
9794 2005-03-31 Wim Taymans <wim@fluendo.com>
9796 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9797 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9799 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9800 (gst_pad_pull_range):
9801 Added rate to the discont event to prepare for variable speed
9802 and reverse playback.
9804 2005-03-29 David Schleef <ds@schleef.org>
9807 * testsuite/trigger/Makefile.am:
9808 * testsuite/trigger/trigger.c: A little example program to show
9809 how trigger-based elements can work.
9811 2005-03-29 Wim Taymans <wim@fluendo.com>
9813 * gst/base/Makefile.am:
9815 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9816 (gst_basesink_base_init), (gst_basesink_class_init),
9817 (gst_basesink_pad_getcaps), (gst_basesink_init),
9818 (gst_basesink_activate), (gst_basesink_change_state):
9819 * gst/base/gstbasesink.h:
9820 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9821 (gst_base_transform_base_init), (gst_base_transform_finalize),
9822 (gst_base_transform_class_init), (gst_base_transform_init),
9823 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9824 (gst_base_transform_event), (gst_base_transform_getrange),
9825 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9826 (gst_base_transform_set_property),
9827 (gst_base_transform_get_property),
9828 (gst_base_transform_sink_activate),
9829 (gst_base_transform_src_activate),
9830 (gst_base_transform_change_state):
9831 * gst/base/gstbasetransform.h:
9832 * gst/elements/gstidentity.c: (gst_identity_finalize),
9833 (gst_identity_class_init), (gst_identity_init),
9834 (gst_identity_event), (gst_identity_check_perfect),
9835 (gst_identity_transform), (gst_identity_set_property),
9836 (gst_identity_get_property), (gst_identity_change_state):
9837 * gst/elements/gstidentity.h:
9838 * gst/gstelement.c: (gst_element_get_state_func),
9839 (gst_element_lost_state), (gst_element_pads_activate):
9840 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9841 (gst_pad_check_pull_range), (gst_pad_pull_range):
9843 Simplify pad activation.
9844 Added function to check if pull_range can be performed.
9845 Error out when pulling inactive or flushing pads.
9846 Removed const from refcounted types as it does not make sense.
9847 Simplify pad templates in basesink
9848 Added base class for simple 1-to-1 transforms.
9849 Make identity subclass the base transform.
9851 2005-03-29 Andy Wingo <wingo@pobox.com>
9853 * docs/libs/gstreamer-libs-overrides.txt:
9854 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9855 really don't understand what's going on, but like whatever. I want
9858 * docs/gst/Makefile.am:
9859 * docs/libs/Makefile.am: Dist the overrides files.
9861 * check/Makefile.am (clean-local): Remove .libs directories.
9863 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9864 elements to EXTRA_DIST, so po/ files are happy.
9866 * po/POTFILES.in: Er, remove it here.
9868 * po/POTFILES: Remove gstspider.c.
9870 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9872 * docs/libs/gstreamer-libs-docs.sgml:
9873 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9876 * tests/complexity.c (main): Set the length of the preroll queue
9877 on the sinks to prevent a lockup.
9879 * libs/gst/dataprotocol/Makefile.am:
9880 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9881 the same as the one in check/gst-libs/gdp.c.
9883 * po/, docs/gst/: Commit automatic changes to docs and po files.
9885 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9886 the versioned libgstbase.
9888 * check/Makefile.am: Depend on an unversioned gst-register, seems
9889 to make autoconf happier.
9891 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9893 2005-03-28 Wim Taymans <wim@fluendo.com>
9896 * docs/design/part-gstelement.txt:
9897 * docs/design/part-negotiation.txt:
9898 * docs/design/part-preroll.txt:
9899 * docs/design/part-scheduling.txt:
9900 * docs/design/part-states.txt:
9902 * gst/base/Makefile.am:
9904 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9905 (gst_basesink_base_init), (gst_basesink_class_init),
9906 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9907 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9908 (gst_basesink_set_pad_functions),
9909 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9910 (gst_basesink_set_property), (gst_basesink_get_property),
9911 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9912 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9913 (gst_basesink_preroll_queue_push),
9914 (gst_basesink_preroll_queue_empty),
9915 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9916 (gst_basesink_event), (gst_basesink_get_times),
9917 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9918 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9919 (gst_basesink_loop), (gst_basesink_activate),
9920 (gst_basesink_change_state):
9921 * gst/base/gstbasesink.h:
9922 * gst/elements/Makefile.am:
9923 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9924 (gst_fakesink_class_init), (gst_fakesink_init),
9925 (gst_fakesink_set_property), (gst_fakesink_get_property),
9926 (gst_fakesink_get_times), (gst_fakesink_event),
9927 (gst_fakesink_preroll), (gst_fakesink_render),
9928 (gst_fakesink_change_state):
9929 * gst/elements/gstfakesink.h:
9930 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9931 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9932 * gst/gstelement.c: (gst_element_add_pad),
9933 (gst_element_get_state_func), (gst_element_abort_state),
9934 (gst_element_commit_state), (gst_element_lost_state),
9935 (gst_element_set_state), (gst_element_pads_activate):
9936 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9937 * gst/gstpipeline.c: (gst_pipeline_send_event),
9938 (gst_pipeline_change_state):
9939 Added state change code.
9941 Added sink base class, make fakesink extend the base class.
9942 Small cleanups in GstPipeline.
9944 2005-03-26 David Schleef <ds@schleef.org>
9946 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9947 is broken and should be implemented in a different library.
9948 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9949 * gst/gst.h: remove gstcpu.h
9950 * gst/gstcpu.c: remove
9951 * gst/gstcpu.h: remove
9952 * gst/Makefile.am.future: Remove this file. It's ancient.
9954 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9956 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9957 (gst_bin_send_event):
9958 Add default event/set_manager handlers. The set_manager handler
9959 takes care that the manager is distributed over kids that were
9960 already in the bin before the manager was set. The event handler
9961 is a utility virtual function that sends the event over all sinks,
9962 so that gst_element_send_event (bin, event); has the expected
9964 * gst/gstpad.c: (gst_pad_event_default):
9965 Re-install default event handling for discontinuities, so that
9966 seeking works without requiring hacks in applications or extra
9968 * gst/gstpipeline.c: (gst_pipeline_class_init),
9969 (gst_pipeline_send_event):
9970 Half hack, half utility: set a pipeline to PAUSED for seek events,
9971 since that is the only way we can guarantee a/v sync. Means that
9972 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9973 and it "just works".
9975 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9977 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9978 Lock/unlock mismatch.
9980 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9982 * docs/faq/gst-uninstalled:
9983 add gst-plugins-base
9984 * docs/gst/Makefile.am:
9985 don't error out until docs are fixed
9986 * docs/gst/gstreamer.types:
9989 2005-03-22 Wim Taymans <wim@fluendo.com>
9991 * check/Makefile.am:
9992 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9993 * gst/gststructure.c: (gst_structure_set_valist),
9994 (gst_structure_copy_conditional):
9995 Activated more tests.
9997 Added G_TYPE_POINTER to GstStructure.
10000 2005-03-22 Wim Taymans <wim@fluendo.com>
10002 * docs/design/part-TODO.txt:
10003 * docs/design/part-events.txt:
10004 * docs/design/part-gstbin.txt:
10005 * docs/design/part-gstbus.txt:
10006 * docs/design/part-gstpipeline.txt:
10007 * docs/design/part-messages.txt:
10009 * gst/gstmessage.c:
10012 2005-03-21 Wim Taymans <wim@fluendo.com>
10014 * gst/gstbus.c: (gst_bus_post):
10015 Fix copy-and-paste error.
10017 2005-03-21 Wim Taymans <wim@fluendo.com>
10019 * check/Makefile.am:
10021 * gst/elements/Makefile.am:
10022 * gst/elements/gstelements.c:
10023 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10024 (gst_fakesink_event), (gst_fakesink_chain):
10025 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10026 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10027 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10028 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10029 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10030 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10031 (gst_fakesrc_loop), (gst_fakesrc_activate),
10032 (gst_fakesrc_change_state):
10033 * gst/elements/gstfakesrc.h:
10034 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10035 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10036 (gst_filesrc_open_file), (gst_filesrc_loop),
10037 (gst_filesrc_activate), (gst_filesrc_change_state),
10038 (filesrc_find_peek), (filesrc_find_suggest),
10039 (gst_filesrc_type_find):
10040 * gst/elements/gstidentity.c: (gst_identity_finalize),
10041 (gst_identity_class_init), (gst_identity_init),
10042 (gst_identity_proxy_getcaps), (identity_queue_push),
10043 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10044 (gst_identity_getrange), (gst_identity_chain),
10045 (gst_identity_sink_loop), (gst_identity_src_loop),
10046 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10047 (gst_identity_set_property), (gst_identity_get_property),
10048 (gst_identity_change_state):
10049 * gst/elements/gstidentity.h:
10050 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10051 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10052 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10053 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10054 (gst_tee_sink_activate):
10055 * gst/elements/gsttee.h:
10056 * gst/gst.c: (gst_register_core_elements), (init_post):
10058 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10059 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10060 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10061 (gst_bin_change_state):
10063 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10064 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10065 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10066 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10067 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10068 (bus_watch_callback), (bus_watch_destroy),
10069 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10070 (poll_timeout), (gst_bus_poll):
10074 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10075 (gst_element_post_message), (gst_element_message_full),
10076 (gst_element_get_state_func), (gst_element_get_state),
10077 (gst_element_abort_state), (gst_element_commit_state),
10078 (gst_element_lost_state), (gst_element_set_state),
10079 (gst_element_pads_activate), (gst_element_change_state),
10080 (gst_element_dispose), (gst_element_set_manager_func),
10081 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10082 (gst_element_set_manager), (gst_element_get_manager),
10083 (gst_element_set_bus), (gst_element_get_bus),
10084 (gst_element_set_scheduler), (gst_element_get_scheduler):
10085 * gst/gstelement.h:
10086 * gst/gstevent.c: (gst_event_new_segment_seek),
10087 (gst_event_new_flush):
10089 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10090 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10091 (gst_message_new_eos), (gst_message_new_error),
10092 (gst_message_new_warning), (gst_message_new_tag),
10093 (gst_message_new_state_changed), (gst_message_new_application),
10094 (gst_message_get_structure), (gst_message_parse_tag),
10095 (gst_message_parse_state_changed), (gst_message_parse_error),
10096 (gst_message_parse_warning):
10097 * gst/gstmessage.h:
10098 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10099 (gst_real_pad_set_property), (gst_pad_set_active),
10100 (gst_pad_is_active), (gst_pad_set_blocked_async),
10101 (gst_pad_set_blocked), (gst_pad_is_blocked),
10102 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10103 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10104 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10105 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10106 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10107 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10108 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10109 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10110 (gst_pad_set_caps), (gst_pad_configure_sink),
10111 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10112 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10113 (gst_real_pad_dispose), (gst_real_pad_finalize),
10114 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10115 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10116 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10118 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10119 (pipeline_bus_handler), (gst_pipeline_change_state),
10120 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10121 * gst/gstpipeline.h:
10123 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10124 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10125 (gst_queue_link_src), (gst_queue_bufferalloc),
10126 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10127 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10128 (gst_queue_loop), (gst_queue_handle_src_event),
10129 (gst_queue_handle_src_query), (gst_queue_src_activate),
10130 (gst_queue_change_state):
10132 * gst/gstscheduler.c: (gst_scheduler_init),
10133 (gst_scheduler_dispose), (gst_scheduler_create_task),
10134 (gst_scheduler_factory_create):
10135 * gst/gstscheduler.h:
10136 * gst/gststructure.c: (gst_structure_get_type),
10137 (gst_structure_copy_conditional):
10138 * gst/gststructure.h:
10139 * gst/gsttaginterface.h:
10140 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10141 (gst_task_init), (gst_task_dispose), (gst_task_create),
10142 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10148 * gst/schedulers/Makefile.am:
10149 * gst/schedulers/cothreads_compat.h:
10150 * gst/schedulers/entryscheduler.c:
10151 * gst/schedulers/faircothreads.c:
10152 * gst/schedulers/faircothreads.h:
10153 * gst/schedulers/fairscheduler.c:
10154 * gst/schedulers/gstbasicscheduler.c:
10155 * gst/schedulers/gstoptimalscheduler.c:
10156 * gst/schedulers/gthread-cothreads.h:
10157 * gst/schedulers/threadscheduler.c:
10158 (gst_thread_scheduler_task_get_type),
10159 (gst_thread_scheduler_task_class_init),
10160 (gst_thread_scheduler_task_init),
10161 (gst_thread_scheduler_task_start),
10162 (gst_thread_scheduler_task_stop),
10163 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10164 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10165 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10166 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10168 * libs/gst/Makefile.am:
10169 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10170 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10171 (gst_file_pad_parent_set):
10172 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10173 (gst_dp_event_from_packet):
10174 * tests/complexity.c: (main):
10175 * tests/mass_elements.c: (main):
10176 * testsuite/states/locked.c: (message_received), (main):
10177 * testsuite/states/parent.c: (main):
10178 * tools/gst-inspect.c: (print_element_flag_info),
10179 (print_implementation_info), (print_pad_info):
10180 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10182 * tools/gst-md5sum.c: (event_loop), (main):
10183 * tools/gst-typefind.c: (main):
10184 * tools/gst-xmlinspect.c: (print_element_info):
10186 Added GstBus for mainloop integration.
10187 Added GstMessage for sending notifications on the bus.
10188 Added GstTask as an abstraction for pipeline entry points.
10190 Removed Schedulers.
10191 Simplified GstQueue for multithreaded core.
10192 Made _link threadsafe, removed old capsnego.
10193 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10194 Added pad blocking functions.
10195 Reworked scheduling functions in GstPad to prepare for
10196 scheduling updates soon.
10197 Moved events out of data stream.
10198 Simplified GstEvent types.
10199 Added return values to push/pull.
10200 Removed clocking from GstElement.
10201 Added prototypes for state change function for next merge.
10202 Removed iterate from bins and state change management.
10203 Fixed some elements, disabled others for now.
10204 Fixed -inspect and -launch.
10205 Added check for GstBus.
10207 2005-03-10 Wim Taymans <wim@fluendo.com>
10209 * docs/design/part-MT-refcounting.txt:
10210 * docs/design/part-clocks.txt:
10211 * docs/design/part-gstelement.txt:
10212 * docs/design/part-gstobject.txt:
10213 * docs/design/part-standards.txt:
10214 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10215 (gst_bin_remove_func), (gst_bin_remove):
10219 * testsuite/clock/clock1.c: (main):
10220 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10222 * testsuite/dlopen/loadgst.c: (do_test):
10223 * testsuite/refcounting/bin.c: (add_remove_test1),
10224 (add_remove_test2), (main):
10225 * testsuite/refcounting/element.c: (main):
10226 * testsuite/refcounting/element_pad.c: (main):
10227 * testsuite/refcounting/pad.c: (main):
10228 * tools/gst-launch.c: (sigint_handler_sighandler):
10229 * tools/gst-typefind.c: (main):
10231 Added doc about clock.
10232 removed gst_bin_iterate_recurse_up(), marked methods
10234 Fix more testsuites.
10236 2005-03-09 Wim Taymans <wim@fluendo.com>
10238 * gst/gstpad.c: (gst_pad_get_direction),
10239 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10240 (gst_pad_collect_valist):
10241 * testsuite/bins/interface.c: (main):
10242 * testsuite/caps/audioscale.c: (test_caps):
10243 * testsuite/caps/caps.c: (test1), (test2), (test3):
10244 * testsuite/caps/deserialize.c: (main):
10245 * testsuite/caps/enumcaps.c: (main):
10246 * testsuite/caps/filtercaps.c: (main):
10247 * testsuite/caps/intersect2.c: (main):
10248 * testsuite/caps/random.c: (main):
10249 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10250 * testsuite/caps/sets.c: (check_caps):
10251 * testsuite/caps/simplify.c: (check_caps), (main):
10252 * testsuite/caps/subtract.c: (check_caps):
10253 Fix _pad_get_direction wrt ghostpads.
10254 Fix caps testsuite.
10256 2005-03-09 Wim Taymans <wim@fluendo.com>
10258 * check/Makefile.am:
10259 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10260 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10261 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10262 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10263 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10264 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10265 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10266 (bin_element_is_sink), (gst_bin_iterate_sinks),
10267 (gst_bin_iterate_all_by_interface):
10269 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10270 (gst_element_change_state), (gst_element_dispose),
10271 (gst_element_finalize), (gst_element_set_loop_function):
10272 * gst/gstelement.h:
10273 * gst/gstiterator.c: (find_custom_fold_func):
10274 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10275 (gst_pad_collectv), (gst_pad_collect_valist),
10276 (gst_pad_template_new):
10277 * gst/gstpipeline.c: (gst_pipeline_class_init),
10278 (gst_pipeline_dispose), (gst_pipeline_set_property),
10279 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10280 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10281 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10283 * gst/schedulers/entryscheduler.c:
10284 * gst/schedulers/gstbasicscheduler.c:
10285 (gst_basic_scheduler_cothreaded_chain),
10286 (gst_basic_scheduler_chain_add_element):
10287 * testsuite/bins/interface.c: (main):
10289 Added GstSystemClock test.
10290 Implemented clock distribution code in GstBin.
10291 Implemented iterate sinks method for future use.
10292 Rearranged gstelement.h
10293 Fix GstIterator comparison bug.
10294 Moved some code to GstPipeline, mostly clocking related.
10296 2005-03-09 Wim Taymans <wim@fluendo.com>
10299 * gst/gst_private.h:
10300 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10301 (gst_bin_remove_func), (gst_bin_remove),
10302 (gst_bin_get_by_name_recurse_up):
10303 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10304 (gst_clock_id_compare_func), (gst_clock_id_wait),
10305 (gst_clock_id_wait_async), (gst_clock_init),
10306 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10307 * gst/gstelement.h:
10308 * gst/gstinfo.c: (_gst_debug_init):
10310 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10311 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10313 Bump version number, we're now 0.9.0
10314 Add future debugging category.
10315 Fix NULL _unref() in _get_by_name_recurse_up
10316 Rearrange gstpad.h.
10319 2005-03-08 Wim Taymans <wim@fluendo.com>
10321 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10322 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10323 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10324 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10325 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10326 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10327 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10328 * gst/elements/gstidentity.c: (gst_identity_class_init):
10329 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10330 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10331 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10332 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10333 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10335 * gst/gstelement.c: (gst_element_class_init),
10336 (gst_element_base_class_init), (gst_element_init),
10337 (gst_element_get_random_pad), (gst_element_wait_state_change),
10338 (gst_element_change_state), (gst_element_dispose),
10339 (gst_element_finalize), (gst_element_set_loop_function):
10340 * gst/gstelement.h:
10341 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10342 * gst/gstthread.c: (gst_thread_class_init),
10343 (gst_thread_release_children_locks), (gst_thread_change_state):
10344 * gst/schedulers/gstbasicscheduler.c:
10345 (gst_basic_scheduler_loopfunc_wrapper),
10346 (gst_basic_scheduler_chain_wrapper),
10347 (gst_basic_scheduler_src_wrapper),
10348 (gst_basic_scheduler_remove_element):
10349 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10350 Remove threadsafe properties. Fix elements because GObject
10351 complains when installing a property before declaring a
10352 set/get_property handler.
10353 Rearrange gstelement.h file, use STATE macros for state locks.
10354 Free mutexes in the finalize method instead of dispose.
10356 2005-03-08 Wim Taymans <wim@fluendo.com>
10358 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10359 * gst/gstthread.c: (gst_thread_release_children_locks):
10360 Added parentage check.
10361 Fix build og GstThread again.
10363 2005-03-08 Wim Taymans <wim@fluendo.com>
10365 * docs/design/part-MT-refcounting.txt:
10366 * docs/design/part-conventions.txt:
10367 * docs/design/part-gstobject.txt:
10368 * docs/design/part-relations.txt:
10369 * docs/design/part-standards.txt:
10370 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10371 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10372 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10373 (gst_bin_iterate_all_by_interface):
10376 * gst/gstelement.c: (gst_element_class_init),
10377 (gst_element_change_state), (gst_element_set_loop_function):
10378 * gst/gstelement.h:
10379 * gst/gstiterator.c:
10380 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10381 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10382 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10383 (gst_object_set_parent), (gst_object_unparent),
10384 (gst_object_check_uniqueness):
10386 Docs updates, clean up some headers.
10388 2005-03-07 Wim Taymans <wim@fluendo.com>
10390 * check/.cvsignore:
10391 * check/Makefile.am:
10392 * check/gst-libs/.cvsignore:
10393 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10394 * check/gst/.cvsignore:
10395 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10396 (START_TEST), (gstbus_suite), (main):
10397 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10398 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10399 (gst_data_suite), (main):
10400 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10401 (add_fold_func), (gstiterator_suite), (main):
10402 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10403 (thread_name_object), (thread_name_object_default),
10404 (gst_object_name_compare), (gst_object_suite), (main):
10405 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10406 (gst_pad_suite), (main):
10407 * check/gstcheck.c: (gst_check_log_message_func),
10408 (gst_check_log_critical_func), (gst_check_init):
10409 * check/gstcheck.h:
10410 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10411 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10414 2005-03-07 Wim Taymans <wim@fluendo.com>
10416 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10417 (gst_list_iterator_next), (gst_list_iterator_resync),
10418 (gst_list_iterator_free), (gst_iterator_new_list),
10419 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10420 (gst_iterator_free), (gst_iterator_push), (filter_next),
10421 (filter_resync), (filter_uninit), (filter_free),
10422 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10423 (gst_iterator_foreach), (find_custom_fold_func),
10424 (gst_iterator_find_custom):
10425 * gst/gstiterator.h:
10426 Added missing files.
10428 2005-03-07 Wim Taymans <wim@fluendo.com>
10432 * docs/design/part-MT-refcounting.txt:
10433 * docs/design/part-conventions.txt:
10434 * docs/design/part-gstobject.txt:
10435 * docs/design/part-relations.txt:
10436 * examples/mixer/mixer.c: (main):
10437 * examples/thread/thread.c: (eos), (main):
10439 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10440 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10441 (gst_spider_plug_from_srcpad):
10442 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10443 (gst_spider_identity_change_state),
10444 (gst_spider_identity_sink_loop_type_finding):
10445 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10446 * gst/elements/gstidentity.c: (gst_identity_init):
10447 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10448 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10449 * gst/elements/gsttypefindelement.c: (free_entry):
10452 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10453 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10454 (gst_bin_set_index), (gst_bin_set_element_sched),
10455 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10456 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10457 (gst_bin_iterate_elements), (iterate_child_recurse),
10458 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10459 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10460 (compare_interface), (gst_bin_get_by_interface),
10461 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10463 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10464 (gst_buffer_default_free), (gst_buffer_default_copy),
10465 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10466 (gst_buffer_create_sub):
10468 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10469 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10470 (gst_caps_unref), (gst_static_caps_get),
10471 (gst_caps_remove_and_get_structure), (gst_caps_append),
10472 (gst_caps_append_structure), (gst_caps_remove_structure),
10473 (gst_caps_copy_nth), (gst_caps_set_simple),
10474 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10475 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10476 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10477 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10478 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10479 (gst_caps_structure_figure_out_union),
10480 (gst_caps_switch_structures), (gst_caps_do_simplify),
10481 (gst_caps_replace), (gst_caps_from_string),
10482 (gst_caps_copy_conditional):
10484 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10485 (_gst_clock_id_free), (gst_clock_id_unref),
10486 (gst_clock_id_compare_func), (gst_clock_id_wait),
10487 (gst_clock_id_wait_async), (gst_clock_class_init),
10488 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10489 (gst_clock_get_time), (gst_clock_set_time_adjust),
10490 (gst_clock_set_property), (gst_clock_get_property):
10493 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10494 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10496 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10497 (gst_element_requires_clock), (gst_element_provides_clock),
10498 (gst_element_set_clock), (gst_element_clock_wait),
10499 (gst_element_wait), (gst_element_set_time_delay),
10500 (gst_element_is_indexable), (gst_element_add_pad),
10501 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10502 (pad_compare_name), (gst_element_get_static_pad),
10503 (gst_element_request_pad), (gst_element_get_request_pad),
10504 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10505 (gst_element_class_get_pad_template_list),
10506 (gst_element_class_get_pad_template), (gst_element_error_func),
10507 (gst_element_get_random_pad), (gst_element_get_event_masks),
10508 (gst_element_send_event), (gst_element_seek),
10509 (gst_element_get_query_types), (gst_element_query),
10510 (gst_element_get_formats), (gst_element_convert),
10511 (gst_element_is_locked_state), (gst_element_set_locked_state),
10512 (gst_element_sync_state_with_parent), (gst_element_change_state),
10513 (gst_element_finalize), (gst_element_yield),
10514 (gst_element_interrupt), (gst_element_set_scheduler),
10515 (gst_element_get_scheduler), (gst_element_set_loop_function):
10516 * gst/gstelement.h:
10518 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10519 (gst_format_get_by_nick), (gst_format_get_details),
10520 (gst_format_iterate_definitions):
10522 * gst/gstindex.c: (gst_index_gtype_resolver):
10525 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10526 (gst_mem_chunk_free):
10527 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10528 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10529 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10530 (gst_object_dispatch_properties_changed),
10531 (gst_object_set_name_default), (gst_object_set_name),
10532 (gst_object_get_name), (gst_object_set_name_prefix),
10533 (gst_object_get_name_prefix), (gst_object_set_parent),
10534 (gst_object_get_parent), (gst_object_unparent),
10535 (gst_object_check_uniqueness), (gst_object_save_thyself),
10536 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10537 (gst_object_set_property), (gst_object_get_property),
10538 (gst_object_get_path_string):
10540 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10541 (gst_real_pad_init), (gst_real_pad_get_property),
10542 (gst_pad_custom_new), (gst_pad_get_direction),
10543 (gst_pad_set_active), (gst_pad_is_active),
10544 (gst_pad_set_event_function), (gst_pad_is_linked),
10545 (gst_pad_link_free), (gst_pad_link_intersect),
10546 (gst_pad_link_fixate), (gst_pad_set_caps),
10547 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10548 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10549 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10550 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10551 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10552 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10553 (gst_pad_realize), (gst_pad_get_allowed_caps),
10554 (gst_real_pad_dispose), (gst_real_pad_finalize),
10555 (gst_pad_collectv), (gst_pad_collect_valist),
10556 (gst_pad_template_dispose), (gst_pad_template_new),
10557 (gst_pad_get_internal_links):
10559 * gst/gstpipeline.c: (gst_pipeline_dispose),
10560 (gst_pipeline_change_state):
10561 * gst/gstpipeline.h:
10563 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10564 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10565 * gst/gstpluginfeature.h:
10566 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10567 * gst/gstquery.c: (_gst_query_type_initialize),
10568 (gst_query_type_register), (gst_query_type_get_by_nick),
10569 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10571 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10572 * gst/gstscheduler.c: (gst_scheduler_add_element),
10573 (gst_scheduler_factory_create):
10574 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10575 (gst_structure_free), (gst_structure_set_name),
10576 (gst_structure_id_set_value), (gst_structure_set_value),
10577 (gst_structure_set_valist), (gst_structure_remove_field),
10578 (gst_structure_remove_fields),
10579 (gst_structure_remove_fields_valist),
10580 (gst_structure_remove_all_fields), (gst_structure_foreach),
10581 (gst_structure_map_in_place),
10582 (gst_caps_structure_fixate_field_nearest_int),
10583 (gst_caps_structure_fixate_field_nearest_double):
10584 * gst/gststructure.h:
10585 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10586 (gst_system_clock_init), (gst_system_clock_dispose),
10587 (gst_system_clock_async_thread),
10588 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10589 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10590 * gst/gstsystemclock.h:
10591 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10592 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10593 * gst/gsttaginterface.c:
10594 * gst/gstthread.c: (gst_thread_dispose),
10595 (gst_thread_release_children_locks), (gst_thread_change_state),
10596 (gst_thread_main_loop):
10597 * gst/gsttrashstack.h:
10598 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10600 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10601 (gst_element_request_pad), (gst_element_get_pad_from_template),
10602 (gst_element_request_compatible_pad),
10603 (gst_element_get_compatible_pad_filtered),
10604 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10605 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10606 (gst_element_link_many), (gst_element_link),
10607 (gst_element_link_pads), (gst_element_unlink_pads),
10608 (gst_element_unlink_many), (gst_element_unlink),
10609 (gst_pad_can_link_filtered), (gst_pad_can_link),
10610 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10611 (gst_object_default_error), (gst_bin_add_many),
10612 (gst_bin_remove_many), (gst_element_populate_std_props),
10613 (gst_element_class_install_std_props), (gst_buffer_merge),
10614 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10615 (link_fold_func), (gst_pad_proxy_setcaps):
10617 * gst/gstvalue.c: (gst_value_deserialize_string):
10618 * gst/parse/grammar.y:
10619 * gst/schedulers/gstbasicscheduler.c:
10620 (gst_basic_scheduler_cothreaded_chain),
10621 (gst_basic_scheduler_chain_recursive_add),
10622 (gst_basic_scheduler_pad_link):
10623 * gst/schedulers/gstoptimalscheduler.c:
10624 (get_group_schedule_function),
10625 (gst_opt_scheduler_state_transition),
10626 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10627 * libs/gst/bytestream/bytestream.c:
10628 * libs/gst/dataprotocol/dataprotocol.c:
10629 (gst_dp_header_from_buffer):
10632 * tests/threadstate/threadstate2.c: (eos):
10633 * tools/gst-compprep.c: (main):
10634 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10635 (print_pad_info), (print_children_info):
10636 * tools/gst-launch.c: (idle_func), (main):
10637 * tools/gst-md5sum.c: (idle_func), (main):
10638 * tools/gst-xmlinspect.c: (print_element_info):
10639 First THREADED backport attempt, focusing on adding locks and
10640 making sure the API is threadsafe. Needs more work. More docs
10643 2005-02-24 Andy Wingo <wingo@pobox.com>
10645 * tests/bench-complexity.scm:
10646 * tests/complexity.gnuplot: New files, good for running complexity
10649 * tests/Makefile.am:
10650 * tests/complexity.c: New test, sets up N elements, at each level
10651 teeing into M streams per element. Eeeenteresting.
10653 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10654 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10655 running bench-mass_elements.scm.
10657 * tests/bench-mass_elements.scm: New script, runs mass_elements
10658 for various numbers of identities, outputting the results to a
10659 file. Requires guile 1.6. Just for testing.
10661 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10663 * gst/schedulers/fairscheduler.c:
10664 compile with debug disabled
10666 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10669 hunting season on 0.9 is now OPEN