1 2005-11-11 Wim Taymans <wim@fluendo.com>
3 * gst/gstbuffer.c: (_gst_buffer_copy):
6 * gst/gstcaps.c: (gst_caps_is_equal):
8 Make _is_equal fast in the trivial cases.
10 * gst/gstminiobject.c:
11 * gst/gstminiobject.h:
12 More docs. Spifify .h file.
17 2005-11-11 Wim Taymans <wim@fluendo.com>
19 * gst/base/gstbasetransform.c:
20 (gst_base_transform_prepare_output_buf),
21 (gst_base_transform_handle_buffer):
23 If we're processing a buffer and need to allocate an output
24 buffer, we cannot accept a format change. If we did get a
25 format change, we have to alloc a buffer ourselves of the
28 2005-11-11 Wim Taymans <wim@fluendo.com>
30 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
31 While checking the flag for reentrancy in the gstcaps function
32 is nice to detect recursive invocations, it also makes it
33 impossible to call getcaps from multiple threads, which must be
34 possible. So, checking for recursive calls has to go.
36 2005-11-11 Michael Smith <msmith@fluendo.com>
38 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
39 Don't sync on buffers that fall partially outside our current
40 segment. Prevents an assertion failure/abort playing some files.
42 2005-11-10 Andy Wingo <wingo@pobox.com>
44 * check/gst/gstbin.c (test_message_state_changed_children): Style
47 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
48 gst_bus_poll with the signal watch. Ensures that poll and a signal
49 watch see the same messages.
51 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
52 a poll and a watch at the same time get the same messages.
54 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
56 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
57 * gst/gstcaps.c: (gst_caps_intersect):
58 Don't call gst_caps_do_simplify - it doesn't respect order of caps
61 2005-11-10 Wim Taymans <wim@fluendo.com>
63 * docs/design/part-TODO.txt:
66 2005-11-10 Wim Taymans <wim@fluendo.com>
68 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
69 * gst/base/gstbasesrc.c: (gst_base_src_wait),
70 (gst_base_src_do_sync), (gst_base_src_get_range):
71 Implement clock sync in base class.
73 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
75 patch by: Tim-Philipp Müller <tim at centricular dot net>
77 * gst/gststructure.c: (gst_structure_parse_field),
78 (gst_structure_from_string):
79 Forward-port a 0.8 patch to handle escaped spaces in structure string,
80 so that gst_parse_launch() can deal with spaces in filtered link
82 * check/gst/capslist.h:
83 * check/gst/gststructure.c: (GST_START_TEST):
84 add unit tests for this change
86 2005-11-10 Wim Taymans <wim@fluendo.com>
88 * docs/gst/gstreamer-sections.txt:
91 Fix docs, move some STATE macros to private.
93 2005-11-10 Wim Taymans <wim@fluendo.com>
95 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
96 Added check for bug #317341
100 Some more spiffifying.
102 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
103 Call peer linkfunction if we are a source pad. Totally fixes
107 Update docs, source pads should call the peer linkfunction
108 so they can atomically perform the pad link.
110 2005-11-09 Wim Taymans <wim@fluendo.com>
114 Uber-spiffy-spiffify some more.
116 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
118 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
119 * gst/elements/gstfilesink.c: (gst_file_sink_init):
120 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
121 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
122 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
123 * gst/gstpad.c: (gst_pad_init):
124 Use GST_DEBUG_FUNCPTR() more extensively.
126 2005-11-09 Wim Taymans <wim@fluendo.com>
128 * gst/gstobject.c: (gst_object_class_init):
132 2005-11-09 Edward Hervey <edward@fluendo.com>
134 * gst/gsttypefindfactory.c:
137 2005-11-09 Edward Hervey <edward@fluendo.com>
139 * gst/base/gsttypefindhelper.c:
144 2005-11-09 Wim Taymans <wim@fluendo.com>
153 2005-11-09 Wim Taymans <wim@fluendo.com>
159 2005-11-09 Wim Taymans <wim@fluendo.com>
161 * docs/gst/gstreamer-sections.txt:
162 Moved the message async delivery private lock and cond
163 to the private section.
169 2005-11-09 Edward Hervey <edward@fluendo.com>
171 * docs/gst/gstreamer-sections.txt:
174 Document GstURIHandler
176 2005-11-09 Wim Taymans <wim@fluendo.com>
178 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
179 (gst_iterator_find_custom):
183 2005-11-09 Wim Taymans <wim@fluendo.com>
186 Document another field.
188 * gst/gststructure.c:
189 * gst/gststructure.h:
192 2005-11-09 Wim Taymans <wim@fluendo.com>
197 2005-11-09 Wim Taymans <wim@fluendo.com>
199 * docs/gst/gstreamer-sections.txt:
200 Added some new macros.
207 2005-11-09 Wim Taymans <wim@fluendo.com>
209 * docs/design/part-TODO.txt:
210 Some more items for the TODO
216 2005-11-09 Andy Wingo <wingo@pobox.com>
218 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
219 to work on something else now tho...
221 * gst/base/gstadapter.c: More adapter docs.
223 * gst/elements/gstfilesink.c (gst_file_sink_start)
224 (gst_file_sink_stop): New functions, replace the state change
226 (gst_file_sink_class_init): Hook up the start and stop functions.
227 (gst_file_sink_base_init): Don't set the state change handler any
228 more. It was a bit ugly too, being set from here...
229 (gst_file_sink_get_property, gst_file_sink_set_property):
231 (gst_file_sink_set_location): More robust check that doesn't call
234 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
236 * gst/base/gstbasetransform.c: (gst_base_transform_event):
237 Hold STREAM_LOCK while pushing newsegment or tag events as well.
239 2005-11-08 Wim Taymans <wim@fluendo.com>
241 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
242 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
243 (gst_base_sink_chain), (gst_base_sink_change_state):
244 * gst/base/gstbasesink.h:
245 * gst/base/gstbasesrc.h:
248 Avoid excessive typechecking in macros.
250 * gst/gstminiobject.c: (gst_mini_object_get_type),
251 (gst_mini_object_init), (gst_mini_object_new),
252 (gst_mini_object_free):
253 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
254 (gst_object_finalize):
255 Remove cruft code, optimize alloc_trace.
257 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
259 * docs/faq/gst-uninstalled:
260 fix up PS1 for systems that try to reset it
262 2005-11-07 Wim Taymans <wim@fluendo.com>
264 * gst/base/gstbasesrc.c: (gst_base_src_init),
265 (gst_base_src_get_range):
266 Set the segment_end to -1 initially. Fixed typefind.
268 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
270 * gst/base/gstadapter.c:
271 Debug category should be 'adapter', not 'GstAdapter'.
273 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
274 (gst_collectpads_class_init), (gst_collectpads_init),
275 (gst_collectpads_peek), (gst_collectpads_pop),
276 (gst_collectpads_event), (gst_collectpads_chain):
277 Add debug category and some debugging output. Use boilerplate
278 macros. Remove some extraneous words from docs.
280 2005-11-05 Andy Wingo <wingo@pobox.com>
282 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
285 2005-11-04 Stefan Kost <ensonic@users.sf.net>
287 * docs/gst/gstreamer-sections.txt:
290 * gst/gstminiobject.h:
295 2005-11-04 Wim Taymans <wim@fluendo.com>
297 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
298 Small update to stop at the configured segment_end
301 2005-11-04 Stefan Kost <ensonic@users.sf.net>
307 2005-11-04 Edward Hervey <edward@fluendo.com>
309 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
310 Check if we are doing a segment seek and have arrived at the
313 2005-11-04 Wim Taymans <wim@fluendo.com>
315 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
316 Don't leak a mutex unlock in case of an error.
321 2005-11-04 Wim Taymans <wim@fluendo.com>
323 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
325 Get the context to wake up only once.
327 2005-11-03 Wim Taymans <wim@fluendo.com>
329 * check/states/sinks.c: (GST_START_TEST):
330 Uncomment fixed check.
332 * docs/design/part-TODO.txt:
335 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
336 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
337 (gst_base_sink_get_position):
338 If we are going to PLAYING, post the right pending state
339 when we post the intermediate paused message.
341 * gst/gstelement.c: (gst_element_continue_state),
342 (gst_element_set_state_func), (gst_element_change_state):
343 Don't post state changes that were between the same state
346 2005-11-03 Stefan Kost <ensonic@users.sf.net>
348 * docs/gst/gstreamer-sections.txt:
351 * gst/gstminiobject.h:
354 more docs and doc style fixes
356 2005-11-03 Stefan Kost <ensonic@users.sf.net>
358 * docs/gst/gstreamer-sections.txt:
360 * gst/gstminiobject.c:
363 2005-11-03 Andy Wingo <wingo@pobox.com>
365 * check/states/sinks.c (test_livesrc_sink): Add checks that the
366 state-changed messages actually have the right order and the right
369 2005-11-03 Wim Taymans <wim@fluendo.com>
371 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
372 Added some more checks. Specifically the case where NO_PREROLL
373 elements are in the pipeline.
375 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
376 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
377 (gst_base_sink_get_position):
378 Post READY->PAUSED state change messages too.
379 Fix bug where VOID was posted as pending state...
381 * gst/gstbin.c: (gst_bin_recalc_state):
382 use _element_continue_state() to continue the state change.
384 * gst/gstelement.c: (gst_element_continue_state),
385 (gst_element_commit_state), (gst_element_set_state_func),
386 (gst_element_change_state), (gst_element_change_state_func):
387 Lots of state change cleanups, assign the STATE_RETURN in
388 a new continue_state() function that also propagates the
389 last return value from a state change to the app.
390 Update some debug statements with proper category.
392 2005-11-03 Wim Taymans <wim@fluendo.com>
394 * docs/design/part-events.txt:
395 * docs/design/part-gstpipeline.txt:
396 * docs/design/part-messages.txt:
397 * docs/design/part-overview.txt:
398 * docs/design/part-seeking.txt:
399 * docs/design/part-states.txt:
400 * docs/design/part-trickmodes.txt:
401 * docs/manual/advanced-position.xml:
405 People think !! is ugly, this looks better.
407 * gst/gstpad.c: (gst_pad_set_blocked_async):
408 Remove !! since it's fixed elsewhere now.
410 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
412 * gst/gstminiobject.h:
414 Add !! to _FLAG_IS_SET macros to make the result boolean.
416 2005-11-03 Edward Hervey <edward@fluendo.com>
418 * gst/gstpad.c: (gst_pad_set_blocked_async):
419 comparing a flag and a gboolean rarely returns coherent results...
420 Added two characters (!!) to make that work correctly.
422 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
424 * gst/gstbus.c: (gst_bus_class_init):
427 * gst/gstqueue.c: (gst_queue_loop):
428 Don't assume a miniobject that isn't a buffer is an
429 event (it could be that there is a refcounting
430 problem somewhere and the pointer is stale and
431 refers to an already destroyed miniobject).
433 2005-11-03 Julien MOUTTE <julien@moutte.net>
435 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
437 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
439 * docs/manual/advanced-position.xml:
440 Update seek example and explanations to current 0.9 API.
442 * gst/elements/gsttypefindelement.c:
443 (gst_type_find_element_activate):
444 Remove FIXME comment now that the found caps
447 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
449 * gst/gstregistryxml.c: (load_feature):
450 Add another GST_STR_NULL instance
452 2005-11-02 Edward Hervey <edward@fluendo.com>
454 * gst/gstpad.c: (handle_pad_block):
455 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
457 2005-11-02 Wim Taymans <wim@fluendo.com>
462 * gst/gstelement.c: (gst_element_commit_state):
466 Mention that the returned element is reffed in the docs.
468 2005-11-02 Wim Taymans <wim@fluendo.com>
470 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
471 (gst_pad_push), (gst_pad_push_event):
472 Unlock blocked pads when they are flushed.
474 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
477 * docs/gst/gstreamer-sections.txt:
480 * gst/gstregistry.c: (gst_registry_scan_path_level):
481 fix for a nasty little missed situation where an installed plug-in
482 which was in the cache did not get overridden by an uninstalled one
483 which was earlier in the plugin path because the newly created plugin
484 for the uninstalled one (not in the registry) didn't get its
485 ->registered set to TRUE
487 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
489 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
490 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
491 (gst_collectpads_is_active), (gst_collectpads_collect),
492 (gst_collectpads_collect_range), (gst_collectpads_start),
493 (gst_collectpads_stop), (gst_collectpads_peek),
494 (gst_collectpads_pop), (gst_collectpads_available),
495 (gst_collectpads_read), (gst_collectpads_flush):
496 Guard public API with assertions.
499 Fix docs for gst_pad_set_link_function().
501 2005-11-02 Johan Dahlin <johan@gnome.org>
503 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
504 Unref found_caps after we used it.
506 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
508 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
509 Don't try to ref NULL.
511 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
513 * win32/common/config.h.in:
514 provide a GST_FUNCTION that just gives a string for now
516 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
518 * win32/common/gstenumtypes.c: (register_gst_object_flags),
519 (gst_object_flags_get_type), (register_gst_bin_flags),
520 (gst_bin_flags_get_type), (register_gst_buffer_flag),
521 (gst_buffer_flag_get_type), (register_gst_bus_flags),
522 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
523 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
524 (gst_clock_return_get_type), (register_gst_clock_entry_type),
525 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
526 (gst_clock_flags_get_type), (register_gst_state),
527 (gst_state_get_type), (register_gst_state_change_return),
528 (gst_state_change_return_get_type), (register_gst_state_change),
529 (gst_state_change_get_type), (register_gst_element_flags),
530 (gst_element_flags_get_type), (register_gst_core_error),
531 (gst_core_error_get_type), (register_gst_library_error),
532 (gst_library_error_get_type), (register_gst_resource_error),
533 (gst_resource_error_get_type), (register_gst_stream_error),
534 (gst_stream_error_get_type), (register_gst_event_type),
535 (gst_event_type_get_type), (register_gst_seek_type),
536 (gst_seek_type_get_type), (register_gst_seek_flags),
537 (gst_seek_flags_get_type), (register_gst_format),
538 (gst_format_get_type), (register_gst_index_certainty),
539 (gst_index_certainty_get_type), (register_gst_index_entry_type),
540 (gst_index_entry_type_get_type),
541 (register_gst_index_lookup_method),
542 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
543 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
544 (gst_index_resolver_method_get_type), (register_gst_index_flags),
545 (gst_index_flags_get_type), (register_gst_debug_level),
546 (gst_debug_level_get_type), (register_gst_debug_color_flags),
547 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
548 (gst_iterator_result_get_type), (register_gst_iterator_item),
549 (gst_iterator_item_get_type), (register_gst_message_type),
550 (gst_message_type_get_type), (register_gst_mini_object_flags),
551 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
552 (gst_pad_link_return_get_type), (register_gst_flow_return),
553 (gst_flow_return_get_type), (register_gst_activate_mode),
554 (gst_activate_mode_get_type), (register_gst_pad_direction),
555 (gst_pad_direction_get_type), (register_gst_pad_flags),
556 (gst_pad_flags_get_type), (register_gst_pad_presence),
557 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
558 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
559 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
560 (gst_plugin_error_get_type), (register_gst_plugin_flags),
561 (gst_plugin_flags_get_type), (register_gst_rank),
562 (gst_rank_get_type), (register_gst_query_type),
563 (gst_query_type_get_type), (register_gst_tag_merge_mode),
564 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
565 (gst_tag_flag_get_type), (register_gst_task_state),
566 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
567 (gst_alloc_trace_flags_get_type),
568 (register_gst_type_find_probability),
569 (gst_type_find_probability_get_type), (register_gst_uri_type),
570 (gst_uri_type_get_type), (register_gst_parse_error),
571 (gst_parse_error_get_type):
572 * win32/common/gstversion.h:
575 2005-11-01 Luca Ognibene <luogni@tin.it>
578 fix docs. popt is dead, long live GOption.
580 2005-10-31 Wim Taymans <wim@fluendo.com>
585 2005-10-31 Andy Wingo <wingo@pobox.com>
589 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
591 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
592 need to serialize property notifications on GLib 2.8. GLib 2.6 has
593 the possibility of deadlocks here if code calling notify() or
594 set() has a lock that can be taken in another notify handler (ABBA
595 with class lock and e.g. python GIL state lock).
597 2005-10-28 Julien MOUTTE <julien@moutte.net>
599 * gst/gstbus.c: Doc updates.
601 2005-10-28 Wim Taymans <wim@fluendo.com>
603 * docs/design/part-TODO.txt:
605 * gst/gstsystemclock.c:
606 * gst/gstsystemclock.h:
609 2005-10-28 Edward Hervey <edward@fluendo.com>
611 * docs/gst/gstreamer-docs.sgml:
612 * docs/gst/gstreamer-sections.txt:
613 the GstURIType documentation page is private, it only defines GstURIType
614 which should be defined in the GstURIHandler page
616 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
618 * gst/gstbin.c: (gst_bin_class_init):
621 Documentation updates.
623 2005-10-28 Wim Taymans <wim@fluendo.com>
625 * docs/gst/gstreamer-sections.txt:
628 Documented the clocks.
630 2005-10-28 Stefan Kost <ensonic@users.sf.net>
632 * docs/gst/gstreamer-sections.txt:
633 move some macros to private sections
634 * gst/gstminiobject.c:
635 * gst/gstminiobject.h:
636 add descriptions provided by ds and some more
638 mark macro as to be removed
640 2005-10-28 Wim Taymans <wim@fluendo.com>
642 * docs/design/part-TODO.txt:
645 * gst/gstiterator.c: (gst_iterator_fold),
646 (gst_iterator_find_custom):
650 2005-10-28 Wim Taymans <wim@fluendo.com>
652 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
653 (gst_base_transform_init):
656 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
657 An EOS event marks the queue as completely filled.
659 2005-10-27 Wim Taymans <wim@fluendo.com>
661 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
662 (gst_base_sink_do_sync), (gst_base_sink_get_position):
665 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
666 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
667 (gst_base_transform_event), (gst_base_transform_getrange),
668 (gst_base_transform_chain):
669 * gst/base/gstbasetransform.h:
671 Protect transform and concurrent buffer alloc with a new lock.
672 Try not to break ABI/API.
674 2005-10-27 Wim Taymans <wim@fluendo.com>
676 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
677 (gst_base_src_init), (gst_base_src_query),
678 (gst_base_src_default_newsegment),
679 (gst_base_src_configure_segment), (gst_base_src_do_seek),
680 (gst_base_src_send_event), (gst_base_src_event_handler),
681 (gst_base_src_pad_get_range), (gst_base_src_loop),
682 (gst_base_src_unlock), (gst_base_src_default_negotiate),
683 (gst_base_src_start), (gst_base_src_deactivate),
684 (gst_base_src_activate_push), (gst_base_src_change_state):
685 Move some stuff around and cleanup things.
687 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
689 * gst/base/gstbasesrc.c: (gst_base_src_query):
690 Add missing break statements.
692 2005-10-27 Wim Taymans <wim@fluendo.com>
694 * check/gst/gstbin.c: (GST_START_TEST):
695 An extra refcount is taken in basesrc.
697 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
698 (gst_base_src_get_range), (gst_base_src_pad_get_range),
700 Small cleanups, check for flushing after being unlocked from the
701 LIVE_LOCK. take refcounts correctly (not yet everywhere).
702 Don't send out EOS when going to READY.
704 2005-10-27 Wim Taymans <wim@fluendo.com>
706 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
707 (gst_base_sink_get_position):
710 * gst/gstbin.c: (message_check), (bin_replace_message),
711 (bin_remove_messages), (is_eos), (gst_bin_add_func),
712 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
713 (bin_query_duration_init), (bin_query_duration_fold),
714 (bin_query_duration_done), (bin_query_generic_fold),
716 * tools/gst-launch.c: (main):
719 2005-10-26 Stefan Kost <ensonic@users.sf.net>
721 * examples/controller/audio-example.c: (main):
722 * examples/queue/queue.c: (event_loop):
723 * gst/base/gstbasetransform.h:
724 * gst/gstelement.c: (gst_element_send_event):
726 * gst/gstpad.c: (gst_pad_send_event):
729 changing log priority in error situations
731 2005-10-25 Wim Taymans <wim@fluendo.com>
733 * gst/gstbin.c: (message_check), (bin_replace_message),
734 (bin_remove_messages), (is_eos), (gst_bin_add_func),
735 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
736 (bin_query_duration_init), (bin_query_duration_fold),
737 (bin_query_duration_done), (bin_query_generic_fold),
739 Some doc and debug updates.
740 Cache previously requested query DURATION for speed. invalidate
741 cached duration if element posts a DURATION message.
743 2005-10-25 Wim Taymans <wim@fluendo.com>
745 * docs/design/part-TODO.txt:
748 * gst/gstbin.c: (message_check), (bin_replace_message),
749 (bin_remove_messages), (is_eos), (gst_bin_add_func),
750 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
751 (bin_query_duration_init), (bin_query_duration_fold),
752 (bin_query_duration_done), (bin_query_generic_fold),
754 Handle SEGMENT_START/DONE messages correctly.
755 More evolved query algorithm that handles duration queries
758 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
759 (gst_element_get_state_func), (gst_element_abort_state),
760 (gst_element_commit_state), (gst_element_lost_state):
766 2005-10-25 Wim Taymans <wim@fluendo.com>
768 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
769 Don't use invalid stream_time.
771 * gst/gstevent.c: (gst_event_new_newsegment):
772 stream_time in newsegment cannot be undefined.
774 2005-10-24 Wim Taymans <wim@fluendo.com>
779 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
781 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
783 2005-10-24 Stefan Kost <ensonic@users.sf.net>
785 * docs/libs/tmpl/gstdparam.sgml:
786 * docs/libs/tmpl/gstdplinint.sgml:
787 * docs/libs/tmpl/gstdpman.sgml:
788 * docs/libs/tmpl/gstdpsmooth.sgml:
789 * docs/libs/tmpl/gstunitconvert.sgml:
792 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
797 === release 0.9.4 ===
799 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
802 releasing 0.9.4, "Tyrannosaurus Rex"
804 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
806 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
807 (gst_file_sink_get_current_offset):
808 Use fseeko() and ftello() if available. When falling back on
809 lseek() to get the current offset, fflush() first to make sure
810 everything is up-to-date and we get the right offset.
812 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
815 * gst/base/gstbasesrc.c: (gst_base_src_loop):
816 * gst/gsterror.c: (_gst_stream_errors_init):
818 * gst/gstqueue.c: (gst_queue_loop):
820 remove prematurely added error category and clean up the instances
822 2005-10-21 Wim Taymans <wim@fluendo.com>
824 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
825 (gst_base_sink_get_position), (gst_base_sink_query),
826 (gst_base_sink_change_state):
827 Simply set the right flag when going to playing, that's all
828 we need to do instead of calling a function inside the object
829 lock (that could take the lock as well and deadlock)
831 2005-10-21 Wim Taymans <wim@fluendo.com>
833 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
835 Don't warn, the peer element knows what to do best when
836 the seek failed, it might try something else.
838 2005-10-21 Wim Taymans <wim@fluendo.com>
840 * gst/base/gstbasesrc.c: (gst_base_src_init),
841 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
844 2005-10-21 Wim Taymans <wim@fluendo.com>
846 * docs/design/part-segments.txt:
849 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
850 Correctly set caps, even on the subbufer.
852 2005-10-21 Wim Taymans <wim@fluendo.com>
854 * docs/gst/gstreamer-docs.sgml:
855 * docs/gst/gstreamer-sections.txt:
862 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
866 And 2% more doc coverage.
868 2005-10-21 Andy Wingo <wingo@pobox.com>
870 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
873 2005-10-20 Wim Taymans <wim@fluendo.com>
875 * gst/gsterror.c: (gst_error_get_message):
878 * gst/gststructure.c:
883 2005-10-20 Wim Taymans <wim@fluendo.com>
888 Another 1% more coverage.
890 2005-10-20 Wim Taymans <wim@fluendo.com>
892 * docs/gst/gstreamer-sections.txt:
893 * gst/gstelement.c: (gst_element_get_state_func),
894 (gst_element_abort_state), (gst_element_commit_state),
895 (gst_element_lost_state):
897 * gst/gstquery.c: (gst_query_set_position),
898 (gst_query_parse_position), (gst_query_set_duration),
899 (gst_query_parse_duration), (gst_query_new_convert):
901 Yay! 1% more docs coverage.
903 2005-10-20 Wim Taymans <wim@fluendo.com>
906 * gst/gstquery.c: (gst_query_set_position),
907 (gst_query_parse_position), (gst_query_set_duration),
908 (gst_query_parse_duration), (gst_query_new_convert):
910 * gst/gstutils.c: (gst_element_query_convert):
912 Docs and consistency fixes.
914 2005-10-20 Wim Taymans <wim@fluendo.com>
920 2005-10-20 Wim Taymans <wim@fluendo.com>
922 * gst/gstbin.c: (message_check), (bin_replace_message),
923 (bin_remove_messages), (is_eos), (gst_bin_add_func),
924 (update_degree), (gst_bin_sort_iterator_next),
925 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
926 Reworked the message handling a bit, cache the messages instead of
927 only the senders. alows us to do more in the future.
929 2005-10-20 Wim Taymans <wim@fluendo.com>
931 * docs/design/part-TODO.txt:
934 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
935 (gst_base_sink_query):
936 Don't use clock time to report position when in EOS.
938 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
940 * tools/gst-inspect.c: (print_interfaces),
941 (print_element_properties_info), (print_element_info):
942 Fix interface output with gst-inspect -a; don't print
943 newlines after double/float properties.
945 2005-10-20 Wim Taymans <wim@fluendo.com>
947 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
948 (gst_base_sink_query):
949 Speed up current position calculation.
951 * gst/base/gstbasesrc.c: (gst_base_src_query),
952 (gst_base_src_default_newsegment):
953 Correctly set stream position in newsegment.
955 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
956 (update_degree), (gst_bin_sort_iterator_next),
957 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
958 * gst/gstmessage.c: (gst_message_new_custom):
959 Clean up debugging info
961 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
962 (gst_queue_loop), (gst_queue_handle_src_query):
965 2005-10-19 Wim Taymans <wim@fluendo.com>
967 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
968 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
969 Fix query handling again.
971 2005-10-19 Wim Taymans <wim@fluendo.com>
973 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
974 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
975 * gst/base/gstbasesrc.c: (gst_base_src_query):
976 * gst/elements/gstfilesink.c: (gst_file_sink_query):
977 * gst/elements/gsttypefindelement.c:
978 (gst_type_find_handle_src_query), (find_element_get_length),
979 (gst_type_find_element_activate):
982 * gst/gstquery.c: (gst_query_new_position),
983 (gst_query_set_position), (gst_query_parse_position),
984 (gst_query_new_duration), (gst_query_set_duration),
985 (gst_query_parse_duration), (gst_query_set_segment),
986 (gst_query_parse_segment):
988 Bundling query position/duration is not a good idea since duration
989 does not change much and we don't want to recalculate it for every
990 position query, so they are separated again..
991 Base value in segment query is not needed.
993 * gst/gstqueue.c: (gst_queue_handle_src_query):
994 * gst/gstutils.c: (gst_element_query_position),
995 (gst_element_query_duration), (gst_pad_query_position),
996 (gst_pad_query_duration):
998 Updates for query API change.
999 Added some docs here and there.
1001 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1003 * check/gst/gstbin.c: (GST_START_TEST):
1004 * check/gst/gstghostpad.c: (GST_START_TEST):
1005 * check/pipelines/cleanup.c: (GST_START_TEST):
1006 wait on thread to die so we can check refcount correctly
1008 2005-10-18 Wim Taymans <wim@fluendo.com>
1010 * check/pipelines/stress.c: (GST_START_TEST):
1011 Make check a little more time consuming.
1013 2005-10-18 Wim Taymans <wim@fluendo.com>
1015 * check/Makefile.am:
1016 * check/pipelines/stress.c: (GST_START_TEST),
1017 (simple_launch_lines_suite), (main):
1018 Small state change torture test.
1020 * docs/design/part-states.txt:
1021 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1022 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1023 (gst_base_sink_change_state):
1024 Never take state lock from streaming thread, clean up ugly
1025 hacks. Unfortunatly core does not yet support nice ways to
1028 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1030 Start state recalc if a STATE_DIRTY message is posted, but only
1031 on the toplevel bin.
1033 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1034 (gst_element_get_state_func), (gst_element_abort_state),
1035 (gst_element_commit_state), (gst_element_lost_state),
1036 (gst_element_set_state_func), (gst_element_change_state):
1038 State variables are now protected with the LOCK, the state
1039 lock is only used to serialize _set_state().
1041 2005-10-18 Wim Taymans <wim@fluendo.com>
1043 * check/gst/gstbin.c: (GST_START_TEST):
1044 * check/gst/gstmessage.c: (GST_START_TEST):
1045 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1046 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1048 * gst/gstelement.c: (gst_element_abort_state),
1049 (gst_element_commit_state), (gst_element_lost_state):
1050 * gst/gstmessage.c: (gst_message_new_state_changed),
1051 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1052 (gst_message_new_segment_done), (gst_message_new_duration),
1053 (gst_message_parse_state_changed),
1054 (gst_message_parse_segment_start),
1055 (gst_message_parse_segment_done), (gst_message_parse_duration):
1057 * tools/gst-launch.c: (event_loop):
1058 Seriously, this is better than a previous commit as we only need
1059 to notify the fact that an element changed state in a streaming
1060 thread, marking the state of the parents dirty, hence the
1061 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1064 2005-10-18 Wim Taymans <wim@fluendo.com>
1066 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1067 (gst_bin_recalc_func):
1068 * gst/gstelement.c: (gst_element_set_clock),
1069 (gst_element_abort_state), (gst_element_lost_state):
1070 Cleanups, prepare for state change fixes.
1072 2005-10-18 Wim Taymans <wim@fluendo.com>
1075 * gst/gstelement.c: (gst_element_class_init),
1076 (gst_element_set_state), (gst_element_set_state_func):
1078 Pending ABI changes.
1079 GThreadPool in GstBinClass to monitor async state changes.
1080 state_cookie in GstElement to detect concurrent gst/set state.
1081 set_state is now virtual too in case a very complicated element
1082 has to be constructed.
1084 2005-10-18 Wim Taymans <wim@fluendo.com>
1086 * check/gst/gstbin.c: (GST_START_TEST):
1087 * check/gst/gstmessage.c: (GST_START_TEST):
1088 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1089 * gst/gstbin.c: (bin_bus_handler):
1090 * gst/gstelement.c: (gst_element_commit_state),
1091 (gst_element_lost_state):
1092 * gst/gstmessage.c: (gst_message_new_state_changed),
1093 (gst_message_new_segment_start), (gst_message_new_segment_done),
1094 (gst_message_new_duration), (gst_message_parse_state_changed),
1095 (gst_message_parse_segment_start),
1096 (gst_message_parse_segment_done), (gst_message_parse_duration):
1098 * tools/gst-launch.c: (event_loop):
1099 Make messages future proof.
1100 state-change gets a flag if it was a message comming from the
1102 segment-start/stop can also be specified in other formats.
1103 A message to notify an app that a pipeline changed playback
1105 Also fix a GstMessage leak in -launch
1107 2005-10-18 Andy Wingo <wingo@pobox.com>
1109 * gst/gstelement.c (gst_element_dispose): More helpful message.
1111 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1113 * gst/gstregistry.c: (gst_registry_scan_path_level):
1114 unref a plug-in we get that was already initialized
1116 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1118 * docs/gst/gstreamer-sections.txt:
1119 * docs/libs/gstreamer-libs-sections.txt:
1124 2005-10-17 Andy Wingo <wingo@pobox.com>
1126 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1129 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1131 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1133 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1134 (gst_element_get_state_func): Better debug message.
1135 (gst_element_commit_state): s/INFO/DEBUG/.
1136 (gst_element_lost_state, gst_element_change_state):
1138 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1139 (gst_message_new_custom): s/INFO/LOG/.
1141 2005-10-17 Michael Smith <msmith@fluendo.com>
1143 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1144 Check if end time is valid using end time, not start time.
1146 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1148 * check/gst-libs/controller.c: (GST_START_TEST),
1149 (gst_controller_suite):
1150 * libs/gst/controller/gstcontroller.c:
1151 (gst_controlled_property_set_interpolation_mode):
1152 * libs/gst/controller/gstcontroller.h:
1153 * libs/gst/controller/gstinterpolation.c:
1154 * testsuite/controller/.cvsignore:
1155 * testsuite/controller/Makefile.am:
1156 * testsuite/controller/interpolator.c:
1157 merge controller testsuites
1159 remove mem-chunk from docs
1161 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1163 * gst/gstmemchunk.c:
1164 * gst/gstmemchunk.h:
1165 * gst/gsttrashstack.c:
1166 * gst/gsttrashstack.h:
1167 out. get out. you're fired. to the Attic !
1169 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1171 * gst/gstcaps.c: (gst_caps_intersect):
1172 fix signedness issues in a (hopefully) correct way
1173 * gst/gstelement.c: (gst_element_pads_activate):
1175 * gst/gstobject.c: (gst_object_set_parent):
1178 2005-10-17 Julien MOUTTE <julien@moutte.net>
1180 * gst/gstvalue.h: Fix prototypes.
1182 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1184 * docs/gst/gstreamer-sections.txt:
1185 * gst/gst.c: (gst_version_string):
1187 * gst/gstversion.h.in:
1188 * win32/common/libgstreamer.def:
1189 add gst_version_string ()
1191 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1195 * gst/gst.c: (init_post):
1196 * win32/common/config.h.in:
1198 * gst/gstcaps.c: (gst_caps_intersect):
1199 use gint64, the range could be bigger than a guint
1201 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1204 document potential problem in 2038
1206 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1208 * gst/gstcaps.c: (gst_caps_intersect):
1209 Fix guint j diving under 0
1211 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1214 * win32/common/config.h:
1215 * win32/common/config.h.in:
1216 check for process.h, declares getpid() on Windows
1218 include process.h if we have it
1219 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1220 * gst/gstmemchunk.h:
1221 fix signedness issues
1222 * win32/common/libgstreamer.def:
1225 2005-10-16 Julien MOUTTE <julien@moutte.net>
1227 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1228 fix. Because of unsigned ints, caps intersection was going nuts and
1229 trying to access structures with G_MAXUINT index. That fixes
1230 videotestsrc ! ffmpegcolorspace ! fakesink
1231 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1234 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1237 use the gettext macro
1238 * gst/elements/gstelements.c:
1240 * gst/indexers/gstindexers.c:
1241 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1242 * win32/common/config.h:
1244 * win32/common/config.h.in:
1245 add the template to generate config.h
1246 * win32/common/gstenumtypes.c:
1247 * win32/common/gstversion.h:
1250 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1252 * gst/gst.c: (gst_version):
1253 * gst/gstversion.h.in:
1256 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1259 Oops, add missing closing bracket.
1261 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1264 use common m4's for argument checking
1266 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1268 * docs/gst/gstreamer-sections.txt:
1270 Add GST_EVENT_TYPE_NAME() macro.
1272 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1275 * gst/gstpluginfeature.c:
1277 privatize more symbols
1279 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1282 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1283 everything that uses GStreamer API should have the includes
1285 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1287 * docs/gst/gstreamer-sections.txt:
1288 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1290 give each value a _get_type, removes the DATA exports
1292 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1296 remove _gst_registry_auto_load, not used anymore
1297 * gst/gstbin.c: (gst_bin_get_type):
1299 * gst/gstelement.c: (gst_element_get_type):
1301 * gst/gstobject.c: (gst_object_get_type):
1303 * gst/gstpad.c: (gst_pad_get_type):
1305 make _get_type functions similar, fixes data export from library
1307 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1310 correctly make conditionals
1311 * gst/elements/Makefile.am:
1312 * gst/elements/gstelements.c:
1313 fix typo causing fdsrc not to build
1315 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1317 * testsuite/Makefile.am:
1318 * testsuite/bytestream/.cvsignore:
1319 * testsuite/bytestream/Makefile.am:
1320 * testsuite/bytestream/filepadsink.c:
1321 * testsuite/bytestream/gstbstest.c:
1322 * testsuite/bytestream/test1.c:
1323 * testsuite/bytestream/testfile1:
1324 * testsuite/caps/normalisation.c:
1325 * testsuite/caps/random.c: (main):
1326 * testsuite/cleanup/.cvsignore:
1327 * testsuite/cleanup/Makefile.am:
1328 * testsuite/cleanup/cleanup1.c:
1329 * testsuite/cleanup/cleanup2.c:
1330 * testsuite/cleanup/cleanup3.c:
1331 * testsuite/cleanup/cleanup4.c:
1332 * testsuite/cleanup/cleanup5.c:
1333 * testsuite/controller/interpolator.c:
1334 * testsuite/debug/printf_extension.c: (main):
1335 * testsuite/elements/tee.c:
1336 * testsuite/negotiation/.cvsignore:
1337 * testsuite/negotiation/Makefile.am:
1338 * testsuite/negotiation/pad_link.c:
1339 * testsuite/pad/Makefile.am:
1340 * testsuite/pad/chainnopull.c:
1341 * testsuite/pad/getnopush.c:
1342 * testsuite/pad/link.c:
1343 * testsuite/refcounting/sched.c: (create_pipeline):
1344 * testsuite/registry/Makefile.am:
1345 * testsuite/registry/gst-print-formats.c:
1346 * testsuite/schedulers/.cvsignore:
1347 * testsuite/schedulers/142183-2.c:
1348 * testsuite/schedulers/142183.c:
1349 * testsuite/schedulers/143777-2.c:
1350 * testsuite/schedulers/143777.c:
1351 * testsuite/schedulers/147713.c:
1352 * testsuite/schedulers/147819.c:
1353 * testsuite/schedulers/147894-2.c:
1354 * testsuite/schedulers/147894.c:
1355 * testsuite/schedulers/Makefile.am:
1356 * testsuite/schedulers/group_link.c:
1357 * testsuite/schedulers/queue_link.c:
1358 * testsuite/schedulers/relink.c:
1359 * testsuite/schedulers/unlink.c:
1360 * testsuite/schedulers/unref.c:
1361 * testsuite/schedulers/useless_iteration.c:
1362 * testsuite/states/bin.c:
1363 clean out/remove some stuff from the testsuite directories
1365 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1368 check for some headers
1369 * gst/elements/Makefile.am:
1370 * gst/elements/gstelements.c:
1371 don't compile fdsrc without sys/socket.h
1372 * gst/indexers/Makefile.am:
1373 * gst/indexers/gstindexers.c: (plugin_init):
1374 don't compile fileindex without mmap
1376 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1383 * check/Makefile.am:
1384 * docs/gst/Makefile.am:
1385 * examples/helloworld/Makefile.am:
1387 * gst/base/Makefile.am:
1388 * gst/check/Makefile.am:
1389 * gst/elements/Makefile.am:
1390 * gst/indexers/Makefile.am:
1391 * gst/parse/Makefile.am:
1392 * libs/gst/controller/Makefile.am:
1393 * libs/gst/dataprotocol/Makefile.am:
1394 * examples/helloworld/helloworld.c: (event_loop):
1395 compile fixes, though it's not being compiled currently
1397 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1399 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1400 Add some simple tests for the new taglist date API.
1402 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1404 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1405 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1406 Beautify 'last-message' output: print 'none' for buffer timestamps
1407 and durations if none is set; improve alignment with next messages.
1409 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1411 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1412 * gst/gstpluginfeature.h:
1413 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1414 * gst/gstregistry.h:
1415 * docs/gst/gstreamer-sections.txt:
1416 Add new API to check plugin feature version requirements.
1418 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1419 Some basic tests for the above.
1421 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1423 * gst/gststructure.c: (gst_structure_to_string):
1424 guard against NULL printf - happens when for example
1425 a message structure with GstClock gets serialized
1427 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1429 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1430 Fix presumable copy'n'pasto.
1432 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1434 * gst/elements/gstfakesrc.h:
1435 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1436 * gst/elements/gsttypefindelement.c:
1438 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1439 I wonder if this could actually write +2GB files before
1441 2005-10-13 Andy Wingo <wingo@pobox.com>
1443 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1444 Fix Timmeke Waymans bug.
1445 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1446 string of the proper length to gst_caps_from_string. There's a
1447 potential for, before this fix, that this could cause someone
1448 connecting over the network to cause a segfault if the payload is
1451 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1453 * docs/design/draft-push-pull.txt:
1454 * docs/design/part-overview.txt:
1455 * docs/random/TODO-pre-0.9:
1456 * docs/random/old/ChangeLog.gstreamer:
1457 * gst/base/gstpushsrc.c:
1461 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1463 * gst/glib-compat.c: (gst_flags_get_first_value):
1464 * gst/glib-compat.h:
1465 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1466 (gst_value_compare_double), (gst_value_serialize_flags):
1467 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1470 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1472 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1473 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1475 * tools/gst-launch.c: (event_loop):
1476 print out clock nicely
1478 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1480 * docs/gst/gstreamer-sections.txt:
1482 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1483 (gst_tag_list_get_date_index):
1484 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1485 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1487 2005-10-13 Julien MOUTTE <julien@moutte.net>
1489 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1490 (gst_collectpads_chain):
1491 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1494 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1496 * docs/gst/gstreamer-sections.txt:
1499 * tools/gst-inspect.c: (main):
1500 * tools/gst-launch.c: (main):
1501 * tools/gst-run.c: (main):
1502 * tools/gst-xmlinspect.c: (main):
1503 fix GOption context leaks
1506 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1510 * win32/common/config.h:
1512 * win32/vs6/grammar.dsp:
1513 * win32/vs6/libgstelements.dsp:
1514 * win32/vs6/libgstreamer.dsp:
1517 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1519 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1520 * gst/base/gstbasesrc.c: (gst_base_src_query):
1521 fix more guint64<->gdouble conversions
1523 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1526 add win32-update target
1527 * win32/common/gstconfig.h:
1528 * win32/common/gstenumtypes.c:
1529 * win32/common/gstenumtypes.h:
1530 * win32/common/gstversion.h:
1531 add files that visual studio can't generate
1533 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1536 add a win32-update target
1539 2005-10-12 Wim Taymans <wim@fluendo.com>
1541 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1542 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1543 * gst/gstelement.c: (gst_element_commit_state),
1544 (gst_element_set_state):
1545 Protect flags with proper lock.
1546 unref provided cached clock in dispose.
1548 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1551 * gst/gstminiobject.h:
1553 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1554 removed unused flags from miniobject
1557 2005-10-12 Wim Taymans <wim@fluendo.com>
1559 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1560 (gst_file_sink_event), (gst_file_sink_render):
1561 Flush before seeking.
1563 2005-10-12 Andy Wingo <wingo@pobox.com>
1565 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1566 always been the case.
1568 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1570 * check/gst/gstbin.c: (GST_START_TEST):
1571 * docs/gst/gstreamer-sections.txt:
1572 * gst/base/gstbasesink.c: (gst_base_sink_init):
1573 * gst/base/gstbasesrc.c: (gst_base_src_init),
1574 (gst_base_src_get_range), (gst_base_src_check_get_range),
1575 (gst_base_src_start), (gst_base_src_stop):
1576 * gst/base/gstbasesrc.h:
1577 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1578 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1579 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1583 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1585 * gst/gstelement.c: (gst_element_is_locked_state),
1586 (gst_element_set_locked_state), (gst_element_commit_state),
1587 (gst_element_set_state):
1589 * gst/gstindex.c: (gst_index_init):
1591 * gst/gstminiobject.h:
1592 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1593 (gst_object_set_parent):
1595 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1596 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1598 * gst/gstpadtemplate.h:
1599 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1600 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1601 * gst/gstpipeline.h:
1602 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1603 (gst_file_index_commit):
1604 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1605 * testsuite/pad/link.c: (gst_test_src_init),
1606 (gst_test_filter_init), (gst_test_sink_init):
1607 * testsuite/states/locked.c: (main):
1608 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1609 moved bitshift from macro to enum definition
1611 2005-10-12 Wim Taymans <wim@fluendo.com>
1613 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1614 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1615 (gst_file_sink_render):
1616 Some more debugging info.
1618 2005-10-12 Wim Taymans <wim@fluendo.com>
1620 * docs/design/part-states.txt:
1621 * tools/gst-launch.c: (main):
1623 Revert non-intentional change.
1625 2005-10-12 Wim Taymans <wim@fluendo.com>
1627 * check/gst/gstbin.c: (GST_START_TEST):
1628 * check/gst/gstelement.c: (GST_START_TEST):
1629 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1630 * check/gst/gstghostpad.c: (GST_START_TEST):
1631 * check/gst/gstpipeline.c: (GST_START_TEST):
1632 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1633 * check/states/sinks.c: (GST_START_TEST):
1634 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1635 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1636 (gst_bin_remove_func), (gst_bin_get_state_func),
1637 (gst_bin_recalc_state), (gst_bin_change_state_func),
1639 * gst/gstelement.c: (gst_element_get_state_func),
1640 (gst_element_get_state), (gst_element_abort_state),
1641 (gst_element_commit_state), (gst_element_set_state),
1642 (gst_element_change_state), (gst_element_change_state_func):
1644 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1645 (gst_pipeline_provide_clock_func):
1646 * gst/gstutils.c: (gst_element_link_pads_filtered):
1647 * tools/gst-launch.c: (main):
1648 * tools/gst-typefind.c: (main):
1649 Use GstClockTime in _get_state() instead of GTimeVal.
1650 Remove old code in gstutils.c
1652 2005-10-12 Andy Wingo <wingo@pobox.com>
1654 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1657 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1658 there is no task. Shouldn't affect any code, as nothing in our
1659 plugins checks this return value.
1660 (gst_pad_stop_task): Also take the stream lock if the pad has no
1663 2005-10-12 Wim Taymans <wim@fluendo.com>
1665 * gst/gstpad.c: (pre_activate), (post_activate),
1666 (gst_pad_activate_pull), (gst_pad_activate_push):
1667 Cleanup activation code. Reset old state if
1670 2005-10-12 Wim Taymans <wim@fluendo.com>
1672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1673 (gst_base_sink_change_state):
1674 No need to prerol after receiving EOS.
1676 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1677 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1678 * gst/elements/gstidentity.c: (gst_identity_event):
1679 Print events more verbosely.
1681 2005-10-12 Wim Taymans <wim@fluendo.com>
1683 * check/Makefile.am:
1684 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1685 * check/states/sinks2.c:
1686 Moved sinks2 testcode in sinks check.
1688 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1689 (gst_bin_remove_func), (gst_bin_recalc_state),
1690 (gst_bin_change_state_func), (bin_bus_handler):
1691 Fix potential race condition when _get_state() iterated over an
1692 ASYNC element right before it posted a state completion.
1695 Do proper cast here.
1697 * gst/gstevent.c: (gst_event_new_newsegment),
1698 (gst_event_parse_newsegment):
1699 A playback rate of 0.0 is not allowed.
1701 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1703 * win32/common/config.h:
1704 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1705 (_trewinddir), (_ttelldir), (_tseekdir):
1706 * win32/common/dirent.h:
1707 * win32/common/gtchar.h:
1708 * win32/common/libgstbase.def:
1709 * win32/common/libgstreamer.def:
1710 * win32/vs6/grammar.dsp:
1711 * win32/vs6/gst_inspect.dsp:
1712 * win32/vs6/gst_launch.dsp:
1713 * win32/vs6/gstreamer.dsw:
1714 * win32/vs6/libgstbase.dsp:
1715 * win32/vs6/libgstelements.dsp:
1716 * win32/vs6/libgstreamer.dsp:
1717 Visual Studio 6 project files, and a new common directory.
1720 2005-10-11 Wim Taymans <wim@fluendo.com>
1722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1723 (gst_base_sink_do_sync), (gst_base_sink_query),
1724 (gst_base_sink_change_state):
1725 * gst/base/gstbasesink.h:
1726 Correctly parse newsegment info.
1728 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1730 * gst/gst.c: (init_post):
1731 split plugin paths correctly
1733 2005-10-11 Wim Taymans <wim@fluendo.com>
1735 * check/gst/gstevent.c: (GST_START_TEST):
1736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1737 (gst_base_sink_change_state):
1738 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1739 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1740 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1741 * gst/gstevent.c: (gst_event_new_newsegment),
1742 (gst_event_parse_newsegment):
1744 Added extra flag to newsegment for future API freeze.
1745 Updated check and base elements.
1747 2005-10-11 Julien MOUTTE <julien@moutte.net>
1749 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1750 (gst_collectpads_add_pad), (gst_collectpads_pop),
1751 (gst_collectpads_event), (gst_collectpads_chain):
1752 * gst/base/gstcollectpads.h: Handle EOS correctly.
1754 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1756 * tools/gst-launch.c: (main):
1757 more null protecting
1759 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1761 * gst/gst-i18n-lib.h:
1762 check for ENABLE_NLS, not GETTEXT_PACKAGE
1763 * gst/gstregistry.c: (gst_registry_add_plugin),
1764 (gst_registry_scan_path_level),
1765 (_gst_registry_remove_cache_plugins):
1766 protect possibly NULL strings
1767 * gst/parse/types.h:
1768 config.h already included before
1769 * tools/gst-inspect.c: (main):
1770 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1771 check for ENABLE_NLS, not GETTEXT_PACKAGE
1772 * tools/gst-launch.c: (main):
1773 check for ENABLE_NLS, not GETTEXT_PACKAGE
1775 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1778 if we don't have glib, fail before testing 2.8
1779 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1780 fix a leak, should fix plugins-base testsuite
1782 2005-10-11 Andy Wingo <wingo@pobox.com>
1784 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1785 take the mode we're going to as an arg. Go head and set the mode
1786 and flushing flags now, so that if the activate function starts a
1787 thread all the flags will be in the right state.
1788 (post_activate): Renamed also. Just handle making sure streaming
1789 finishes for the deactivation case, and setting the deactivated
1791 (gst_pad_set_active): Complain loudly if deactivation fails.
1792 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1793 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1794 remove the terrible hack.
1796 2005-10-11 Wim Taymans <wim@fluendo.com>
1798 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1799 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1800 (gst_bin_recalc_state), (gst_bin_change_state_func),
1801 (gst_bin_dispose), (bin_bus_handler):
1803 Prepare to make current EOS message queue more generic.
1806 * gst/gstevent.c: (gst_event_new_newsegment),
1807 (gst_event_parse_newsegment):
1809 Rename base to stream_time.
1814 2005-10-11 Wim Taymans <wim@fluendo.com>
1816 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1817 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1818 (gst_bin_change_state_func), (bin_bus_handler):
1820 Work on proper clock selection.
1822 2005-10-11 Edward Hervey <edward@fluendo.com>
1824 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1825 * libs/gst/controller/gstcontroller.h:
1826 Added GList* version of _remove_properties() in order to be able to wrap
1829 2005-10-11 Wim Taymans <wim@fluendo.com>
1831 * docs/design/part-states.txt:
1834 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1835 (gst_bin_change_state_func), (bin_bus_handler):
1836 Doc updates. Don't distribute the same clock over and over again.
1842 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1843 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1844 (gst_pad_send_event):
1846 Make probe emission threadsafe again.
1847 Register quarks and move _get_name() from utils.
1850 * gst/gstpipeline.c: (gst_pipeline_class_init),
1851 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1852 Only redistribute the clock of it changed.
1854 * gst/gstsystemclock.h:
1859 Moved the _flow_get_name() to GstPad.
1861 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1863 * check/gst-libs/gdp.c: (GST_START_TEST):
1864 * check/gst/gstcaps.c: (GST_START_TEST):
1865 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1866 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1867 (gst_dp_packet_from_caps):
1868 fix more valgrind warnings before turning up the heat
1870 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1872 * gst/parse/grammar.y:
1873 some cleanup before the hacking
1875 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1877 * gst/base/gstbasesrc.c: (gst_base_src_query):
1879 * gst/gstutils.c: (gst_guint64_to_gdouble),
1880 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1882 externalize, basesrc uses it
1883 obviously the implementation needs testing
1885 2005-10-10 Wim Taymans <wim@fluendo.com>
1887 * tests/sched/Makefile.am:
1888 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1889 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1891 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1893 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1894 apparently converting from guint64 to double is not implemented
1897 2005-10-10 Wim Taymans <wim@fluendo.com>
1899 * check/Makefile.am:
1900 * check/generic/states.c: (GST_START_TEST):
1901 * check/gst/gstbin.c: (GST_START_TEST):
1902 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1903 * check/states/sinks.c: (GST_START_TEST):
1904 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1906 Check fixes, use API as stated in design docs, remove hacks.
1908 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1909 (gst_base_sink_change_state):
1910 Catch stopping our task while we're shutting down.
1912 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1913 (gst_bin_remove_func), (gst_bin_get_state_func),
1914 (gst_bin_recalc_state), (gst_bin_change_state_func),
1917 * gst/gstelement.c: (gst_element_init),
1918 (gst_element_get_state_func), (gst_element_abort_state),
1919 (gst_element_commit_state), (gst_element_lost_state),
1920 (gst_element_set_state), (gst_element_change_state),
1921 (gst_element_change_state_func):
1923 New state change algorithm (see #318116)
1925 * gst/gstpipeline.c: (gst_pipeline_class_init),
1926 (gst_pipeline_init), (gst_pipeline_set_property),
1927 (gst_pipeline_get_property), (do_pipeline_seek),
1928 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1929 * gst/gstpipeline.h:
1930 Remove crude state change hacks.
1935 * tools/gst-launch.c: (main):
1936 Fixes for state change. Needs some more work to fully use the
1939 2005-10-10 Andy Wingo <wingo@pobox.com>
1941 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1943 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1944 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1947 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1949 * gst/gstiterator.c: (gst_iterator_new):
1950 Fix my previous commit: GTypes passed to gst_iterator_new()
1951 can be fundamental types.
1953 2005-10-10 Wim Taymans <wim@fluendo.com>
1955 * gst/gstelement.c: (gst_element_iterate_pad_list),
1956 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1957 (gst_element_iterate_sink_pads):
1958 Use src/sink pads lists for the respective iterators instead
1961 2005-10-10 Andy Wingo <wingo@pobox.com>
1963 Merged in popt removal + GOption addition patch from Ronald, bug
1966 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1967 GstElement macros around, remove popt-related symbols, add goption
1970 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1972 * docs/gst/Makefile.am:
1973 * docs/libs/Makefile.am: No POPT_CFLAGS.
1975 * examples/manual/Makefile.am:
1976 * docs/manual/basics-init.xml: Doc updates with an example.
1978 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1979 (gst_init), (parse_one_option), (parse_goption_arg):
1980 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1981 bit of hand merging and debugging to get the GOption stuff working
1984 * tests/Makefile.am:
1985 * tools/Makefile.am:
1986 * tools/gst-inspect.c: (main):
1987 * tools/gst-launch.c: (main):
1988 * tools/gst-run.c: (main):
1989 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1991 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1993 * gst/gstiterator.c: (gst_iterator_new):
1994 Add assertions to make sure passed GType is likely to really
1995 be a GType (as the compiler won't catch it if the size and
1996 GType arguments get mixed up, see #318447).
1998 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2000 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2002 * gst/gstbin.c: (gst_bin_iterate_sorted):
2003 Pass GType and size arguments to gst_iterator_new() in the right
2004 order (maybe we should make _new() take the GType as first argument
2005 just like _new_list()?) (#318447).
2008 2005-10-10 Wim Taymans <wim@fluendo.com>
2010 * gst/gstelement.c: (gst_element_finalize):
2011 And free the GStaticRecMutex too
2013 2005-10-10 Andy Wingo <wingo@pobox.com>
2015 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2016 Allocate and free the mutex properly.
2018 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2020 (GstElement): The state_lock is now recursive. Rebuild your
2021 plugins, suckers. Old macros adapted.
2023 * docs/gst/gstreamer-sections.txt: Doc updates.
2026 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2027 (g_static_rec_cond_wait): Ported from state changes patch, while
2028 we wait on bug #317802 to be solved in a well-distributed GLib.
2030 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2031 gst_element_change_state, variable name changes.
2032 (gst_element_change_state): Split out of gst_element_set_state in
2033 preparation for the state change merge. Doesn't pay attention to
2034 the 'transition' argument.
2035 (gst_element_set_state): Updates, hopefully purely cosmetic.
2036 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2038 (gst_element_get_state_func): Renamed from get_state, cosmetic
2041 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2043 * gst/elements/gstelements.c:
2044 * win32/GStreamer.vcproj:
2046 * win32/dirent.c: (_tseekdir):
2047 * win32/gst-inspect.vcproj:
2048 * win32/gst-launch.vcproj:
2049 * win32/gstconfig.h:
2050 * win32/gstelements.vcproj:
2051 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2052 * win32/gstreamer.def:
2054 updates for the win32 build (patch from Sebastien Moutte)
2056 2005-10-10 Andy Wingo <wingo@pobox.com>
2058 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2059 gst_bin_get_state, cleaned up (but no logic changes).
2060 (bin_element_is_sink): Comment updates.
2061 (sink_iterator_filter): Remove needless cast.
2062 (gst_bin_iterate_sinks): Doc update.
2063 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2064 cleaned up (but no logic changes).
2066 * check/states/sinks.c (test_src_sink): Cleanups from the state
2068 (test_livesrc_sink): Sync on the state.
2070 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2071 the state change patch.
2073 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2076 * check/gst/gstbin.c: Merge in some style fixes and additional
2077 checks from Wim's state change patch.
2079 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2081 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2082 (gst_type_find_helper):
2083 Check whether we have the requested data already in our list of
2084 cached buffers before pulling a new buffer; also make the buffer
2085 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2087 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2092 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2093 don't use long long, it's not portable. Replacing with
2094 gint64 seems to work; let's hope no skeletons fall out of the closet.
2096 2005-10-10 Andy Wingo <wingo@pobox.com>
2098 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2100 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2102 * docs/gst/gstreamer-sections.txt:
2107 * gst/gstmessage.c: (gst_message_parse_state_changed):
2110 more docs, fix compilation
2112 2005-10-09 Philippe Khalaf <burger@speedy.org>
2114 Fixed a few forgotten variables on previous commit
2116 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2118 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2119 Fix evil typefind crasher: getrange() might return a short
2120 buffer at the end of a file, but gst_type_find_peek() must
2121 either return the full data as requested or NULL, but
2122 never a short buffer.
2124 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2126 * gst/gstmessage.c: (gst_message_new_state_changed),
2127 (gst_message_parse_state_changed):
2129 don't use "new", it's a C++ keyword
2131 2005-10-08 Wim Taymans <wim@fluendo.com>
2133 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2134 * gst/gstelement.c: (gst_element_post_message):
2135 * gst/gstpipeline.c: (gst_pipeline_change_state):
2136 Small docs and debug updates.
2138 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2140 * docs/gst/gstreamer-sections.txt:
2141 * gst/gstelementfactory.c:
2146 2005-10-08 Wim Taymans <wim@fluendo.com>
2148 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2149 (gst_bin_dispose), (bin_bus_handler):
2150 Fix typos, add comments.
2151 Clear EOS list when going to PAUSED from any direction and do it
2152 in a threadsafe way.
2153 Get base time in a threadsafe way too.
2154 Fix confusing debug in the change_state function.
2155 Various other small cleanups.
2157 * gst/gstelement.c: (gst_element_post_message):
2158 Fix very verbose bus posting code.
2160 * gst/gstpipeline.c: (gst_pipeline_class_init),
2161 (gst_pipeline_set_property), (gst_pipeline_get_property),
2162 (gst_pipeline_change_state):
2163 Small ARG_ -> PROP_ cleanup
2165 2005-10-08 Wim Taymans <wim@fluendo.com>
2167 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2168 Do a less CPU demanding EOS check because we can.
2170 2005-10-08 Wim Taymans <wim@fluendo.com>
2172 * libs/gst/dataprotocol/dataprotocol.c:
2173 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2174 (gst_dp_packet_from_event):
2175 * libs/gst/dataprotocol/dataprotocol.h:
2176 * libs/gst/dataprotocol/dp-private.h:
2177 It's about time we bump the version number.
2178 Since event types don't fit in the guint8 anymore describing
2179 the payload type, make payload type 16 bits wide.
2181 2005-10-08 Wim Taymans <wim@fluendo.com>
2183 * docs/design/part-TODO.txt:
2184 * docs/design/part-clocks.txt:
2185 * docs/design/part-events.txt:
2186 * docs/design/part-gstbin.txt:
2187 * docs/design/part-gstelement.txt:
2188 * docs/design/part-gstpipeline.txt:
2189 * docs/design/part-live-source.txt:
2190 * docs/design/part-messages.txt:
2191 * docs/design/part-overview.txt:
2192 * docs/design/part-states.txt:
2195 2005-10-08 Wim Taymans <wim@fluendo.com>
2199 Fix event quark registration.
2200 Add some space between events so we can insert them in the
2203 2005-10-08 Wim Taymans <wim@fluendo.com>
2205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2206 (gst_base_sink_handle_buffer):
2213 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2214 (gst_queue_set_property), (gst_queue_get_property):
2216 Remove old unused properties.
2218 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2219 * docs/gst/gstreamer-sections.txt:
2222 * gst/gstminiobject.c:
2223 * gst/gstminiobject.h:
2227 lots of new docs and doc fixes
2229 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2231 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2233 * gst/gstregistry.c: (gst_registry_lookup_locked),
2234 (gst_registry_scan_path_level):
2235 * gst/gstregistryxml.c: (load_plugin):
2236 Only ever load one plugin for a given plugin basename.
2237 This ensures correct overriding of GST_PLUGIN_PATH over
2238 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2239 system installed plugins.
2241 2005-10-08 Wim Taymans <wim@fluendo.com>
2243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2244 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2245 Prepare for doing QOS.
2247 2005-10-08 Wim Taymans <wim@fluendo.com>
2249 * check/gst/gstbin.c: (GST_START_TEST):
2250 * check/pipelines/cleanup.c: (GST_START_TEST):
2251 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2252 Allow new clock message too.
2254 2005-10-08 Wim Taymans <wim@fluendo.com>
2256 * gst/gstmessage.c: (gst_message_new_error),
2257 (gst_message_new_warning), (gst_message_new_tag),
2258 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2259 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2260 (gst_message_new_segment_start), (gst_message_new_segment_done),
2261 (gst_message_parse_state_changed),
2262 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2263 (gst_message_parse_new_clock):
2265 Also carry the clock in question.
2267 2005-10-08 Wim Taymans <wim@fluendo.com>
2269 * gst/gstmessage.c: (gst_message_new_custom),
2270 (gst_message_new_eos), (gst_message_new_error),
2271 (gst_message_new_warning), (gst_message_new_tag),
2272 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2273 (gst_message_new_new_clock), (gst_message_new_segment_start),
2274 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2275 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2278 Added clock related messages.
2280 * gst/gstpipeline.c: (gst_pipeline_change_state):
2281 Post message when the clock changed.
2283 * tools/gst-launch.c: (event_loop):
2286 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2288 * tools/gst-inspect.c: (print_element_properties_info):
2289 Can't pass NULL strings to g_print() on windows.
2291 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2294 * docs/gst/Makefile.am:
2295 * docs/gst/gstreamer-docs.sgml:
2296 * docs/gst/running.xml:
2297 * docs/version.entities.in:
2298 add a chapter on running GStreamer.
2299 document GST_DEBUG and GST_PLUGIN* env vars
2301 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2306 remove PLUGINS_BUILDDIR stuff
2307 * gst/gst.c: (init_post):
2308 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2310 remove, it was condescending and not needed
2312 2005-10-08 Wim Taymans <wim@fluendo.com>
2314 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2315 (gst_base_sink_handle_object), (gst_base_sink_event),
2316 (gst_base_sink_wait), (gst_base_sink_handle_event),
2317 (gst_base_sink_change_state):
2318 * gst/base/gstbasesink.h:
2319 Repost EOS message while going to PLAYING if still EOS.
2320 Make sure that when receiving a FLUSH_START we don't attempt
2321 to sync on the clock anymore.
2323 2005-10-08 Wim Taymans <wim@fluendo.com>
2325 * tools/gst-launch.c: (event_loop):
2326 Better message printout.
2328 2005-10-08 Wim Taymans <wim@fluendo.com>
2330 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2331 (gst_bin_child_proxy_get_children_count):
2332 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2333 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2334 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2335 (gst_child_proxy_set_valist):
2336 * gst/parse/grammar.y:
2337 Make ChildProxy threadsafe and fix mem leaks.
2339 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2341 * gst/gst.c: (init_post):
2342 debug the GST_PLUGIN_ env vars
2344 2005-10-08 Wim Taymans <wim@fluendo.com>
2346 * check/gst/gstbin.c: (GST_START_TEST):
2347 * check/gst/gstmessage.c: (GST_START_TEST):
2348 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2349 * gst/gstelement.c: (gst_element_commit_state),
2350 (gst_element_lost_state):
2351 * gst/gstmessage.c: (gst_message_new_state_changed),
2352 (gst_message_parse_state_changed):
2354 * tools/gst-launch.c: (event_loop):
2355 Added extra field to STATE_CHANGE message with the pending
2356 state, which will be different from the new state soon.
2358 2005-10-08 Wim Taymans <wim@fluendo.com>
2360 * gst/gstbus.c: (gst_bus_pop):
2362 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2363 Small cleanups and doc updates.
2365 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2367 * gst/gst.c: (init_pre):
2368 * gst/gstbin.c: (gst_bin_add_func):
2369 log distributing clocks and base time
2370 * gst/gstregistry.c: (gst_registry_add_plugin),
2371 (gst_registry_scan_path_level), (gst_registry_scan_path):
2372 clean up the debugging output a little
2373 * gst/gstutils.c: (gst_element_state_get_name):
2374 warn about a memleak (I've actually seen this be used, though
2375 it was probably a bug)
2377 2005-10-07 Wim Taymans <wim@fluendo.com>
2379 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2380 (gst_base_src_init), (gst_base_src_default_newsegment),
2381 (gst_base_src_newsegment), (gst_base_src_do_seek),
2382 (gst_base_src_loop), (gst_base_src_start):
2383 * gst/base/gstbasesrc.h:
2384 Make the newsegment event customizable by subclasses.
2386 2005-10-07 Wim Taymans <wim@fluendo.com>
2388 * gst/gstevent.c: (gst_event_new_buffersize),
2389 (gst_event_parse_buffersize):
2391 New event for future idea.
2393 2005-10-07 Andy Wingo <wingo@pobox.com>
2395 * gst/gstelement.c (gst_element_post_message): Doc update.
2397 * docs/gst/gstreamer-sections.txt: Update.
2399 * gst/gstmessage.c (gst_message_new_application): Made into a
2400 function like honest API calls.
2401 (gst_message_new_element): New message type.
2403 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2405 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2406 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2409 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2410 NO_PREROLL from gst_element_change_state to fall through.
2412 2005-10-07 Wim Taymans <wim@fluendo.com>
2414 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2415 (gst_ghost_pad_do_activate_push):
2416 Activating a ghostpad with no internal pad in push mode
2419 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2422 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2423 Fixes compilation on Windows.
2425 2005-10-07 Michael Smith <msmith@fluendo.com>
2427 * tools/gst-inspect.c:
2428 Print out feature and plugin count at the end when printing out
2431 2005-10-04 Michael Smith <msmith@fluendo.com>
2433 * gst/gsterror.c: (_gst_stream_errors_init):
2434 Add another error string used in a few existing plugins.
2437 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2438 * tools/gst-inspect.c: (print_element_info):
2439 When a feature disappears from a plugin (and the feature exists in
2440 the cached registry file), things went horribly wrong. This isn't a
2441 complete fix, we should actually be removing the 'missing' features
2442 from the features list when we load the actual plugin. That's not
2445 2005-10-04 Johan Dahlin <johan@gnome.org>
2447 * check/gst/gstiterator.c: (GST_START_TEST):
2448 * gst/gstbin.c: (gst_bin_iterate_elements),
2449 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2450 * gst/gstelement.c: (gst_element_iterate_pads):
2451 * gst/gstformat.c: (gst_format_iterate_definitions):
2452 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2453 (gst_iterator_new_list), (gst_iterator_filter):
2454 * gst/gstiterator.h:
2455 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2456 Add a GType to GstIterator, update callsites and tests.
2458 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2460 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2461 give events a chance to be handled by event probes when the pad
2464 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2466 * gst/gstevent.c: (gst_event_type_get_name),
2467 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2469 add string representations for event types
2471 2005-10-06 Wim Taymans <wim@fluendo.com>
2473 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2474 Don't use NULL pointers.
2476 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2478 * gst/gst_private.h:
2482 * gst/gstpluginfeature.c:
2483 widen the debug category in output to fit the biggest one we have
2484 add a bus category and use it
2485 play with the colors
2486 fix up some categories
2488 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2490 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2491 add push activation of sink ghost pads.
2492 Andye, please verify
2494 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2496 * gst/gstutils.c: (gst_element_link_pads):
2497 fix a bug in the case where neither element has a pad
2498 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2499 add a test for that case
2501 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2503 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2504 emit have-data before checking for peers. This allows
2505 for probe handlers to connect elements. This helps autopluggers.
2506 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2508 add six checks, linked/unlinked with no/true/false probe
2510 2005-10-04 Wim Taymans <wim@fluendo.com>
2512 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2513 (gst_fake_sink_event), (gst_fake_sink_preroll),
2514 (gst_fake_sink_render), (gst_fake_sink_change_state):
2515 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2516 (gst_fake_src_get_property), (gst_fake_src_create),
2517 (gst_fake_src_stop):
2518 * gst/elements/gstidentity.c: (gst_identity_stop):
2519 Protect last_message with lock.
2521 2005-10-04 Edward Hervey <edward@fluendo.com>
2524 Added precision in the comments for GST_FORMAT_DEFAULT
2526 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2528 * tools/gst-launch.c: (main):
2529 Don't try to run erroneous pipelines.
2531 2005-10-04 Julien MOUTTE <julien@moutte.net>
2533 * gst/gstbus.c: We don't need this header.
2535 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2540 === release 0.9.3 ===
2542 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2546 Releasing 0.9.3, "Unregistered"
2548 2005-10-03 Andy Wingo <wingo@pobox.com>
2550 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2551 whereby calling a pad's activatepush() function can start a thread
2552 that starts to push or pull before the pad gets the FLUSHING flag
2553 unset. Hack around it by holding the stream lock until the flag is
2554 set. Need to replace this with a proper solution. Together with
2555 the ghost pad fixes, this fixes mp3 playing/tagreading.
2557 * docs/design/part-gstghostpad.txt: Add a note about activation of
2558 proxy pads outside of ghost pads.
2560 * gst/gstghostpad.c: Implement the ghost pad activation design.
2562 2005-10-02 Andy Wingo <wingo@pobox.com>
2564 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2565 It is volatile, after all.
2567 * docs/design/part-gstghostpad.txt: Flesh out activation with
2570 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2573 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2576 Fix (unused) AM_CONDITIONAL tests.
2578 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2580 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2582 * gst/gstutils.c: (gst_pad_query_convert):
2583 Add assertion that makes sure src_val is >=0, just like
2584 gst_query_new_convert() has. (#315895)
2586 2005-09-30 Edward Hervey <edward@fluendo.com>
2588 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2589 Let's not iterate pads we're not interested in, it avoids getting
2590 sky-high refcounts on sinkpad.
2592 2005-09-30 Wim Taymans <wim@fluendo.com>
2594 * gst/gstelement.c: (gst_element_set_state),
2595 (gst_element_change_state):
2596 Small tweak, element in ASYNC remains ASYNC.
2598 2005-09-30 Wim Taymans <wim@fluendo.com>
2600 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2601 Only error is an error.
2603 * gst/gstbin.c: (gst_bin_change_state):
2606 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2607 Also call pad_block in pad alloc.
2609 * gst/gstutils.c: (gst_flow_get_name):
2612 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2614 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2615 (gst_base_src_get_range):
2616 Fix documentation typos. Add some more debug info.
2618 2005-09-29 David Schleef <ds@schleef.org>
2620 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2621 more end-user friendly.
2622 * tools/gst-inspect.c: (main): Check if command-line argument is
2623 a file and attempt to load that file as a plugin.
2625 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2627 * check/gst/gstbin.c:
2628 * check/states/sinks.c:
2629 fix tests for the new warning
2630 * check/gst/gstpipeline.c:
2631 add a test for pipeline and bus interaction
2633 elements should be NULL if they get disposed; add a warning if not
2635 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2638 for 2.6 refcounting, make debug log more correct by printing
2639 the actual refcounts at the time of swap (Wim)
2641 2005-09-29 Andy Wingo <wingo@pobox.com>
2643 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2644 removes signal watches previously added via
2645 gst_bus_add_signal_watch.
2646 (gst_bus_add_signal_watch): Don't return the source id, just store
2647 it on the bus if there wasn't an id already.
2649 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2650 add_signal_watch and remove_signal_watch.
2652 2005-09-29 Edward Hervey <edward@fluendo.com>
2654 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2655 Better if we actually iterate the list :)
2657 2005-09-29 Wim Taymans <wim@fluendo.com>
2659 * check/gst/gstbin.c: (GST_START_TEST):
2660 Change for new bus API.
2662 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2663 (send_messages), (GST_START_TEST), (gstbus_suite):
2664 Change for new bus signal API.
2666 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2667 (gst_bus_source_prepare), (gst_bus_source_check),
2668 (gst_bus_create_watch), (gst_bus_add_watch_full),
2669 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2670 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2672 Remove support for multiple GSources operating on different
2673 message types as it is too complex and unneeded when using
2675 Added support for receiving signals from the bus.
2677 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2679 * docs/libs/tmpl/gstdataprotocol.sgml:
2680 * docs/manual/advanced-dataaccess.xml:
2681 * gst/elements/gstcapsfilter.c:
2683 rename filter-caps to caps property
2685 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2687 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2688 More robust fraction string parsing.
2690 * docs/pwg/appendix-porting.xml:
2691 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2693 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2695 * gst/gstcaps.c: (gst_caps_do_simplify):
2696 Thou shalt not free a structure and then continue using it
2697 in the next loop iteration.
2699 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2701 Add test case for caps simplification.
2703 2005-09-29 Wim Taymans <wim@fluendo.com>
2705 * check/gst/gstbin.c: (GST_START_TEST):
2708 2005-09-29 Wim Taymans <wim@fluendo.com>
2710 * check/gst/gstbin.c: (GST_START_TEST):
2713 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2714 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2715 (find_element), (gst_bin_sort_iterator_next),
2716 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2717 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2718 (gst_bin_change_state), (gst_bin_dispose):
2719 A bin does not have a bus, it gets the bus from the parent.
2721 * gst/gstelement.c: (gst_element_requires_clock),
2722 (gst_element_provides_clock), (gst_element_is_indexable),
2723 (gst_element_is_locked_state), (gst_element_change_state),
2724 (gst_element_set_bus_func):
2727 * gst/gstpipeline.c: (gst_pipeline_class_init),
2728 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2729 The pipeline provides a bus.
2731 2005-09-28 Johan Dahlin <johan@gnome.org>
2733 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2734 gst_structure_get_enum instead of gst_structure_get_int
2736 * gst/gststructure.c (gst_structure_get_enum): Impl.
2738 * gst/gststructure.h (gst_structure_get_enum): Add
2740 * docs/gst/gstreamer-sections.txt: Ditto
2742 * gst/gstmessage.c (gst_message_new_state_changed): Use
2743 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2744 which does introspection.
2745 Reviewed by Christian Schaller
2747 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2749 * gst/gstinfo.c: (gst_debug_log_default):
2750 don't do dummy g_strdup()s
2751 * libs/gst/controller/gstcontroller.c:
2752 (on_object_controlled_property_changed),
2753 (gst_controlled_property_new), (gst_controller_new_valist),
2754 (gst_controller_new_list),
2755 (gst_controller_remove_properties_valist), (gst_controller_set),
2756 (gst_controller_get), (gst_controller_sync_values),
2757 (gst_controller_get_value_array), (_gst_controller_class_init),
2758 (gst_controller_get_type):
2759 * libs/gst/controller/gstcontroller.h:
2760 * libs/gst/controller/gstinterpolation.c:
2761 (gst_controlled_property_find_timed_value_node):
2762 convert // to /**/ comments
2764 2005-09-28 Wim Taymans <wim@fluendo.com>
2766 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2767 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2768 (gst_bus_sync_signal_handler):
2770 Added async-message and sync-message signals to the bus.
2771 Added helper BusFunc to emit signals for all posted messages.
2773 * gst/gstmessage.c: (gst_message_type_get_name),
2774 (gst_message_type_to_quark), (gst_message_get_type):
2776 Register quarks for message names.
2778 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2780 * docs/libs/gstreamer-libs-sections.txt:
2781 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2782 (gst_controller_new_list):
2783 * libs/gst/controller/gstcontroller.h:
2784 added another constructor for language bindings
2786 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2788 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2792 * gst/gstinfo.c: (_gst_debug_init):
2793 slightly more readable color for refcount debugging
2795 2005-09-28 Wim Taymans <wim@fluendo.com>
2797 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2798 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2799 (find_element), (gst_bin_sort_iterator_next),
2800 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2801 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2802 (gst_bin_change_state), (gst_bin_dispose):
2803 Small doc fixes. get_clock -> provide_clock.
2805 * gst/gstelement.c: (gst_element_class_init),
2806 (gst_element_provides_clock), (gst_element_provide_clock),
2807 (gst_element_get_clock), (gst_element_commit_state),
2808 (gst_element_lost_state):
2810 Make get/set_clock() symetric. Add provide_clock vmethod since
2811 that is actually what this function does.
2813 * gst/gstpipeline.c: (gst_pipeline_class_init),
2814 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2815 (gst_pipeline_get_clock):
2816 get_clock -> provide_clock.
2818 2005-09-28 Andy Wingo <wingo@pobox.com>
2820 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2821 lieu of real docs...
2823 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2825 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2827 * gst/elements/gstcapsfilter.c:
2828 * gst/elements/gstfakesink.c:
2829 * gst/elements/gstfakesrc.c:
2830 * gst/elements/gstfdsink.c:
2831 * gst/elements/gstfdsrc.c:
2832 * gst/elements/gstfilesink.c:
2833 * gst/elements/gstfilesrc.c:
2834 * gst/elements/gstidentity.c:
2835 * gst/elements/gsttee.c:
2836 * gst/elements/gsttypefindelement.c:
2837 Make element details static.
2839 2005-09-28 Wim Taymans <wim@fluendo.com>
2841 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2842 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2843 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2844 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2845 (gst_bin_change_state), (gst_bin_dispose):
2846 Some documentation updates.
2847 Clean up dispose handlers.
2849 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2850 * gst/gstpad.c: (gst_pad_dispose):
2851 Clean up dispose handler.
2853 * gst/gstpipeline.c: (gst_pipeline_change_state):
2854 Removed spurious UNLOCK.
2856 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2858 * docs/gst/gstreamer-sections.txt:
2859 * gst/base/gstbasesrc.h:
2864 * gst/gstpipeline.c:
2865 * gst/gstpipeline.h:
2868 added two new functions to the docs
2869 documents all undocumented GstXXXFlags
2870 completed some incomplete docs
2872 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2874 * gst/gstbin.c: (gst_bin_dispose):
2875 * gst/gstelement.c: (gst_element_dispose):
2876 remove now useless and leaky resurrection code in dispose
2877 * gst/base/gstbasesrc.c: (gst_base_src_init):
2878 * gst/gstelementfactory.c: (gst_element_factory_create):
2879 * gst/gstobject.c: (gst_object_set_parent):
2882 2005-09-27 Wim Taymans <wim@fluendo.com>
2884 * docs/design/part-TODO.txt:
2887 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2888 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2889 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2890 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2891 (gst_bin_change_state):
2893 Remove element variable, we keep element info in the iterator now.
2895 2005-09-27 Andy Wingo <wingo@pobox.com>
2897 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2900 2005-09-27 Wim Taymans <wim@fluendo.com>
2902 * check/gst/gstbin.c: (GST_START_TEST):
2903 Enable check that works now.
2905 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2906 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2907 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2908 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2909 (gst_bin_change_state):
2911 Redid the state change algorithm using a topological sort algo.
2912 Handles all cases correctly.
2913 Exposed iterator for state change order.
2916 Temp storage for state changes. Need to get rid of this soon.
2918 2005-09-27 Wim Taymans <wim@fluendo.com>
2920 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2921 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2922 (link_fold_func), (gst_pad_proxy_setcaps):
2923 Leak fixes, the fold functions need to unref the passed object and
2924 _get_parent_*() returns ref to parent.
2926 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2928 * check/gst/gstbuffer.c: (test_make_writable):
2929 Plug leak in test case and fix 'make check-valgrind'
2931 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2933 * gst/gstbuffer.c: (gst_subbuffer_init):
2934 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2935 works correctly in all circumstances (we could have just copied
2936 the parent buffer's readonly flag, but conceptually it seems
2937 cleaner to mark all subbuffers as read-only). (based on patch
2938 by Alessandro Decina, #314710).
2940 * check/gst/gstbuffer.c: (create_read_only_buffer),
2941 (test_make_writable), (test_subbuffer_make_writable),
2943 Add some tests for gst_buffer_make_writable().
2945 2005-09-27 Wim Taymans <wim@fluendo.com>
2947 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2948 use gst_object_has_ancestor().
2950 * gst/gstobject.c: (gst_object_has_ancestor):
2952 gst_object_has_ancestor() copied from gstbin.c as it is a
2955 * tests/instantiate/create.c: (create_all_elements):
2956 * tests/lat.c: (handoff_src), (handoff_sink):
2957 * tests/sched/runxml.c: (main):
2958 * tests/seeking/seeking1.c: (main):
2959 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2961 Fix compilation of some tests.
2963 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2966 Remove comment. GST_TYPE_G_ERROR is here to stay,
2967 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2970 2005-09-26 Wim Taymans <wim@fluendo.com>
2972 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2973 Added check that shows error in state change order.
2975 2005-09-26 Wim Taymans <wim@fluendo.com>
2977 * gst/gstbin.c: (gst_bin_change_state):
2978 Make state change function use 3 queues again, we were
2979 adding elements in the wrong order.
2981 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2984 * gst/gstpad.c: (gst_pad_dispose):
2985 Added some debug info first.
2987 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2989 * docs/design/draft-push-pull.txt:
2990 * docs/design/part-events.txt:
2991 * docs/design/part-overview.txt:
2992 * docs/design/part-scheduling.txt:
2993 Replace all _pull_region() with _pull_range()
2995 2005-09-26 Andy Wingo <wingo@pobox.com>
2997 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2999 * check/gst-libs/controller.c: Update for controller api change.
3002 * tests/Makefile.am:
3003 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3004 over by GLib bug 118439.
3006 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3007 routines to a function.
3009 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3011 * libs/gst/controller/gsthelper.c:
3012 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3013 (gst_object_sync_values): Renamed from sink_values. Ugh.
3015 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3017 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3018 Renamed from controller_key, as it is exported.
3020 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3022 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3027 * gst/gstpadtemplate.h:
3030 * gst/gstqueryutils.c:
3031 * gst/gstqueryutils.h:
3032 remove queryutils headers after moving the two used functions
3033 to gstquery. also fixes build problem for gstsiddec
3035 2005-09-26 Michael Smith <msmith@fluendo.com>
3037 * tools/gst-launch.1.in:
3038 Correct documentation in manpage of debug syntax
3040 2005-09-26 Wim Taymans <wim@fluendo.com>
3042 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3043 (gst_base_src_is_seekable), (gst_base_src_change_state):
3044 Some more debugging info.
3046 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3048 * docs/gst/gstreamer-sections.txt:
3049 * gst/base/gstbasetransform.h:
3053 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3055 * docs/gst/.cvsignore:
3056 * docs/gst/tmpl/.cvsignore:
3057 * docs/gst/tmpl/gstpipeline.sgml:
3058 * docs/gst/tmpl/gstplugin.sgml:
3059 * gst/gstpipeline.c:
3062 inlined the last two docs files
3063 removed the tmpl directory from cvs (no more conflicts here!)
3065 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3067 * docs/gst/gstreamer-sections.txt:
3068 * docs/gst/tmpl/.cvsignore:
3069 * docs/gst/tmpl/gstpad.sgml:
3070 * docs/gst/tmpl/gstpadtemplate.sgml:
3072 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3073 (gst_pad_finalize), (gst_pad_set_pad_template):
3075 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3076 (gst_pad_template_class_init), (gst_pad_template_init),
3077 (gst_pad_template_dispose), (name_is_valid),
3078 (gst_static_pad_template_get), (gst_pad_template_new),
3079 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3080 (gst_pad_template_pad_created):
3081 * gst/gstpadtemplate.h:
3082 inlined two more docs
3083 factored gstpadtemplate out of gstpad
3085 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3087 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3088 (test_children_state_change_order_semi_sink):
3089 Fix test case: we can't rely on a fixed state change order when
3090 going from READY => PAUSED because the sink might commit its
3091 new state first when the first buffer created by the source
3092 reaches the sink before the source has finished its change state.
3093 (Test case still fails at times, see #316856, comment 5 onwards)
3095 2005-09-24 Wim Taymans <wim@fluendo.com>
3097 * docs/design/part-events.txt:
3098 * docs/design/part-gstbus.txt:
3099 * docs/design/part-gstpipeline.txt:
3100 * docs/design/part-messages.txt:
3101 * docs/design/part-overview.txt:
3102 * docs/design/part-segments.txt:
3109 * gst/gstiterator.c:
3110 Various documentation updates.
3112 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3115 Well, that's embarassing. Luckily we weren't using
3116 GST_CLOCK_DIFF anywhere.
3118 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3120 * common/gtk-doc.mak:
3121 don't fail on building XML, FC4 slave shows a bunch of doc
3122 missing bits that I don't get
3124 * gst/gstpipeline.c:
3125 * gst/gststructure.c:
3128 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3130 * docs/design/part-gstbin.txt:
3131 * docs/design/part-gstbus.txt:
3133 Add blurb about how the bus goes into flushing mode and
3134 drops all messages when its bin goes from READY into NULL
3137 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3139 * docs/gst/gstreamer-sections.txt:
3140 * gst/gststructure.c: (gst_structure_get_clock_time):
3141 * gst/gststructure.h:
3142 add a method to get a GstClockTime out of a structure
3144 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3146 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3147 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3148 Added test to check state change order in bins (can still be made
3149 to fail here under heavy disk load; bails out with 'Push on pad
3150 fakesink:sink0, but it was not activated in push mode').
3152 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3153 Fix state change order when there is only a semi sink (#316856)
3155 * gst/gstbus.c: (gst_bus_class_init):
3156 Use _class_peek_parent(), not _class_ref(); fix docs to say
3157 'default main context' instead of 'mainloop' where that is
3160 * gst/gstelement.c: (gst_element_commit_state),
3161 (gst_element_set_state):
3162 Fix typos in debug messages
3164 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3167 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3168 * gst/gstpluginfeature.c:
3171 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3172 change an assert into an error until it gets fixed properly
3174 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3176 * docs/gst/gstreamer-sections.txt:
3177 * docs/gst/tmpl/.cvsignore:
3178 * docs/gst/tmpl/gstelement.sgml:
3179 * docs/gst/tmpl/gstinfo.sgml:
3180 * docs/gst/tmpl/gstobject.sgml:
3185 * gst/gstobject.c: (gst_object_class_init):
3187 inlined 3 more biiiig doc files and added some missing docs on the fly
3189 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3191 * check/gst/.cvsignore:
3192 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3193 * gst/gstregistryxml.c: (load_plugin),
3194 (gst_registry_xml_save_plugin):
3195 put back source in registry. add checks for find_plugin.
3196 * testsuite/states/bin.c: (assert_state), (empty_bin),
3197 (test_adding_one_element), (main):
3198 * testsuite/states/locked.c: (main):
3199 some compile/run fixes
3201 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3203 * check/gst/gstvalue.c: (GST_START_TEST):
3204 fix leaks in the test itself
3206 2005-09-22 Wim Taymans <wim@fluendo.com>
3208 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3209 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3210 (gst_base_sink_query):
3211 Prepare for more accurate position reporting and query
3214 * gst/gstelement.c: (gst_element_send_event),
3215 (gst_element_set_state):
3218 2005-09-22 Wim Taymans <wim@fluendo.com>
3220 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3221 (gst_query_parse_segment):
3224 Add segment query for future use.
3226 2005-09-22 Wim Taymans <wim@fluendo.com>
3228 * gst/gstbin.c: (gst_bin_add_func):
3229 Some more debug info.
3231 * gst/gstelement.c: (gst_element_send_event):
3235 Don't know how flags got broken.
3240 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3242 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3243 Add simplistic test suite for GST_TYPE_DATE serialisation and
3246 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3248 * docs/gst/gstreamer-sections.txt:
3249 * gst/gststructure.c: (gst_structure_set_valist),
3250 (gst_structure_get_date):
3251 * gst/gststructure.h:
3252 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3253 (gst_date_copy), (gst_value_compare_date),
3254 (gst_value_serialize_date), (gst_value_deserialize_date),
3255 (gst_value_transform_date_string),
3256 (gst_value_transform_string_date), (_gst_value_initialize):
3258 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3259 bunch of utility functions along with a hack that checks that
3260 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3261 is required. Part of the grand scheme in #170777.
3263 2005-09-22 Andy Wingo <wingo@pobox.com>
3265 * gst/gstconfig.h.in: Psych out gtk-doc.
3267 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3269 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3271 * tools/gst-inspect.c (print_element_list): Plug some
3272 inconsequential leaks.
3274 * gst/gstregistry.c (gst_registry_get_default): Doc.
3276 * check/gst/gstplugin.c:
3277 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3278 * gst/gstelementfactory.c (gst_element_factory_create):
3279 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3282 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3283 (gst_plugin_feature_load): Doc, don't eat refs.
3285 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3286 (gst_plugin_list_free): Doc.
3287 (gst_plugin_load_file): Doc updates.
3289 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3290 accessors returning refcounted objects, return a ref.
3292 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3293 accessor for caps. IDEMPOTENCE. Oh yes.
3295 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3297 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3299 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3300 (_gst_debug_register_funcptr):
3301 Add mutex to serialise access to the hash table with
3302 the function pointer => function name string mapping;
3303 make that hash table static scope (#316809).
3305 * gst/registries/.cvsignore:
3306 Remove left-over file.
3308 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3310 * docs/pwg/appendix-porting.xml:
3311 And something about newsegment events and caps-on-buffers to
3312 the porting guide (feel free to improve).
3314 2005-09-21 Andy Wingo <wingo@pobox.com>
3316 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3317 data and event probes on the same pad.
3318 (test_buffer_probe_once): Test that removing probes from within
3319 the probe functions works.
3321 2005-09-21 Andy Wingo <wingo@pobox.com>
3323 * check/gst/gstutils.c: New file.
3324 (test_buffer_probe_n_times): A simple buffer probe test. More to
3327 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3328 have-data::buffer, not have-data.
3329 (gst_pad_add_event_probe): Likewise for have-data::event.
3330 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3331 peer' isn't quite right yet though.
3332 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3333 (gst_pad_remove_data_probe): Change to take the guint handler_id
3334 as their arg, not the function+data, which is more glib-like.
3336 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3337 the signal emission to indicate if the data is a buffer or an
3339 (gst_pad_get_type): Initialize buffer and event quarks.
3340 (gst_pad_class_init): have-data is now a detailed signal, yes it
3343 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3345 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3346 * gst/gstutils.c: (gst_util_set_value_from_string),
3347 (gst_util_set_object_arg):
3348 Don't put functional code in g_return_if_fail() or
3349 g_return_val_if_fail() statements, otherwise things will
3350 break when G_DISABLE_CHECKS is defined during compilation.
3352 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3354 * docs/gst/tmpl/.cvsignore:
3355 * docs/gst/tmpl/gstvalue.sgml:
3358 inlied another one and added some obvious docs
3360 2005-09-21 Wim Taymans <wim@fluendo.com>
3362 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3363 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3364 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3365 (gst_fdsrc_get_property), (gst_fdsrc_create):
3366 * gst/elements/gstfdsrc.h:
3367 Properly implement fdsrc. Removed signal and timeout,
3368 better implemented somewhere else.
3370 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3372 * docs/gst/tmpl/.cvsignore:
3373 * docs/gst/tmpl/gstimplementsinterface.sgml:
3374 * gst/gstinterface.c:
3377 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3379 * docs/gst/gstreamer-sections.txt:
3380 * docs/gst/tmpl/.cvsignore:
3381 * docs/gst/tmpl/gstenumtypes.sgml:
3382 remove obsolete doc file
3384 2005-09-21 David Schleef <ds@schleef.org>
3386 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3387 little beer, fix a little leak.
3389 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3391 * docs/gst/gstreamer-docs.sgml:
3392 * docs/gst/gstreamer-sections.txt:
3393 * docs/gst/tmpl/.cvsignore:
3398 * gst/gstindex.c: (gst_index_class_init):
3400 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3401 (gst_index_factory_class_init), (gst_index_factory_init),
3402 (gst_index_factory_finalize), (gst_index_factory_new),
3403 (gst_index_factory_destroy), (gst_index_factory_find),
3404 (gst_index_factory_create), (gst_index_factory_make):
3405 * gst/gstindexfactory.h:
3406 * gst/gstpluginfeature.c:
3407 * gst/gstpluginfeature.h:
3408 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3409 more docs inlined, splitted gstindex.{c,h}
3411 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3413 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3416 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3418 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3419 Set sync to FALSE by default.
3421 2005-09-20 Wim Taymans <wim@fluendo.com>
3423 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3424 (gst_base_sink_init):
3425 Make sync property settable from subclass.
3427 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3428 (gst_fake_sink_change_state):
3429 Set sync to FALSE by default.
3431 2005-09-20 Wim Taymans <wim@fluendo.com>
3433 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3434 * tools/gst-launch.c: (main):
3435 The timeout handler should have lower priority than the source
3436 so we don't timeout before popping a message with 0 timeout.
3437 Dump error messages after failed state change.
3439 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3441 * tools/gst-inspect.c: (print_element_properties_info):
3444 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3446 * check/gst/gstevent.c:
3447 * gst/elements/gstfakesink.c:
3448 * gst/elements/gstfakesink.h:
3449 remove the sync property from fakesink.
3450 has the side effect of setting sync TRUE
3451 for fakesink, which is a change. Anyone who knows how
3452 to fix this nicely in a GObject-y way, feel free.
3454 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3456 * docs/gst/gstreamer-docs.sgml:
3457 remove probe refsection
3459 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3461 * check/Makefile.am:
3462 disable valgrinding the controller test again
3463 * docs/gst/gstreamer-sections.txt:
3464 update for api-changes
3466 2005-09-20 Wim Taymans <wim@fluendo.com>
3468 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3469 (gst_base_sink_set_property), (gst_base_sink_get_property),
3470 (gst_base_sink_do_sync):
3471 * gst/base/gstbasesink.h:
3472 Added sync property to basesink to disable clock sync.
3474 2005-09-20 Andy Wingo <wingo@pobox.com>
3476 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3477 eating the caller's refcount.
3479 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3480 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3483 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3484 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3485 of GLib 2.8 public, so we can know which refcount to check in
3488 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3489 (gst_object_init): Only set the gst refcount if we're going ahead
3490 with the refcount hack.
3492 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3494 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3495 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3496 more leaks plumbed, added more debug-logging
3500 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3503 remove include of gstmemchunk.h
3505 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3507 * gst/gstclock.c: (_gst_clock_id_free):
3508 Commit from the Political Party For More Atomic CVS Commits,
3509 so that people don't waste too much of their day fishing
3510 out obvious leaks out of massive commits.
3511 Oh, and fix a pretty damn obvious leak in the memchunk
3514 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3516 * check/Makefile.am:
3517 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3518 plug mem-leak, re-add to valgrindable tests
3520 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3523 unbreak the build for those who have chronic arthritis
3524 and typing "make check" is just too taxing on the hands
3526 2005-09-20 Andy Wingo <wingo@pobox.com>
3528 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3529 really want it out, you should fix plugins at the same time.
3531 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3534 * docs/gst/gstreamer-sections.txt:
3536 added missing symbols to api docs
3537 disable ref-count hack if we have glib >= 2.8
3539 2005-09-19 David Schleef <ds@schleef.org>
3541 * docs/gst/Makefile.am: Ignore a few more internal headers
3542 * docs/gst/gstreamer-docs.sgml: Remove old sections
3543 * docs/gst/gstreamer-sections.txt: Remove old sections
3544 * docs/gst/tmpl/gstobject.sgml: update
3545 * docs/gst/tmpl/gstplugin.sgml: update
3546 * docs/gst/tmpl/gstpluginfeature.sgml: update
3547 * docs/random/ds/0.9-suggested-changes: update.
3548 * gst/Makefile.am: remove memchunk and trashstack, since they're
3550 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3551 * gst/gst.h: don't include some headers
3552 * gst/gstchildproxy.c: add gstmarshal.h
3553 * gst/gstclock.c: Don't use memchunks
3554 * gst/gstminiobject.c: Add some docs
3555 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3556 * gst/gstobject.h: same
3557 * gst/gstplugin.c: include gstmacros.h
3558 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3559 * gst/gstquery.c: don't use memchunks
3560 * gst/gstregistry.c: rename gst_registry_deinit()
3561 * gst/gstregistry.h: same
3563 2005-09-19 David Schleef <ds@schleef.org>
3565 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3566 * docs/libs/gstreamer-libs-sections.txt:
3567 * docs/libs/tmpl/gstgetbits.sgml:
3568 * docs/libs/tmpl/gstputbits.sgml:
3570 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3572 * win32/gstenumtypes.c:
3573 * win32/gstenumtypes.h:
3576 2005-09-19 Wim Taymans <wim@fluendo.com>
3578 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3579 Automatically PAUSE and RESUME a pipeline when a flushing seek
3582 2005-09-19 Andy Wingo <wingo@pobox.com>
3584 * gst/gstregistry.h: Spacing fixen.
3586 2005-09-19 Wim Taymans <wim@fluendo.com>
3588 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3589 Handle state change failure more correctly.
3591 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3593 * check/Makefile.am:
3594 * check/pipelines/cleanup.c: (run_pipeline):
3595 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3597 enable cleanup again after fixing the leak
3599 some more info on docs
3601 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3603 * check/Makefile.am:
3604 re-enable tests now that leaks are plugged
3606 * check/gst/gstbin.c:
3607 * check/gst/gstpipeline.c:
3608 add some more tests while fixing leaks
3610 make sure binaries are uptodate when valgrinding/gdbing
3612 * gst/gstelementfactory.c:
3613 remove a ref too many, and add a FIXME for when we get
3614 round to disposing of classes
3616 fix the refcounting when loading a plugin from a file and
3617 the code pretends that the pointer is the same even though
3618 of course it can change
3619 * gst/gstpluginfeature.c:
3620 unref plugins marked cached (a bit confusing as a name)
3621 as the docs state should be done
3622 various doc additions to explain refcounting
3623 * gst/gstregistry.c:
3624 * gst/gstregistryxml.c:
3627 2005-09-19 Wim Taymans <wim@fluendo.com>
3629 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3630 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3631 (send_messages), (GST_START_TEST), (gstbus_suite):
3632 * check/gst/gstpipeline.c: (GST_START_TEST):
3633 * check/pipelines/cleanup.c: (run_pipeline):
3634 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3636 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3637 (gst_bus_source_check), (gst_bus_source_dispatch),
3638 (gst_bus_create_watch), (gst_bus_add_watch_full),
3639 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3641 * tools/gst-launch.c: (event_loop):
3642 * tools/gst-md5sum.c: (event_loop):
3643 GstBusHandler -> GstBusFunc, return value has the same meaning as
3644 any other GSource (FALSE == remove source).
3645 _add_watch() and _add_watch_full() now take a MessageType mask to
3646 only handle specific types of messages.
3647 _poll() returns the GstMessage instead of the message type to avoid
3649 _have_pending() takes a MessageType mask now too.
3650 Added testsuite for multiple bus watches.
3651 Fix testsuites and applications for new bus API.
3653 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3655 * check/Makefile.am:
3656 mark a bunch of the tests as to fix until we fix them
3658 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3661 use GST_PLUGIN settings for valgrind tests as well, so we're
3662 valgrinding the correct thing
3663 * gst/gst.c: (init_post):
3666 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3668 * gst/gst.c: (init_post), (gst_deinit):
3669 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3670 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3671 * gst/gstindex.c: (gst_index_factory_class_init),
3672 (gst_index_factory_finalize):
3673 * gst/gstobject.c: (gst_object_dispose):
3674 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3675 (gst_plugin_load_file), (gst_plugin_desc_free):
3676 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3677 (gst_plugin_feature_finalize):
3678 * gst/gstregistry.c: (gst_registry_class_init),
3679 (gst_registry_init), (gst_registry_finalize),
3680 (gst_registry_get_default), (gst_registry_deinit):
3681 * gst/gstregistry.h:
3682 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3683 various cleanups and memleak plugging. make valgrind is happy now.
3685 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3688 add a check-valgrind target
3690 2005-09-18 David Schleef <ds@schleef.org>
3692 * tools/gst-inspect.c: Revert the GOption code.
3694 2005-09-17 David Schleef <ds@schleef.org>
3696 * check/Makefile.am: Fix environment variables.
3697 * check/gst/gstplugin.c: Fix for API changes.
3698 * tools/gst-inspect.c: Fix for API changes.
3699 * tools/gst-xmlinspect.c: Fix for API changes.
3700 * gst/gstelementfactory.c:
3703 * gst/gstpluginfeature.c:
3704 * gst/gstpluginfeature.h:
3705 * gst/gstregistry.c:
3706 * gst/gstregistry.h:
3707 * gst/gstregistryxml.c:
3708 * gst/gsttypefind.c:
3709 * gst/gsttypefindfactory.c:
3710 * gst/indexers/gstfileindex.c:
3711 * gst/indexers/gstmemindex.c:
3712 * gst/schedulers/Makefile.am:
3713 Change registry to keep track of both plugins and features,
3714 removing the feature tracking from plugins themselves.
3716 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3718 * check/Makefile.am:
3719 * tools/gst-register.1.in:
3722 2005-09-15 David Schleef <ds@schleef.org>
3724 * check/gst/gstplugin.c:
3725 * gst/gstelementfactory.c:
3727 * gst/gstpluginfeature.c:
3728 * gst/gstregistry.c:
3729 Getting tired of debugging. Disabled all the unreffing of
3730 plugins and features, which fixes the segfaults, but of
3731 course leaks like crazy. At least playbin works.
3733 2005-09-15 David Schleef <ds@schleef.org>
3735 * check/gst/gstplugin.c: (register_check_elements),
3736 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3738 * gst/elements/gsttypefindelement.c: Fix refcounting.
3739 * gst/gsttypefind.c:
3740 * gst/gsttypefindfactory.c:
3741 * gst/gsttypefindfactory.h:
3743 2005-09-15 David Schleef <ds@schleef.org>
3745 * gst/gstindex.c: get refcounting correct.
3746 * gst/gstregistry.c: Handle the case where a feature/plugin is
3749 2005-09-15 David Schleef <ds@schleef.org>
3751 * check/Makefile.am:
3752 * check/gst/gstplugin.c: Add test
3753 * gst/gstplugin.c: Fix problems noticed by testsuite
3755 * gst/gstregistry.c:
3756 * gst/gstregistry.h:
3758 2005-09-15 David Schleef <ds@schleef.org>
3760 * gst/gstplugin.c: Implement semi-decent recounting and locking
3761 in plugins and plugin features.
3763 * gst/gstpluginfeature.c:
3764 * gst/gstpluginfeature.h:
3765 * gst/gstregistry.c:
3767 2005-09-15 Michael Smith <msmith@fluendo.com>
3769 * gst/gstregistry.c: (gst_registry_get_feature_list):
3770 Implement this. Makes oggdemux work; decodebin still broken.
3772 2005-09-14 David Schleef <ds@schleef.org>
3774 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3776 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3777 * gst/check/Makefile.am:
3778 * libs/gst/controller/Makefile.am:
3779 * libs/gst/dataprotocol/Makefile.am:
3781 2005-09-14 David Schleef <ds@schleef.org>
3783 * configure.ac: Remove getbits library. Nothing uses it, and
3784 it should be in something like liboil if someone did want
3786 * libs/gst/Makefile.am:
3787 * libs/gst/getbits/Makefile.am:
3788 * libs/gst/getbits/gbtest.c:
3789 * libs/gst/getbits/getbits.c:
3790 * libs/gst/getbits/getbits.h:
3791 * libs/gst/getbits/gstgetbits_generic.c:
3792 * libs/gst/getbits/gstgetbits_i386.s:
3793 * libs/gst/getbits/gstgetbits_inl.h:
3795 2005-09-14 David Schleef <ds@schleef.org>
3797 * gst/Makefile.am: Dist glib-compat.h
3799 2005-09-14 David Schleef <ds@schleef.org>
3801 * configure.ac: Remove gst/registries, since it's no longer used.
3802 * gst/registries/Makefile.am:
3803 * gst/registries/gstlibxmlregistry.c:
3804 * gst/registries/gstlibxmlregistry.h:
3805 * gst/registries/gstxmlregistry.c:
3806 * gst/registries/gstxmlregistry.h:
3807 * gst/registries/registrytest.c:
3809 2005-09-14 David Schleef <ds@schleef.org>
3811 * gst/glib-compat.h:
3812 * gst/gstregistryxml.c:
3813 Convergence is near. Seriously.
3815 2005-09-14 David Schleef <ds@schleef.org>
3817 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3818 * gst/glib-compat.h:
3819 Attempt #4 to appease the buildbots.
3821 2005-09-14 David Schleef <ds@schleef.org>
3823 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3826 2005-09-14 David Schleef <ds@schleef.org>
3828 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3831 2005-09-14 David Schleef <ds@schleef.org>
3833 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3836 2005-09-14 David Schleef <ds@schleef.org>
3838 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3839 * gst/glib-compat.h: Add some functions that are in newer versions
3840 of glib than we care to require.
3841 * gst/gstregistryxml.c: Use them.
3843 2005-09-14 David Schleef <ds@schleef.org>
3845 * po/POTFILES.in: remove gst-register.c
3847 2005-09-14 David Schleef <ds@schleef.org>
3849 * docs/gst/gstreamer-docs.sgml:
3850 * docs/gst/gstreamer-sections.txt:
3851 * docs/gst/gstreamer.types:
3852 * docs/gst/tmpl/gstelement.sgml:
3853 * docs/gst/tmpl/gstplugin.sgml:
3854 * docs/gst/tmpl/gstpluginfeature.sgml:
3855 Documentation updates for registry changes.
3857 2005-09-14 David Schleef <ds@schleef.org>
3859 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3860 because we don't require glib-2.8.
3862 2005-09-14 David Schleef <ds@schleef.org>
3864 * gst/gstregistryxml.c: Added. Essentially moved out of the
3865 registries directory.
3867 2005-09-14 David Schleef <ds@schleef.org>
3869 * check/Makefile.am:
3870 * check/generic/states.c:
3874 * gst/gst_private.h:
3875 * gst/gstelementfactory.c:
3880 * gst/gstpluginfeature.c:
3881 * gst/gstpluginfeature.h:
3882 * gst/gstregistry.c:
3883 * gst/gstregistry.h:
3884 * gst/gstregistrypool.c: remove
3885 * gst/gstregistrypool.h: remove
3886 * gst/gsttypefind.c:
3887 * gst/gsttypefindfactory.c:
3889 * tools/Makefile.am:
3890 * tools/gst-compprep.c:
3891 * tools/gst-inspect.c:
3892 * tools/gst-register.c: remove
3893 * tools/gst-xmlinspect.c:
3894 Registry rewrite. Changes registry from being a file created
3895 by a tool into a simple cache file created automatically by
3896 libgstreamer. Removed gst-register (because it's no longer
3897 needed). Remove registry pools, because we only have one
3898 registry implementation (XML). Fix up other subsystems as
3901 2005-09-13 Michael Smith <msmith@fluendo.com>
3903 * gst/gstconfig.h.in:
3904 Don't Use windows linking attributes for MinGW. Fixes #316157
3906 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3908 * gst/gstutils.c: (set_state_async_thread_func),
3909 (gst_element_set_state_async):
3910 Apparently people think it's better if this function doesn't
3911 try to set the state to whatever state was asked for on the first
3912 call to this function for any object. Seriously.
3914 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3916 * check/gst/gstpipeline.c: (GST_START_TEST):
3917 * docs/gst/gstreamer-sections.txt:
3918 * gst/gstutils.c: (set_state_async_thread_func),
3919 (gst_element_set_state_async):
3921 add a "gst_element_set_state_async" method that
3922 sets the state and starts a thread to make sure the state
3923 change completes as best as it can
3925 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3927 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3928 codify design+behaviour in testsuite after discussion
3930 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3932 * docs/gst/tmpl/gstelement.sgml:
3933 * docs/manual/appendix-quotes.xml:
3935 * gst/gstelement.c: (gst_element_set_state):
3938 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3940 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3941 (gst_base_transform_prepare_output_buf),
3942 (gst_base_transform_handle_buffer):
3943 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3944 (gst_capsfilter_prepare_buf):
3945 Remove the requirement for sub-classes to call the parent
3946 implementation of prepare_output_buffer with a wrapper function.
3949 * gst/gsttagsetter.h:
3952 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3954 * docs/gst/gstreamer-sections.txt:
3957 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3959 * docs/gst/gstreamer-sections.txt:
3960 * docs/gst/tmpl/gstelement.sgml:
3961 * docs/gst/tmpl/gstplugin.sgml:
3962 * gst/gstminiobject.c:
3964 docs now stop throwing warnings
3966 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3968 * docs/gst/gstreamer-sections.txt:
3969 * docs/gst/gstreamer.types:
3970 * docs/gst/tmpl/gstpad.sgml:
3971 * docs/gst/tmpl/gsttypes.sgml:
3972 * gst/base/gstadapter.h:
3973 * gst/base/gstbasesink.h:
3974 * gst/base/gstbasesrc.h:
3984 * gst/gststructure.c:
3985 * gst/registries/gstlibxmlregistry.h:
3986 various documentation fixes
3988 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3990 * docs/gst/gstreamer-sections.txt:
3991 * docs/gst/tmpl/gstvalue.sgml:
3992 rearrange gstvalue section
3993 * gst/gstutils.c: (gst_element_state_get_name):
3995 * gst/gstvalue.c: (_gst_value_initialize):
3999 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4001 * check/gst-libs/controller.c:
4003 * gst/base/gstbasetransform.c:
4004 (gst_base_transform_default_prepare_buf),
4005 (gst_base_transform_handle_buffer):
4006 * gst/base/gstbasetransform.h:
4007 Some more basetransform changes and fixes to enable sub-classes
4008 that modify buffer metadata only.
4009 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4010 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4011 (gst_capsfilter_prepare_buf):
4012 If the output pad has fixed allowed caps and input buffers
4013 don't have any, set the fixed caps on outgoing buffers.
4015 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4016 * check/elements/identity.c: (GST_START_TEST):
4017 Make the error a little clearer when the test fails because
4018 identity made a copy of the buffer.
4019 * docs/gst/gstreamer-sections.txt:
4020 New symbols in gstbasetransform.h
4021 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4022 (gst_base_transform_init), (gst_base_transform_transform_size),
4023 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4024 (gst_base_transform_default_prepare_buf),
4025 (gst_base_transform_get_unit_size),
4026 (gst_base_transform_buffer_alloc),
4027 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4028 (gst_base_transform_change_state),
4029 (gst_base_transform_set_passthrough),
4030 (gst_base_transform_set_in_place),
4031 (gst_base_transform_is_in_place):
4032 * gst/base/gstbasetransform.h:
4033 Change BaseTransform to separate in_place operate from same_caps
4034 output. in_place implies that the element can perform the transform
4035 on incoming buffers in-place, even if the caps on the output are
4037 Sub-class elements can now implement special buffer allocation
4038 methods for outgoing buffers if they wish to.
4039 Big documentation addition.
4040 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4041 * gst/elements/gstelements.c:
4042 Changes for basetransform modifications.
4043 * gst/elements/Makefile.am:
4044 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4045 Compile fix. Extra debug output.
4047 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4049 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4051 add tests for valid pad naming
4052 * gst/check/gstcheck.c: (gst_check_log_message_func),
4053 (gst_check_log_critical_func):
4055 remove printing of code, it is fragile when the code contains
4056 % and the line number is enough info
4057 * gst/check/gstcheck.h:
4058 * gst/gstpad.c: (gst_pad_template_new):
4061 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4064 say what CHECK flags we use
4065 * docs/libs/gstreamer-libs.types:
4066 * libs/gst/controller/Makefile.am:
4067 * libs/gst/controller/gst-controller.c:
4068 * libs/gst/controller/gst-controller.h:
4069 * libs/gst/controller/gst-helper.c:
4070 * libs/gst/controller/gst-interpolation.c:
4071 * libs/gst/controller/gstcontroller.c:
4072 * libs/gst/controller/gsthelper.c:
4073 * libs/gst/controller/gstinterpolation.c:
4074 * tools/gst-inspect.c: (print_plugin_info):
4075 we don't use dashes in header names
4077 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4079 * check/Makefile.am:
4080 * check/gst/.cvsignore:
4081 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4082 (gst_pipeline_suite), (main):
4083 adding a test for pipelines and state changes
4084 * gst/gstutils.c: (get_state_func):
4086 * gstreamer.spec.in:
4089 2005-09-08 Michael Smith <msmith@fluendo.com>
4091 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4092 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4093 (gst_file_src_is_seekable), (gst_file_src_get_size),
4094 (gst_file_src_start):
4095 * gst/elements/gstfilesrc.h:
4096 Various fixes for unseekable, unmmapable, and non-normal files, so
4097 that fallback to read() rather than mmap() works.
4098 * gst/gstevent.c: (gst_event_new_newsegment):
4099 Allow newsegment events with segment_start == segment_end, as will
4100 correctly happen if you use filesrc on a zero-size file, for
4103 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4105 * gst/gstplugin.c: (gst_plugin_load_file):
4106 Call g_module_close when we don't load the module
4108 * gst/registries/gstlibxmlregistry.c:
4109 (gst_xml_registry_get_property):
4110 Port leak fix from 0.8
4112 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4114 * docs/gst/gstreamer-docs.sgml:
4115 * docs/gst/tmpl/.cvsignore:
4116 * docs/gst/tmpl/gsttrace.sgml:
4117 * docs/gst/tmpl/gsttrashstack.sgml:
4126 * gst/gsttaginterface.c:
4127 * gst/gsttaginterface.h:
4130 * gst/gsttagsetter.c:
4131 * gst/gsttagsetter.h:
4134 * gst/gsttrashstack.c:
4135 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4136 inlined docs for gsttrace, gsttrashstack
4138 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4141 * gst/elements/gstbufferstore.h:
4142 * gst/elements/gsttypefindelement.c:
4143 * gst/elements/gsttypefindelement.h:
4145 * gst/gsttypefind.c:
4146 * gst/gsttypefind.h:
4147 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4148 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4149 (gst_type_find_factory_dispose),
4150 (gst_type_find_factory_unload_thyself),
4151 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4152 (gst_type_find_factory_get_caps),
4153 (gst_type_find_factory_get_extensions),
4154 (gst_type_find_factory_call_function):
4155 * gst/gsttypefindfactory.h:
4156 * gst/registries/gstlibxmlregistry.c:
4157 * gst/registries/gstxmlregistry.c:
4158 splitted gsttypefind into gsttypefind, gsttypefindfactory
4160 2005-09-07 Andy Wingo <wingo@pobox.com>
4162 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4163 condition whereby the pad's task function is entered before the
4164 pad_mode variable was set.
4166 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4168 * gst/gstpad.c: (gst_pad_alloc_buffer):
4169 Catch misbehaving pad_alloc functions that don't
4170 set up caps and do it for them.
4172 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4174 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4176 * docs/gst/tmpl/.cvsignore:
4177 * docs/gst/tmpl/gstmemchunk.sgml:
4178 * docs/gst/tmpl/gstparse.sgml:
4179 * docs/gst/tmpl/gsttaglist.sgml:
4180 * docs/gst/tmpl/gsttagsetter.sgml:
4181 * docs/gst/tmpl/gsttypefind.sgml:
4182 * docs/gst/tmpl/gsttypefindfactory.sgml:
4183 * gst/gstmemchunk.c:
4186 * gst/gsttaginterface.c:
4187 * gst/gsttypefind.c:
4188 * gst/gsttypefind.h:
4191 === release 0.9.2 ===
4193 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4198 releasing 0.9.2, "South"
4200 2005-09-05 Andy Wingo <wingo@pobox.com>
4202 * gst/registries/gstxmlregistry.h:
4203 * gst/registries/gstxmlregistry.c: Um... resurrect...
4205 * gst/registries/gstxmlregistry.h:
4206 * gst/registries/gstxmlregistry.c: and update to newer API.
4207 Incidentally they should be a bit faster now that they don't have
4210 2005-09-05 Andy Wingo <wingo@pobox.com>
4212 * gst/registries/gstxmlregistry.h:
4213 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4214 replaced by the libxml registry a while back
4216 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4218 * docs/gst/tmpl/gstplugin.sgml:
4219 * gst/elements/gstelements.c:
4221 * gst/gstplugin.c: (gst_plugin_register_func),
4222 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4223 (gst_plugin_get_source):
4225 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4226 (gst_xml_registry_save_plugin):
4227 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4228 (gst_xml_registry_save_plugin):
4229 * tools/gst-inspect.c: (print_plugin_info):
4230 add a "source" plugin description field, to represent the source
4231 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4232 will set it to PACKAGE, which is automake's idea of the name of
4235 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4241 * docs/faq/Makefile.am:
4242 * docs/gst/tmpl/gstelement.sgml:
4243 * docs/gst/tmpl/gsttypes.sgml:
4244 * docs/htmlinstall.mak:
4245 * docs/manual/Makefile.am:
4246 * docs/pwg/Makefile.am:
4247 reorganize doc build a little
4248 split out docbook and gtk-doc stuff
4249 have two separate --enable's and enable them through autogen
4250 but disable by default in configure (to be similar to other
4252 * gstreamer.spec.in:
4253 clean up docs install
4273 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4275 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4278 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4279 (gst_fake_sink_change_state):
4280 Make state change function thread-safe.
4282 * gst/gstpad.c: (gst_pad_alloc_buffer):
4283 Set offset on generic buffer allocated by fallback.
4285 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4287 * docs/gst/gstreamer-sections.txt:
4288 * docs/gst/tmpl/gstelement.sgml:
4290 * libs/gst/controller/gst-controller.c:
4291 (gst_controlled_property_set_interpolation_mode),
4292 (gst_controlled_property_new),
4293 (gst_controller_find_controlled_property):
4294 run the wingo-magic script against the docs
4296 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4298 * docs/gst/gstreamer-docs.sgml:
4299 * docs/gst/gstreamer-sections.txt:
4300 * docs/gst/tmpl/.cvsignore:
4301 * docs/gst/tmpl/gstelementdetails.sgml:
4302 * docs/gst/tmpl/gstelementfactory.sgml:
4305 * gst/gstelementfactory.c:
4306 * gst/gstelementfactory.h:
4307 merged elementdetails docs into elementfactory docs
4310 2005-09-02 Andy Wingo <wingo@pobox.com>
4312 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4313 consider this enum an enum and not a flags.
4315 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4317 * docs/gst/gstreamer-docs.sgml:
4318 * docs/gst/tmpl/.cvsignore:
4319 * docs/gst/tmpl/gstghostpad.sgml:
4320 * docs/gst/tmpl/gstiterator.sgml:
4321 * docs/gst/tmpl/gstmacros.sgml:
4322 * docs/gst/tmpl/gstrealpad.sgml:
4323 * docs/gst/tmpl/gstregistry.sgml:
4324 * docs/gst/tmpl/gstregistrypool.sgml:
4325 * docs/gst/tmpl/gststructure.sgml:
4326 * docs/gst/tmpl/gstsystemclock.sgml:
4327 * docs/gst/tmpl/gsttrace.sgml:
4328 * gst/gstghostpad.c:
4330 * gst/gstmemchunk.c:
4331 * gst/gstmemchunk.h:
4333 * gst/gstregistry.c:
4334 * gst/gstregistrypool.c:
4335 * gst/gststructure.c:
4336 * gst/gstsystemclock.c:
4339 2005-09-02 Andy Wingo <wingo@pobox.com>
4341 * gst/gstelement.h (GstState): Renamed from GstElementState,
4342 changed to be a normal enum instead of flags.
4343 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4344 munged to be GST_STATE_CHANGE_*.
4345 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4346 work with the new state representation.
4347 (GstStateChange): New enumeration of possible state transitions.
4348 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4349 (GstElementClass::change_state): Pass the GstStateChange along as
4350 an argument. Helps language bindings, so they don't have to use
4351 tricky lock-needing macros like GST_STATE_CHANGE ().
4353 * scripts/update-states (file): New script. Run it on a file to
4354 update it for state naming and API changes. Updates files in
4357 * All files updated for the new API.
4359 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4361 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4362 * gst/gstutils.c: (gst_util_set_value_from_string),
4363 (gst_util_set_object_arg):
4364 fix a bunch of unchecked return values
4365 * tools/gst-complete.c: (main):
4366 * gstreamer.spec.in:
4369 2005-09-01 Wim Taymans <wim@fluendo.com>
4371 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4372 (gst_base_sink_event), (gst_base_sink_do_sync),
4373 (gst_base_sink_handle_event):
4374 * gst/base/gstbasesink.h:
4375 Handle newsegments more correctly.
4380 * gst/gstevent.c: (gst_event_new_newsegment):
4381 A newsegment cannot have a start_time of -1
4383 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4385 * win32/gstenumtypes.c:
4386 * win32/gstenumtypes.h:
4389 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4391 * libs/gst/controller/gst-controller.c:
4392 (gst_controlled_property_set_interpolation_mode),
4393 (gst_controlled_property_new):
4396 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4398 * docs/faq/gst-uninstalled:
4403 * gst/gstutils.c: (gst_element_link_filtered):
4405 add gst_element_link_filtered
4407 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4409 * docs/gst/gstreamer-docs.sgml:
4410 * docs/gst/gstreamer-sections.txt:
4411 * docs/gst/tmpl/.cvsignore:
4412 * docs/gst/tmpl/gsterror.sgml:
4413 * docs/gst/tmpl/gstfilter.sgml:
4414 * docs/gst/tmpl/gsturihandler.sgml:
4415 * docs/gst/tmpl/gsturitype.sgml:
4416 * docs/gst/tmpl/gstutils.sgml:
4417 * docs/gst/tmpl/gstxml.sgml:
4425 inlined more docs, fixed double id-ref
4427 2005-08-31 Wim Taymans <wim@fluendo.com>
4429 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4430 (gst_base_transform_handle_buffer):
4431 Passthrough elements don't need the caps as they don't care.
4433 2005-08-31 Wim Taymans <wim@fluendo.com>
4435 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4436 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4437 Don't leak refcounts on buffers.
4439 2005-08-31 Wim Taymans <wim@fluendo.com>
4441 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4442 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4443 (gst_base_transform_chain), (gst_base_transform_change_state):
4444 * gst/base/gstbasetransform.h:
4445 Handle the case where we are not negotiated more gracefully.
4447 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4449 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4450 (gst_file_src_map_region):
4451 Set READONLY flag on mmap'ed buffers, otherwise
4452 gst_buffer_make_writable() won't work properly (#314708).
4454 2005-08-31 Wim Taymans <wim@fluendo.com>
4456 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4457 passthrough elements can even do inplace on non writable
4458 buffers (as they don't touch them).
4460 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4462 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4463 (gst_test_mono_source_set_property),
4464 (gst_test_mono_source_class_init), (GST_START_TEST),
4465 (gst_controller_suite):
4466 more tests (hehe I have the most)
4468 describe popping messages whenusing mulltiple sources
4469 * libs/gst/controller/gst-controller.c:
4470 (gst_controlled_property_set_interpolation_mode),
4471 (gst_controlled_property_new):
4472 * libs/gst/controller/gst-controller.h:
4473 * libs/gst/controller/gst-interpolation.c:
4474 implement boolean properties
4476 2005-08-31 Wim Taymans <wim@fluendo.com>
4478 * gst/gstminiobject.c: (gst_mini_object_ref):
4479 Cannot assert that the refcount has to be positive
4480 since a disposed object can be resurrected.
4482 2005-08-31 Wim Taymans <wim@fluendo.com>
4484 * gst/gstpad.c: (gst_pad_init):
4485 Revert change, need to first fix badly behaving
4488 2005-08-30 Wim Taymans <wim@fluendo.com>
4490 * check/elements/fakesrc.c: (setup_fakesrc):
4491 * check/elements/identity.c: (setup_identity):
4492 Activate pads before using them.
4494 2005-08-30 Wim Taymans <wim@fluendo.com>
4496 * gst/base/gstadapter.c: (gst_adapter_flush):
4497 Flushing out 0 bytes is ok for this function.
4499 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4500 no newsegment gives a warning and sets the start/stop to
4503 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4504 (gst_base_transform_set_passthrough):
4507 * gst/gstminiobject.c: (gst_mini_object_ref):
4508 Check refcount here too.
4510 * gst/gstpad.c: (gst_pad_init):
4511 Pads are initially flushing and refusing data.
4513 * gst/gstutils.c: (gst_element_link_pads_filtered):
4514 When adding a capsfilter element make sure it has the
4515 same state as the parent bin.
4517 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4519 * docs/gst/tmpl/.cvsignore:
4520 * docs/gst/tmpl/gstformat.sgml:
4521 * docs/gst/tmpl/gstversion.sgml:
4525 * gst/gstversion.h.in:
4526 more docs and two more inlined
4528 2005-08-30 Wim Taymans <wim@fluendo.com>
4530 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4531 Don't sync to clock.
4533 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4535 * docs/gst/gstreamer-sections.txt:
4536 ultral33t func10ns deserve to appear in the docs actually
4537 * docs/gst/tmpl/.cvsignore:
4538 * docs/gst/tmpl/gstcompat.sgml:
4539 * docs/gst/tmpl/gstconfig.sgml:
4540 * gst/check/gstcheck.c:
4542 * gst/gstconfig.h.in:
4545 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4547 * docs/gst/tmpl/.cvsignore:
4548 * docs/gst/tmpl/gstquery.sgml:
4549 * docs/gst/tmpl/gstutils.sgml:
4552 inlined and extended docs
4554 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4556 * check/gst-libs/controller.c: (GST_START_TEST),
4557 (gst_controller_suite):
4559 * docs/gst/tmpl/gstutils.sgml:
4560 * docs/libs/gstreamer-libs-sections.txt:
4561 * docs/libs/tmpl/gstdataprotocol.sgml:
4563 * examples/controller/audio-example.c: (main):
4564 controller example works now
4567 * tools/gst-inspect.c: (print_element_properties_info):
4568 show param spec flags
4570 2005-08-29 Andy Wingo <wingo@pobox.com>
4572 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4574 2005-08-28 Andy Wingo <wingo@pobox.com>
4576 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4577 as having two arguments instead of just one. Allows superclasses
4578 to access information on subclasses -- see the terrible for() loop
4579 in gtype.c:g_type_create_instance for the reason why. All callers
4582 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4584 * docs/design/part-messages.txt:
4586 * docs/gst/tmpl/.cvsignore:
4587 * docs/gst/tmpl/gstcaps.sgml:
4588 * docs/gst/tmpl/gstclock.sgml:
4595 added descriptions for bus and message
4596 inline caps and clock docs
4598 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4604 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4606 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4609 2005-08-26 Andy Wingo <wingo@pobox.com>
4611 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4612 element_set_state's return val.
4613 (test_2_elements): Add test that's been disabled for months.
4615 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4616 can-activate-pull properties.
4618 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4619 can-activate-pull properties. Implement is_seekable so fakesrc can
4620 operate in pull mode.
4622 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4624 (gst_base_sink_activate, gst_base_sink_activate_pull)
4625 (gst_base_sink_activate_push): Make activation mode choosing work.
4627 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4628 is right. Make pull mode work. Post an eos before pausing in pull
4630 (gst_base_sink_change_state): Pay attention to the core's
4631 change_state() return val.
4633 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4634 has-getrange properties. Cleanups.
4636 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4637 has_getrange and replace with can_activate_pull and
4640 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4641 locking comments. Remove has_loop, has_chain and replace with
4642 can_activate_pull and can_activate_push.
4644 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4647 * examples/Makefile.am:
4648 * examples/metadata/Makefile.am:
4649 * examples/metadata/read-metadata.c: (message_loop),
4650 (have_pad_handler), (make_pipeline), (print_tag), (main):
4651 Add metadata reading example that loops over a list of filenames,
4652 dumping any tags found.
4654 * gst/gstbus.c: (gst_bus_dispose):
4655 * gst/gstelement.c: (gst_element_dispose):
4656 Release a few potentially-held references in dispose.
4658 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4660 * docs/gst/tmpl/gstminiobject.sgml:
4661 do *not* add tmpl/*.sgml files to CVS!
4663 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4665 * libs/gst/bytestream/.cvsignore:
4666 * libs/gst/bytestream/Makefile.am:
4667 * libs/gst/bytestream/adapter.c:
4668 * libs/gst/bytestream/adapter.h:
4669 * libs/gst/bytestream/bytestream.c:
4670 * libs/gst/bytestream/bytestream.h:
4671 * libs/gst/bytestream/filepad.c:
4672 * libs/gst/bytestream/filepad.h:
4673 removing obsolete files
4675 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4677 * docs/gst/gstreamer-docs.sgml:
4678 * docs/libs/gstreamer-libs-docs.sgml:
4679 disabed additional index entries again, as this makes docs-gen just
4680 slow and they aren't useful yet
4681 * docs/libs/gstreamer-libs-sections.txt:
4682 little -section.txt cleanup for libs
4684 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4686 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4687 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4688 fix up some debugging
4689 (gst_base_transform_get_unit_size),
4690 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4691 (gst_base_transform_handle_buffer):
4692 * gst/base/gstbasetransform.h:
4693 handle and store timed NEWSEGMENT events so that subclasses that
4694 calculate time by counting samples have a segment_start time they
4695 need to add to their timestamps - see audioresample
4697 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4700 removed ';' from the end of macro defs
4701 * docs/gst/gstreamer-docs.sgml:
4702 * docs/gst/gstreamer-sections.txt:
4703 * docs/gst/tmpl/.cvsignore:
4705 * gst/gstelement.c: (gst_element_class_init),
4706 (gst_element_set_state), (activate_pads),
4707 (gst_element_save_thyself):
4708 * gst/gstevent.c: (gst_event_new_newsegment):
4710 * gst/gstiterator.c:
4711 * gst/gstiterator.h:
4714 * gst/gstutils.c: (gst_pad_query_convert):
4716 fixed parameter name mismatches between source, header and docs
4717 added some more docs, resolved the last batch of unused elements in
4718 docs (now someone needs to doc them)
4720 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4722 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4723 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4724 don't walk through the plugins backwards. Where is all this
4725 reversed logic coming from ?
4727 2005-08-25 Wim Taymans <wim@fluendo.com>
4729 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4730 (gst_base_transform_transform_size),
4731 (gst_base_transform_configure_caps),
4732 (gst_base_transform_get_unit_size),
4733 (gst_base_transform_buffer_alloc),
4734 (gst_base_transform_change_state):
4735 * gst/base/gstbasetransform.h:
4736 Cache caps unit_size.
4737 Make sure we cannot negotiate up and downstream at the
4740 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4742 * gst/gst.c: (init_pre), (init_post):
4743 register the installed plugin path after the env var
4744 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4745 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4746 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4747 directories, so the tests can prefer uninstalled over installed
4749 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4751 * gst/base/gstbasetransform.h:
4756 2005-08-25 Wim Taymans <wim@fluendo.com>
4758 * gst/gstbin.c: (bin_bus_handler):
4759 Be a bit more conservative about the posted message.
4761 * gst/gstbus.c: (gst_bus_post):
4762 Some cleanups, warn wrong return values.
4764 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4766 * check/gst/gstbin.c: (GST_START_TEST):
4767 * gst/gstbin.c: (bin_bus_handler):
4768 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4769 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4770 (gst_message_new_warning), (gst_message_new_tag),
4771 (gst_message_new_state_changed), (gst_message_new_segment_start),
4772 (gst_message_new_segment_done), (gst_message_new_custom):
4774 * tools/gst-launch.c: (event_loop):
4775 * tools/gst-md5sum.c: (event_loop):
4776 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4778 2005-08-25 Wim Taymans <wim@fluendo.com>
4780 * check/generic/states.c: (GST_START_TEST):
4781 Cleanup can be done at the end.
4783 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4784 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4785 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4786 Oh boy.. Thanks for finding this, Thomas.
4788 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4790 * docs/gst/gstreamer.types:
4793 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4795 * docs/gst/gstreamer-docs.sgml:
4796 * docs/gst/gstreamer-sections.txt:
4797 * docs/gst/tmpl/.cvsignore:
4799 * gst/gstiterator.c:
4801 * gst/registries/gstxmlregistry.h:
4802 added missing classes and symbols (123 more to go)
4803 removed removed symbols from section file
4804 fixed many doc-comments
4806 2005-08-24 Wim Taymans <wim@fluendo.com>
4808 * check/generic/states.c: (GST_START_TEST):
4809 Make sure all tasks are stopped.
4811 * check/gst/gstbin.c: (GST_START_TEST):
4812 Unref after usage for proper valgrinding.
4814 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4815 Really wait for the task to stop before destroying the
4818 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4819 (gst_queue_src_activate_push):
4820 Small cleanups. Don't stop the task when we did not start
4823 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4824 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4825 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4828 Protect the stream lock with the object lock.
4829 Disallow setting the stream lock when running.
4830 Add cleanup_all to wait for the threadpool to finish.
4831 Remove code to autoallocate a mutex if none was provided.
4832 Add _join() to wait for a task to stop.
4833 Protect the thread pool with a global lock.
4835 2005-08-24 Wim Taymans <wim@fluendo.com>
4837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4838 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4839 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4840 * gst/base/gstbasesink.h:
4841 Handle newsegment events correctly.
4842 Drop buffers out of the segment range.
4844 2005-08-22 Andy Wingo <wingo@pobox.com>
4846 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4847 macro, implements an interface and gstimplementsinterface for a
4850 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4852 * check/Makefile.am:
4853 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4854 add a test that does a bunch of state changes on elements
4855 needs some fixing for valgrind
4856 * check/states/sinks.c: (gst_object_suite):
4859 add prototype for gst_caps_is_equal_fixed
4861 * gst/gstregistrypool.c:
4864 2005-08-24 Andy Wingo <wingo@pobox.com>
4866 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4867 convert a negative value. Doesn't make much sense. Mostly this is
4868 here to force callers to ensure -1 maps to -1.
4870 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4872 * docs/pwg/advanced-types.xml:
4873 Well done to Michael for catching my deliberate introduction
4874 of this spelling mistake.
4875 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4877 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4878 unlink pads before removing the element from the bin.
4880 2005-08-24 Andy Wingo <wingo@pobox.com>
4882 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4883 the same thing as GST_DEBUG=*:4.
4884 (parse_debug_level, parse_debug_category): New helper parsers.
4886 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4888 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4889 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4890 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4891 (gst_base_transform_buffer_alloc),
4892 (gst_base_transform_handle_buffer):
4893 use gboolean return values and pointers to size so we can use the
4894 full GST_BUFFER_SIZE range (guint) for buffer sizes
4895 use GstPadDirection for transform_caps
4896 * gst/base/gstbasetransform.h:
4897 rename get_size to get_unit_size since that's what it is
4898 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4899 use GstPadDirection for transform_caps
4900 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4902 cleanup and debugging
4904 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4906 * gst/gstelement.c: (gst_element_class_init),
4907 (gst_element_set_state), (activate_pads),
4908 (gst_element_save_thyself):
4909 * tools/gst-compprep.c: (main):
4910 * tools/gst-inspect.c: (print_element_properties_info):
4911 * tools/gst-xmlinspect.c: (print_element_properties):
4912 Fixed long standing mem-leak
4914 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4916 * check/gst/gstbin.c: (GST_START_TEST):
4917 * gst/gstbin.c: (bin_bus_handler):
4918 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4919 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4920 (gst_message_new_warning), (gst_message_new_tag),
4921 (gst_message_new_state_changed), (gst_message_new_segment_start),
4922 (gst_message_new_segment_done), (gst_message_new_custom):
4924 * tools/gst-launch.c: (event_loop):
4925 * tools/gst-md5sum.c: (event_loop):
4926 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4927 that applications can sensibly post custom messages with references
4928 to their own objects.
4930 2005-08-24 Andy Wingo <wingo@pobox.com>
4932 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4935 2005-08-24 Wim Taymans <wim@fluendo.com>
4937 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4938 (gst_base_transform_transform_caps),
4939 (gst_base_transform_transform_size),
4940 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4941 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4942 (gst_base_transform_handle_buffer):
4943 * gst/base/gstbasetransform.h:
4944 Many fixes and new features added by Thomas. Can now also do
4945 transforms with variable sizes and a custom fixate_caps function.
4947 2005-08-24 Wim Taymans <wim@fluendo.com>
4949 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4953 Cast to ClockTime before formatting to time.
4958 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4960 * check/gst-libs/controller.c: (GST_START_TEST),
4961 (gst_controller_suite):
4962 * docs/gst/tmpl/gstcaps.sgml:
4963 * docs/gst/tmpl/gstghostpad.sgml:
4964 * docs/gst/tmpl/gstquery.sgml:
4965 * docs/gst/tmpl/gstutils.sgml:
4966 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4967 (gst_object_sink_values), (gst_object_get_value_arrays),
4968 (gst_object_get_value_array):
4969 gracefully handle helper method calls to objects that are not beeing
4970 controlled, added test case for that
4972 2005-08-23 Wim Taymans <wim@fluendo.com>
4974 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4975 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4976 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4977 (gst_event_parse_qos), (gst_event_new_seek),
4978 (gst_event_parse_seek):
4980 Some more debugging output and doc cleanups.
4982 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4983 Fix possible deadlock.
4985 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4987 * docs/gst/gstreamer-docs.sgml:
4988 * docs/gst/gstreamer-sections.txt:
4989 * docs/gst/gstreamer.types:
4990 * docs/gst/tmpl/.cvsignore:
4995 added 100 symbols from gstreamer-unused.txt to the right sections
4996 fixed more broken comments
4997 added GstBus to docs
4999 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5001 * docs/gst/gstreamer-sections.txt:
5002 * docs/gst/tmpl/.cvsignore:
5003 * docs/gst/tmpl/gstbin.sgml:
5004 * docs/gst/tmpl/gstbuffer.sgml:
5005 * gst/base/gstbasesrc.c:
5006 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5009 * tools/gst-launch.1.in:
5010 inlined more doc comments, added missing comments and fixed comments
5013 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5015 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5019 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5021 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5022 * gst/gststructure.h:
5023 add a fixate function for booleans; add a FIXME that these func
5024 names should probably be gst_structure_fixate_*
5026 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5028 * docs/gst/gstreamer-docs.sgml:
5029 * docs/gst/gstreamer-sections.txt:
5031 * gst/gstbin.c: (gst_bin_get_type),
5032 (gst_bin_child_proxy_get_child_by_index),
5033 (gst_bin_child_proxy_get_children_count),
5034 (gst_bin_child_proxy_init):
5035 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5036 (gst_child_proxy_get_child_by_index),
5037 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5038 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5039 (gst_child_proxy_get), (gst_child_proxy_set_property),
5040 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5041 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5042 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5043 * gst/gstchildproxy.h:
5044 * gst/parse/grammar.y:
5045 * tools/gst-inspect.c: (print_interfaces),
5046 (print_element_properties_info), (print_element_info):
5047 ported gstchildproxy over from 0.8
5048 ported gst-inspect fixes and enhancements over from 0.8
5050 2005-08-22 Wim Taymans <wim@fluendo.com>
5052 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5053 (gst_base_transform_handle_buffer):
5054 Also call the transform function if we have ANY caps.
5056 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5059 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5061 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5062 Don't pretend to handle seek events if the source is not seekable
5064 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5066 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5067 Remove extra parameter to debug output
5069 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5070 (gst_base_src_do_seek), (gst_base_src_activate_push):
5071 Fix seek event handling.
5073 * gst/gstpipeline.c: (gst_pipeline_change_state):
5074 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5075 (gst_queue_src_activate_push):
5076 Don't start the src pad task on FLUSH_STOP if the pad
5080 2005-08-22 Wim Taymans <wim@fluendo.com>
5082 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5083 Added check for gst_static_caps_get() refcounting.
5085 2005-08-22 Wim Taymans <wim@fluendo.com>
5087 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5088 Make _static_caps_get() refcounting sane.
5090 * gst/gstelement.c: (gst_element_set_state):
5091 Add g_return_val_if_fail() to protect against segfaults.
5093 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5095 * docs/gst/tmpl/gstevent.sgml:
5098 inlined remaining docs, added missing doc comments
5100 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5102 * check/gst/gstbin.c: (GST_START_TEST):
5103 since we don't know when preroll is done, use refcount range
5105 * gst/check/gstcheck.h:
5106 add macro for checking refcount range
5108 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5110 * check/Makefile.am:
5111 clean up environment for when registry gets built versus
5112 when actual tests are run; valgrind seems to not report
5113 leaks if GST_PLUGIN_PATH is set to some specific values
5114 * check/gst/gstbin.c: (GST_START_TEST):
5115 add more refcounting checks; maybe this exposes a
5118 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5119 * gst/check/gstcheck.h:
5120 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5121 (gst_bin_change_state):
5122 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5123 add/fix debugging/whitespace
5125 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5127 * check/gst/gstevent.c: (event_probe), (test_event),
5129 Er, don't call gst_bin_watch_for_state_change you idiot.
5131 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5133 * check/Makefile.am:
5134 Use CHECK_CFLAGS and CHECK_LIBS
5135 * check/gst/gstevent.c: (event_probe), (test_event),
5138 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5139 (gst_base_src_start), (gst_base_src_stop),
5140 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5141 (gst_base_src_change_state):
5142 Sprinkle gst_base_src_stop liberally around error paths to fix
5143 problems reusing a source after failed state changes.
5144 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5145 (helper_find_suggest), (gst_type_find_helper):
5146 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5148 * docs/gst/tmpl/gstevent.sgml:
5149 Migrate part of the docs from the SGML file. Wait for ensonic to
5150 tell me how I did it wrong ;)
5151 * tools/gst-typefind.c: (main):
5152 Extra robustness to state changes between files.
5154 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5156 * check/Makefile.am:
5157 don't valgrind the controller test - it's leaking - Stefan, HELP
5158 * gst/check/gstcheck.c: (gst_check_message_error),
5159 (gst_check_chain_func), (gst_check_setup_element),
5160 (gst_check_teardown_element), (gst_check_setup_src_pad),
5161 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5162 (gst_check_teardown_sink_pad):
5163 * gst/check/gstcheck.h:
5164 add a bunch of methods to set up elements, and src and sink pads
5165 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5166 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5171 whitespace/doc fixes
5173 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5176 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5177 be handled by the application and not always printed as well
5179 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5181 * check/Makefile.am:
5183 * gst/check/gstcheck.c: (gst_check_message_error):
5184 * gst/check/gstcheck.h:
5185 add a fail_unless_equals_int
5186 add fail_unless for error messages
5188 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5190 * check/Makefile.am:
5192 * common/Makefile.am:
5195 factor out some of the common stuff so we can use it
5197 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5199 * check/Makefile.am:
5200 * check/gst/gstiterator.c: (GST_START_TEST):
5201 * check/gst/gstsystemclock.c: (GST_START_TEST),
5202 (gst_systemclock_suite):
5203 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5207 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5209 * check/elements/.cvsignore:
5210 * check/elements/gstfakesrc.c:
5211 rename to name of element
5212 * check/elements/identity.c: (chain_func), (event_func),
5213 (setup_identity), (cleanup_identity), (GST_START_TEST),
5214 (identity_suite), (main):
5215 add a test for identity
5216 * check/Makefile.am:
5217 * pkgconfig/Makefile.am:
5218 * pkgconfig/gstreamer-check.pc.in:
5219 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5223 move the check stuff to a library that gets installed
5224 * check/gst-libs/controller.c: (GST_START_TEST):
5225 * check/gst-libs/gdp.c:
5226 * check/gst/gst.c: (GST_START_TEST):
5227 * check/gst/gstbin.c:
5228 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5229 * check/gst/gstbus.c:
5230 * check/gst/gstcaps.c: (GST_START_TEST):
5231 * check/gst/gstelement.c:
5232 * check/gst/gstghostpad.c:
5233 * check/gst/gstiterator.c:
5234 * check/gst/gstmessage.c:
5235 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5236 * check/gst/gstobject.c:
5237 * check/gst/gstpad.c: (GST_START_TEST):
5238 * check/gst/gststructure.c: (GST_START_TEST):
5239 * check/gst/gstsystemclock.c: (GST_START_TEST),
5240 (gst_systemclock_suite):
5241 * check/gst/gsttag.c: (gst_tag_suite):
5242 * check/gst/gstvalue.c:
5243 * check/pipelines/cleanup.c:
5244 * check/pipelines/simple_launch_lines.c:
5245 * check/states/sinks.c:
5246 change include statement
5248 * docs/gst/gstreamer-sections.txt:
5249 * docs/gst/tmpl/gstpad.sgml:
5250 document more pad stuff
5251 * gst/gstminiobject.c: (gst_mini_object_ref),
5252 (gst_mini_object_unref):
5255 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5257 * docs/gst/tmpl/gst.sgml:
5259 eliminate another tmpl file, fix spelling in the long-description
5261 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5263 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5264 (test_event), (timediff), (gstevents_suite):
5265 Should fix build on 64-bit arch's
5267 2005-08-18 Andy Wingo <wingo@pobox.com>
5269 Make sure that when a pipeline goes to PLAYING, that data has
5270 actually hit the sink.
5272 * check/states/sinks.c (test_sink): A sink that doesn't get any
5273 data shouldn't return SUCCESS for going to either PLAYING or
5274 PAUSED. Test also the return values on the way back down.
5276 * gst/gstelement.c (gst_element_set_state): When changing the
5277 state of an element currently changing state asynchronously, go to
5278 lost-state after commiting the pending state. Makes future calls
5279 to get_state continue to return ASYNC.
5281 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5282 ASYNC when going to PLAYING if we still don't have preroll, as can
5283 happen with live sources.
5285 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5287 * docs/pwg/advanced-types.xml:
5288 Hack long paragraph into 2 chunks as a workaround for buggy
5289 jadetex version in sid and breezy that loops infinitely and
5292 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5294 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5295 (test_event), (timediff), (gstevents_suite):
5296 Provide more error margin in clock measurements to allow for
5297 g_get_current_time inaccuracies.
5299 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5301 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5302 (test_event), (timediff), (gstevents_suite):
5303 Fix error message output so I might be able to tell why the
5304 test works here but fails on the build farm.
5306 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5308 * check/Makefile.am:
5309 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5310 (test_event), (timediff), (gstevents_suite), (main):
5313 * docs/design/part-seeking.txt:
5316 * docs/gst/tmpl/gstevent.sgml:
5317 * docs/gst/tmpl/gstfakesrc.sgml:
5320 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5321 Treat a buffer-without-newsegment the same as a receiving
5322 a newsegment not in time format, and disable syncing to the clock
5325 * gst/gstbus.c: (gst_bus_set_sync_handler):
5326 Assert if anyone tries to replace the existing sync_handler for bus,
5327 as only the owner should be setting it.
5330 Have a fixed set of custom event enums with events identified by
5331 their structure name (as in 0.8), rather than a free-for-all
5332 allowing collisions between enum values from different plugins.
5334 * gst/gstpad.c: (gst_pad_class_init):
5337 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5338 Handle out-of-band downstream events from the sending thread.
5340 2005-08-17 Andy Wingo <wingo@pobox.com>
5342 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5343 play-timeout==0 to mean no timeout at all. In that case, don't
5344 bother with a get_state or a warning, just return directly, even
5347 * gst/base/gstbasetransform.c: Debug changes.
5350 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5351 ensure bins post state change messages. A bit of a hack but I can't
5352 think of a way to avoid it.
5354 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5356 2005-08-16 Andy Wingo <wingo@pobox.com>
5358 * gst/base/gstadapter.h:
5359 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5360 peek() but you own the data. Not terribly efficient atm.
5362 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5364 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5365 (gst_element_found_tags):
5367 Add two utility functions for tag handling.
5369 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5371 * docs/manual/advanced-dataaccess.xml:
5372 * docs/manual/basics-helloworld.xml:
5373 Fix docs to use _bin_add() before _link(), which fixes the examples
5374 with recent core versions (reported by Madhan Raj M
5375 <raj_madan@rediffmail.com>, #313199).
5377 2005-08-16 Wim Taymans <wim@fluendo.com>
5379 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5380 Added subtract checks.
5382 * docs/design/part-events.txt:
5383 Some more docs about newsegment
5385 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5388 * gst/gstcaps.c: (gst_caps_to_string):
5389 Add comments, cleanups.
5391 * gst/gstelement.c: (gst_element_save_thyself):
5394 * gst/gstvalue.c: (gst_value_collect_int_range),
5395 (gst_string_unwrap), (gst_value_union_int_int_range),
5396 (gst_value_union_int_range_int_range),
5397 (gst_value_intersect_int_int_range),
5398 (gst_value_intersect_int_range_int_range),
5399 (gst_value_intersect_double_double_range),
5400 (gst_value_intersect_double_range_double_range),
5401 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5402 (gst_value_subtract_int_range_int),
5403 (gst_value_subtract_double_range_double),
5404 (gst_value_subtract_double_range_double_range),
5405 (gst_value_subtract_from_list), (gst_value_subtract_list),
5406 (gst_value_can_compare), (gst_value_compare_fraction):
5407 Cleanups, add comments, remove unneeded asserts.
5409 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5411 * tools/gst-launch.c: (event_loop):
5412 don't convert NULL structures to strings
5414 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5416 * docs/gst/gstreamer-sections.txt:
5417 made some defines private
5418 * docs/gst/tmpl/gstconfig.sgml:
5419 * docs/gst/tmpl/gstqueue.sgml:
5420 * docs/gst/tmpl/gsttaglist.sgml:
5421 * docs/gst/tmpl/gsttypes.sgml:
5422 * docs/gst/tmpl/gstutils.sgml:
5423 * docs/pwg/appendix-porting.xml:
5424 * gst/base/gstbasesink.h:
5425 * gst/base/gstbasesrc.c:
5426 * gst/base/gstbasesrc.h:
5427 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5428 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5429 * gst/gstelement.c: (gst_element_class_init):
5430 * gst/gstpad.c: (gst_pad_class_init):
5431 * gst/gstqueue.c: (gst_queue_class_init):
5432 * gst/gstxml.c: (gst_xml_class_init):
5433 documented all undocumented signal inline
5434 * libs/gst/controller/gst-controller.h:
5437 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5439 * docs/pwg/appendix-porting.xml:
5440 Document _set_link_function -> _set_setcaps_function.
5442 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5444 * check/Makefile.am:
5445 add a .check target for running the check
5446 * check/gst-libs/controller.c: (GST_START_TEST):
5448 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5449 complete checks for gstbuffer; would be nice if I could get the
5450 gcov stuff to work so I can see if I actually completed gstbuffer.c
5452 add ASSERT_BUFFER_REFCOUNT
5454 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5456 * docs/gst/gstreamer-sections.txt:
5457 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5459 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5460 spew out a warning if a tag that is already registered
5461 is re-registered, unless it is re-registered with a
5462 different type (#308438).
5464 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5466 * docs/pwg/appendix-porting.xml:
5467 * docs/pwg/building-state.xml:
5468 Add some paragraphs about state changes in 0.9 to the PWG
5469 and the porting guide, in particular about the new meaning
5470 of GST_STATE_PAUSED and how to write state change functions
5471 with concurrent access by multiple threads in mind.
5473 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5475 * docs/gst/gstreamer-docs.sgml:
5476 * docs/libs/gstreamer-libs-docs.sgml:
5477 added deprecation and since indexes
5478 * libs/gst/controller/gst-controller.c:
5479 * libs/gst/controller/gst-helper.c:
5483 2005-08-11 Wim Taymans <wim@fluendo.com>
5485 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5486 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5487 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5488 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5489 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5490 (gst_ghost_pad_set_target):
5491 Actually implement (re)setting the target on a ghostpad
5492 as described in the docs.
5494 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5496 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5497 Check whether GST_DEBUG_NO_COLOR environment variable is
5498 set and disable coloured debug output if that is the case.
5500 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5502 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5503 (gst_type_find_helper):
5504 The memory returned by gst_type_find_peek() needs to
5505 stay valid until the end of a typefind function, and
5506 typefind functions may keep results from different
5507 offsets around, so we can't just unref the buffer from
5508 the previous _peek(), but have to save all buffers
5509 returned by _peek() until typefinding is done and only
5512 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5514 * docs/gst/gstreamer-sections.txt:
5516 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5518 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5520 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5521 Fix a pretty good memleak.
5523 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5525 * gst/gstiterator.h:
5526 Fix wrong include and 'make distcheck'.
5528 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5530 * gst/gstbin.c: (bin_bus_handler):
5531 Use gst_element_post_message() instead.
5533 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5535 * gst/base/gstadapter.h:
5536 * gst/base/gstbasesink.h:
5537 * gst/base/gstbasesrc.h:
5538 * gst/base/gstbasetransform.h:
5539 * gst/base/gstcollectpads.h:
5540 * gst/base/gstpushsrc.h:
5541 * gst/gstiterator.h:
5542 Add padding to our base elements' class and instance structs and
5543 to GstIterator (you will need to rebuild all plugins and apps!)
5545 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5547 * gst/gstbin.c: (bin_bus_handler):
5548 Make default message forwarding from child->bus to bin->bus
5549 threadsafe and make it not emit warnings if the parent has no bus.
5551 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5553 * gst/gstelement.c: (activate_pads):
5554 On paused->ready, set pad->caps to NULL, as is the documented
5555 behaviour in this state change. Fixes playback of series of
5556 media files when visualization is enabled in Totem.
5558 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5560 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5561 Allow NULL as filter-caps (which means "any").
5563 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5565 * docs/libs/gstreamer-libs-sections.txt:
5566 * libs/gst/controller/gst-controller.c:
5567 * libs/gst/controller/gst-controller.h:
5568 * libs/gst/controller/gst-helper.c:
5569 adding more entries to the docs and fix small doc-bugs
5571 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5573 * docs/gst/gstreamer-docs.sgml:
5574 * docs/gst/gstreamer-sections.txt:
5575 * docs/gst/gstreamer.types:
5576 * docs/gst/tmpl/gstbasesink.sgml:
5577 * docs/gst/tmpl/gstbasesrc.sgml:
5578 * docs/gst/tmpl/gstbasetransform.sgml:
5579 * docs/gst/tmpl/gstfakesrc.sgml:
5580 * gst/base/gstcollectpads.c:
5581 * gst/base/gstcollectpads.h:
5582 * libs/gst/controller/gst-controller.c:
5583 * libs/gst/controller/gst-controller.h:
5584 * libs/gst/controller/gst-helper.c:
5585 * libs/gst/controller/gst-interpolation.c:
5586 * libs/gst/controller/lib.c:
5587 added long/short desc for controller docs
5588 added collectpads base class docs
5589 added correct includes to base-class docs
5591 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5593 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5594 (gst_test_mono_source_set_property),
5595 (gst_test_mono_source_class_init), (GST_START_TEST),
5596 (gst_controller_suite):
5597 * docs/gst/gstreamer-docs.sgml:
5598 * docs/gst/gstreamer-sections.txt:
5599 * docs/gst/gstreamer.types:
5600 * docs/libs/gstreamer-libs-docs.sgml:
5601 * docs/libs/gstreamer-libs-sections.txt:
5602 * gst/base/gstadapter.c:
5603 * libs/gst/controller/gst-controller.c:
5604 (gst_controlled_property_new), (gst_controlled_property_free),
5605 (gst_controller_new_valist),
5606 (gst_controller_remove_properties_valist),
5607 (gst_controller_sink_values), (_gst_controller_finalize):
5608 * libs/gst/controller/gst-controller.h:
5609 * libs/gst/controller/gst-helper.c:
5610 (gst_object_control_properties), (gst_object_uncontrol_properties),
5611 (gst_object_get_controller), (gst_object_set_controller),
5612 (gst_object_sink_values), (gst_object_get_value_arrays),
5613 (gst_object_get_value_array):
5614 more tests (and fixes) for the controller
5615 more docs for the controller
5616 integrated companies docs for the adapter
5618 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5620 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5621 (GST_START_TEST), (fakesrc_suite):
5622 add tests for sizetype
5624 2005-08-04 Andy Wingo <wingo@pobox.com>
5626 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5627 fixes buffer_alloc proxying among other things.
5629 * gst/base/gstbasetransform.c:
5630 * gst/base/gstbasetransform.h:
5631 Revert patch to gstbasetransform from 7-28 removing
5634 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5635 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5636 Semantics changed, should return not the size of the output buffer
5637 but the byte size of a buffer with a given caps.
5639 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5641 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5642 out) are not the pad caps until setcaps finishes.
5643 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5644 not-in-place case as well. Deal with changing from in-place to
5645 not-in-place within calling pad_alloc_buffer. Still a bit
5646 concerned about the overhead here...
5648 2005-08-03 Andy Wingo <wingo@pobox.com>
5650 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5651 fixating is an error.
5653 2005-08-04 Edward Hervey <edward@fluendo.com>
5655 * gst/base/gstadapter.h:
5656 Added gst_adapter_get_type() to the header
5658 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5660 * check/Makefile.am:
5661 * check/gst-libs/controller.c:
5662 * libs/gst/controller/gst-controller.c:
5663 (gst_controller_new_valist):
5664 added check test suite for the controller
5665 * gst/base/gstpushsrc.c:
5668 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5670 * docs/gst/Makefile.am:
5671 * docs/gst/gstreamer-docs.sgml:
5672 * docs/gst/gstreamer-sections.txt:
5673 * docs/gst/gstreamer.types:
5674 * docs/gst/tmpl/gstfakesrc.sgml:
5676 * gst/base/gstbasesink.c:
5677 * gst/base/gstbasesink.h:
5678 * gst/base/gstbasesrc.c:
5679 * gst/base/gstbasesrc.h:
5680 * gst/base/gstbasetransform.c:
5681 * gst/base/gstpushsrc.c:
5682 * gst/base/gstpushsrc.h:
5683 add short/long description docs to base classes
5684 add pushsrc to the docs
5685 remove consolidated doc fragments
5687 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5690 * docs/libs/Makefile.am:
5691 * docs/libs/gstreamer-libs-docs.sgml:
5692 * docs/libs/gstreamer-libs-sections.txt:
5693 * docs/libs/gstreamer-libs.types:
5694 * examples/Makefile.am:
5695 * examples/controller/.cvsignore:
5696 * examples/controller/Makefile.am:
5697 * examples/controller/audio-example.c: (main):
5698 * libs/gst/Makefile.am:
5699 * libs/gst/controller/.cvsignore:
5700 * libs/gst/controller/Makefile.am:
5701 * libs/gst/controller/gst-controller.c:
5702 (on_object_controlled_property_changed), (gst_timed_value_compare),
5703 (gst_timed_value_find),
5704 (gst_controlled_property_set_interpolation_mode),
5705 (gst_controlled_property_new), (gst_controlled_property_free),
5706 (gst_controller_find_controlled_property),
5707 (gst_controller_new_valist), (gst_controller_new),
5708 (gst_controller_remove_properties_valist),
5709 (gst_controller_remove_properties), (gst_controller_set),
5710 (gst_controller_set_from_list), (gst_controller_unset),
5711 (gst_controller_get), (gst_controller_get_all),
5712 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5713 (gst_controller_get_value_array),
5714 (gst_controller_set_interpolation_mode),
5715 (_gst_controller_finalize), (_gst_controller_init),
5716 (_gst_controller_class_init), (gst_controller_get_type):
5717 * libs/gst/controller/gst-controller.h:
5718 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5719 (g_object_uncontrol_properties), (g_object_get_controller),
5720 (g_object_set_controller), (g_object_sink_values),
5721 (g_object_get_value_arrays), (g_object_get_value_array):
5722 * libs/gst/controller/gst-interpolation.c:
5723 (gst_controlled_property_find_timed_value_node),
5724 (interpolate_none_get), (interpolate_trigger_get),
5725 (interpolate_trigger_get_value_array):
5726 * libs/gst/controller/lib.c: (gst_controller_init):
5727 * pkgconfig/Makefile.am:
5728 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5729 * pkgconfig/gstreamer-control.pc.in:
5730 * testsuite/Makefile.am:
5731 * testsuite/controller/.cvsignore:
5732 * testsuite/controller/Makefile.am:
5733 * testsuite/controller/interpolator.c: (main):
5734 added controller code
5735 removed dparam pc files
5737 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5738 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5739 (gst_collectpads_stop):
5740 Broadcast the condition when shutting down, to make sure we wake all
5741 threads up. Shut down pads on finalize, for safety.
5743 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5744 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5745 (gst_base_transform_handle_buffer),
5746 (gst_base_transform_change_state):
5747 Handle PAUSED->READY->PAUSED transition after negotiation
5749 * gst/gstmessage.c: (gst_message_init):
5750 Extra piece of debug for new messages.
5752 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5755 * docs/gst/tmpl/gstbasesrc.sgml:
5756 * docs/gst/tmpl/gstelement.sgml:
5757 * docs/gst/tmpl/gstevent.sgml:
5758 * docs/gst/tmpl/gstfakesrc.sgml:
5759 * docs/gst/tmpl/gstformat.sgml:
5760 * docs/gst/tmpl/gstghostpad.sgml:
5761 * docs/gst/tmpl/gstpad.sgml:
5762 * docs/gst/tmpl/gstquery.sgml:
5763 * docs/gst/tmpl/gststructure.sgml:
5764 * docs/gst/tmpl/gsttaglist.sgml:
5765 * docs/gst/tmpl/gstvalue.sgml:
5766 * docs/libs/gstreamer-libs-docs.sgml:
5767 * docs/libs/gstreamer-libs-sections.txt:
5768 * docs/libs/gstreamer-libs.types:
5769 * libs/gst/Makefile.am:
5770 * libs/gst/control/.cvsignore:
5771 * libs/gst/control/Makefile.am:
5772 * libs/gst/control/control.c:
5773 * libs/gst/control/control.h:
5774 * libs/gst/control/dparam.c:
5775 * libs/gst/control/dparam.h:
5776 * libs/gst/control/dparam_smooth.c:
5777 * libs/gst/control/dparam_smooth.h:
5778 * libs/gst/control/dparamcommon.h:
5779 * libs/gst/control/dparammanager.c:
5780 * libs/gst/control/dparammanager.h:
5781 * libs/gst/control/dplinearinterp.c:
5782 * libs/gst/control/dplinearinterp.h:
5783 * libs/gst/control/unitconvert.c:
5784 * libs/gst/control/unitconvert.h:
5785 * testsuite/Makefile.am:
5786 * testsuite/dynparams/.cvsignore:
5787 * testsuite/dynparams/Makefile.am:
5788 * testsuite/dynparams/dparamstest.c:
5789 * tools/Makefile.am:
5790 * tools/gst-inspect.c: (print_element_info), (main):
5791 * tools/gst-xmlinspect.c: (print_element_info), (main):
5792 deactivate and remove dparams (libgstcontrol)
5794 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5796 * gst/elements/gsttypefindelement.c:
5797 (gst_type_find_element_have_type), (gst_type_find_element_init),
5798 (stop_typefinding), (gst_type_find_element_handle_event),
5799 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5800 * gst/elements/gsttypefindelement.h:
5801 Set caps on all outgoing buffers, not just the first one.
5803 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5805 * gst/elements/gsttypefindelement.c:
5806 (gst_type_find_element_have_type),
5807 (gst_type_find_element_check_set_buffer_caps),
5808 (gst_type_find_element_init), (stop_typefinding),
5809 (gst_type_find_element_handle_event),
5810 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5811 * gst/elements/gsttypefindelement.h:
5812 Set caps on first outgoing buffer when we've found the type.
5814 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5816 * docs/gst/gstreamer-docs.sgml:
5817 * docs/gst/gstreamer-sections.txt:
5818 * docs/gst/tmpl/gstscheduler.sgml:
5819 * docs/gst/tmpl/gstschedulerfactory.sgml:
5820 Remove some old cruft from docs.
5822 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5825 Fix inline docs for GstPadLinkReturn.
5827 * gst/gststructure.c: (gst_structure_has_name):
5828 * gst/gststructure.h:
5829 * docs/gst/gstreamer-sections.txt:
5830 New API: gst_structure_has_name().
5832 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5835 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5836 and _LARGEFILE_SOURCE in config.h as required. Do not
5837 export those flags in our .pc files any longer (#142209).
5839 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5841 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5842 (gst_file_sink_do_seek), (gst_file_sink_event),
5843 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5844 Redo seek/tell calls with large file support in mind; add some
5845 debugging messages; add log message that tells us when large
5846 file support is unavailable or not enabled for some reason.
5848 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5849 Add log message that tells us when large file support
5850 is unavailable or not enabled for some reason.
5852 2005-07-29 Wim Taymans <wim@fluendo.com>
5854 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5855 Added test for removing an element with ghostpad from a bin.
5856 Fixed test as current implementation does the right thing.
5858 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5859 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5860 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5861 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5862 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5863 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5864 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5865 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5866 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5867 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5868 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5869 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5870 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5871 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5872 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5873 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5874 * gst/gstghostpad.h:
5875 Clean up ghostpads, remove properties for internal stuff.
5878 Prepare for switching targets, not all use cases work yet.
5880 2005-07-29 Wim Taymans <wim@fluendo.com>
5882 * docs/design/part-gstghostpad.txt:
5885 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5886 (gst_bin_remove_func):
5887 Unlinking pads while holding the bin LOCK is not a good
5890 * gst/gstpad.c: (gst_pad_class_init),
5891 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5892 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5893 No prob setting template after creating the pad.
5895 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5897 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5898 (gst_bus_peek), (gst_bus_source_dispatch),
5899 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5900 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5901 gst_bus_poll may be called from other threads. Handle
5902 this nicely by not making poll_data disappear off the
5903 stack once gst_bus_poll returns.
5904 gst_bus_peek now increments the refcount on the returned
5907 2005-07-29 Wim Taymans <wim@fluendo.com>
5909 * docs/design/part-gstghostpad.txt:
5910 Overview of current GhostPad datastructures and use
5911 cases for changing the target.
5913 2005-07-28 Wim Taymans <wim@fluendo.com>
5915 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5916 Added checks for hierarchy consistency whan adding linked
5919 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5920 Added check to test element scheduling without bin/pipeline.
5922 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5923 First add elements to bin, then link.
5925 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5926 (gst_bin_remove_func):
5927 Unlink pads from elements added/removed from bin to maintain
5928 hierarchy consistency.
5930 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5932 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5933 (gst_base_transform_handle_buffer):
5934 * gst/base/gstbasetransform.h:
5935 Remove broken delay_configure (fixes renegotiation of software
5936 scaling pipelines); remove some leftover printf()s.
5938 2005-07-28 Wim Taymans <wim@fluendo.com>
5940 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5941 Added some more tests for wrong hierarchy
5943 * docs/design/part-overview.txt:
5946 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5949 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5950 (gst_element_dispose):
5953 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5954 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5955 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5956 (gst_pad_set_caps), (gst_pad_send_event):
5957 Check for correct hierarchy when linking pads. Moving to
5958 strict requirement for ghostpads when linking elements in
5962 Clean ups. Added WRONG_HIERARCHY return value.
5964 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5966 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5967 Better debug if no transform is possible.
5969 2005-07-27 Wim Taymans <wim@fluendo.com>
5971 * docs/random/wtay/network-transp:
5974 2005-07-27 Wim Taymans <wim@fluendo.com>
5976 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5977 (gst_dp_event_from_packet):
5978 Fix serialization of seek events.
5980 2005-07-27 Wim Taymans <wim@fluendo.com>
5982 * check/gst-libs/gdp.c: (GST_START_TEST):
5983 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5984 Fix compilation and fix event serialization.
5986 2005-07-27 Wim Taymans <wim@fluendo.com>
5989 * docs/design/part-TODO.txt:
5990 * docs/design/part-events.txt:
5993 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5994 (gst_base_sink_event), (gst_base_sink_do_sync),
5995 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5996 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5997 (gst_base_src_do_seek), (gst_base_src_event_handler),
5998 (gst_base_src_loop):
5999 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6000 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6001 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6002 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6003 (gst_base_transform_set_passthrough),
6004 (gst_base_transform_is_passthrough):
6005 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6006 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6012 * gst/gstelement.c: (gst_element_seek):
6014 Update gst_element_seek.
6016 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6017 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6018 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6019 (gst_event_new_eos), (gst_event_new_newsegment),
6020 (gst_event_parse_newsegment), (gst_event_new_tag),
6021 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6022 (gst_event_parse_qos), (gst_event_new_seek),
6023 (gst_event_parse_seek), (gst_event_new_navigation):
6025 Make GstEvent use GstStructure. Add parsing code, make sure the
6026 API is sufficiently generic.
6027 Mark possible directions of events and serialization.
6029 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6030 (_gst_message_copy), (gst_message_new_segment_start),
6031 (gst_message_new_segment_done), (gst_message_new_custom),
6032 (gst_message_parse_segment_start),
6033 (gst_message_parse_segment_done):
6036 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6037 (gst_pad_set_caps), (gst_pad_send_event):
6038 Update for new events.
6039 Catch events sent in wrong directions.
6041 * gst/gstqueue.c: (gst_queue_link_src),
6042 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6043 (gst_queue_handle_src_query):
6048 Remove event code from this file.
6050 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6051 (gst_dp_event_from_packet):
6054 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6056 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6057 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6058 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6059 Make debugging actually useful.
6061 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6063 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6064 (gst_pad_fixate_caps):
6065 Implement default fixation once again, so that gst_pad_fixate()
6066 actually does anything at all. This probably needs to be some
6067 sort of a last resort, and use profile-based fixation first, but
6068 since that doesn't exist yet, this is the best we have. Fixes
6069 visualization in Totem.
6071 2005-07-22 Wim Taymans <wim@fluendo.com>
6073 * docs/design/part-events.txt:
6076 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6077 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6078 (gst_base_sink_activate_pull):
6081 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6082 (gst_fake_src_create):
6083 Fix handoff marshall.
6085 * gst/elements/gstidentity.c: (gst_identity_class_init),
6086 (gst_identity_transform_ip):
6087 We're a real inplace element.
6089 * gst/gstbus.c: (gst_bus_post):
6090 Added some comments.
6092 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6093 * tests/muxing/case1.c: (main):
6094 * tests/sched/dynamic-pipeline.c: (main):
6095 * tests/sched/interrupt1.c: (main):
6096 * tests/sched/interrupt2.c: (main):
6097 * tests/sched/interrupt3.c: (main):
6098 * tests/sched/runxml.c: (main):
6099 * tests/sched/sched-stress.c: (main):
6100 * tests/seeking/seeking1.c: (event_received), (main):
6101 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6103 * tests/threadstate/threadstate3.c: (main):
6104 * tests/threadstate/threadstate4.c: (main):
6105 * tests/threadstate/threadstate5.c: (main):
6108 2005-07-21 Wim Taymans <wim@fluendo.com>
6110 * docs/design/part-seeking.txt:
6111 Some small additions.
6113 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6114 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6115 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6116 * gst/base/gstbasesink.h:
6117 discont values are gint64, handle the math correctly.
6119 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6120 Make the basesrc report error if the source pad is not linked.
6122 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6123 (gst_queue_loop), (gst_queue_handle_src_query),
6124 (gst_queue_src_activate_push):
6125 Make queue collect data even if the srcpad is not linked.
6126 Start pushing out data as soon as it is linked.
6128 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6130 Added gst_flow_get_name() to ease error reporting.
6132 2005-07-20 Wim Taymans <wim@fluendo.com>
6134 * gst/gstmessage.c: (gst_message_new_segment_start),
6135 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6136 (gst_message_parse_segment_done):
6138 Added a bunch of messages for advanced seeking.
6140 * gst/parse/grammar.y:
6141 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6142 (gst_dpman_state_changed):
6143 Fix some new-pad -> pad-added signals
6145 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6147 * docs/manual/appendix-porting.xml:
6148 * docs/pwg/appendix-porting.xml:
6149 Document new-pad/state-change signal renames and the FixedList
6152 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6154 * docs/manual/advanced-autoplugging.xml:
6155 * docs/manual/basics-helloworld.xml:
6156 * docs/manual/basics-pads.xml:
6157 * docs/random/ds/0.9-suggested-changes:
6158 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6163 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6164 (gst_structure_parse_array), (gst_structure_parse_value):
6165 * gst/gstvalue.c: (gst_type_is_fixed),
6166 (gst_value_list_prepend_value), (gst_value_list_append_value),
6167 (gst_value_list_get_size), (gst_value_list_get_value),
6168 (gst_value_transform_array_string), (gst_value_serialize_array),
6169 (gst_value_deserialize_array), (gst_value_intersect_array),
6170 (gst_value_is_fixed), (_gst_value_initialize):
6172 GstElement::new-pad -> pad-added, GstElement::state-change ->
6173 state-changed, GstValueFixedList -> GstValueArray, add format and
6174 flags as their own arguments in gst_element_seek() (should improve
6175 "bindeability"), remove function generators since they don't work
6176 under a whole bunch of compilers (they were deprecated already
6179 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6181 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6182 (_gst_debug_register_funcptr):
6184 Fix illegal cast on some platforms (#309253).
6186 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6188 * gst/gstmessage.c: (gst_message_new_custom):
6190 Add _new_custom, make _new_application a macro to _new_custom.
6192 2005-07-20 Wim Taymans <wim@fluendo.com>
6194 * gst/base/gstbasesrc.c: (gst_base_src_init),
6195 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6196 * gst/base/gstbasesrc.h:
6197 Add a gboolean to decide when to push out a discont.
6199 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6200 (gst_queue_loop), (gst_queue_handle_src_query),
6201 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6202 (gst_queue_set_property), (gst_queue_get_property):
6205 * tests/threadstate/threadstate1.c: (main):
6206 Make a thread test compile and run... very silly..
6209 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6211 * docs/manual/appendix-porting.xml:
6212 Mention removal of libgstgconf-0.9.la and existence of gconf
6215 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6217 * docs/pwg/advanced-clock.xml:
6218 * docs/pwg/appendix-porting.xml:
6219 * docs/pwg/intro-preface.xml:
6220 * docs/pwg/other-base.xml:
6221 * docs/pwg/other-manager.xml:
6222 * docs/pwg/other-nton.xml:
6223 * docs/pwg/other-ntoone.xml:
6224 * docs/pwg/other-oneton.xml:
6226 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6227 demuxer), remove n-to-n (was never written), fix some code examples
6228 and links and update the porting section to include all this.
6230 2005-07-19 Wim Taymans <wim@fluendo.com>
6232 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6233 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6234 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6235 (gst_queue_src_activate_push), (gst_queue_change_state),
6236 (gst_queue_get_property):
6238 Propagate GstFlowReturn more intelligently upstream and output
6239 an ERROR/EOS when streaming stopped due to fatal error.
6241 2005-07-19 Wim Taymans <wim@fluendo.com>
6243 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6244 Don't block forever for the state change to complete, the
6245 pipeline already did with a sensible timeout.
6247 2005-07-19 Wim Taymans <wim@fluendo.com>
6249 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6250 Make sure we never call the create function is we
6253 2005-07-19 Andy Wingo <wingo@pobox.com>
6255 * gst/parse/parse.l: Attempt to solve bug #172815.
6257 2005-07-19 Wim Taymans <wim@fluendo.com>
6259 * docs/design/part-clocks.txt:
6260 * docs/design/part-events.txt:
6261 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6263 Only update the seeking values when we are not
6266 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6268 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6269 Oops, ignore the result of gst_pad_push_event here.
6271 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6273 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6274 (gst_base_src_activate_push):
6275 Send discont event from the loop function, as pads
6276 aren't activated yet in the activate_push handler.
6278 * gst/gstbin.c: (bin_bus_handler):
6279 Don't leak element name.
6281 2005-07-18 Andy Wingo <wingo@pobox.com>
6283 * configure.ac: Use AS_LIBTOOL_TAGS.
6285 2005-07-18 Wim Taymans <wim@fluendo.com>
6287 * docs/gst/gstreamer.types:
6288 Remove deleted types.
6290 2005-07-18 Wim Taymans <wim@fluendo.com>
6292 * check/elements/gstfakesrc.c: (GST_START_TEST):
6295 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6296 (init_popt_callback):
6298 * gst/gst_private.h:
6299 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6300 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6303 * gst/gstconfig.h.in:
6304 * gst/gstelement.c: (gst_element_class_init),
6305 (gst_element_set_base_time), (gst_element_get_base_time),
6306 (iterator_fold_with_resync), (gst_element_change_state),
6307 (gst_element_dispose), (gst_element_get_bus):
6309 * gst/gstelementfactory.h:
6310 * gst/gsterror.c: (_gst_core_errors_init):
6313 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6315 * gst/gstinfo.c: (_gst_debug_init):
6316 * gst/gstmessage.c: (_gst_message_copy):
6318 * gst/gstminiobject.h:
6321 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6322 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6325 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6326 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6327 (gst_pipeline_get_last_stream_time):
6328 * gst/gstpipeline.h:
6329 * gst/gstpluginfeature.h:
6331 * gst/gstscheduler.c:
6332 * gst/gstscheduler.h:
6333 * gst/gststructure.h:
6334 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6335 (gst_task_finalize), (gst_task_func), (gst_task_create),
6336 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6337 (gst_task_stop), (gst_task_pause):
6339 * gst/gsttypefind.h:
6341 * gst/registries/gstlibxmlregistry.c: (load_feature),
6342 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6343 * gst/registries/gstxmlregistry.c:
6344 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6345 * gst/schedulers/threadscheduler.c:
6346 * libs/gst/control/dparammanager.h:
6347 * tools/gst-inspect.c: (print_element_list),
6348 (print_plugin_features), (print_element_features):
6349 * tools/gst-xmlinspect.c: (print_element_list),
6350 (print_plugin_info), (main):
6351 Removed plugable schedulers.
6352 Removed Scheduler/Manager from elements.
6353 Removed gsttypes.h, rearranged includes.
6354 Removed dependency pad<->element, element<>pipeline, and
6355 various others, fix includes.
6356 implement gst_pad_get_parent() with gst_object_get_parent()
6357 Make GstTask sefcontained.
6358 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6360 Fix endless loop in iterator_fold_with_resync.
6363 2005-07-18 Wim Taymans <wim@fluendo.com>
6369 2005-07-18 Wim Taymans <wim@fluendo.com>
6374 2005-07-18 Wim Taymans <wim@fluendo.com>
6380 2005-07-18 Wim Taymans <wim@fluendo.com>
6382 * docs/design/part-dynamic.txt:
6383 * docs/design/part-events.txt:
6384 * docs/design/part-seeking.txt:
6385 Some more docs in the works.
6387 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6388 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6389 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6390 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6391 (gst_base_transform_handle_buffer),
6392 (gst_base_transform_sink_activate_push),
6393 (gst_base_transform_src_activate_pull),
6394 (gst_base_transform_set_passthrough),
6395 (gst_base_transform_is_passthrough):
6398 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6401 * gst/gstevent.c: (gst_event_finalize):
6404 * gst/gstutils.c: (gst_element_unlink),
6405 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6406 (gst_pad_proxy_setcaps):
6408 Add _get_parent_element() to get a pads parent as an element.
6410 2005-07-18 Wim Taymans <wim@fluendo.com>
6412 * check/gst/gstbin.c: (GST_START_TEST):
6415 2005-07-18 Wim Taymans <wim@fluendo.com>
6417 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6418 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6419 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6420 (gst_base_sink_event), (gst_base_sink_do_sync),
6421 (gst_base_sink_chain), (gst_base_sink_loop),
6422 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6423 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6425 Fix logic for returning ASYNC when not prerolled.
6427 2005-07-18 Wim Taymans <wim@fluendo.com>
6429 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6430 Fix nasty refcount bug.
6432 2005-07-16 Philippe Khalaf <burger@speedy.org>
6434 * gst/elements/gstfdsrc.c:
6435 * gst/elements/gstfdsrc.h:
6436 * gst/elements/gstelements.c:
6437 * gst/elements/Makefile.am:
6438 Ported fdsrc to 0.9.
6440 2005-07-16 Wim Taymans <wim@fluendo.com>
6442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6443 (gst_base_sink_do_sync):
6446 2005-07-16 Wim Taymans <wim@fluendo.com>
6448 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6449 (gst_base_sink_event), (gst_base_sink_get_times),
6450 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6451 * gst/base/gstbasesink.h:
6452 Store and use discont values when syncing buffers as described
6455 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6456 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6457 (gst_base_src_activate_push):
6458 Push discont event when starting.
6460 * gst/elements/gstidentity.c: (gst_identity_transform):
6463 * gst/gstbin.c: (gst_bin_change_state):
6464 Small cleanups in base_time distribution.
6466 * gst/gstelement.c: (gst_element_set_base_time),
6467 (gst_element_get_base_time), (gst_element_change_state):
6469 Added methods for the base_time of the element.
6472 * gst/gstpipeline.c: (gst_pipeline_send_event),
6473 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6474 (gst_pipeline_get_last_stream_time):
6475 * gst/gstpipeline.h:
6477 Handle seeking as described in design doc, remove stream_time
6479 Cleanups clock and stream_time selection code. Added accessors
6480 for the stream_time.
6483 2005-07-16 Andy Wingo <wingo@pobox.com>
6485 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6488 2005-07-16 Wim Taymans <wim@fluendo.com>
6490 * check/gst/gstbin.c: (GST_START_TEST):
6491 Make elements silent as the deep_notify refs the
6492 parent, which might make the test fail.
6494 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6495 Don't hold the lock for too long.
6497 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6499 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6500 Don't unref the caps we passed to gst_caps_make_writable() after
6501 passing them. gst_caps_make_writable() will do that for us.
6503 2005-07-15 Andy Wingo <wingo@pobox.com>
6505 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6508 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6509 own marshalling function for the handoff signal. Properly type the
6510 buffer as a buffer. Fixes some warnings. Should do a more general
6512 (gst_identity_class_init): Plug into the right marshaller.
6514 2005-07-15 Wim Taymans <wim@fluendo.com>
6516 * docs/design/part-TODO.txt:
6517 * docs/design/part-clocks.txt:
6518 * docs/design/part-element-sink.txt:
6519 * docs/design/part-events.txt:
6520 * docs/design/part-gstpipeline.txt:
6521 Updated docs, mostly DISCONT related.
6523 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6525 * docs/pwg/building-pads.xml:
6526 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6528 2005-07-15 Andy Wingo <wingo@pobox.com>
6530 * tools/gst-typefind.c: Update, add copyright block.
6532 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6533 Normalize and truncate caps before fixation.
6536 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6537 discards all but the first structure from its argument.
6539 2005-07-15 Wim Taymans <wim@fluendo.com>
6541 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6542 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6543 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6544 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6545 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6546 (gst_base_transform_chain), (gst_base_transform_change_state),
6547 (gst_base_transform_set_passthrough),
6548 (gst_base_transform_is_passthrough):
6549 * gst/base/gstbasetransform.h:
6550 Make passthrough work using the bufferpools.
6551 Changed API a bit, subclasses have to write into a buffer
6552 provided by the base class.
6553 More debug info in nego functions.
6555 * gst/elements/gstidentity.c: (gst_identity_init),
6556 (gst_identity_transform):
6557 Port to new base class.
6559 2005-07-15 Wim Taymans <wim@fluendo.com>
6561 * gst/gstmessage.c: (gst_message_new_state_changed):
6562 * tools/gst-launch.c: (event_loop), (main):
6563 Totally dump messages in -launch with the -m option.
6564 Fix message name for State messages,
6566 2005-07-14 Wim Taymans <wim@fluendo.com>
6568 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6569 Post error messages on errors.
6571 2005-07-14 Wim Taymans <wim@fluendo.com>
6573 * gst/gstcaps.c: (gst_caps_do_simplify):
6577 Define error for stream stopped.
6579 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6580 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6581 Do proper return values.
6583 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6584 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6585 (gst_pad_get_range):
6586 Better return values.
6589 Reorganise return values, add macro to check for fatal errors.
6591 * gst/gstqueue.c: (gst_queue_chain):
6592 Return proper GstFlowReturn values,
6594 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6596 * docs/gst/gstreamer-sections.txt:
6597 * docs/gst/gstreamer.types:
6598 * docs/gst/tmpl/gst.sgml:
6599 * docs/gst/tmpl/gstbasesink.sgml:
6600 * docs/gst/tmpl/gstbasesrc.sgml:
6601 * docs/gst/tmpl/gstbasetransform.sgml:
6602 * docs/gst/tmpl/gstbin.sgml:
6603 * docs/gst/tmpl/gstbuffer.sgml:
6604 * docs/gst/tmpl/gstcaps.sgml:
6605 * docs/gst/tmpl/gstclock.sgml:
6606 * docs/gst/tmpl/gstcompat.sgml:
6607 * docs/gst/tmpl/gstconfig.sgml:
6608 * docs/gst/tmpl/gstelement.sgml:
6609 * docs/gst/tmpl/gstelementdetails.sgml:
6610 * docs/gst/tmpl/gstelementfactory.sgml:
6611 * docs/gst/tmpl/gstenumtypes.sgml:
6612 * docs/gst/tmpl/gsterror.sgml:
6613 * docs/gst/tmpl/gstevent.sgml:
6614 * docs/gst/tmpl/gstfakesink.sgml:
6615 * docs/gst/tmpl/gstfakesrc.sgml:
6616 * docs/gst/tmpl/gstfilesink.sgml:
6617 * docs/gst/tmpl/gstfilesrc.sgml:
6618 * docs/gst/tmpl/gstfilter.sgml:
6619 * docs/gst/tmpl/gstformat.sgml:
6620 * docs/gst/tmpl/gstghostpad.sgml:
6621 * docs/gst/tmpl/gstimplementsinterface.sgml:
6622 * docs/gst/tmpl/gstindex.sgml:
6623 * docs/gst/tmpl/gstindexfactory.sgml:
6624 * docs/gst/tmpl/gstinfo.sgml:
6625 * docs/gst/tmpl/gstiterator.sgml:
6626 * docs/gst/tmpl/gstmacros.sgml:
6627 * docs/gst/tmpl/gstmemchunk.sgml:
6628 * docs/gst/tmpl/gstminiobject.sgml:
6629 * docs/gst/tmpl/gstobject.sgml:
6630 * docs/gst/tmpl/gstpad.sgml:
6631 * docs/gst/tmpl/gstpadtemplate.sgml:
6632 * docs/gst/tmpl/gstparse.sgml:
6633 * docs/gst/tmpl/gstpipeline.sgml:
6634 * docs/gst/tmpl/gstplugin.sgml:
6635 * docs/gst/tmpl/gstpluginfeature.sgml:
6636 * docs/gst/tmpl/gstquery.sgml:
6637 * docs/gst/tmpl/gstqueue.sgml:
6638 * docs/gst/tmpl/gstregistry.sgml:
6639 * docs/gst/tmpl/gstregistrypool.sgml:
6640 * docs/gst/tmpl/gstscheduler.sgml:
6641 * docs/gst/tmpl/gstschedulerfactory.sgml:
6642 * docs/gst/tmpl/gststructure.sgml:
6643 * docs/gst/tmpl/gstsystemclock.sgml:
6644 * docs/gst/tmpl/gsttaglist.sgml:
6645 * docs/gst/tmpl/gsttagsetter.sgml:
6646 * docs/gst/tmpl/gsttrace.sgml:
6647 * docs/gst/tmpl/gsttrashstack.sgml:
6648 * docs/gst/tmpl/gsttypefind.sgml:
6649 * docs/gst/tmpl/gsttypefindfactory.sgml:
6650 * docs/gst/tmpl/gsttypes.sgml:
6651 * docs/gst/tmpl/gsturihandler.sgml:
6652 * docs/gst/tmpl/gsturitype.sgml:
6653 * docs/gst/tmpl/gstutils.sgml:
6654 * docs/gst/tmpl/gstvalue.sgml:
6655 * docs/gst/tmpl/gstversion.sgml:
6656 * docs/gst/tmpl/gstxml.sgml:
6657 * docs/libs/tmpl/gstcontrol.sgml:
6658 * docs/libs/tmpl/gstdataprotocol.sgml:
6659 * docs/libs/tmpl/gstdparam.sgml:
6660 * docs/libs/tmpl/gstdplinint.sgml:
6661 * docs/libs/tmpl/gstdpman.sgml:
6662 * docs/libs/tmpl/gstdpsmooth.sgml:
6663 * docs/libs/tmpl/gstgetbits.sgml:
6664 * docs/libs/tmpl/gstunitconvert.sgml:
6665 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6666 (gst_push_src_base_init), (gst_push_src_class_init),
6667 (gst_push_src_init), (gst_push_src_create):
6668 * gst/base/gstpushsrc.h:
6669 * gst/elements/gstelements.c:
6670 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6671 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6672 (gst_fake_sink_init), (gst_fake_sink_set_property),
6673 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6674 (gst_fake_sink_event), (gst_fake_sink_preroll),
6675 (gst_fake_sink_render), (gst_fake_sink_change_state):
6676 * gst/elements/gstfakesink.h:
6677 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6678 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6679 (gst_fake_src_base_init), (gst_fake_src_class_init),
6680 (gst_fake_src_init), (gst_fake_src_event_handler),
6681 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6682 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6683 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6684 (gst_fake_src_create_buffer), (gst_fake_src_create),
6685 (gst_fake_src_start), (gst_fake_src_stop):
6686 * gst/elements/gstfakesrc.h:
6687 * gst/elements/gstfilesink.c: (_do_init),
6688 (gst_file_sink_base_init), (gst_file_sink_class_init),
6689 (gst_file_sink_init), (gst_file_sink_dispose),
6690 (gst_file_sink_set_location), (gst_file_sink_set_property),
6691 (gst_file_sink_get_property), (gst_file_sink_open_file),
6692 (gst_file_sink_close_file), (gst_file_sink_query),
6693 (gst_file_sink_event), (gst_file_sink_render),
6694 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6695 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6696 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6697 * gst/elements/gstfilesink.h:
6698 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6699 (gst_file_src_class_init), (gst_file_src_init),
6700 (gst_file_src_finalize), (gst_file_src_set_location),
6701 (gst_file_src_set_property), (gst_file_src_get_property),
6702 (gst_file_src_map_region), (gst_file_src_map_small_region),
6703 (gst_file_src_create_mmap), (gst_file_src_create_read),
6704 (gst_file_src_create), (gst_file_src_is_seekable),
6705 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6706 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6707 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6708 (gst_file_src_uri_handler_init):
6709 * gst/elements/gstfilesrc.h:
6710 more autistic cleanliness in functions/names/defines
6712 2005-07-13 Andy Wingo <wingo@pobox.com>
6714 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6715 source couldn't negotiate.
6717 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6721 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6722 function. I am channeling Hades. Put your boots on suckers!!!
6724 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6726 * testsuite/caps/Makefile.am:
6727 * testsuite/caps/value_compare.c:
6728 * testsuite/caps/value_intersect.c:
6729 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6730 move two testsuite apps over to the check dir
6732 2005-07-12 Wim Taymans <wim@fluendo.com>
6734 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6735 Added more debug info in the negotiate process.
6738 Prepare for segment playback.
6740 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6746 * tools/gst-launch.c: (main):
6747 NULL pipeline on errors.
6749 2005-07-12 Andy Wingo <wingo@pobox.com>
6751 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6752 not it comes from a malloc region. Make sure our copy gets freed.
6754 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6756 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6757 * check/gst/gstmessage.c: (GST_START_TEST):
6758 * check/gst/gststructure.c: (GST_START_TEST),
6759 (gst_structure_suite), (main):
6761 * gst/gstelement.c: (gst_element_message_full):
6762 clean up GError and debug string now that they get copied
6763 * gst/gstmessage.c: (gst_message_new_error),
6764 (gst_message_new_warning), (gst_message_parse_error),
6765 (gst_message_parse_warning):
6766 use GST_TYPE_G_ERROR for structure_new, and take copies of
6767 arguments, so that we don't mess up refcounting
6769 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6771 * check/Makefile.am:
6772 add per-test valgrind targets
6773 * check/gst-libs/gdp.c: (GST_START_TEST),
6774 (gst_data_protocol_suite), (main):
6777 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6779 * check/Makefile.am:
6780 instate more valgrindable tests
6781 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6782 (GST_START_TEST), (fakesrc_suite):
6783 * check/gst/gstpad.c: (GST_START_TEST):
6784 * check/gst/gststructure.c: (GST_START_TEST):
6786 * docs/gst/tmpl/gstminiobject.sgml:
6787 * gst/gstpad.c: (gst_pad_finalize):
6788 fix the static mutex leak
6790 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6792 * check/Makefile.am:
6793 add two more tests for valgrinding
6794 * check/gst/gstvalue.c: (GST_START_TEST):
6795 test refcount of deserialized buffer, found a leak
6796 * docs/gst/gstreamer-docs.sgml:
6797 * docs/gst/gstreamer-sections.txt:
6798 * docs/gst/gstreamer.types:
6799 * docs/gst/tmpl/gstminiobject.sgml:
6800 add miniobject to docs
6801 * gst/gstminiobject.c:
6803 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6804 (gst_string_unwrap):
6805 fix a hard-to-find invalid write for one of the tests
6806 fix a leak for deserialized buffers
6808 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6810 * docs/pwg/advanced-events.xml:
6811 * docs/pwg/advanced-request.xml:
6812 * docs/pwg/advanced-scheduling.xml:
6813 * docs/pwg/appendix-porting.xml:
6814 * docs/pwg/building-boiler.xml:
6815 * docs/pwg/intro-preface.xml:
6816 * docs/pwg/other-ntoone.xml:
6817 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6818 of example code and explanation for pad activation, loop() and
6819 getrange() functions and a bit more. Remove old comments pointing
6821 * examples/pwg/Makefile.am:
6822 Add loop/getrange examples.
6824 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6827 check for valgrind binary + some fixes
6829 valgrind suppressions for the tests
6830 * check/Makefile.am:
6831 add a valgrind: target that valgrinds the unit tests
6832 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6833 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6834 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6835 * check/gst/gstghostpad.c:
6837 * check/gst/gstdata.c:
6839 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6840 (thread_unref), (gst_mini_object_suite), (main):
6842 * gst/gst.c: (gst_deinit):
6844 add a method to clean up.
6845 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6846 (gst_system_clock_obtain):
6847 allow for disposing the system clock.
6848 * tools/gst-launch.c: (main):
6851 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6853 * docs/gst/tmpl/gstbasesrc.sgml:
6854 * docs/gst/tmpl/gstfakesrc.sgml:
6855 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6856 (gst_base_src_init), (gst_base_src_set_property),
6857 (gst_base_src_get_property), (gst_base_src_get_range),
6858 (gst_base_src_start):
6859 * gst/base/gstbasesrc.h:
6860 add num-buffers property
6861 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6862 (gst_fakesrc_init), (gst_fakesrc_set_property),
6863 (gst_fakesrc_get_property), (gst_fakesrc_create),
6864 (gst_fakesrc_start):
6865 remove num-buffers property
6867 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6869 * docs/gst/gstreamer-sections.txt:
6870 * docs/gst/tmpl/gstbasesink.sgml:
6871 * docs/gst/tmpl/gstbasesrc.sgml:
6872 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6873 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6874 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6875 (gst_base_sink_set_property), (gst_base_sink_get_property),
6876 (gst_base_sink_handle_object), (gst_base_sink_event),
6877 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6878 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6879 (gst_base_sink_loop), (gst_base_sink_deactivate),
6880 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6881 (gst_base_sink_change_state):
6882 * gst/base/gstbasesink.h:
6883 * gst/base/gstbasesrc.h:
6884 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6885 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6886 (gst_filesink_init):
6887 more macro splitting
6889 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6891 * gst/gstelement.c: (gst_element_get_bus):
6893 * tools/gst-launch.c: (check_intr), (event_loop):
6896 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6898 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6901 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6903 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6904 (gst_base_src_finalize):
6905 add finalize method and clean up properly
6906 * gst/gstpipeline.c: (gst_pipeline_dispose):
6909 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6911 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6913 add more things to check
6914 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6918 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6920 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6921 (GST_START_TEST), (fakesrc_suite):
6922 * check/gst-libs/gdp.c: (GST_START_TEST):
6923 * check/gst/gst.c: (GST_START_TEST):
6924 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6925 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6926 * check/gst/gstbus.c: (GST_START_TEST):
6927 * check/gst/gstcaps.c: (GST_START_TEST):
6928 * check/gst/gstdata.c: (GST_START_TEST):
6929 * check/gst/gstelement.c: (GST_START_TEST):
6930 * check/gst/gstghostpad.c: (GST_START_TEST):
6931 * check/gst/gstiterator.c: (GST_START_TEST):
6932 * check/gst/gstmessage.c: (GST_START_TEST):
6933 * check/gst/gstobject.c: (GST_START_TEST):
6934 * check/gst/gstpad.c: (GST_START_TEST):
6935 * check/gst/gststructure.c: (GST_START_TEST):
6936 * check/gst/gstsystemclock.c: (GST_START_TEST),
6937 (gst_systemclock_suite):
6938 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6939 * check/gst/gstvalue.c: (GST_START_TEST):
6940 * check/pipelines/cleanup.c: (GST_START_TEST):
6941 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6942 * check/states/sinks.c: (GST_START_TEST):
6943 * check/gstcheck.c: (gst_check_init):
6945 add debugging category
6946 use GST_START_TEST now, so we add a debug line
6948 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6950 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6951 add test for state change message on a bin
6952 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6954 * gst/gstbin.c: (gst_bin_init):
6955 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6956 * gst/gstelement.c: (gst_element_post_message),
6957 (gst_element_set_state):
6958 * gst/gstelementfactory.c: (gst_element_factory_create):
6959 * gst/gstmessage.c: (gst_message_new):
6960 * gst/gstscheduler.c:
6961 various debugging additions and cleanups
6963 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6965 * check/Makefile.am:
6966 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6968 adding tests for elements
6969 * gst/gstelement.c: (gst_element_dispose):
6971 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6973 * gst/registries/gstlibxmlregistry.c: (load_feature):
6974 plug more leaks. A simple gst_init() now is leakfree, yay.
6976 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6978 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6979 (gst_xml_registry_load):
6980 plug another memleak
6982 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6985 use GST_SET_ERROR_CFLAGS
6987 change to ERROR_CFLAGS
6989 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6992 make GST_ERROR_CFLAGS overridable and re-enable Werror
6994 add a note about error CFLAGS
6995 * docs/gst/tmpl/gstfakesrc.sgml:
6996 * gst/elements/gstfakesrc.c:
6997 comment out some unused code
6998 * gst/gst.c: (split_and_iterate):
6999 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7003 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7005 * common/Makefile.am:
7006 * common/gtk-doc.mak:
7007 * docs/gst/Makefile.am:
7008 factor out gtk-doc.mak
7010 2005-07-07 Wim Taymans <wim@fluendo.com>
7012 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7013 (gst_thread_scheduler_dispose):
7014 Unlock the STREAM_LOCK completely.
7016 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7018 * check/Makefile.am:
7019 * check/elements/.cvsignore:
7020 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7021 (START_TEST), (fakesrc_suite), (main):
7022 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7023 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7024 (gst_fakesrc_create), (gst_fakesrc_start):
7025 * gst/elements/gstfakesrc.h:
7026 adding a first element test
7028 2005-07-07 Andy Wingo <wingo@pobox.com>
7030 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7033 2005-07-07 Wim Taymans <wim@fluendo.com>
7039 2005-07-07 Wim Taymans <wim@fluendo.com>
7041 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7042 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7043 Allow subclasses to implement their own negotiation.
7045 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7047 * docs/design/part-gstbin.txt:
7048 * docs/design/part-gstpipeline.txt:
7049 Update design notes to reflect the movement of
7050 responsibility for bus handling from GstPipeline to
7053 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7056 Remove unnecessary queue2/3/4 examples.
7058 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7060 * examples/Makefile.am:
7061 * examples/helloworld/helloworld.c: (event_loop), (main):
7062 * examples/queue/queue.c: (event_loop), (main):
7063 * examples/queue2/queue2.c: (main):
7064 Update a couple of the examples to work again.
7066 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7067 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7068 Spelling corrections and extra debug.
7070 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7071 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7072 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7074 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7075 (gst_pipeline_change_state):
7076 * gst/gstpipeline.h:
7077 Move the bus handler for children to the GstBin, and create a
7078 separate bus for receiving messages from children to the one the
7079 bus sends 'upwards' on.
7081 2005-07-06 Wim Taymans <wim@fluendo.com>
7084 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7085 (gst_base_sink_handle_object), (gst_base_sink_loop),
7086 (gst_base_sink_change_state):
7087 * gst/base/gstbasesink.h:
7088 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7089 (gst_base_src_init), (gst_base_src_setcaps),
7090 (gst_base_src_getcaps), (gst_base_src_loop),
7091 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7092 (gst_base_src_start), (gst_base_src_change_state):
7093 * gst/base/gstbasesrc.h:
7094 Make basesrc negotiate.
7095 Handle the case where preroll fails in basesink.
7098 2005-07-06 Wim Taymans <wim@fluendo.com>
7100 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7101 Implement the fixate function.
7102 Clean up acceptcaps.
7104 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7106 * docs/pwg/building-filterfactory.xml:
7108 Remove never-written filter-factory chapter; I'll add the various
7109 base classes to part 4 ("other element types") later on.
7111 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7113 * docs/pwg/advanced-negotiation.xml:
7114 * docs/pwg/building-boiler.xml:
7115 * docs/pwg/building-pads.xml:
7117 * examples/pwg/Makefile.am:
7118 Add a chapter on caps negotiation, simplify the original code
7119 samples a bit w.r.t. caps negotiation, add link to the advanced
7120 section. Add a bunch of examples showing different use cases of
7121 different types of caps negotiation. Upstream renegotiation isn't
7122 fully documented yet since nobody knows how that works.
7124 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7126 * check/gst/gstpad.c:
7128 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7129 if pad has no parent, return NULL as list of internal links
7131 2005-07-05 Andy Wingo <wingo@pobox.com>
7133 * gst/elements/gstfilesrc.c:
7134 * gst/elements/gstfakesrc.c:
7135 * gst/base/gstpushsrc.c:
7136 * gst/base/gstbasesrc.h:
7137 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7139 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7142 better report generation target (lcov needs a patch)
7144 2005-07-05 Andy Wingo <wingo@pobox.com>
7146 * gst/elements, testsuite: Null if we got it...
7148 2005-07-05 Wim Taymans <wim@fluendo.com>
7151 * libs/gst/dataprotocol/Makefile.am:
7152 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7153 * libs/gst/dataprotocol/dataprotocol.h:
7154 * pkgconfig/Makefile.am:
7155 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7156 * pkgconfig/gstreamer-dataprotocol.pc.in:
7157 Ported dataprotol to 0.9.
7158 Added pkgconfig files.
7160 2005-07-05 Andy Wingo <wingo@pobox.com>
7162 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7163 Default to returning TRUE for the case when tranform_caps returns
7164 a fixed caps, like for identity or volume.
7166 * check/gst/gstbus.c (pound_bus_with_messages):
7167 * check/gst/gstmessage.c (START_TEST):
7168 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7171 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7172 logic weaks here: always run transform_caps, trying passthrough
7173 operation only if the original caps intersects with the transform.
7175 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7176 source and sink caps.
7178 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7179 Intersect the peer caps with the pad template before going into
7181 (gst_base_transform_transform_caps): More debugging.
7183 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7186 2005-07-04 Edward Hervey <edward@fluendo.com>
7190 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7193 2005-07-04 Andy Wingo <wingo@pobox.com>
7195 * check/gst/gstpad.c: Only set explicit caps on pads.
7197 2005-07-01 Andy Wingo <wingo@pobox.com>
7199 * tests/network-clock.scm: Commentary update.
7201 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7202 Didn't really make sense, not implementable with basetransform,
7204 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7205 attempt at implementing the sync property, needs an unlock method.
7207 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7208 New func, by default returns the same caps (the identity
7210 (gst_base_transform_getcaps): Uses transform_caps to return
7212 (gst_base_transform_setcaps): Complicated logic to get caps on
7213 both pads, even if they are different, and to call set_caps once
7214 for every time both pads get their caps set.
7215 (gst_base_transform_handle_buffer): Give the ref to the transform
7216 function. Allows in-place modification of the buffer.
7218 * gst/base/gstbasetransform.h (transform_caps): New class method.
7219 Given caps on one side, what can I do on the other.
7220 (set_caps): Take two caps, one for each side of the element.
7223 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7224 caps in place. This is safe because we can check the mutability of
7225 the caps, and a good idea because fixate functions are just called
7226 as a matter of last resort. (Not actually implemented.)
7227 (gst_pad_set_caps): If the caps we're setting is actually the same
7228 as the existing pad caps, just update the pointer without calling
7229 setcaps. Assert that caps is either NULL or fixed, as per the
7232 * gst/gstghostpad.c: Update for fixate changes.
7234 2005-07-02 Andy Wingo <wingo@pobox.com>
7237 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7238 two refcounts makes it immutable, which is enough. Doc more.
7240 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7242 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7243 Put the mini_object into GValue as a mini_object,
7244 not a gpointer, since that's how we declared
7247 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7249 * examples/pwg/Makefile.am:
7252 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7254 * docs/pwg/building-testapp.xml:
7256 * examples/pwg/Makefile.am:
7259 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7262 * examples/Makefile.am:
7263 * examples/pwg/Makefile.am:
7264 * examples/pwg/extract.pl:
7265 Enable building the PWG examples.
7266 * docs/pwg/advanced-interfaces.xml:
7267 Add URI interface stub.
7268 * docs/pwg/advanced-types.xml:
7269 * docs/pwg/other-autoplugger.xml:
7270 * docs/pwg/appendix-porting.xml:
7272 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7273 * docs/pwg/building-boiler.xml:
7274 * docs/pwg/building-chainfn.xml:
7275 * docs/pwg/building-pads.xml:
7276 * docs/pwg/building-props.xml:
7277 * docs/pwg/building-state.xml:
7278 * docs/pwg/building-testapp.xml:
7279 Update the building-*.xml parts for 0.9 changes. All examples
7280 code blocks compile in examples/pwg/*.
7282 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7284 * docs/manual/advanced-autoplugging.xml:
7285 * docs/manual/appendix-checklist.xml:
7286 * docs/manual/appendix-integration.xml:
7287 * docs/manual/highlevel-components.xml:
7288 Fix playbin/decodebin examples, update docs a bit, mention bus
7289 instead of signals in various places, mention kmplayer and
7290 kaffeine since they have a working GStreamer backend in the KDE
7293 2005-06-30 Wim Taymans <wim@fluendo.com>
7296 * docs/design/draft-ghostpads.txt:
7297 * docs/design/draft-push-pull.txt:
7298 * docs/design/draft-query.txt:
7299 * docs/design/part-TODO.txt:
7300 * docs/design/part-query.txt:
7301 Added CHANGES-0.9 doc, updated status of other docs.
7306 2005-06-30 Wim Taymans <wim@fluendo.com>
7308 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7309 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7310 (gst_base_sink_change_state):
7311 * gst/base/gstbasesink.h:
7312 Some tweaks, only EOS and a buffer complete a preroll.
7314 2005-06-30 Andy Wingo <wingo@pobox.com>
7316 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7317 activate_push down to the internal pad as well.
7319 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7321 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7323 * gst/gsttaginterface.c:
7324 Some documentation fixes (#307394 and #307397).
7326 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7328 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7330 * gst/gstvalue.c: (gst_value_intersect_list):
7331 Fix memleak (#309125).
7333 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7335 * docs/manual/advanced-dataaccess.xml:
7336 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7337 * docs/manual/basics-pads.xml:
7338 Add reference for filtered caps to above chapter.
7340 2005-06-30 Wim Taymans <wim@fluendo.com>
7342 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7343 (gst_bin_change_state):
7345 Lame attempt at making the state change function a bit
7348 2005-06-30 Wim Taymans <wim@fluendo.com>
7350 * docs/design/part-clocks.txt:
7351 * docs/design/part-element-sink.txt:
7352 * docs/design/part-events.txt:
7353 * docs/design/part-preroll.txt:
7354 * docs/design/part-states.txt:
7355 Some more tweeks and additions to the docs.
7357 2005-06-30 Wim Taymans <wim@fluendo.com>
7359 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7360 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7361 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7362 (gst_pad_check_pull_range), (gst_pad_get_range),
7363 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7365 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7366 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7367 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7368 (gst_pad_remove_buffer_probe):
7369 Removed atomic operations, use existing LOCK.
7370 Move exception handling out of main code path.
7372 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7374 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7375 (silly_return_true_function), (gst_pad_class_init),
7376 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7377 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7378 (gst_pad_send_event):
7379 Fix accumulator, add default value by using _emitv() instead
7380 of _emit() for signal emission.
7382 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7384 * docs/manual/advanced-dataaccess.xml:
7385 * examples/manual/Makefile.am:
7387 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7390 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7392 * gst/elements/gstfilesink.c: (gst_filesink_render):
7393 Simplify code so that we don't have to handle short
7394 writes and return GST_FLOW_ERROR if an error occured.
7396 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7398 * docs/gst/gstreamer-docs.sgml:
7401 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7403 * docs/gst/gstreamer-sections.txt:
7404 * docs/gst/tmpl/gstpad.sgml:
7405 * docs/gst/tmpl/gstprobe.sgml:
7407 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7408 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7409 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7410 (gst_pad_push_event), (gst_pad_send_event):
7412 * gst/gstutils.c: (gst_pad_add_data_probe),
7413 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7414 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7415 (gst_pad_remove_buffer_probe):
7417 Remove old probes, add new g-signal-based probes and some utility
7420 2005-06-29 Edward Hervey <edward@fluendo.com>
7422 * gst/gstelementfactory.c:
7425 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7426 the definition to the header file.
7428 2005-06-29 Andy Wingo <wingo@pobox.com>
7430 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7431 plugins from the source directory.
7433 2005-06-29 Wim Taymans <wim@fluendo.com>
7435 * docs/gst/tmpl/gstbuffer.sgml:
7436 * docs/gst/tmpl/gstclock.sgml:
7437 Some fixings for blantently wrong text.
7439 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7441 * check/Makefile.am:
7442 * gst/gst.c: (add_path_func), (init_pre):
7443 * gst/gstregistry.c: (gst_registry_add_path):
7444 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7445 only scan the GST_PLUGIN_PATH locations, and not add
7448 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7450 * docs/gst/gstreamer-sections.txt:
7451 * docs/gst/tmpl/gstbasesrc.sgml:
7458 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7460 * docs/manual/advanced-autoplugging.xml:
7461 Fix autoplugging example.
7463 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7465 * docs/manual/advanced-autoplugging.xml:
7466 * docs/manual/mime-world.fig:
7467 Try to get autoplugging working, fix type detection. Fix text
7468 in hello-world image.
7470 2005-06-29 Wim Taymans <wim@fluendo.com>
7472 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7473 (gst_base_sink_change_state):
7477 map SIGNAL and BROADCAST to the right function.
7480 Remove redundant braces.
7482 * gst/gstpad.c: (gst_pad_set_caps):
7483 Don't call setcaps function when reseting caps to NULL.
7485 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7486 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7487 (gst_system_clock_id_unschedule):
7488 Use BROADCAST as this is what we do.
7490 2005-06-29 Wim Taymans <wim@fluendo.com>
7492 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7493 We are actually prerolling before commiting the state
7496 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7498 * docs/manual/advanced-clocks.xml:
7499 * docs/manual/advanced-interfaces.xml:
7500 * docs/manual/advanced-metadata.xml:
7501 * docs/manual/advanced-position.xml:
7502 * docs/manual/advanced-schedulers.xml:
7503 * docs/manual/advanced-threads.xml:
7504 * docs/manual/appendix-porting.xml:
7505 * docs/manual/basics-bins.xml:
7506 * docs/manual/basics-bus.xml:
7507 * docs/manual/basics-elements.xml:
7508 * docs/manual/basics-helloworld.xml:
7509 * docs/manual/basics-pads.xml:
7510 * docs/manual/highlevel-components.xml:
7511 * docs/manual/manual.xml:
7512 * docs/manual/thread.fig:
7513 Update (until threads/scheduling) Application Development Manual;
7514 remove GstThread, add GstBus, add simple porting checklist, add
7515 documentation for tag writing, clocks, make all examples until this
7516 part compile and run.
7517 * examples/manual/Makefile.am:
7518 Update from changes to Application Development Manual; add bus
7519 example, remove thread example.
7521 2005-06-28 Wim Taymans <wim@fluendo.com>
7523 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7524 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7525 (gst_bus_source_dispatch):
7526 Add debugging messages.
7527 Make internal methods static.
7528 Handle the case where the bus is flushed in the handler.
7530 * gst/gstelement.c: (gst_element_get_bus):
7531 Fix refcount in _get_bus();
7533 * gst/gstpipeline.c: (gst_pipeline_change_state),
7534 (gst_pipeline_get_clock_func):
7535 Clock refcounting fixes.
7536 Handle the case where preroll timed out more gracefully.
7538 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7539 Clean up the internal thread in dispose. This is needed
7540 for subclasses that actually get disposed.
7542 * gst/schedulers/threadscheduler.c:
7543 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7544 (gst_thread_scheduler_dispose):
7545 Free thread pool in dispose.
7547 2005-06-28 Andy Wingo <wingo@pobox.com>
7549 * tests/network-clock-utils.scm (debug, print-event): New utils.
7551 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7552 (*packet-loss*): Unified loss probability.
7553 (network-time): Report out-of-band events.
7555 * tests/plot-data: Add support for out-of-band events. Hack it
7556 into this script instead of passing it down the pipe; should fix
7559 2005-06-28 Wim Taymans <wim@fluendo.com>
7561 * docs/gst/gstreamer.types:
7562 * docs/gst/tmpl/gstbasesrc.sgml:
7563 * docs/gst/tmpl/gstpad.sgml:
7566 2005-06-28 Wim Taymans <wim@fluendo.com>
7568 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7569 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7570 (gst_proxy_pad_do_fixatecaps):
7571 Correctly proxy the check_pull_range function.
7573 2005-06-28 Andy Wingo <wingo@pobox.com>
7575 * tests/network-clock.scm: Removed need for slib.
7577 2005-06-28 Wim Taymans <wim@fluendo.com>
7579 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7580 (gst_basesink_preroll_queue_flush):
7581 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7582 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7583 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7584 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7585 (gst_proxy_pad_set_property):
7588 * gst/gstqueue.c: (gst_queue_init):
7589 The deprecated pad loop function is removed now.
7591 2005-06-28 Andy Wingo <wingo@pobox.com>
7593 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7594 New parameters, simulate network packet loss.
7596 * tests/network-clock-utils.scm: Initialize the RNG.
7598 2005-06-28 Wim Taymans <wim@fluendo.com>
7600 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7601 (gst_basesink_event), (gst_basesink_deactivate):
7602 Flushing the preroll queue always needs to unlock the waiters.
7604 2005-06-28 Edward Hervey <edward@fluendo.com>
7606 * gst/gstpipeline.c: (gst_pipeline_send_event):
7607 Wheen a seek was successful on a pipeline, set the stream_time to the
7608 seek offset in order to have a synchronized stream_time.
7610 2005-06-28 Wim Taymans <wim@fluendo.com>
7612 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7613 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7614 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7615 (gst_proxy_pad_do_fixatecaps):
7616 Call wrapper function instead of just calling the function
7617 pointers. This takes care of any locking and whatmore.
7619 2005-06-28 Wim Taymans <wim@fluendo.com>
7621 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7622 (gst_pad_pull_range):
7624 CONNECTED -> LINKED.
7626 2005-06-28 Andy Wingo <wingo@pobox.com>
7628 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7629 source-munging commit!!!
7631 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7632 (gst_object_sink): Take gpointer arguments, not GstObject --
7633 avoids casts. Like GLib.
7635 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7638 2005-06-27 Andy Wingo <wingo@pobox.com>
7640 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7643 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7644 returns a sorted copy of the trace list.
7645 (gst_alloc_trace_print_live): New API, only prints traces with
7646 live objects. Sort the list.
7647 (gst_alloc_trace_print_all): Sort the list.
7648 (gst_alloc_trace_print): Align columns.
7650 * gst/elements/gstttypefindelement.c:
7651 * gst/elements/gsttee.c:
7652 * gst/base/gstbasesrc.c:
7653 * gst/base/gstbasesink.c:
7654 * gst/base/gstbasetransform.c:
7655 * gst/gstqueue.c: Adapt for pad activation changes.
7657 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7659 (gst_pipeline_dispose): Drop ref on sched.
7661 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7662 (gst_pad_activate_default): Push mode by default.
7663 (pre_activate_switch, post_activate_switch): New stubs, things to
7664 do before and after switching activation modes on pads.
7665 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7666 the pad's activate function to choose which mode to activate.
7667 Shortcut on deactivation and call the right function directly.
7668 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7670 (gst_pad_activate_push): New API, same for push mode.
7671 (gst_pad_set_activate_function)
7672 (gst_pad_set_activatepull_function)
7673 (gst_pad_set_activatepush_function): Setters for new API.
7675 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7676 Trace all miniobjects.
7677 (gst_mini_object_make_writable): Unref the arg if we copy, like
7678 gst_caps_make_writable.
7680 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7682 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7683 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7684 Adapt for new pad API.
7686 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7689 * gst/gstelement.c (gst_element_iterate_src_pads)
7690 (gst_element_iterate_sink_pads): New API functions.
7692 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7693 should fold into gstiterator.c in some form.
7694 (gst_element_pads_activate): Simplified via use of fold and
7695 delegation of decisions to gstpad->activate.
7697 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7700 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7701 class once in init, like gstmessage. Didn't run into this issue
7702 but it seems correct. Don't initialize a trace, gstminiobject does
7705 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7706 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7708 (assert_live_count): New util function, uses alloc traces to check
7711 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7712 To be modified when unlink drops the internal pad.
7714 2005-06-27 Wim Taymans <wim@fluendo.com>
7716 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7717 (gst_bin_change_state):
7718 Cleanup the get_state() function a little, make sure it
7719 iterates the same set of elements.
7720 Added stub iterate_state_order().
7722 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7724 * docs/gst/gstreamer-docs.sgml:
7725 * docs/gst/gstreamer-sections.txt:
7726 * docs/gst/gstreamer.types:
7727 * docs/gst/tmpl/gstbasesink.sgml:
7728 * docs/gst/tmpl/gstbasesrc.sgml:
7729 * docs/gst/tmpl/gstbasetransform.sgml:
7730 * docs/gst/tmpl/gstelement.sgml:
7731 * docs/gst/tmpl/gstiterator.sgml:
7732 * gst/base/gstbasesrc.c:
7733 * gst/base/gstbasesrc.h:
7734 * gst/base/gstbasetransform.h:
7736 * gst/gstiterator.h:
7737 adding basetransform and iterator docs
7739 2005-06-27 Andy Wingo <wingo@pobox.com>
7741 * docs/design/part-activation.txt: Notes on how activation should
7742 work -- not quite implemented yet.
7744 2005-06-25 Wim Taymans <wim@fluendo.com>
7746 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7747 At least get the chain function correct, needs more
7750 2005-06-25 Wim Taymans <wim@fluendo.com>
7752 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7753 (gst_basesink_handle_object), (gst_basesink_event),
7754 (gst_basesink_do_sync), (gst_basesink_handle_event),
7755 (gst_basesink_change_state):
7757 Right, two problems here: ghostpads don't take locks and
7758 glib _rec_mutex_lock_full() with depth==0 still locks.
7759 Catch illegal locking and g_warn them.
7761 2005-06-25 Wim Taymans <wim@fluendo.com>
7763 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7764 Have to check for completion now...
7766 2005-06-25 Wim Taymans <wim@fluendo.com>
7768 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7769 (gst_basesink_handle_object), (gst_basesink_event),
7770 (gst_basesink_do_sync), (gst_basesink_handle_event),
7771 (gst_basesink_change_state):
7773 Unlock STREAM_LOCK whatever the recursion was.
7775 2005-06-25 Wim Taymans <wim@fluendo.com>
7777 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7778 (gst_basesink_preroll_queue_empty),
7779 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7780 (gst_basesink_event), (gst_basesink_do_sync),
7781 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7782 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7783 (gst_basesink_change_state):
7784 Reworked the base sink, handle event and buffer serialisation
7785 correctly and removed possible deadlock.
7786 Handle EOS correctly.
7788 2005-06-25 Wim Taymans <wim@fluendo.com>
7790 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7791 (gst_pipeline_change_state):
7792 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7793 Allow elements to post EOS in the state change function.
7794 Fix up -launch, make it exit the poll loop when the
7795 pipeline actually changed state.
7796 Fix up warning parsing in -launch.
7798 2005-06-25 Wim Taymans <wim@fluendo.com>
7800 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7801 (gst_tee_sink_activate):
7802 Core takes STREAM_LOCK for us now.
7804 2005-06-25 Wim Taymans <wim@fluendo.com>
7806 * gst/gstelement.c: (gst_element_get_state_func),
7807 (gst_element_set_state):
7809 * gst/gstmessage.c: (gst_message_parse_error),
7810 (gst_message_parse_warning):
7811 Keep track of current target state while performing a state
7812 change so that subclasses can do something interesting.
7813 Fix parsing of warning/error messages when GError is NULL.
7815 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7817 * docs/gst/Makefile.am:
7818 * docs/gst/gstreamer-docs.sgml:
7819 * docs/gst/gstreamer-sections.txt:
7820 * docs/gst/gstreamer.types:
7821 * docs/gst/tmpl/gstbasesink.sgml:
7822 * docs/gst/tmpl/gstbasesrc.sgml:
7823 * docs/gst/tmpl/gstbin.sgml:
7824 * docs/gst/tmpl/gstcompat.sgml:
7825 * docs/gst/tmpl/gstfakesink.sgml:
7826 * docs/gst/tmpl/gstfakesrc.sgml:
7827 * docs/gst/tmpl/gstfilesink.sgml:
7828 * docs/gst/tmpl/gstfilesrc.sgml:
7829 * docs/gst/tmpl/gstindex.sgml:
7830 * docs/manual/appendix-quotes.xml:
7831 * gst/base/gstbasesrc.h:
7832 * gst/elements/gstfakesrc.h:
7834 start pulling in base classes and elements in our docs
7836 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7838 * docs/gst/Makefile.am:
7839 * docs/libs/Makefile.am:
7840 fixed make distcheck with gtk-doc 1.3
7842 2005-06-23 Wim Taymans <wim@fluendo.com>
7844 * gst/gstelement.c: (gst_element_get_state_func),
7845 (gst_element_set_state), (gst_element_change_state):
7846 When the state did not change, also report NO_PREROLL
7849 2005-06-23 Wim Taymans <wim@fluendo.com>
7851 * gst/gstpad.c: (gst_pad_event_default):
7852 * gst/gstqueue.c: (gst_queue_loop):
7853 No unsafe task pausing please.
7855 2005-06-23 Wim Taymans <wim@fluendo.com>
7857 * gst/schedulers/threadscheduler.c:
7858 (gst_thread_scheduler_task_start),
7859 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7860 Ref the task before pushing it on the threadpool. This
7861 makes sure that we have a ref when the threadfunction is
7864 2005-06-23 Andy Wingo <wingo@pobox.com>
7866 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7867 offset is greater than the file's size.
7869 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7870 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7871 * gst/gstobject.c (gst_object_class_init): Make the class lock
7872 recursive. Wim won't let me drop deep_notify. Decodebin works
7875 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7876 internal pad, and hacks accordingly. Doesn't do it on the target
7877 pad because we change its caps. Probably catches all cases of
7879 (gst_ghost_pad_set_property): Connect to notify::caps as
7882 * tests/network-clock.scm (plot-simulation): Pipe data to the
7883 elite python skript.
7885 * tests/network-clock-utils.scm (define-parameter): New macro,
7886 defines a parameter that can be set via the command line.
7887 (set-parameter!, parse-parameter-arguments): Command line args
7890 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7893 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7895 * gst/elements/gsttypefindelement.c:
7896 (gst_type_find_element_handle_event):
7897 Don't restart typefinding on a discont.
7898 * gst/gstelement.c: (gst_element_set_state):
7900 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7901 Allow changing mode of an active pad.
7903 * gst/registries/gstlibxmlregistry.c: (load_feature):
7904 Don't cast a static pad template to a normal pad template.
7906 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7908 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7909 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7910 remove gst_strtoll completely, since it didn't actually do
7911 anything more than what g_ascii_strtoull already does.
7912 check for range errors when deserializing
7913 do a cast for the unsigned cases; but further fixing needs
7914 a decision on what the interpretation of "(int)" and
7915 deserialization should be for values that fall outside the
7916 type's boundaries (ie, refuse, or interpret as casting)
7918 2005-06-23 Wim Taymans <wim@fluendo.com>
7920 * check/Makefile.am:
7921 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7922 * docs/design/part-live-source.txt:
7923 * docs/design/part-states.txt:
7924 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7925 (gst_basesrc_set_live), (gst_basesrc_is_live),
7926 (gst_basesrc_get_range), (gst_basesrc_activate),
7927 (gst_basesrc_change_state):
7928 * gst/base/gstbasesrc.h:
7929 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7930 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7931 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7932 * gst/gstelement.c: (gst_element_get_state_func),
7933 (gst_element_set_state):
7936 * tools/gst-launch.c: (event_loop), (main):
7937 Added support for live sources and other elements that
7939 Updated design docs, added live-source design doc.
7940 Implemented live source functionality in basesrc
7941 Fix error condition in _bin_get_state()
7942 Implement live source handling in -launch.
7943 Added check for live sources.
7944 Fixed case in GstBin where elements were changed state
7948 2005-06-23 Andy Wingo <wingo@pobox.com>
7950 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7953 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7954 gst_caps_replace takes care of this for us.
7956 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7957 gst_pad_set_caps on the target, not just its setcaps() function.
7959 * tests/network-clock.scm:
7960 * tests/network-clock-utils.scm: A network clock simulator.
7961 Something of an algorithmic testbed before doing something in C.
7963 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7965 * check/Makefile.am:
7966 * check/gst/capslist.h:
7967 copy over from 0.8, and add two with bitmasks specified with
7969 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7970 add test to parse everything from capslist.h
7971 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7973 add test for structure deserialization
7974 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7975 add tests for deserialization of strings to int types
7976 * gst/gststructure.c: (gst_structure_nth_field_name):
7977 * gst/gststructure.h:
7978 add a way to get the name of a field referenced by index
7979 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7980 instead of checking if the resulting long long lies between
7981 min and max, we check if the long long would fit into
7982 a number of bytes for the final type.
7983 This fixes cases where a string represents 2^32 - 1, which
7984 when cast to int would be the (valid) -1, but is bigger than
7987 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7989 * gst/parse/grammar.y:
7990 add a log line for type deserialization
7992 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7994 * check/gst/gstvalue.c: (START_TEST):
7995 * gst/gstvalue.c: (gst_value_deserialize):
7996 return long long, not int, so gint64 deserialization actually
7997 works. Is there any flag that makes the compiler check this ?
8000 2005-06-22 Wim Taymans <wim@fluendo.com>
8003 Added convenience macros for setting buffers in GValue.
8005 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8007 * check/gst/.cvsignore:
8008 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8009 add a test deserializing int64, and comment part out because
8012 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8014 * check/Makefile.am:
8015 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8016 * testsuite/Makefile.am:
8017 * testsuite/caps/Makefile.am:
8018 * testsuite/caps/value_serialize.c:
8019 * testsuite/test_gst_init.c:
8020 move a value_serialize test over
8022 2005-06-20 Wim Taymans <wim@fluendo.com>
8027 * gst/gstvalue.c: (gst_value_compare_buffer),
8028 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8029 (gst_value_compare_flags), (gst_value_serialize_flags),
8030 (gst_value_deserialize_flags), (_gst_value_initialize):
8031 Fix serialisation of buffers, they are not boxed types anymore
8033 2005-06-20 Wim Taymans <wim@fluendo.com>
8035 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8036 Testcase to show error in buffer-on-caps serialisation.
8038 2005-06-20 Andy Wingo <wingo@pobox.com>
8040 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8041 will be adding to later.
8043 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8044 if its socks fill with rocks.
8045 (gst_system_clock_obtain): Set the name on object construction.
8046 Avoid double-checked locking.
8048 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8050 * gst/gsturi.c: (gst_element_make_from_uri):
8051 Fix potential endless loop.
8053 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8055 * check/Makefile.am:
8057 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8059 move over from testsuite dir and clean up
8062 * testsuite/Makefile.am:
8063 * testsuite/tags/.cvsignore:
8064 * testsuite/tags/Makefile.am:
8065 * testsuite/tags/merge.c:
8066 remove testsuite/tags
8068 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8070 * docs/gst/gstreamer-sections.txt:
8071 * docs/gst/tmpl/gstenumtypes.sgml:
8072 * win32/gstenumtypes.c:
8073 clean up documentation build a little
8075 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8078 add macros for checking refcounts on objects and caps
8079 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8080 add some more unit tests
8081 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8082 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8083 fix leaked refcounts (I hope :)) so unittest works
8087 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8089 * configure.ac: back to HEAD
8091 === release 0.9.1 ===
8093 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8099 2005-06-17 Andy Wingo <wingo@pobox.com>
8101 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8102 assert; it's always possible that the pad gets deactivated in
8103 between the checks in gstpad.c and the implementation. Rely on
8104 finish_preroll() to return a FLUSHING or similar instead of on the
8107 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8108 clock and post an EOS message if we come out of finish_preroll in
8111 2005-06-16 David Schleef <ds@schleef.org>
8113 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8114 (gst_capsfilter_set_property): Allow NULL as possible value
8115 for filter_caps property, indicating GST_CAPS_ANY.
8117 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8119 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8121 * gst/schedulers/Makefile.am:
8123 * gstreamer.spec.in:
8126 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8128 * gstreamer.spec.in:
8131 2005-06-08 Andy Wingo <wingo@pobox.com>
8133 * gst/gstutils.c: RPAD fixes all around.
8134 (gst_element_link_pads): Refcounting fixes.
8136 * tools/gst-inspect.c:
8137 * tools/gst-xmlinspect.c:
8139 * gst/base/gsttypefindhelper.c:
8140 * gst/base/gstbasesink.c:
8141 * gst/gstqueue.c: RPAD fixes.
8143 * gst/gstghostpad.h:
8144 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8145 pads. The tricky thing is they provide both source and sink
8146 interfaces, since they proxy the internal pad for the external
8147 pad, and vice versa. Implement with lower-level ProxyPad objects,
8148 with the interior proxy pad as a child of the exterior ghost pad.
8149 Should write a doc on this.
8151 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8152 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8155 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8156 pads are real pads. No ghost pads in this file. Not documenting
8157 the myriad s/RPAD/PAD/ and REALIZE fixes.
8158 (gst_pad_class_init): Add properties for "direction" and
8159 "template". Both are construct-only, so they can't change during
8160 the life of the pad. Fixes properly deriving from GstPad.
8161 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8162 derived objects, just set properties when creating the objects via
8164 (gst_pad_get_parent): Implement as a function, return NULL if the
8165 parent is not an element.
8166 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8167 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8169 * gst/gstobject.c (gst_object_class_init): Make name a construct
8170 property. Don't set it in the object init.
8172 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8173 with UNKNOWN direction.
8174 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8175 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8176 (gst_element_remove_pad): Remove ghost-pad special cases.
8177 (gst_element_pads_activate): Remove rpad cruft.
8179 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8180 catch the pad's-parent-not-an-element case.
8182 * gst/gst.h: Include gstghostpad.h.
8184 * gst/gst.c (init_post): No more real, ghost pads.
8186 * gst/Makefile.am: Add gstghostpad.[ch].
8188 * check/Makefile.am:
8189 * check/gst/gstbin.c:
8190 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8191 into a bin creates ghost pads, and that the refcounts are right.
8192 Partly moved from gstbin.c.
8194 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8196 * check/gst-libs/.cvsignore:
8197 * check/gst/.cvsignore:
8198 * check/pipelines/.cvsignore:
8200 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8201 (START_TEST), (cleanup_suite), (main):
8202 add some tests related to cleanup after running pipelines
8204 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8206 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8207 add a testsuite for GstBuffer
8209 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8211 * gst/gstminiobject.h:
8212 add defines for accessing the refcount
8214 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8216 * Makefile.am: added support for html unit test coverage reports
8218 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8220 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8221 Free existing caps if the capsfilter changes. Add a FIXME about
8222 setting those caps on the pads.
8224 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8225 Before adding a ghost pad to a parent bin, check that there isn't
8226 already one for the element on the bin. Prevents infinite recursion
8227 when using decodebin in parse pipelines. Andy says he'll rewrite the
8228 way this works anyway, so ignore the hack.
8230 2005-06-02 Andy Wingo <wingo@pobox.com>
8232 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8233 file size, pass it on to the type find helper.
8235 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8236 segment_start and segment_end properly according to the seek
8237 method. Segment_end is still a bit flaky because offset can be
8238 negative for CUR and END cases, but it takes -1 as an "unset"
8241 2005-06-02 Wim Taymans <wim@fluendo.com>
8243 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8244 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8245 (gst_basesink_activate):
8246 * gst/base/gstbasesink.h:
8247 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8248 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8249 (gst_pad_query), (gst_pad_start_task):
8251 * gst/gstqueue.c: (gst_queue_bufferalloc),
8252 (gst_queue_handle_sink_event), (gst_queue_chain):
8253 Bufferalloc: return GstFlowReturn to more accuratly report
8254 why allocation failed.
8256 2005-06-02 Wim Taymans <wim@fluendo.com>
8258 * gst/gstpipeline.c: (gst_pipeline_send_event):
8259 Take snapshot of state without blocking.
8261 2005-06-02 Wim Taymans <wim@fluendo.com>
8263 * docs/design/part-TODO.txt:
8264 * docs/design/part-caps.txt:
8265 * docs/design/part-clocks.txt:
8266 * docs/design/part-negotiation.txt:
8267 * docs/design/part-preroll.txt:
8270 2005-05-30 Wim Taymans <wim@fluendo.com>
8272 * gst/elements/gstidentity.c: (gst_identity_event),
8273 (gst_identity_transform), (gst_identity_get_property):
8274 Protect last_message property as it is accessed from
8277 2005-05-30 Wim Taymans <wim@fluendo.com>
8279 * gst/gstelement.c: (gst_element_init),
8280 (gst_element_pads_activate), (gst_element_change_state):
8281 Slicker pad activation code.
8283 2005-05-30 Wim Taymans <wim@fluendo.com>
8287 * gst/gstelementfactory.h:
8289 Move elementfactory methods to separate .h file.
8291 2005-05-30 Wim Taymans <wim@fluendo.com>
8293 * docs/design/part-overview.txt:
8294 * gst/gstsystemclock.h:
8295 Small typo fixes, doc updates.
8297 2005-05-30 Wim Taymans <wim@fluendo.com>
8299 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8300 (init_popt_callback):
8301 Remove cpu-opt flag.
8303 2005-05-30 Wim Taymans <wim@fluendo.com>
8305 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8306 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8308 Avoid typechecking in places where not needed.
8309 Added accessor for malloc_data.
8311 2005-05-30 Wim Taymans <wim@fluendo.com>
8313 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8314 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8315 (gst_pad_configure_sink), (gst_pad_configure_src),
8316 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8317 (gst_pad_start_task):
8318 Propagate errors from _set_caps() in configure_src/sink
8319 functions instead of returning TRUE.
8320 FLUSH events can travel up and downstream
8323 2005-05-30 Wim Taymans <wim@fluendo.com>
8325 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8326 (gst_basesink_activate):
8327 Handle EOS in preroll.
8329 2005-05-30 Wim Taymans <wim@fluendo.com>
8331 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8332 (gst_queue_loop), (gst_queue_handle_src_event):
8333 Remove old pieces of code
8334 Flushing the queue in an upstream event is a very bad idea.
8336 2005-05-26 Andy Wingo <wingo@pobox.com>
8338 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8339 gst_value_set_mini_object so as to add a ref on the object (which
8340 will be removed when the value is unset).
8342 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8343 arg type in ::handoff.
8345 * gst/gstelement.c (gst_element_change_state): Also deactivate
8346 pads in READY->NULL, just in case the element didn't make it to
8347 PAUSED. Wingo tested, Wim approved.
8349 2005-05-26 Wim Taymans <wim@fluendo.com>
8351 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8352 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8353 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8354 A flushing pad cannot be used to alloc_buffer from.
8356 2005-05-26 Wim Taymans <wim@fluendo.com>
8358 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8359 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8360 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8361 (gst_bus_create_watch), (gst_bus_add_watch_full):
8363 Implement a real GSource and use g_main_context_wakeup() to
8364 signal new messages instead of the socketpair.
8366 2005-05-25 Wim Taymans <wim@fluendo.com>
8368 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8369 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8370 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8371 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8372 (gst_pad_send_event), (gst_pad_start_task):
8373 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8374 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8375 (gst_queue_sink_activate), (gst_queue_src_activate),
8376 (gst_queue_change_state):
8378 Fix state changes for non sinks. We now change sinks, then elements
8379 with unconnected srcpads, then the rest.
8380 More efficient queue unlocking in flush and state changes.
8381 Set the pad activate mode even if it does not have an activate
8384 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8386 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8387 Don't go in pull mode for non-seekable sources.
8388 * gst/elements/gsttypefindelement.h:
8389 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8390 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8391 (free_entry), (stop_typefinding),
8392 (gst_type_find_element_handle_event), (find_peek),
8393 (gst_type_find_element_chain), (do_pull_typefind),
8394 (gst_type_find_element_change_state):
8395 Allow typefinding (w/o seeking) in push-mode, simplified version
8397 * gst/gstutils.c: (gst_buffer_join):
8399 gst_buffer_join() from 0.8.
8401 2005-05-25 Wim Taymans <wim@fluendo.com>
8403 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8404 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8405 (gst_pad_send_event), (gst_pad_start_task):
8406 Disable attempt at mode switching until it is figured out.
8408 2005-05-25 Wim Taymans <wim@fluendo.com>
8410 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8411 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8412 (gst_basesink_finish_preroll), (gst_basesink_chain),
8413 (gst_basesink_loop), (gst_basesink_activate),
8414 (gst_basesink_change_state):
8415 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8416 (gst_basesrc_get_range), (gst_basesrc_loop),
8417 (gst_basesrc_activate):
8418 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8419 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8420 (gst_real_pad_init), (gst_real_pad_set_property),
8421 (gst_real_pad_get_property), (gst_pad_set_active),
8422 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8423 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8424 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8425 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8426 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8427 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8428 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8429 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8430 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8431 (gst_pad_stop_task):
8433 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8434 (gst_queue_loop), (gst_queue_src_activate):
8435 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8436 (gst_task_get_state):
8438 * gst/schedulers/threadscheduler.c:
8439 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8440 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8442 Remove ACTIVE pad flag, use FLUSHING everywhere
8443 Added _pad_chain(), _pad_get_range() to call chain/getrange
8445 Add locks around IS_FLUSHING when reading.
8446 Take STREAM lock in chain(), get_range() functions so plugins
8447 don't need to take it anymore.
8451 2005-05-25 Wim Taymans <wim@fluendo.com>
8453 * tools/gst-launch.c: (event_loop):
8454 Unref message after using its contents instead of
8457 2005-05-24 Wim Taymans <wim@fluendo.com>
8459 * docs/design/draft-ghostpads.txt:
8460 * docs/design/draft-push-pull.txt:
8461 * docs/design/draft-query.txt:
8462 * docs/design/part-overview.txt:
8463 Docs updates, added general overview doc.
8465 2005-05-21 David Schleef <ds@schleef.org>
8467 * docs/gst/tmpl/old/GstBin.sgml:
8468 * docs/gst/tmpl/old/GstBuffer.sgml:
8469 * docs/gst/tmpl/old/GstCaps.sgml:
8470 * docs/gst/tmpl/old/GstClock.sgml:
8471 * docs/gst/tmpl/old/GstCompat.sgml:
8472 * docs/gst/tmpl/old/GstData.sgml:
8473 * docs/gst/tmpl/old/GstElement.sgml:
8474 * docs/gst/tmpl/old/GstEvent.sgml:
8475 * docs/gst/tmpl/old/GstIndex.sgml:
8476 * docs/gst/tmpl/old/GstStructure.sgml:
8477 * docs/gst/tmpl/old/GstTag.sgml:
8478 * docs/gst/tmpl/old/cothreads.sgml:
8479 * docs/gst/tmpl/old/cothreads_compat.sgml:
8480 * docs/gst/tmpl/old/gettext.sgml:
8481 * docs/gst/tmpl/old/gobject2gtk.sgml:
8482 * docs/gst/tmpl/old/grammar.tab.sgml:
8483 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8484 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8485 * docs/gst/tmpl/old/gst_private.sgml:
8486 * docs/gst/tmpl/old/gstaggregator.sgml:
8487 * docs/gst/tmpl/old/gstarch.sgml:
8488 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8489 * docs/gst/tmpl/old/gstbufferstore.sgml:
8490 * docs/gst/tmpl/old/gstdata_private.sgml:
8491 * docs/gst/tmpl/old/gstdisksink.sgml:
8492 * docs/gst/tmpl/old/gstdisksrc.sgml:
8493 * docs/gst/tmpl/old/gstelementfactory.sgml:
8494 * docs/gst/tmpl/old/gstextratypes.sgml:
8495 * docs/gst/tmpl/old/gstfakesink.sgml:
8496 * docs/gst/tmpl/old/gstfakesrc.sgml:
8497 * docs/gst/tmpl/old/gstfdsink.sgml:
8498 * docs/gst/tmpl/old/gstfdsrc.sgml:
8499 * docs/gst/tmpl/old/gstfilesink.sgml:
8500 * docs/gst/tmpl/old/gstfilesrc.sgml:
8501 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8502 * docs/gst/tmpl/old/gstidentity.sgml:
8503 * docs/gst/tmpl/old/gstindexfactory.sgml:
8504 * docs/gst/tmpl/old/gstmarshal.sgml:
8505 * docs/gst/tmpl/old/gstmd5sink.sgml:
8506 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8507 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8508 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8509 * docs/gst/tmpl/old/gstpipefilter.sgml:
8510 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8511 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8512 * docs/gst/tmpl/old/gstshaper.sgml:
8513 * docs/gst/tmpl/old/gstspider.sgml:
8514 * docs/gst/tmpl/old/gstspideridentity.sgml:
8515 * docs/gst/tmpl/old/gststatistics.sgml:
8516 * docs/gst/tmpl/old/gsttee.sgml:
8517 * docs/gst/tmpl/old/gsttimecache.sgml:
8518 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8519 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8520 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8521 * docs/gst/tmpl/old/types.sgml:
8522 I didn't intend to add these or check them in.
8524 2005-05-19 David Schleef <ds@schleef.org>
8526 * configure.ac: Use -no-common everywhere. In a sane world, it
8527 would be the default in libtool, because without it, you can't
8528 build DLLs on Windows.
8529 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8530 * docs/gst/gstreamer-sections.txt:
8531 * docs/gst/tmpl/gstcpu.sgml:
8532 * docs/gst/tmpl/gstdata.sgml:
8533 * docs/gst/tmpl/gstthread.sgml:
8535 2005-05-19 David Schleef <ds@schleef.org>
8537 * gst/gstminiobject.c: (gst_value_set_mini_object),
8538 (gst_value_take_mini_object), (gst_value_get_mini_object):
8539 * gst/gstminiobject.h: Add GValue set/get functions.
8541 2005-05-19 Wim Taymans <wim@fluendo.com>
8543 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8544 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8545 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8547 * gst/gstbus.c: (gst_bus_post):
8548 * gst/gstelement.c: (gst_element_get_random_pad):
8549 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8550 Make subbufer unref the parent in finalize.
8551 some more debugging info.
8554 2005-05-19 Wim Taymans <wim@fluendo.com>
8556 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8557 (gst_basesink_init), (gst_basesink_finalize),
8558 (gst_basesink_activate), (gst_basesink_change_state):
8559 Don't free preroll queue too early.
8561 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8565 Hi, I'm outdated. Please shoot me.
8567 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8569 * gst/gstpipeline.c: (gst_pipeline_send_event):
8570 Do not access variables after they have been deleted.
8572 2005-05-19 Wim Taymans <wim@fluendo.com>
8574 * tools/gst-inspect.c: (print_plugin_features):
8575 A plugin feature does unfortunatly not use the
8578 2005-05-18 Wim Taymans <wim@fluendo.com>
8580 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8581 Port _span() functions to new subbuffers.
8583 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8585 * gst/gstbin.c: (gst_bin_add_func):
8586 Fix clock settery in bins when adding kids after the clock has
8589 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8591 * gst/elements/gstidentity.c: (gst_identity_class_init):
8592 Workaround until signals support GstMiniObject.
8594 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8597 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8599 2005-05-18 Wim Taymans <wim@fluendo.com>
8601 * gst/base/Makefile.am:
8602 * gst/base/gstadapter.c: (gst_adapter_base_init),
8603 (gst_adapter_class_init), (gst_adapter_init),
8604 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8605 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8606 (gst_adapter_flush), (gst_adapter_available),
8607 (gst_adapter_available_fast):
8608 * gst/base/gstadapter.h:
8609 Ported and added adapter to the base classes.
8611 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8615 Make sure the class is reffed/unreffed once before threads can be
8616 used. Fixes #304551.
8618 2005-05-17 Wim Taymans <wim@fluendo.com>
8620 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8621 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8622 * gst/gstminiobject.c: (gst_mini_object_get_type),
8623 (gst_mini_object_free):
8624 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8625 (gst_pad_push), (gst_pad_push_event):
8626 * gst/gstqueue.c: (gst_queue_change_state):
8627 Don't queue buffers in basesink when we are flushing.
8628 Unref buffer when flushing in basesink.
8629 Flush queue when going to READY
8630 Unref buffer when _push() returns an error.
8631 Don't free MiniObject instance when refcount is incremented
8632 in _finalize() so that we can recover objects.
8634 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8636 * docs/manual/advanced-schedulers.xml:
8637 * docs/manual/appendix-checklist.xml:
8638 * docs/pwg/advanced-clock.xml:
8639 * docs/pwg/advanced-interfaces.xml:
8640 * docs/pwg/advanced-request.xml:
8641 * docs/pwg/advanced-types.xml:
8642 * docs/pwg/intro-preface.xml:
8643 * examples/plugins/example.c: (gst_example_get_type),
8644 (gst_example_class_init), (gst_example_chain),
8645 (gst_example_set_property), (gst_example_get_property),
8646 (gst_example_change_state), (plugin_init):
8647 * examples/plugins/example.h:
8650 2005-05-17 Wim Taymans <wim@fluendo.com>
8652 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8653 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8654 * gst/gstqueue.c: (gst_queue_change_state):
8655 Clear queue when going to READY.
8656 Remove IN_SETCAPS flag too.
8658 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8660 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8661 Remove implicit cast from gboolean to GstElementStateReturn;
8662 make sure we still return failure in paused => ready case if
8663 the parent class fails to change state and our own stop
8666 2005-05-17 Wim Taymans <wim@fluendo.com>
8668 * tools/gst-launch.c: (event_loop):
8669 Message was unreffed too soon.
8671 2005-05-16 Andy Wingo <wingo@pobox.com>
8673 * gst/gstbin.c (sink_iterator_filter): Err... um...
8675 * check/gst/gstbin.c (test_ghost_pads): New test for the
8676 ghosting-if-elements-not-in-same-bin behavior.
8678 2005-05-16 David Schleef <ds@schleef.org>
8680 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8681 accessing refcount directly.
8683 2005-05-15 David Schleef <ds@schleef.org>
8685 * check/Makefile.am: remove GstData checks
8686 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8687 * gst/Makefile.am: add miniobject, remove data
8688 * gst/gst.h: add miniobject, remove data
8689 * gst/gstdata.c: remove
8690 * gst/gstdata.h: remove
8691 * gst/gstdata_private.h: remove
8692 * gst/gsttypes.h: remove GstEvent and GstMessage
8693 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8694 * gst/gstmarshal.list: change BOXED -> OBJECT
8696 Implement GstMiniObject.
8697 * gst/gstminiobject.c:
8698 * gst/gstminiobject.h:
8700 Modify to be subclasses of GstMiniObject.
8701 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8702 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8703 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8704 (gst_subbuffer_get_type), (gst_subbuffer_init),
8705 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8708 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8709 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8710 (_gst_event_copy), (gst_event_new):
8712 * gst/gstmessage.c: (_gst_message_initialize),
8713 (gst_message_get_type), (gst_message_class_init),
8714 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8715 (gst_message_new), (gst_message_new_error),
8716 (gst_message_new_warning), (gst_message_new_tag),
8717 (gst_message_new_state_changed), (gst_message_new_application):
8719 * gst/gstprobe.c: (gst_probe_perform),
8720 (gst_probe_dispatcher_dispatch):
8722 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8723 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8724 (_gst_query_copy), (gst_query_new):
8726 Update elements for GstData -> GstMiniObject changes
8728 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8729 (gst_queue_chain), (gst_queue_loop):
8730 * gst/elements/gstbufferstore.c:
8731 (gst_buffer_store_add_buffer_func),
8732 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8733 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8734 (gst_fakesink_render):
8735 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8736 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8737 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8738 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8739 (gst_filesrc_create_read):
8740 * gst/elements/gstidentity.c: (gst_identity_class_init):
8741 * gst/elements/gsttypefindelement.c:
8742 (gst_type_find_element_src_event), (free_entry_buffers),
8743 (gst_type_find_element_handle_event):
8744 * libs/gst/dataprotocol/dataprotocol.c:
8745 (gst_dp_header_from_buffer):
8746 * libs/gst/dataprotocol/dataprotocol.h:
8747 * libs/gst/dataprotocol/dp-private.h:
8749 2005-05-15 David Schleef <ds@schleef.org>
8751 * gst/elements/gstelements.c: Don't include headers that were
8754 2005-05-15 David Schleef <ds@schleef.org>
8756 * gst/elements/Makefile.am: Remove some elements that don't
8757 need to be in the core (or even exist at all).
8758 * gst/elements/gstaggregator.c:
8759 * gst/elements/gstaggregator.h:
8760 * gst/elements/gstmd5sink.c:
8761 * gst/elements/gstmd5sink.h:
8762 * gst/elements/gstmultifilesrc.c:
8763 * gst/elements/gstmultifilesrc.h:
8764 * gst/elements/gstpipefilter.c:
8765 * gst/elements/gstpipefilter.h:
8766 * gst/elements/gstshaper.c:
8767 * gst/elements/gstshaper.h:
8768 * gst/elements/gststatistics.c:
8769 * gst/elements/gststatistics.h:
8770 * po/POTFILES.in: Remove above files.
8772 2005-05-14 Andy Wingo <wingo@pobox.com>
8774 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8775 so as to get the refs right.
8776 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8777 unreffing objects that don't pass the filter.
8779 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8780 gst_element_set_bus.
8781 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8782 normal cases, this will destroy the bus.
8784 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8787 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8790 2005-05-13 Andy Wingo <wingo@pobox.com>
8792 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8793 gst_pad_link, call pad_link_maybe_ghosting,
8794 (pad_link_maybe_ghosting): Links pads, making sure that the
8795 elements being linked are in the same bin.
8796 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8797 Helpers for pad_link_maybe_ghosting.
8799 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8802 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8804 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8806 * docs/design/part-element-source.txt:
8809 2005-05-12 Wim Taymans <wim@fluendo.com>
8811 * gst/base/gstbasesink.c: (gst_basesink_init),
8812 (gst_basesink_activate):
8813 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8814 (gst_basesrc_is_seekable):
8815 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8816 (bin_element_is_sink), (gst_bin_change_state):
8817 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8819 Identify sinks by their flag to avoid overly complicated
8821 Do state changes even for elements not reachable from the
8823 BaseSink is a sink now :)
8824 Some more debugging info in the basesrc.
8827 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8829 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8830 Implement _query on a bin, similar to _send_event.
8832 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8834 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8835 Discont event offset format should be GST_FORMAT_BYTES,
8836 not GST_FORMAT_TIME.
8838 2005-05-12 Wim Taymans <wim@fluendo.com>
8840 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8841 Same fix as Ronald's but without the signal.
8843 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8845 * gst/gstutils.c: (gst_element_query_position):
8846 No, an element is not a pad.
8848 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8850 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8851 (gst_bin_get_state):
8852 If a child is removed from a bin while we remove the child from
8853 the bin and while we're retrieving its state, signal this to the
8854 get_state function so we abort the wait (instead of waiting for
8855 a timeout) and can immediately re-iterate over all other elements.
8857 2005-05-12 Wim Taymans <wim@fluendo.com>
8859 * gst/base/Makefile.am:
8860 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8861 (gst_basesrc_start):
8862 * gst/base/gstbasesrc.h:
8863 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8864 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8865 (gst_pushsrc_init), (gst_pushsrc_create):
8866 * gst/base/gstpushsrc.h:
8867 Added is_seekable to BaseSrc
8868 Added simple PushSrc.
8870 2005-05-11 Wim Taymans <wim@fluendo.com>
8872 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8873 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8874 (gst_element_link_pads), (gst_element_query_position),
8875 (gst_element_query_convert), (intersect_caps_func),
8876 (gst_pad_query_position), (gst_pad_query_convert):
8877 Fix refcounting in utils function.
8878 No point in trying to activate a pad when it's added, it could
8879 be added from the state change function and then we deadlock, the
8880 element has to decide what to do.
8882 2005-05-10 Andy Wingo <wingo@pobox.com>
8884 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8885 *all* the arguments.
8887 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8888 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8889 lock (according to the docs -- if this is wrong change the docs).
8891 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8892 flush messages in the NULL state.
8894 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8895 message immediately and return.
8896 (gst_bus_set_flushing): New function. If a bus is flushing, it
8897 flushes out any queued messages and immediately unrefs new
8898 messages. This is so when an element goes to NULL, all of the
8899 unhandled messages coming from it can be freed, and their
8900 references to the element dropped. In other words: message source
8901 ref considered harmful :P
8903 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8904 we're finished with it.
8906 * gst/gstmessage.c (gst_message_new_state_changed):
8908 2005-05-10 Wim Taymans <wim@fluendo.com>
8910 * gst/gstvalue.c: (gst_value_compare_flags),
8911 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8912 (_gst_value_initialize):
8913 Added flags serialize/deserialize/compare code.
8915 2005-05-09 Andy Wingo <wingo@pobox.com>
8917 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8918 Intersect the peer's caps with our caps.
8920 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8922 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8923 * gst/elements/gsttypefindelement.c: (find_peek):
8924 Handle negative offsets better. Fixes decodebin.
8926 2005-05-09 Wim Taymans <wim@fluendo.com>
8928 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8929 (gst_base_transform_event):
8930 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8931 Implement accept_caps.
8932 Fix silly lock/unlock mismatch in base class.
8934 2005-05-09 Wim Taymans <wim@fluendo.com>
8936 * docs/design/draft-push-pull.txt:
8937 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8938 * gst/elements/gstfilesink.c: (gst_filesink_init),
8939 (gst_filesink_query):
8940 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8941 (gst_type_find_handle_src_query), (find_element_get_length):
8942 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8946 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8947 (gst_real_pad_get_caps_unlocked),
8948 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8949 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8950 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8951 (gst_real_pad_dispose), (gst_real_pad_finalize),
8952 (gst_pad_load_and_link), (gst_pad_save_thyself),
8953 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8954 (gst_pad_check_pull_range), (gst_pad_pull_range),
8955 (gst_pad_template_get_type), (gst_pad_template_class_init),
8956 (gst_pad_template_init), (gst_pad_template_dispose),
8957 (name_is_valid), (gst_static_pad_template_get),
8958 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8959 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8960 (gst_pad_get_element_private), (gst_pad_start_task),
8961 (gst_pad_pause_task), (gst_pad_stop_task),
8962 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8963 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8964 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8965 (gst_ghost_pad_new):
8967 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8968 (gst_query_new_position), (gst_query_set_position),
8969 (gst_query_parse_position), (gst_query_new_convert),
8970 (gst_query_set_convert), (gst_query_parse_convert):
8972 * gst/gstqueryutils.c:
8973 * gst/gstqueryutils.h:
8974 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8975 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8976 (gst_queue_handle_src_query):
8977 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8978 (gst_element_query_position), (gst_element_query_convert),
8979 (intersect_caps_func), (gst_pad_query_position),
8980 (gst_pad_query_convert):
8982 * tools/gst-inspect.c: (print_pad_info):
8983 * tools/gst-xmlinspect.c: (print_element_info):
8984 Remove old query functions. Ported old code.
8985 Added position/convert helper functions to gstutils.
8986 Reordered gstpad.c code, grouping relevant things.
8987 Remove gst_message_new(), always need to speficy a specific
8991 2005-05-09 Andy Wingo <wingo@pobox.com>
8993 * gst/gstiterator.h: Add some includes.
8995 * gst/gstqueryutils.h: Include more headers.
8998 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8999 some uses of gst_pad_query.
9001 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9002 NULL out parameters.
9003 (gst_query_new_position): New proc, allocates a new position
9006 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9007 gstqueryutils.c to the build.
9009 * gst/gststructure.c (gst_structure_set_valist): Implement with
9010 the generic G_VALUE_COLLECT.
9012 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9014 * gst/Makefile.am: (gst_headers):
9015 Added gstqueryutils.h to the list of headers to install, that was
9016 a 'nachty' move wingo :)
9018 2005-05-06 Andy Wingo <wingo@pobox.com>
9021 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9022 GstData, init a memchunk.
9023 (standard_definitions): Add a few query types, deprecate a few.
9024 (gst_query_get_type): New proc.
9025 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9027 (gst_query_new_application, gst_query_get_structure): New public
9030 * docs/design/draft-query.txt: Removed LINKS from the query types,
9031 because all the rest can be dispatched to other pads -- seemed
9032 ugly to have a query that couldn't be dispatched. internal_links
9033 is fine as a pad method.
9035 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9036 in gstpad.c, but maintain binary compatibility for the moment.
9037 Will fix before 0.9 is out.
9039 * gst/gstqueryutils.c:
9040 * gst/gstqueryutils.h: New files, implement 3 methods for each
9041 query type: parse_query, parse_response, and set. Probably need an
9044 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9046 * gst/elements/gstfilesink.c (gst_filesink_query2):
9047 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9048 query_types, and formats methods.
9050 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9051 (gst_pad_set_query2_function): New functions.
9052 (gst_real_pad_init): Set query2_default as the default query2
9053 function. Basically just dispatches to internally linked pads.
9057 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9058 without using the atomic operations. Only one thread can possibly
9059 be accessing the data at this point. Changed so as to avoid
9060 gst_atomic operations.
9062 2005-05-06 Wim Taymans <wim@fluendo.com>
9064 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9065 Also set caps if we use the fallback buffer alloc.
9067 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9069 * docs/gst/Makefile.am:
9070 * docs/gst/gstreamer-docs.sgml:
9071 * docs/gst/gstreamer-sections.txt:
9072 * docs/gst/tmpl/gstatomic.sgml:
9073 * docs/gst/tmpl/gstmemchunk.sgml:
9074 * testsuite/elements/struct_i386.h:
9075 * win32/GStreamer.vcproj:
9077 Purge GstAtomic stuff from docs and win32 makefiles as well
9079 2005-05-06 Wim Taymans <wim@fluendo.com>
9081 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9082 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9083 * gst/gstpad.c: (gst_pad_peer_get_caps):
9084 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9085 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9086 (gst_queue_src_activate), (gst_queue_change_state):
9088 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9089 (intersect_caps_func):
9090 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9091 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9092 Some fixes for the peer_get_caps() change.
9094 2005-05-06 Wim Taymans <wim@fluendo.com>
9096 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9097 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9098 (gst_basesink_activate):
9099 Actually do something with error codes returned from the push
9102 2005-05-06 Wim Taymans <wim@fluendo.com>
9104 * docs/design/part-element-sink.txt:
9105 * docs/design/part-element-source.txt:
9106 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9107 (gst_basesink_event), (gst_basesink_activate):
9108 * gst/base/gstbasesink.h:
9109 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9110 (gst_basesrc_activate):
9111 * gst/base/gstbasesrc.h:
9112 * gst/gstelement.c: (gst_element_pads_activate):
9113 Some more documentation.
9114 Fixed scheduling decision in _pads_activate().
9116 2005-05-05 Andy Wingo <wingo@pobox.com>
9118 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9121 2005-05-05 Wim Taymans <wim@fluendo.com>
9123 * gst/base/Makefile.am:
9124 * gst/base/gstbasesink.h:
9125 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9126 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9127 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9128 (gst_collectpads_class_init), (gst_collectpads_init),
9129 (gst_collectpads_finalize), (gst_collectpads_new),
9130 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9131 (find_pad), (gst_collectpads_remove_pad),
9132 (gst_collectpads_is_active), (gst_collectpads_collect),
9133 (gst_collectpads_collect_range), (gst_collectpads_start),
9134 (gst_collectpads_stop), (gst_collectpads_peek),
9135 (gst_collectpads_pop), (gst_collectpads_available),
9136 (gst_collectpads_read), (gst_collectpads_flush),
9137 (gst_collectpads_chain):
9138 * gst/base/gstcollectpads.h:
9139 * gst/elements/Makefile.am:
9140 * gst/elements/gstelements.c:
9141 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9142 (gst_fakesink_get_times), (gst_fakesink_event),
9143 (gst_fakesink_preroll), (gst_fakesink_render):
9144 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9145 (gst_filesink_init), (gst_filesink_set_location),
9146 (gst_filesink_open_file), (gst_filesink_close_file),
9147 (gst_filesink_pad_query), (gst_filesink_event),
9148 (gst_filesink_render), (gst_filesink_change_state):
9149 * gst/elements/gstfilesink.h:
9150 Added object to help in making collect pad based elements.
9152 Make event function in sink baseclass return gboolean.
9154 2005-05-05 Wim Taymans <wim@fluendo.com>
9156 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9157 (gst_bin_get_by_name):
9159 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9160 (gst_clock_finalize):
9161 * gst/gstdata.c: (gst_data_replace):
9163 * gst/gstelement.c: (gst_element_request_pad),
9164 (gst_element_pads_activate):
9165 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9167 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9168 (gst_pad_set_checkgetrange_function),
9169 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9170 (gst_pad_check_pull_range), (gst_pad_pull_range),
9171 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9172 (gst_pad_pause_task), (gst_pad_stop_task):
9173 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9174 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9175 Fix name lookup in GstBin.
9176 Added _data_replace() function and _buffer_replace()
9177 Use finalize method to clean up clock.
9178 Fix refcounting on request pads.
9179 Fix pad schedule mode error.
9180 Some more object refcounting debug info,
9183 2005-05-04 Andy Wingo <wingo@pobox.com>
9185 * check/Makefile.am:
9186 * docs/gst/tmpl/gstatomic.sgml:
9187 * docs/gst/tmpl/gstplugin.sgml:
9188 * gst/base/gstbasesink.c: (gst_basesink_activate):
9189 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9190 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9191 (gst_basesrc_query), (gst_basesrc_set_property),
9192 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9193 (gst_basesrc_activate):
9194 * gst/base/gstbasesrc.h:
9195 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9196 (gst_base_transform_src_activate):
9197 * gst/elements/gstelements.c:
9198 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9199 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9200 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9201 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9202 (gst_type_find_element_checkgetrange),
9203 (gst_type_find_element_activate):
9204 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9205 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9206 (gst_caps_load_thyself):
9207 * gst/gstelement.c: (gst_element_pads_activate),
9208 (gst_element_save_thyself), (gst_element_restore_thyself):
9209 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9210 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9212 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9213 (gst_xml_parse_file), (gst_xml_parse_memory),
9214 (gst_xml_get_element), (gst_xml_make_element):
9215 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9216 (_file_index_id_save_xml), (gst_file_index_commit):
9217 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9218 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9220 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9221 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9222 * tools/gst-complete.c: (main):
9223 * tools/gst-compprep.c: (main):
9224 * tools/gst-inspect.c: (print_element_properties_info):
9225 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9226 * tools/gst-xmlinspect.c: (print_element_properties):
9229 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9231 * gst/gstplugin.c: (gst_plugin_check_module),
9232 (gst_plugin_check_file), (gst_plugin_load_file):
9233 apply patch from #172526 to make register work on MacOSX
9235 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9237 * docs/gst/tmpl/gstconfig.sgml:
9238 * gst/gstconfig.h.in:
9239 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9240 * testsuite/debug/printf_extension.c: (main):
9241 Do not use GST_PTR_FORMAT on pointers to types with
9242 sizeof < sizeof(gpointer). Fixes test on 64-bit
9243 * testsuite/elements/property.h:
9244 use correct printf format
9246 2005-05-02 Wim Taymans <wim@fluendo.com>
9248 * docs/design/draft-push-pull.txt:
9249 * docs/design/draft-query.txt:
9250 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9251 (gst_basesrc_start):
9252 Added draft for new query API.
9253 Added draft for better selecting scheduling methods.
9254 Make basesrc ignore length if the subclass does not support
9257 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9260 possible fixes for automake-1.5 - _LIBADD is reserved
9262 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9264 * docs/faq/Makefile.am:
9265 * docs/manual/Makefile.am:
9267 * docs/pwg/Makefile.am:
9269 possible fixes for automake-1.5
9271 2005-04-28 Wim Taymans <wim@fluendo.com>
9273 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9274 (gst_basesink_pad_getcaps), (gst_basesink_init),
9275 (gst_basesink_do_sync):
9276 * gst/gstclock.c: (gst_clock_entry_new):
9277 * gst/gstevent.c: (gst_event_discont_get_value):
9278 * gst/gstpipeline.c: (pipeline_bus_handler),
9279 (gst_pipeline_change_state):
9280 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9281 Better debugging of clocking info.
9282 Allow NULL values when getting discont values.
9284 2005-04-27 Wim Taymans <wim@fluendo.com>
9286 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9287 * check/gst/gstpad.c: (gst_pad_suite):
9288 Increase timeout for checks.
9290 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9292 * check/Makefile.am:
9293 fix the broken rule for cleanup. Apparently this rule is
9294 only needed on FC2, so maybe this warrants further autotool
9297 2005-04-26 Wim Taymans <wim@fluendo.com>
9299 * gst/gsttrashstack.h:
9300 Ooohh. a nasty one! After having a failed pop() from the stack,
9301 it's possible that the stack is empty. In that case, don't
9302 follow the NULL pointer.
9304 2005-04-25 Wim Taymans <wim@fluendo.com>
9306 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9307 (gst_pad_set_checkgetrange_function),
9308 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9309 (gst_pad_check_pull_range), (gst_pad_pull_range),
9310 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9311 (gst_pad_pause_task), (gst_pad_stop_task):
9312 * gst/gstplugin.c: (gst_plugin_load):
9314 Remove gst_library_load as it does more harm than good with
9315 the new g_module flags.
9316 Revert bogus caps template check in pad linking, pad caps
9317 are important when linking not the template, which is more
9318 general than the current caps.
9320 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9322 * gst/autoplug/.cvsignore:
9323 * gst/autoplug/Makefile.am:
9324 * gst/autoplug/gstsearchfuncs.c:
9325 * gst/autoplug/gstsearchfuncs.h:
9326 * gst/autoplug/gstspider.c:
9327 * gst/autoplug/gstspider.h:
9328 * gst/autoplug/gstspideridentity.c:
9329 * gst/autoplug/gstspideridentity.h:
9330 * gst/autoplug/spidertest.c:
9333 2005-04-25 Wim Taymans <wim@fluendo.com>
9335 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9336 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9337 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9338 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9340 Added stubs for unimplemented functions.
9342 2005-04-24 David Schleef <ds@schleef.org>
9344 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9347 2005-04-24 David Schleef <ds@schleef.org>
9349 Convert everything from GstAtomicInt to g_atomic_int_*, and
9354 * gst/gstatomic_impl.h:
9362 * gst/gstdata_private.h:
9369 * gst/gststructure.c:
9370 * gst/gststructure.h:
9371 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9374 2005-04-24 David Schleef <ds@schleef.org>
9376 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9377 make the regressions tests work. Remove some code that is no
9379 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9380 Disable warning for pads without templates.
9382 2005-04-24 David Schleef <ds@schleef.org>
9384 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9385 functions that handle filtered links.
9386 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9388 * gst/gstutils.c: Fix/remove utility functions that handle
9391 * gst/gstvalue.c: Add serialization/deserialization of caps
9392 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9393 requires fixing so that the filter caps notation creates
9394 a capsfilter element and sets the filter_caps property. I
9395 think everyone probably wants to keep the shorthand notation.
9396 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9397 * docs/gst/tmpl/gstpad.sgml:
9399 * gst/elements/gstelements.c: Register capsfilter element.
9400 * gst/Makefile.am: fix spacing
9401 * docs/random/ds/0.9-suggested-changes: random
9403 2005-04-23 David Schleef <ds@schleef.org>
9405 * gst/elements/Makefile.am:
9406 * gst/elements/gstcapsfilter.c: New element that acts like an
9407 identity, but filters caps. Will eventually replace filtered
9408 caps in pad linking.
9409 * gst/gstutils.c: (gst_element_create_all_pads): New function
9410 to create all the ALWAYS pads that are registered with an
9411 element class. This functionality should eventually be
9412 merged in with GstElement initialization.
9414 * testsuite/trigger/README: part of trigger test code that should
9415 have been checked in a long time ago.
9417 2005-04-23 David Schleef <ds@schleef.org>
9419 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9420 needed with new versions of libtool (nobody will confirm this),
9421 and hard to carry around.
9422 * gst/autoplug/Makefile.am:
9423 * gst/base/Makefile.am:
9424 * gst/elements/Makefile.am:
9425 * gst/indexers/Makefile.am:
9426 * gst/schedulers/Makefile.am:
9427 * libs/gst/bytestream/Makefile.am:
9428 * libs/gst/control/Makefile.am:
9429 * libs/gst/dataprotocol/Makefile.am:
9430 * libs/gst/getbits/Makefile.am:
9432 2005-04-21 Wim Taymans <wim@fluendo.com>
9434 * docs/design/draft-push-pull.txt:
9435 * docs/design/part-MT-refcounting.txt:
9436 * docs/design/part-TODO.txt:
9437 * docs/design/part-caps.txt:
9438 * docs/design/part-events.txt:
9439 * docs/design/part-gstbus.txt:
9440 * docs/design/part-gstpipeline.txt:
9441 * docs/design/part-messages.txt:
9442 * docs/design/part-push-pull.txt:
9443 * docs/design/part-query.txt:
9446 2005-04-21 Wim Taymans <wim@fluendo.com>
9448 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9449 (gst_message_new), (gst_message_new_error),
9450 (gst_message_new_warning), (gst_message_new_tag),
9451 (gst_message_new_state_changed), (gst_message_new_application),
9452 (gst_message_get_structure):
9454 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9455 (gst_structure_copy_conditional):
9456 Use parent refcount in GstMessage to ensure GstStructure
9458 Cleaned up headers a bit.
9461 2005-04-20 Wim Taymans <wim@fluendo.com>
9463 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9464 (gst_basesink_pad_getcaps), (gst_basesink_init),
9465 (gst_basesink_chain_unlocked):
9466 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9467 (gst_type_find_helper):
9468 * gst/elements/gsttypefindelement.c:
9469 (gst_type_find_element_have_type), (gst_type_find_element_init),
9470 (stop_typefinding), (gst_type_find_element_handle_event),
9471 (find_suggest), (gst_type_find_element_chain),
9472 (gst_type_find_element_checkgetrange),
9473 (gst_type_find_element_getrange), (do_typefind),
9474 (gst_type_find_element_activate):
9475 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9476 (gst_buffer_default_free), (gst_buffer_default_copy),
9477 (gst_buffer_set_caps):
9478 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9480 * gst/gstmessage.c: (gst_message_new),
9481 (gst_message_new_state_changed):
9482 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9483 (gst_pad_set_checkgetrange_function),
9484 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9485 (gst_pad_set_caps), (gst_pad_check_pull_range),
9486 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9488 * gst/gsttypefind.c: (gst_type_find_register):
9489 Make gst_caps_replace() work like other _replace() functions.
9490 Use _caps_replace() where possible.
9491 Make sure _message_new() initialises its field.
9492 Add gst_static_pad_template_get_caps()
9495 2005-04-18 Andy Wingo <wingo@pobox.com>
9497 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9498 on the peer, not the pad. I think that was a typo. Pass an extra
9499 arg to see if random access is possible. Activate the pads as
9500 PULL_RANGE if possible.
9502 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9504 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9505 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9508 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9510 * docs/faq/using.xml:
9511 Add note on gstreamer-properties (#154996).
9513 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9515 * docs/random/bbb/optional-properties:
9516 Some analysis on optional properties.
9518 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9520 * docs/gst/tmpl/gstelementfactory.sgml:
9522 * gst/gstelementfactory.c: (gst_element_factory_init),
9523 (gst_element_factory_cleanup), (gst_element_register),
9524 (__gst_element_factory_add_static_pad_template),
9525 (gst_element_factory_get_static_pad_templates),
9526 (gst_element_factory_can_src_caps),
9527 (gst_element_factory_can_sink_caps):
9528 * gst/registries/Makefile.am:
9529 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9530 (gst_xml_registry_class_init), (gst_xml_registry_init),
9531 (gst_xml_registry_new), (gst_xml_registry_set_property),
9532 (gst_xml_registry_get_property), (get_time), (make_dir),
9533 (gst_xml_registry_get_perms_func),
9534 (plugin_times_older_than_recurse), (plugin_times_older_than),
9535 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9536 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9537 (add_to_char_array), (read_string), (read_uint), (read_enum),
9538 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9539 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9540 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9541 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9542 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9543 (gst_xml_registry_rebuild):
9544 * gst/registries/gstlibxmlregistry.h:
9545 * tools/gst-compprep.c: (main):
9546 * tools/gst-inspect.c: (print_pad_templates_info):
9547 * tools/gst-xmlinspect.c: (print_element_info):
9548 Use libxml2 for registry parsing, use staticpadtemplates in
9549 elementfactories. Makes gst_init() +/- 10x faster.
9551 2005-04-12 Wim Taymans <wim@fluendo.com>
9553 * gst/base/Makefile.am:
9554 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9555 (gst_basesink_pad_getcaps), (gst_basesink_init),
9556 (gst_basesink_event), (gst_basesink_change_state):
9557 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9558 (gst_basesrc_init), (gst_basesrc_query),
9559 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9560 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9561 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9562 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9563 (gst_basesrc_stop), (gst_basesrc_activate),
9564 (gst_basesrc_change_state):
9565 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9566 (helper_find_suggest), (gst_type_find_helper):
9567 * gst/base/gsttypefindhelper.h:
9568 * gst/elements/Makefile.am:
9569 * gst/elements/gstelements.c:
9570 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9571 (gst_fakesink_get_times), (gst_fakesink_event),
9572 (gst_fakesink_preroll), (gst_fakesink_render):
9573 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9574 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9575 (gst_fakesrc_get_property), (gst_fakesrc_create),
9576 (gst_fakesrc_start), (gst_fakesrc_stop):
9577 * gst/elements/gstfakesrc.h:
9578 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9579 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9580 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9581 (gst_filesrc_create_read), (gst_filesrc_create),
9582 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9583 (gst_filesrc_start):
9584 * gst/elements/gsttypefindelement.c:
9585 (gst_type_find_element_have_type), (gst_type_find_element_init),
9586 (start_typefinding), (stop_typefinding), (push_buffer_store),
9587 (gst_type_find_element_handle_event),
9588 (gst_type_find_element_chain),
9589 (gst_type_find_element_checkgetrange),
9590 (gst_type_find_element_getrange), (do_typefind),
9591 (gst_type_find_element_activate),
9592 (gst_type_find_element_change_state):
9593 * gst/elements/gsttypefindelement.h:
9594 * gst/gstpipeline.c: (pipeline_bus_handler):
9595 Added typefind helper.
9596 Small preroll fix in the base sink.
9597 Disable typefind code in basesrc.
9598 Crude port of typefindelement.
9602 2005-04-11 Wim Taymans <wim@fluendo.com>
9604 * check/gst/gstbus.c: (gstbus_suite):
9605 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9607 Fix up the timeout so that the test does not fail.
9609 2005-04-06 Wim Taymans <wim@fluendo.com>
9612 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9613 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9614 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9615 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9616 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9617 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9618 (gst_basesrc_stop), (gst_basesrc_activate),
9619 (gst_basesrc_change_state), (basesrc_find_peek),
9620 (basesrc_find_suggest), (gst_basesrc_type_find):
9621 * gst/base/gstbasesrc.h:
9622 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9623 (gst_filesrc_class_init), (gst_filesrc_init),
9624 (gst_filesrc_finalize), (gst_filesrc_set_location),
9625 (gst_filesrc_set_property), (gst_filesrc_get_property),
9626 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9627 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9628 (gst_filesrc_create_read), (gst_filesrc_create),
9629 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9630 * gst/elements/gstfilesrc.h:
9631 * gst/gstelement.c: (gst_element_get_state_func),
9632 (gst_element_lost_state), (gst_element_pads_activate):
9633 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9634 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9635 (gst_pad_pull_range):
9637 More work on the generic source base class, implement seeking,
9639 Make filesrc extend the base source class.
9640 Added gst_pad_set_checkgetrange_function to GstPad.
9642 2005-04-06 Andy Wingo <wingo@pobox.com>
9644 * pkgconfig/gstreamer-base.pc.in:
9645 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9647 * pkgconfig/Makefile.am:
9648 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9650 2005-04-04 Wim Taymans <wim@fluendo.com>
9652 * gst/base/Makefile.am:
9654 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9655 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9656 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9657 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9658 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9659 (gst_basesrc_base_init), (gst_basesrc_class_init),
9660 (gst_basesrc_init), (gst_basesrc_get_formats),
9661 (gst_basesrc_get_query_types), (gst_basesrc_query),
9662 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9663 (gst_basesrc_set_property), (gst_basesrc_get_property),
9664 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9665 (gst_basesrc_loop), (gst_basesrc_activate),
9666 (gst_basesrc_change_state):
9667 * gst/base/gstbasesrc.h:
9668 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9669 (gst_fakesrc_class_init), (gst_fakesrc_init),
9670 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9671 (gst_fakesrc_get_property), (gst_fakesrc_create):
9672 * gst/elements/gstfakesrc.h:
9673 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9674 (gst_filesrc_open_file), (gst_filesrc_loop),
9675 (gst_filesrc_activate), (filesrc_find_peek),
9676 (gst_filesrc_type_find):
9677 Made base source class, make fakesrc extend it.
9678 Add comments to basesink class.
9679 Some filesrc cleanup.
9681 2005-03-31 David Schleef <ds@schleef.org>
9683 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9684 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9685 expected to link against libgstreamer.
9686 * gst/base/Makefile.am: link against libgstreamer
9687 * gst/elements/Makefile.am: same
9689 2005-03-31 Andy Wingo <wingo@pobox.com>
9691 * tests/instantiate/Makefile.am:
9692 * tests/instantiate/caps.c: Add test to test speed of caps copy
9695 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9696 GMemChunk to be fair.
9698 * gst/gsttrashstack.h: Remove warning about using the fallback
9699 trash stack implementation, it's still faster than malloc.
9701 2005-03-30 Andy Wingo <wingo@pobox.com>
9703 * tests/complexity.c: Add a copyright.
9705 2005-03-31 Wim Taymans <wim@fluendo.com>
9707 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9708 (gst_base_transform_class_init), (gst_base_transform_init),
9709 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9710 (gst_base_transform_get_property),
9711 (gst_base_transform_sink_activate),
9712 (gst_base_transform_src_activate),
9713 (gst_base_transform_change_state):
9714 * gst/base/gstbasetransform.h:
9715 * gst/elements/gstidentity.c: (gst_identity_class_init),
9716 (gst_identity_event), (gst_identity_check_perfect),
9717 (gst_identity_transform), (gst_identity_start),
9718 (gst_identity_stop):
9719 Added start/stop methods to transform base class so subclasses
9720 don't need to deal with state changes even.
9722 2005-03-31 Wim Taymans <wim@fluendo.com>
9724 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9725 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9727 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9728 (gst_pad_pull_range):
9729 Added rate to the discont event to prepare for variable speed
9730 and reverse playback.
9732 2005-03-29 David Schleef <ds@schleef.org>
9735 * testsuite/trigger/Makefile.am:
9736 * testsuite/trigger/trigger.c: A little example program to show
9737 how trigger-based elements can work.
9739 2005-03-29 Wim Taymans <wim@fluendo.com>
9741 * gst/base/Makefile.am:
9743 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9744 (gst_basesink_base_init), (gst_basesink_class_init),
9745 (gst_basesink_pad_getcaps), (gst_basesink_init),
9746 (gst_basesink_activate), (gst_basesink_change_state):
9747 * gst/base/gstbasesink.h:
9748 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9749 (gst_base_transform_base_init), (gst_base_transform_finalize),
9750 (gst_base_transform_class_init), (gst_base_transform_init),
9751 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9752 (gst_base_transform_event), (gst_base_transform_getrange),
9753 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9754 (gst_base_transform_set_property),
9755 (gst_base_transform_get_property),
9756 (gst_base_transform_sink_activate),
9757 (gst_base_transform_src_activate),
9758 (gst_base_transform_change_state):
9759 * gst/base/gstbasetransform.h:
9760 * gst/elements/gstidentity.c: (gst_identity_finalize),
9761 (gst_identity_class_init), (gst_identity_init),
9762 (gst_identity_event), (gst_identity_check_perfect),
9763 (gst_identity_transform), (gst_identity_set_property),
9764 (gst_identity_get_property), (gst_identity_change_state):
9765 * gst/elements/gstidentity.h:
9766 * gst/gstelement.c: (gst_element_get_state_func),
9767 (gst_element_lost_state), (gst_element_pads_activate):
9768 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9769 (gst_pad_check_pull_range), (gst_pad_pull_range):
9771 Simplify pad activation.
9772 Added function to check if pull_range can be performed.
9773 Error out when pulling inactive or flushing pads.
9774 Removed const from refcounted types as it does not make sense.
9775 Simplify pad templates in basesink
9776 Added base class for simple 1-to-1 transforms.
9777 Make identity subclass the base transform.
9779 2005-03-29 Andy Wingo <wingo@pobox.com>
9781 * docs/libs/gstreamer-libs-overrides.txt:
9782 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9783 really don't understand what's going on, but like whatever. I want
9786 * docs/gst/Makefile.am:
9787 * docs/libs/Makefile.am: Dist the overrides files.
9789 * check/Makefile.am (clean-local): Remove .libs directories.
9791 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9792 elements to EXTRA_DIST, so po/ files are happy.
9794 * po/POTFILES.in: Er, remove it here.
9796 * po/POTFILES: Remove gstspider.c.
9798 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9800 * docs/libs/gstreamer-libs-docs.sgml:
9801 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9804 * tests/complexity.c (main): Set the length of the preroll queue
9805 on the sinks to prevent a lockup.
9807 * libs/gst/dataprotocol/Makefile.am:
9808 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9809 the same as the one in check/gst-libs/gdp.c.
9811 * po/, docs/gst/: Commit automatic changes to docs and po files.
9813 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9814 the versioned libgstbase.
9816 * check/Makefile.am: Depend on an unversioned gst-register, seems
9817 to make autoconf happier.
9819 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9821 2005-03-28 Wim Taymans <wim@fluendo.com>
9824 * docs/design/part-gstelement.txt:
9825 * docs/design/part-negotiation.txt:
9826 * docs/design/part-preroll.txt:
9827 * docs/design/part-scheduling.txt:
9828 * docs/design/part-states.txt:
9830 * gst/base/Makefile.am:
9832 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9833 (gst_basesink_base_init), (gst_basesink_class_init),
9834 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9835 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9836 (gst_basesink_set_pad_functions),
9837 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9838 (gst_basesink_set_property), (gst_basesink_get_property),
9839 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9840 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9841 (gst_basesink_preroll_queue_push),
9842 (gst_basesink_preroll_queue_empty),
9843 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9844 (gst_basesink_event), (gst_basesink_get_times),
9845 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9846 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9847 (gst_basesink_loop), (gst_basesink_activate),
9848 (gst_basesink_change_state):
9849 * gst/base/gstbasesink.h:
9850 * gst/elements/Makefile.am:
9851 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9852 (gst_fakesink_class_init), (gst_fakesink_init),
9853 (gst_fakesink_set_property), (gst_fakesink_get_property),
9854 (gst_fakesink_get_times), (gst_fakesink_event),
9855 (gst_fakesink_preroll), (gst_fakesink_render),
9856 (gst_fakesink_change_state):
9857 * gst/elements/gstfakesink.h:
9858 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9859 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9860 * gst/gstelement.c: (gst_element_add_pad),
9861 (gst_element_get_state_func), (gst_element_abort_state),
9862 (gst_element_commit_state), (gst_element_lost_state),
9863 (gst_element_set_state), (gst_element_pads_activate):
9864 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9865 * gst/gstpipeline.c: (gst_pipeline_send_event),
9866 (gst_pipeline_change_state):
9867 Added state change code.
9869 Added sink base class, make fakesink extend the base class.
9870 Small cleanups in GstPipeline.
9872 2005-03-26 David Schleef <ds@schleef.org>
9874 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9875 is broken and should be implemented in a different library.
9876 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9877 * gst/gst.h: remove gstcpu.h
9878 * gst/gstcpu.c: remove
9879 * gst/gstcpu.h: remove
9880 * gst/Makefile.am.future: Remove this file. It's ancient.
9882 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9884 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9885 (gst_bin_send_event):
9886 Add default event/set_manager handlers. The set_manager handler
9887 takes care that the manager is distributed over kids that were
9888 already in the bin before the manager was set. The event handler
9889 is a utility virtual function that sends the event over all sinks,
9890 so that gst_element_send_event (bin, event); has the expected
9892 * gst/gstpad.c: (gst_pad_event_default):
9893 Re-install default event handling for discontinuities, so that
9894 seeking works without requiring hacks in applications or extra
9896 * gst/gstpipeline.c: (gst_pipeline_class_init),
9897 (gst_pipeline_send_event):
9898 Half hack, half utility: set a pipeline to PAUSED for seek events,
9899 since that is the only way we can guarantee a/v sync. Means that
9900 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9901 and it "just works".
9903 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9905 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9906 Lock/unlock mismatch.
9908 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9910 * docs/faq/gst-uninstalled:
9911 add gst-plugins-base
9912 * docs/gst/Makefile.am:
9913 don't error out until docs are fixed
9914 * docs/gst/gstreamer.types:
9917 2005-03-22 Wim Taymans <wim@fluendo.com>
9919 * check/Makefile.am:
9920 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9921 * gst/gststructure.c: (gst_structure_set_valist),
9922 (gst_structure_copy_conditional):
9923 Activated more tests.
9925 Added G_TYPE_POINTER to GstStructure.
9928 2005-03-22 Wim Taymans <wim@fluendo.com>
9930 * docs/design/part-TODO.txt:
9931 * docs/design/part-events.txt:
9932 * docs/design/part-gstbin.txt:
9933 * docs/design/part-gstbus.txt:
9934 * docs/design/part-gstpipeline.txt:
9935 * docs/design/part-messages.txt:
9940 2005-03-21 Wim Taymans <wim@fluendo.com>
9942 * gst/gstbus.c: (gst_bus_post):
9943 Fix copy-and-paste error.
9945 2005-03-21 Wim Taymans <wim@fluendo.com>
9947 * check/Makefile.am:
9949 * gst/elements/Makefile.am:
9950 * gst/elements/gstelements.c:
9951 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9952 (gst_fakesink_event), (gst_fakesink_chain):
9953 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9954 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9955 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9956 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9957 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9958 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9959 (gst_fakesrc_loop), (gst_fakesrc_activate),
9960 (gst_fakesrc_change_state):
9961 * gst/elements/gstfakesrc.h:
9962 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9963 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9964 (gst_filesrc_open_file), (gst_filesrc_loop),
9965 (gst_filesrc_activate), (gst_filesrc_change_state),
9966 (filesrc_find_peek), (filesrc_find_suggest),
9967 (gst_filesrc_type_find):
9968 * gst/elements/gstidentity.c: (gst_identity_finalize),
9969 (gst_identity_class_init), (gst_identity_init),
9970 (gst_identity_proxy_getcaps), (identity_queue_push),
9971 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9972 (gst_identity_getrange), (gst_identity_chain),
9973 (gst_identity_sink_loop), (gst_identity_src_loop),
9974 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9975 (gst_identity_set_property), (gst_identity_get_property),
9976 (gst_identity_change_state):
9977 * gst/elements/gstidentity.h:
9978 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9979 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9980 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9981 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9982 (gst_tee_sink_activate):
9983 * gst/elements/gsttee.h:
9984 * gst/gst.c: (gst_register_core_elements), (init_post):
9986 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9987 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9988 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9989 (gst_bin_change_state):
9991 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9992 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9993 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9994 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9995 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9996 (bus_watch_callback), (bus_watch_destroy),
9997 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9998 (poll_timeout), (gst_bus_poll):
10002 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10003 (gst_element_post_message), (gst_element_message_full),
10004 (gst_element_get_state_func), (gst_element_get_state),
10005 (gst_element_abort_state), (gst_element_commit_state),
10006 (gst_element_lost_state), (gst_element_set_state),
10007 (gst_element_pads_activate), (gst_element_change_state),
10008 (gst_element_dispose), (gst_element_set_manager_func),
10009 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10010 (gst_element_set_manager), (gst_element_get_manager),
10011 (gst_element_set_bus), (gst_element_get_bus),
10012 (gst_element_set_scheduler), (gst_element_get_scheduler):
10013 * gst/gstelement.h:
10014 * gst/gstevent.c: (gst_event_new_segment_seek),
10015 (gst_event_new_flush):
10017 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10018 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10019 (gst_message_new_eos), (gst_message_new_error),
10020 (gst_message_new_warning), (gst_message_new_tag),
10021 (gst_message_new_state_changed), (gst_message_new_application),
10022 (gst_message_get_structure), (gst_message_parse_tag),
10023 (gst_message_parse_state_changed), (gst_message_parse_error),
10024 (gst_message_parse_warning):
10025 * gst/gstmessage.h:
10026 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10027 (gst_real_pad_set_property), (gst_pad_set_active),
10028 (gst_pad_is_active), (gst_pad_set_blocked_async),
10029 (gst_pad_set_blocked), (gst_pad_is_blocked),
10030 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10031 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10032 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10033 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10034 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10035 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10036 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10037 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10038 (gst_pad_set_caps), (gst_pad_configure_sink),
10039 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10040 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10041 (gst_real_pad_dispose), (gst_real_pad_finalize),
10042 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10043 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10044 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10046 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10047 (pipeline_bus_handler), (gst_pipeline_change_state),
10048 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10049 * gst/gstpipeline.h:
10051 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10052 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10053 (gst_queue_link_src), (gst_queue_bufferalloc),
10054 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10055 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10056 (gst_queue_loop), (gst_queue_handle_src_event),
10057 (gst_queue_handle_src_query), (gst_queue_src_activate),
10058 (gst_queue_change_state):
10060 * gst/gstscheduler.c: (gst_scheduler_init),
10061 (gst_scheduler_dispose), (gst_scheduler_create_task),
10062 (gst_scheduler_factory_create):
10063 * gst/gstscheduler.h:
10064 * gst/gststructure.c: (gst_structure_get_type),
10065 (gst_structure_copy_conditional):
10066 * gst/gststructure.h:
10067 * gst/gsttaginterface.h:
10068 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10069 (gst_task_init), (gst_task_dispose), (gst_task_create),
10070 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10076 * gst/schedulers/Makefile.am:
10077 * gst/schedulers/cothreads_compat.h:
10078 * gst/schedulers/entryscheduler.c:
10079 * gst/schedulers/faircothreads.c:
10080 * gst/schedulers/faircothreads.h:
10081 * gst/schedulers/fairscheduler.c:
10082 * gst/schedulers/gstbasicscheduler.c:
10083 * gst/schedulers/gstoptimalscheduler.c:
10084 * gst/schedulers/gthread-cothreads.h:
10085 * gst/schedulers/threadscheduler.c:
10086 (gst_thread_scheduler_task_get_type),
10087 (gst_thread_scheduler_task_class_init),
10088 (gst_thread_scheduler_task_init),
10089 (gst_thread_scheduler_task_start),
10090 (gst_thread_scheduler_task_stop),
10091 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10092 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10093 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10094 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10096 * libs/gst/Makefile.am:
10097 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10098 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10099 (gst_file_pad_parent_set):
10100 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10101 (gst_dp_event_from_packet):
10102 * tests/complexity.c: (main):
10103 * tests/mass_elements.c: (main):
10104 * testsuite/states/locked.c: (message_received), (main):
10105 * testsuite/states/parent.c: (main):
10106 * tools/gst-inspect.c: (print_element_flag_info),
10107 (print_implementation_info), (print_pad_info):
10108 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10110 * tools/gst-md5sum.c: (event_loop), (main):
10111 * tools/gst-typefind.c: (main):
10112 * tools/gst-xmlinspect.c: (print_element_info):
10114 Added GstBus for mainloop integration.
10115 Added GstMessage for sending notifications on the bus.
10116 Added GstTask as an abstraction for pipeline entry points.
10118 Removed Schedulers.
10119 Simplified GstQueue for multithreaded core.
10120 Made _link threadsafe, removed old capsnego.
10121 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10122 Added pad blocking functions.
10123 Reworked scheduling functions in GstPad to prepare for
10124 scheduling updates soon.
10125 Moved events out of data stream.
10126 Simplified GstEvent types.
10127 Added return values to push/pull.
10128 Removed clocking from GstElement.
10129 Added prototypes for state change function for next merge.
10130 Removed iterate from bins and state change management.
10131 Fixed some elements, disabled others for now.
10132 Fixed -inspect and -launch.
10133 Added check for GstBus.
10135 2005-03-10 Wim Taymans <wim@fluendo.com>
10137 * docs/design/part-MT-refcounting.txt:
10138 * docs/design/part-clocks.txt:
10139 * docs/design/part-gstelement.txt:
10140 * docs/design/part-gstobject.txt:
10141 * docs/design/part-standards.txt:
10142 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10143 (gst_bin_remove_func), (gst_bin_remove):
10147 * testsuite/clock/clock1.c: (main):
10148 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10150 * testsuite/dlopen/loadgst.c: (do_test):
10151 * testsuite/refcounting/bin.c: (add_remove_test1),
10152 (add_remove_test2), (main):
10153 * testsuite/refcounting/element.c: (main):
10154 * testsuite/refcounting/element_pad.c: (main):
10155 * testsuite/refcounting/pad.c: (main):
10156 * tools/gst-launch.c: (sigint_handler_sighandler):
10157 * tools/gst-typefind.c: (main):
10159 Added doc about clock.
10160 removed gst_bin_iterate_recurse_up(), marked methods
10162 Fix more testsuites.
10164 2005-03-09 Wim Taymans <wim@fluendo.com>
10166 * gst/gstpad.c: (gst_pad_get_direction),
10167 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10168 (gst_pad_collect_valist):
10169 * testsuite/bins/interface.c: (main):
10170 * testsuite/caps/audioscale.c: (test_caps):
10171 * testsuite/caps/caps.c: (test1), (test2), (test3):
10172 * testsuite/caps/deserialize.c: (main):
10173 * testsuite/caps/enumcaps.c: (main):
10174 * testsuite/caps/filtercaps.c: (main):
10175 * testsuite/caps/intersect2.c: (main):
10176 * testsuite/caps/random.c: (main):
10177 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10178 * testsuite/caps/sets.c: (check_caps):
10179 * testsuite/caps/simplify.c: (check_caps), (main):
10180 * testsuite/caps/subtract.c: (check_caps):
10181 Fix _pad_get_direction wrt ghostpads.
10182 Fix caps testsuite.
10184 2005-03-09 Wim Taymans <wim@fluendo.com>
10186 * check/Makefile.am:
10187 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10188 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10189 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10190 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10191 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10192 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10193 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10194 (bin_element_is_sink), (gst_bin_iterate_sinks),
10195 (gst_bin_iterate_all_by_interface):
10197 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10198 (gst_element_change_state), (gst_element_dispose),
10199 (gst_element_finalize), (gst_element_set_loop_function):
10200 * gst/gstelement.h:
10201 * gst/gstiterator.c: (find_custom_fold_func):
10202 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10203 (gst_pad_collectv), (gst_pad_collect_valist),
10204 (gst_pad_template_new):
10205 * gst/gstpipeline.c: (gst_pipeline_class_init),
10206 (gst_pipeline_dispose), (gst_pipeline_set_property),
10207 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10208 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10209 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10211 * gst/schedulers/entryscheduler.c:
10212 * gst/schedulers/gstbasicscheduler.c:
10213 (gst_basic_scheduler_cothreaded_chain),
10214 (gst_basic_scheduler_chain_add_element):
10215 * testsuite/bins/interface.c: (main):
10217 Added GstSystemClock test.
10218 Implemented clock distribution code in GstBin.
10219 Implemented iterate sinks method for future use.
10220 Rearranged gstelement.h
10221 Fix GstIterator comparison bug.
10222 Moved some code to GstPipeline, mostly clocking related.
10224 2005-03-09 Wim Taymans <wim@fluendo.com>
10227 * gst/gst_private.h:
10228 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10229 (gst_bin_remove_func), (gst_bin_remove),
10230 (gst_bin_get_by_name_recurse_up):
10231 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10232 (gst_clock_id_compare_func), (gst_clock_id_wait),
10233 (gst_clock_id_wait_async), (gst_clock_init),
10234 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10235 * gst/gstelement.h:
10236 * gst/gstinfo.c: (_gst_debug_init):
10238 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10239 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10241 Bump version number, we're now 0.9.0
10242 Add future debugging category.
10243 Fix NULL _unref() in _get_by_name_recurse_up
10244 Rearrange gstpad.h.
10247 2005-03-08 Wim Taymans <wim@fluendo.com>
10249 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10250 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10251 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10252 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10253 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10254 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10255 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10256 * gst/elements/gstidentity.c: (gst_identity_class_init):
10257 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10258 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10259 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10260 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10261 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10263 * gst/gstelement.c: (gst_element_class_init),
10264 (gst_element_base_class_init), (gst_element_init),
10265 (gst_element_get_random_pad), (gst_element_wait_state_change),
10266 (gst_element_change_state), (gst_element_dispose),
10267 (gst_element_finalize), (gst_element_set_loop_function):
10268 * gst/gstelement.h:
10269 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10270 * gst/gstthread.c: (gst_thread_class_init),
10271 (gst_thread_release_children_locks), (gst_thread_change_state):
10272 * gst/schedulers/gstbasicscheduler.c:
10273 (gst_basic_scheduler_loopfunc_wrapper),
10274 (gst_basic_scheduler_chain_wrapper),
10275 (gst_basic_scheduler_src_wrapper),
10276 (gst_basic_scheduler_remove_element):
10277 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10278 Remove threadsafe properties. Fix elements because GObject
10279 complains when installing a property before declaring a
10280 set/get_property handler.
10281 Rearrange gstelement.h file, use STATE macros for state locks.
10282 Free mutexes in the finalize method instead of dispose.
10284 2005-03-08 Wim Taymans <wim@fluendo.com>
10286 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10287 * gst/gstthread.c: (gst_thread_release_children_locks):
10288 Added parentage check.
10289 Fix build og GstThread again.
10291 2005-03-08 Wim Taymans <wim@fluendo.com>
10293 * docs/design/part-MT-refcounting.txt:
10294 * docs/design/part-conventions.txt:
10295 * docs/design/part-gstobject.txt:
10296 * docs/design/part-relations.txt:
10297 * docs/design/part-standards.txt:
10298 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10299 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10300 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10301 (gst_bin_iterate_all_by_interface):
10304 * gst/gstelement.c: (gst_element_class_init),
10305 (gst_element_change_state), (gst_element_set_loop_function):
10306 * gst/gstelement.h:
10307 * gst/gstiterator.c:
10308 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10309 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10310 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10311 (gst_object_set_parent), (gst_object_unparent),
10312 (gst_object_check_uniqueness):
10314 Docs updates, clean up some headers.
10316 2005-03-07 Wim Taymans <wim@fluendo.com>
10318 * check/.cvsignore:
10319 * check/Makefile.am:
10320 * check/gst-libs/.cvsignore:
10321 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10322 * check/gst/.cvsignore:
10323 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10324 (START_TEST), (gstbus_suite), (main):
10325 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10326 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10327 (gst_data_suite), (main):
10328 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10329 (add_fold_func), (gstiterator_suite), (main):
10330 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10331 (thread_name_object), (thread_name_object_default),
10332 (gst_object_name_compare), (gst_object_suite), (main):
10333 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10334 (gst_pad_suite), (main):
10335 * check/gstcheck.c: (gst_check_log_message_func),
10336 (gst_check_log_critical_func), (gst_check_init):
10337 * check/gstcheck.h:
10338 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10339 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10342 2005-03-07 Wim Taymans <wim@fluendo.com>
10344 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10345 (gst_list_iterator_next), (gst_list_iterator_resync),
10346 (gst_list_iterator_free), (gst_iterator_new_list),
10347 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10348 (gst_iterator_free), (gst_iterator_push), (filter_next),
10349 (filter_resync), (filter_uninit), (filter_free),
10350 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10351 (gst_iterator_foreach), (find_custom_fold_func),
10352 (gst_iterator_find_custom):
10353 * gst/gstiterator.h:
10354 Added missing files.
10356 2005-03-07 Wim Taymans <wim@fluendo.com>
10360 * docs/design/part-MT-refcounting.txt:
10361 * docs/design/part-conventions.txt:
10362 * docs/design/part-gstobject.txt:
10363 * docs/design/part-relations.txt:
10364 * examples/mixer/mixer.c: (main):
10365 * examples/thread/thread.c: (eos), (main):
10367 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10368 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10369 (gst_spider_plug_from_srcpad):
10370 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10371 (gst_spider_identity_change_state),
10372 (gst_spider_identity_sink_loop_type_finding):
10373 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10374 * gst/elements/gstidentity.c: (gst_identity_init):
10375 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10376 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10377 * gst/elements/gsttypefindelement.c: (free_entry):
10380 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10381 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10382 (gst_bin_set_index), (gst_bin_set_element_sched),
10383 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10384 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10385 (gst_bin_iterate_elements), (iterate_child_recurse),
10386 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10387 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10388 (compare_interface), (gst_bin_get_by_interface),
10389 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10391 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10392 (gst_buffer_default_free), (gst_buffer_default_copy),
10393 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10394 (gst_buffer_create_sub):
10396 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10397 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10398 (gst_caps_unref), (gst_static_caps_get),
10399 (gst_caps_remove_and_get_structure), (gst_caps_append),
10400 (gst_caps_append_structure), (gst_caps_remove_structure),
10401 (gst_caps_copy_nth), (gst_caps_set_simple),
10402 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10403 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10404 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10405 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10406 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10407 (gst_caps_structure_figure_out_union),
10408 (gst_caps_switch_structures), (gst_caps_do_simplify),
10409 (gst_caps_replace), (gst_caps_from_string),
10410 (gst_caps_copy_conditional):
10412 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10413 (_gst_clock_id_free), (gst_clock_id_unref),
10414 (gst_clock_id_compare_func), (gst_clock_id_wait),
10415 (gst_clock_id_wait_async), (gst_clock_class_init),
10416 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10417 (gst_clock_get_time), (gst_clock_set_time_adjust),
10418 (gst_clock_set_property), (gst_clock_get_property):
10421 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10422 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10424 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10425 (gst_element_requires_clock), (gst_element_provides_clock),
10426 (gst_element_set_clock), (gst_element_clock_wait),
10427 (gst_element_wait), (gst_element_set_time_delay),
10428 (gst_element_is_indexable), (gst_element_add_pad),
10429 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10430 (pad_compare_name), (gst_element_get_static_pad),
10431 (gst_element_request_pad), (gst_element_get_request_pad),
10432 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10433 (gst_element_class_get_pad_template_list),
10434 (gst_element_class_get_pad_template), (gst_element_error_func),
10435 (gst_element_get_random_pad), (gst_element_get_event_masks),
10436 (gst_element_send_event), (gst_element_seek),
10437 (gst_element_get_query_types), (gst_element_query),
10438 (gst_element_get_formats), (gst_element_convert),
10439 (gst_element_is_locked_state), (gst_element_set_locked_state),
10440 (gst_element_sync_state_with_parent), (gst_element_change_state),
10441 (gst_element_finalize), (gst_element_yield),
10442 (gst_element_interrupt), (gst_element_set_scheduler),
10443 (gst_element_get_scheduler), (gst_element_set_loop_function):
10444 * gst/gstelement.h:
10446 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10447 (gst_format_get_by_nick), (gst_format_get_details),
10448 (gst_format_iterate_definitions):
10450 * gst/gstindex.c: (gst_index_gtype_resolver):
10453 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10454 (gst_mem_chunk_free):
10455 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10456 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10457 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10458 (gst_object_dispatch_properties_changed),
10459 (gst_object_set_name_default), (gst_object_set_name),
10460 (gst_object_get_name), (gst_object_set_name_prefix),
10461 (gst_object_get_name_prefix), (gst_object_set_parent),
10462 (gst_object_get_parent), (gst_object_unparent),
10463 (gst_object_check_uniqueness), (gst_object_save_thyself),
10464 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10465 (gst_object_set_property), (gst_object_get_property),
10466 (gst_object_get_path_string):
10468 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10469 (gst_real_pad_init), (gst_real_pad_get_property),
10470 (gst_pad_custom_new), (gst_pad_get_direction),
10471 (gst_pad_set_active), (gst_pad_is_active),
10472 (gst_pad_set_event_function), (gst_pad_is_linked),
10473 (gst_pad_link_free), (gst_pad_link_intersect),
10474 (gst_pad_link_fixate), (gst_pad_set_caps),
10475 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10476 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10477 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10478 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10479 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10480 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10481 (gst_pad_realize), (gst_pad_get_allowed_caps),
10482 (gst_real_pad_dispose), (gst_real_pad_finalize),
10483 (gst_pad_collectv), (gst_pad_collect_valist),
10484 (gst_pad_template_dispose), (gst_pad_template_new),
10485 (gst_pad_get_internal_links):
10487 * gst/gstpipeline.c: (gst_pipeline_dispose),
10488 (gst_pipeline_change_state):
10489 * gst/gstpipeline.h:
10491 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10492 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10493 * gst/gstpluginfeature.h:
10494 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10495 * gst/gstquery.c: (_gst_query_type_initialize),
10496 (gst_query_type_register), (gst_query_type_get_by_nick),
10497 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10499 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10500 * gst/gstscheduler.c: (gst_scheduler_add_element),
10501 (gst_scheduler_factory_create):
10502 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10503 (gst_structure_free), (gst_structure_set_name),
10504 (gst_structure_id_set_value), (gst_structure_set_value),
10505 (gst_structure_set_valist), (gst_structure_remove_field),
10506 (gst_structure_remove_fields),
10507 (gst_structure_remove_fields_valist),
10508 (gst_structure_remove_all_fields), (gst_structure_foreach),
10509 (gst_structure_map_in_place),
10510 (gst_caps_structure_fixate_field_nearest_int),
10511 (gst_caps_structure_fixate_field_nearest_double):
10512 * gst/gststructure.h:
10513 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10514 (gst_system_clock_init), (gst_system_clock_dispose),
10515 (gst_system_clock_async_thread),
10516 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10517 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10518 * gst/gstsystemclock.h:
10519 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10520 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10521 * gst/gsttaginterface.c:
10522 * gst/gstthread.c: (gst_thread_dispose),
10523 (gst_thread_release_children_locks), (gst_thread_change_state),
10524 (gst_thread_main_loop):
10525 * gst/gsttrashstack.h:
10526 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10528 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10529 (gst_element_request_pad), (gst_element_get_pad_from_template),
10530 (gst_element_request_compatible_pad),
10531 (gst_element_get_compatible_pad_filtered),
10532 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10533 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10534 (gst_element_link_many), (gst_element_link),
10535 (gst_element_link_pads), (gst_element_unlink_pads),
10536 (gst_element_unlink_many), (gst_element_unlink),
10537 (gst_pad_can_link_filtered), (gst_pad_can_link),
10538 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10539 (gst_object_default_error), (gst_bin_add_many),
10540 (gst_bin_remove_many), (gst_element_populate_std_props),
10541 (gst_element_class_install_std_props), (gst_buffer_merge),
10542 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10543 (link_fold_func), (gst_pad_proxy_setcaps):
10545 * gst/gstvalue.c: (gst_value_deserialize_string):
10546 * gst/parse/grammar.y:
10547 * gst/schedulers/gstbasicscheduler.c:
10548 (gst_basic_scheduler_cothreaded_chain),
10549 (gst_basic_scheduler_chain_recursive_add),
10550 (gst_basic_scheduler_pad_link):
10551 * gst/schedulers/gstoptimalscheduler.c:
10552 (get_group_schedule_function),
10553 (gst_opt_scheduler_state_transition),
10554 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10555 * libs/gst/bytestream/bytestream.c:
10556 * libs/gst/dataprotocol/dataprotocol.c:
10557 (gst_dp_header_from_buffer):
10560 * tests/threadstate/threadstate2.c: (eos):
10561 * tools/gst-compprep.c: (main):
10562 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10563 (print_pad_info), (print_children_info):
10564 * tools/gst-launch.c: (idle_func), (main):
10565 * tools/gst-md5sum.c: (idle_func), (main):
10566 * tools/gst-xmlinspect.c: (print_element_info):
10567 First THREADED backport attempt, focusing on adding locks and
10568 making sure the API is threadsafe. Needs more work. More docs
10571 2005-02-24 Andy Wingo <wingo@pobox.com>
10573 * tests/bench-complexity.scm:
10574 * tests/complexity.gnuplot: New files, good for running complexity
10577 * tests/Makefile.am:
10578 * tests/complexity.c: New test, sets up N elements, at each level
10579 teeing into M streams per element. Eeeenteresting.
10581 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10582 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10583 running bench-mass_elements.scm.
10585 * tests/bench-mass_elements.scm: New script, runs mass_elements
10586 for various numbers of identities, outputting the results to a
10587 file. Requires guile 1.6. Just for testing.
10589 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10591 * gst/schedulers/fairscheduler.c:
10592 compile with debug disabled
10594 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10597 hunting season on 0.9 is now OPEN