1 2005-11-11 Wim Taymans <wim@fluendo.com>
3 * gst/base/gstbasetransform.c:
4 (gst_base_transform_prepare_output_buf),
5 (gst_base_transform_handle_buffer):
7 If we're processing a buffer and need to allocate an output
8 buffer, we cannot accept a format change. If we did get a
9 format change, we have to alloc a buffer ourselves of the
12 2005-11-11 Wim Taymans <wim@fluendo.com>
14 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15 While checking the flag for reentrancy in the gstcaps function
16 is nice to detect recursive invocations, it also makes it
17 impossible to call getcaps from multiple threads, which must be
18 possible. So, checking for recursive calls has to go.
20 2005-11-11 Michael Smith <msmith@fluendo.com>
22 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
23 Don't sync on buffers that fall partially outside our current
24 segment. Prevents an assertion failure/abort playing some files.
26 2005-11-10 Andy Wingo <wingo@pobox.com>
28 * check/gst/gstbin.c (test_message_state_changed_children): Style
31 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
32 gst_bus_poll with the signal watch. Ensures that poll and a signal
33 watch see the same messages.
35 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
36 a poll and a watch at the same time get the same messages.
38 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
40 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
41 * gst/gstcaps.c: (gst_caps_intersect):
42 Don't call gst_caps_do_simplify - it doesn't respect order of caps
45 2005-11-10 Wim Taymans <wim@fluendo.com>
47 * docs/design/part-TODO.txt:
50 2005-11-10 Wim Taymans <wim@fluendo.com>
52 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
53 * gst/base/gstbasesrc.c: (gst_base_src_wait),
54 (gst_base_src_do_sync), (gst_base_src_get_range):
55 Implement clock sync in base class.
57 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
59 patch by: Tim-Philipp Müller <tim at centricular dot net>
61 * gst/gststructure.c: (gst_structure_parse_field),
62 (gst_structure_from_string):
63 Forward-port a 0.8 patch to handle escaped spaces in structure string,
64 so that gst_parse_launch() can deal with spaces in filtered link
66 * check/gst/capslist.h:
67 * check/gst/gststructure.c: (GST_START_TEST):
68 add unit tests for this change
70 2005-11-10 Wim Taymans <wim@fluendo.com>
72 * docs/gst/gstreamer-sections.txt:
75 Fix docs, move some STATE macros to private.
77 2005-11-10 Wim Taymans <wim@fluendo.com>
79 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
80 Added check for bug #317341
84 Some more spiffifying.
86 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
87 Call peer linkfunction if we are a source pad. Totally fixes
91 Update docs, source pads should call the peer linkfunction
92 so they can atomically perform the pad link.
94 2005-11-09 Wim Taymans <wim@fluendo.com>
98 Uber-spiffy-spiffify some more.
100 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
102 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
103 * gst/elements/gstfilesink.c: (gst_file_sink_init):
104 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
105 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
106 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
107 * gst/gstpad.c: (gst_pad_init):
108 Use GST_DEBUG_FUNCPTR() more extensively.
110 2005-11-09 Wim Taymans <wim@fluendo.com>
112 * gst/gstobject.c: (gst_object_class_init):
116 2005-11-09 Edward Hervey <edward@fluendo.com>
118 * gst/gsttypefindfactory.c:
121 2005-11-09 Edward Hervey <edward@fluendo.com>
123 * gst/base/gsttypefindhelper.c:
128 2005-11-09 Wim Taymans <wim@fluendo.com>
137 2005-11-09 Wim Taymans <wim@fluendo.com>
143 2005-11-09 Wim Taymans <wim@fluendo.com>
145 * docs/gst/gstreamer-sections.txt:
146 Moved the message async delivery private lock and cond
147 to the private section.
153 2005-11-09 Edward Hervey <edward@fluendo.com>
155 * docs/gst/gstreamer-sections.txt:
158 Document GstURIHandler
160 2005-11-09 Wim Taymans <wim@fluendo.com>
162 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
163 (gst_iterator_find_custom):
167 2005-11-09 Wim Taymans <wim@fluendo.com>
170 Document another field.
172 * gst/gststructure.c:
173 * gst/gststructure.h:
176 2005-11-09 Wim Taymans <wim@fluendo.com>
181 2005-11-09 Wim Taymans <wim@fluendo.com>
183 * docs/gst/gstreamer-sections.txt:
184 Added some new macros.
191 2005-11-09 Wim Taymans <wim@fluendo.com>
193 * docs/design/part-TODO.txt:
194 Some more items for the TODO
200 2005-11-09 Andy Wingo <wingo@pobox.com>
202 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
203 to work on something else now tho...
205 * gst/base/gstadapter.c: More adapter docs.
207 * gst/elements/gstfilesink.c (gst_file_sink_start)
208 (gst_file_sink_stop): New functions, replace the state change
210 (gst_file_sink_class_init): Hook up the start and stop functions.
211 (gst_file_sink_base_init): Don't set the state change handler any
212 more. It was a bit ugly too, being set from here...
213 (gst_file_sink_get_property, gst_file_sink_set_property):
215 (gst_file_sink_set_location): More robust check that doesn't call
218 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
220 * gst/base/gstbasetransform.c: (gst_base_transform_event):
221 Hold STREAM_LOCK while pushing newsegment or tag events as well.
223 2005-11-08 Wim Taymans <wim@fluendo.com>
225 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
226 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
227 (gst_base_sink_chain), (gst_base_sink_change_state):
228 * gst/base/gstbasesink.h:
229 * gst/base/gstbasesrc.h:
232 Avoid excessive typechecking in macros.
234 * gst/gstminiobject.c: (gst_mini_object_get_type),
235 (gst_mini_object_init), (gst_mini_object_new),
236 (gst_mini_object_free):
237 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
238 (gst_object_finalize):
239 Remove cruft code, optimize alloc_trace.
241 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
243 * docs/faq/gst-uninstalled:
244 fix up PS1 for systems that try to reset it
246 2005-11-07 Wim Taymans <wim@fluendo.com>
248 * gst/base/gstbasesrc.c: (gst_base_src_init),
249 (gst_base_src_get_range):
250 Set the segment_end to -1 initially. Fixed typefind.
252 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
254 * gst/base/gstadapter.c:
255 Debug category should be 'adapter', not 'GstAdapter'.
257 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
258 (gst_collectpads_class_init), (gst_collectpads_init),
259 (gst_collectpads_peek), (gst_collectpads_pop),
260 (gst_collectpads_event), (gst_collectpads_chain):
261 Add debug category and some debugging output. Use boilerplate
262 macros. Remove some extraneous words from docs.
264 2005-11-05 Andy Wingo <wingo@pobox.com>
266 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
269 2005-11-04 Stefan Kost <ensonic@users.sf.net>
271 * docs/gst/gstreamer-sections.txt:
274 * gst/gstminiobject.h:
279 2005-11-04 Wim Taymans <wim@fluendo.com>
281 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
282 Small update to stop at the configured segment_end
285 2005-11-04 Stefan Kost <ensonic@users.sf.net>
291 2005-11-04 Edward Hervey <edward@fluendo.com>
293 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
294 Check if we are doing a segment seek and have arrived at the
297 2005-11-04 Wim Taymans <wim@fluendo.com>
299 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
300 Don't leak a mutex unlock in case of an error.
305 2005-11-04 Wim Taymans <wim@fluendo.com>
307 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
309 Get the context to wake up only once.
311 2005-11-03 Wim Taymans <wim@fluendo.com>
313 * check/states/sinks.c: (GST_START_TEST):
314 Uncomment fixed check.
316 * docs/design/part-TODO.txt:
319 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
320 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
321 (gst_base_sink_get_position):
322 If we are going to PLAYING, post the right pending state
323 when we post the intermediate paused message.
325 * gst/gstelement.c: (gst_element_continue_state),
326 (gst_element_set_state_func), (gst_element_change_state):
327 Don't post state changes that were between the same state
330 2005-11-03 Stefan Kost <ensonic@users.sf.net>
332 * docs/gst/gstreamer-sections.txt:
335 * gst/gstminiobject.h:
338 more docs and doc style fixes
340 2005-11-03 Stefan Kost <ensonic@users.sf.net>
342 * docs/gst/gstreamer-sections.txt:
344 * gst/gstminiobject.c:
347 2005-11-03 Andy Wingo <wingo@pobox.com>
349 * check/states/sinks.c (test_livesrc_sink): Add checks that the
350 state-changed messages actually have the right order and the right
353 2005-11-03 Wim Taymans <wim@fluendo.com>
355 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
356 Added some more checks. Specifically the case where NO_PREROLL
357 elements are in the pipeline.
359 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
360 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
361 (gst_base_sink_get_position):
362 Post READY->PAUSED state change messages too.
363 Fix bug where VOID was posted as pending state...
365 * gst/gstbin.c: (gst_bin_recalc_state):
366 use _element_continue_state() to continue the state change.
368 * gst/gstelement.c: (gst_element_continue_state),
369 (gst_element_commit_state), (gst_element_set_state_func),
370 (gst_element_change_state), (gst_element_change_state_func):
371 Lots of state change cleanups, assign the STATE_RETURN in
372 a new continue_state() function that also propagates the
373 last return value from a state change to the app.
374 Update some debug statements with proper category.
376 2005-11-03 Wim Taymans <wim@fluendo.com>
378 * docs/design/part-events.txt:
379 * docs/design/part-gstpipeline.txt:
380 * docs/design/part-messages.txt:
381 * docs/design/part-overview.txt:
382 * docs/design/part-seeking.txt:
383 * docs/design/part-states.txt:
384 * docs/design/part-trickmodes.txt:
385 * docs/manual/advanced-position.xml:
389 People think !! is ugly, this looks better.
391 * gst/gstpad.c: (gst_pad_set_blocked_async):
392 Remove !! since it's fixed elsewhere now.
394 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
396 * gst/gstminiobject.h:
398 Add !! to _FLAG_IS_SET macros to make the result boolean.
400 2005-11-03 Edward Hervey <edward@fluendo.com>
402 * gst/gstpad.c: (gst_pad_set_blocked_async):
403 comparing a flag and a gboolean rarely returns coherent results...
404 Added two characters (!!) to make that work correctly.
406 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
408 * gst/gstbus.c: (gst_bus_class_init):
411 * gst/gstqueue.c: (gst_queue_loop):
412 Don't assume a miniobject that isn't a buffer is an
413 event (it could be that there is a refcounting
414 problem somewhere and the pointer is stale and
415 refers to an already destroyed miniobject).
417 2005-11-03 Julien MOUTTE <julien@moutte.net>
419 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
421 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
423 * docs/manual/advanced-position.xml:
424 Update seek example and explanations to current 0.9 API.
426 * gst/elements/gsttypefindelement.c:
427 (gst_type_find_element_activate):
428 Remove FIXME comment now that the found caps
431 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
433 * gst/gstregistryxml.c: (load_feature):
434 Add another GST_STR_NULL instance
436 2005-11-02 Edward Hervey <edward@fluendo.com>
438 * gst/gstpad.c: (handle_pad_block):
439 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
441 2005-11-02 Wim Taymans <wim@fluendo.com>
446 * gst/gstelement.c: (gst_element_commit_state):
450 Mention that the returned element is reffed in the docs.
452 2005-11-02 Wim Taymans <wim@fluendo.com>
454 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
455 (gst_pad_push), (gst_pad_push_event):
456 Unlock blocked pads when they are flushed.
458 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
461 * docs/gst/gstreamer-sections.txt:
464 * gst/gstregistry.c: (gst_registry_scan_path_level):
465 fix for a nasty little missed situation where an installed plug-in
466 which was in the cache did not get overridden by an uninstalled one
467 which was earlier in the plugin path because the newly created plugin
468 for the uninstalled one (not in the registry) didn't get its
469 ->registered set to TRUE
471 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
473 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
474 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
475 (gst_collectpads_is_active), (gst_collectpads_collect),
476 (gst_collectpads_collect_range), (gst_collectpads_start),
477 (gst_collectpads_stop), (gst_collectpads_peek),
478 (gst_collectpads_pop), (gst_collectpads_available),
479 (gst_collectpads_read), (gst_collectpads_flush):
480 Guard public API with assertions.
483 Fix docs for gst_pad_set_link_function().
485 2005-11-02 Johan Dahlin <johan@gnome.org>
487 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
488 Unref found_caps after we used it.
490 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
492 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
493 Don't try to ref NULL.
495 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
497 * win32/common/config.h.in:
498 provide a GST_FUNCTION that just gives a string for now
500 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
502 * win32/common/gstenumtypes.c: (register_gst_object_flags),
503 (gst_object_flags_get_type), (register_gst_bin_flags),
504 (gst_bin_flags_get_type), (register_gst_buffer_flag),
505 (gst_buffer_flag_get_type), (register_gst_bus_flags),
506 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
507 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
508 (gst_clock_return_get_type), (register_gst_clock_entry_type),
509 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
510 (gst_clock_flags_get_type), (register_gst_state),
511 (gst_state_get_type), (register_gst_state_change_return),
512 (gst_state_change_return_get_type), (register_gst_state_change),
513 (gst_state_change_get_type), (register_gst_element_flags),
514 (gst_element_flags_get_type), (register_gst_core_error),
515 (gst_core_error_get_type), (register_gst_library_error),
516 (gst_library_error_get_type), (register_gst_resource_error),
517 (gst_resource_error_get_type), (register_gst_stream_error),
518 (gst_stream_error_get_type), (register_gst_event_type),
519 (gst_event_type_get_type), (register_gst_seek_type),
520 (gst_seek_type_get_type), (register_gst_seek_flags),
521 (gst_seek_flags_get_type), (register_gst_format),
522 (gst_format_get_type), (register_gst_index_certainty),
523 (gst_index_certainty_get_type), (register_gst_index_entry_type),
524 (gst_index_entry_type_get_type),
525 (register_gst_index_lookup_method),
526 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
527 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
528 (gst_index_resolver_method_get_type), (register_gst_index_flags),
529 (gst_index_flags_get_type), (register_gst_debug_level),
530 (gst_debug_level_get_type), (register_gst_debug_color_flags),
531 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
532 (gst_iterator_result_get_type), (register_gst_iterator_item),
533 (gst_iterator_item_get_type), (register_gst_message_type),
534 (gst_message_type_get_type), (register_gst_mini_object_flags),
535 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
536 (gst_pad_link_return_get_type), (register_gst_flow_return),
537 (gst_flow_return_get_type), (register_gst_activate_mode),
538 (gst_activate_mode_get_type), (register_gst_pad_direction),
539 (gst_pad_direction_get_type), (register_gst_pad_flags),
540 (gst_pad_flags_get_type), (register_gst_pad_presence),
541 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
542 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
543 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
544 (gst_plugin_error_get_type), (register_gst_plugin_flags),
545 (gst_plugin_flags_get_type), (register_gst_rank),
546 (gst_rank_get_type), (register_gst_query_type),
547 (gst_query_type_get_type), (register_gst_tag_merge_mode),
548 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
549 (gst_tag_flag_get_type), (register_gst_task_state),
550 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
551 (gst_alloc_trace_flags_get_type),
552 (register_gst_type_find_probability),
553 (gst_type_find_probability_get_type), (register_gst_uri_type),
554 (gst_uri_type_get_type), (register_gst_parse_error),
555 (gst_parse_error_get_type):
556 * win32/common/gstversion.h:
559 2005-11-01 Luca Ognibene <luogni@tin.it>
562 fix docs. popt is dead, long live GOption.
564 2005-10-31 Wim Taymans <wim@fluendo.com>
569 2005-10-31 Andy Wingo <wingo@pobox.com>
573 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
575 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
576 need to serialize property notifications on GLib 2.8. GLib 2.6 has
577 the possibility of deadlocks here if code calling notify() or
578 set() has a lock that can be taken in another notify handler (ABBA
579 with class lock and e.g. python GIL state lock).
581 2005-10-28 Julien MOUTTE <julien@moutte.net>
583 * gst/gstbus.c: Doc updates.
585 2005-10-28 Wim Taymans <wim@fluendo.com>
587 * docs/design/part-TODO.txt:
589 * gst/gstsystemclock.c:
590 * gst/gstsystemclock.h:
593 2005-10-28 Edward Hervey <edward@fluendo.com>
595 * docs/gst/gstreamer-docs.sgml:
596 * docs/gst/gstreamer-sections.txt:
597 the GstURIType documentation page is private, it only defines GstURIType
598 which should be defined in the GstURIHandler page
600 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
602 * gst/gstbin.c: (gst_bin_class_init):
605 Documentation updates.
607 2005-10-28 Wim Taymans <wim@fluendo.com>
609 * docs/gst/gstreamer-sections.txt:
612 Documented the clocks.
614 2005-10-28 Stefan Kost <ensonic@users.sf.net>
616 * docs/gst/gstreamer-sections.txt:
617 move some macros to private sections
618 * gst/gstminiobject.c:
619 * gst/gstminiobject.h:
620 add descriptions provided by ds and some more
622 mark macro as to be removed
624 2005-10-28 Wim Taymans <wim@fluendo.com>
626 * docs/design/part-TODO.txt:
629 * gst/gstiterator.c: (gst_iterator_fold),
630 (gst_iterator_find_custom):
634 2005-10-28 Wim Taymans <wim@fluendo.com>
636 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
637 (gst_base_transform_init):
640 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
641 An EOS event marks the queue as completely filled.
643 2005-10-27 Wim Taymans <wim@fluendo.com>
645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
646 (gst_base_sink_do_sync), (gst_base_sink_get_position):
649 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
650 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
651 (gst_base_transform_event), (gst_base_transform_getrange),
652 (gst_base_transform_chain):
653 * gst/base/gstbasetransform.h:
655 Protect transform and concurrent buffer alloc with a new lock.
656 Try not to break ABI/API.
658 2005-10-27 Wim Taymans <wim@fluendo.com>
660 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
661 (gst_base_src_init), (gst_base_src_query),
662 (gst_base_src_default_newsegment),
663 (gst_base_src_configure_segment), (gst_base_src_do_seek),
664 (gst_base_src_send_event), (gst_base_src_event_handler),
665 (gst_base_src_pad_get_range), (gst_base_src_loop),
666 (gst_base_src_unlock), (gst_base_src_default_negotiate),
667 (gst_base_src_start), (gst_base_src_deactivate),
668 (gst_base_src_activate_push), (gst_base_src_change_state):
669 Move some stuff around and cleanup things.
671 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
673 * gst/base/gstbasesrc.c: (gst_base_src_query):
674 Add missing break statements.
676 2005-10-27 Wim Taymans <wim@fluendo.com>
678 * check/gst/gstbin.c: (GST_START_TEST):
679 An extra refcount is taken in basesrc.
681 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
682 (gst_base_src_get_range), (gst_base_src_pad_get_range),
684 Small cleanups, check for flushing after being unlocked from the
685 LIVE_LOCK. take refcounts correctly (not yet everywhere).
686 Don't send out EOS when going to READY.
688 2005-10-27 Wim Taymans <wim@fluendo.com>
690 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
691 (gst_base_sink_get_position):
694 * gst/gstbin.c: (message_check), (bin_replace_message),
695 (bin_remove_messages), (is_eos), (gst_bin_add_func),
696 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
697 (bin_query_duration_init), (bin_query_duration_fold),
698 (bin_query_duration_done), (bin_query_generic_fold),
700 * tools/gst-launch.c: (main):
703 2005-10-26 Stefan Kost <ensonic@users.sf.net>
705 * examples/controller/audio-example.c: (main):
706 * examples/queue/queue.c: (event_loop):
707 * gst/base/gstbasetransform.h:
708 * gst/gstelement.c: (gst_element_send_event):
710 * gst/gstpad.c: (gst_pad_send_event):
713 changing log priority in error situations
715 2005-10-25 Wim Taymans <wim@fluendo.com>
717 * gst/gstbin.c: (message_check), (bin_replace_message),
718 (bin_remove_messages), (is_eos), (gst_bin_add_func),
719 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
720 (bin_query_duration_init), (bin_query_duration_fold),
721 (bin_query_duration_done), (bin_query_generic_fold),
723 Some doc and debug updates.
724 Cache previously requested query DURATION for speed. invalidate
725 cached duration if element posts a DURATION message.
727 2005-10-25 Wim Taymans <wim@fluendo.com>
729 * docs/design/part-TODO.txt:
732 * gst/gstbin.c: (message_check), (bin_replace_message),
733 (bin_remove_messages), (is_eos), (gst_bin_add_func),
734 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
735 (bin_query_duration_init), (bin_query_duration_fold),
736 (bin_query_duration_done), (bin_query_generic_fold),
738 Handle SEGMENT_START/DONE messages correctly.
739 More evolved query algorithm that handles duration queries
742 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
743 (gst_element_get_state_func), (gst_element_abort_state),
744 (gst_element_commit_state), (gst_element_lost_state):
750 2005-10-25 Wim Taymans <wim@fluendo.com>
752 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
753 Don't use invalid stream_time.
755 * gst/gstevent.c: (gst_event_new_newsegment):
756 stream_time in newsegment cannot be undefined.
758 2005-10-24 Wim Taymans <wim@fluendo.com>
763 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
765 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
767 2005-10-24 Stefan Kost <ensonic@users.sf.net>
769 * docs/libs/tmpl/gstdparam.sgml:
770 * docs/libs/tmpl/gstdplinint.sgml:
771 * docs/libs/tmpl/gstdpman.sgml:
772 * docs/libs/tmpl/gstdpsmooth.sgml:
773 * docs/libs/tmpl/gstunitconvert.sgml:
776 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
781 === release 0.9.4 ===
783 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
786 releasing 0.9.4, "Tyrannosaurus Rex"
788 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
790 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
791 (gst_file_sink_get_current_offset):
792 Use fseeko() and ftello() if available. When falling back on
793 lseek() to get the current offset, fflush() first to make sure
794 everything is up-to-date and we get the right offset.
796 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
798 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
799 * gst/base/gstbasesrc.c: (gst_base_src_loop):
800 * gst/gsterror.c: (_gst_stream_errors_init):
802 * gst/gstqueue.c: (gst_queue_loop):
804 remove prematurely added error category and clean up the instances
806 2005-10-21 Wim Taymans <wim@fluendo.com>
808 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
809 (gst_base_sink_get_position), (gst_base_sink_query),
810 (gst_base_sink_change_state):
811 Simply set the right flag when going to playing, that's all
812 we need to do instead of calling a function inside the object
813 lock (that could take the lock as well and deadlock)
815 2005-10-21 Wim Taymans <wim@fluendo.com>
817 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
819 Don't warn, the peer element knows what to do best when
820 the seek failed, it might try something else.
822 2005-10-21 Wim Taymans <wim@fluendo.com>
824 * gst/base/gstbasesrc.c: (gst_base_src_init),
825 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
828 2005-10-21 Wim Taymans <wim@fluendo.com>
830 * docs/design/part-segments.txt:
833 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
834 Correctly set caps, even on the subbufer.
836 2005-10-21 Wim Taymans <wim@fluendo.com>
838 * docs/gst/gstreamer-docs.sgml:
839 * docs/gst/gstreamer-sections.txt:
846 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
850 And 2% more doc coverage.
852 2005-10-21 Andy Wingo <wingo@pobox.com>
854 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
857 2005-10-20 Wim Taymans <wim@fluendo.com>
859 * gst/gsterror.c: (gst_error_get_message):
862 * gst/gststructure.c:
867 2005-10-20 Wim Taymans <wim@fluendo.com>
872 Another 1% more coverage.
874 2005-10-20 Wim Taymans <wim@fluendo.com>
876 * docs/gst/gstreamer-sections.txt:
877 * gst/gstelement.c: (gst_element_get_state_func),
878 (gst_element_abort_state), (gst_element_commit_state),
879 (gst_element_lost_state):
881 * gst/gstquery.c: (gst_query_set_position),
882 (gst_query_parse_position), (gst_query_set_duration),
883 (gst_query_parse_duration), (gst_query_new_convert):
885 Yay! 1% more docs coverage.
887 2005-10-20 Wim Taymans <wim@fluendo.com>
890 * gst/gstquery.c: (gst_query_set_position),
891 (gst_query_parse_position), (gst_query_set_duration),
892 (gst_query_parse_duration), (gst_query_new_convert):
894 * gst/gstutils.c: (gst_element_query_convert):
896 Docs and consistency fixes.
898 2005-10-20 Wim Taymans <wim@fluendo.com>
904 2005-10-20 Wim Taymans <wim@fluendo.com>
906 * gst/gstbin.c: (message_check), (bin_replace_message),
907 (bin_remove_messages), (is_eos), (gst_bin_add_func),
908 (update_degree), (gst_bin_sort_iterator_next),
909 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
910 Reworked the message handling a bit, cache the messages instead of
911 only the senders. alows us to do more in the future.
913 2005-10-20 Wim Taymans <wim@fluendo.com>
915 * docs/design/part-TODO.txt:
918 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
919 (gst_base_sink_query):
920 Don't use clock time to report position when in EOS.
922 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
924 * tools/gst-inspect.c: (print_interfaces),
925 (print_element_properties_info), (print_element_info):
926 Fix interface output with gst-inspect -a; don't print
927 newlines after double/float properties.
929 2005-10-20 Wim Taymans <wim@fluendo.com>
931 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
932 (gst_base_sink_query):
933 Speed up current position calculation.
935 * gst/base/gstbasesrc.c: (gst_base_src_query),
936 (gst_base_src_default_newsegment):
937 Correctly set stream position in newsegment.
939 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
940 (update_degree), (gst_bin_sort_iterator_next),
941 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
942 * gst/gstmessage.c: (gst_message_new_custom):
943 Clean up debugging info
945 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
946 (gst_queue_loop), (gst_queue_handle_src_query):
949 2005-10-19 Wim Taymans <wim@fluendo.com>
951 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
952 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
953 Fix query handling again.
955 2005-10-19 Wim Taymans <wim@fluendo.com>
957 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
958 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
959 * gst/base/gstbasesrc.c: (gst_base_src_query):
960 * gst/elements/gstfilesink.c: (gst_file_sink_query):
961 * gst/elements/gsttypefindelement.c:
962 (gst_type_find_handle_src_query), (find_element_get_length),
963 (gst_type_find_element_activate):
966 * gst/gstquery.c: (gst_query_new_position),
967 (gst_query_set_position), (gst_query_parse_position),
968 (gst_query_new_duration), (gst_query_set_duration),
969 (gst_query_parse_duration), (gst_query_set_segment),
970 (gst_query_parse_segment):
972 Bundling query position/duration is not a good idea since duration
973 does not change much and we don't want to recalculate it for every
974 position query, so they are separated again..
975 Base value in segment query is not needed.
977 * gst/gstqueue.c: (gst_queue_handle_src_query):
978 * gst/gstutils.c: (gst_element_query_position),
979 (gst_element_query_duration), (gst_pad_query_position),
980 (gst_pad_query_duration):
982 Updates for query API change.
983 Added some docs here and there.
985 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
987 * check/gst/gstbin.c: (GST_START_TEST):
988 * check/gst/gstghostpad.c: (GST_START_TEST):
989 * check/pipelines/cleanup.c: (GST_START_TEST):
990 wait on thread to die so we can check refcount correctly
992 2005-10-18 Wim Taymans <wim@fluendo.com>
994 * check/pipelines/stress.c: (GST_START_TEST):
995 Make check a little more time consuming.
997 2005-10-18 Wim Taymans <wim@fluendo.com>
1000 * check/pipelines/stress.c: (GST_START_TEST),
1001 (simple_launch_lines_suite), (main):
1002 Small state change torture test.
1004 * docs/design/part-states.txt:
1005 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1006 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1007 (gst_base_sink_change_state):
1008 Never take state lock from streaming thread, clean up ugly
1009 hacks. Unfortunatly core does not yet support nice ways to
1012 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1014 Start state recalc if a STATE_DIRTY message is posted, but only
1015 on the toplevel bin.
1017 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1018 (gst_element_get_state_func), (gst_element_abort_state),
1019 (gst_element_commit_state), (gst_element_lost_state),
1020 (gst_element_set_state_func), (gst_element_change_state):
1022 State variables are now protected with the LOCK, the state
1023 lock is only used to serialize _set_state().
1025 2005-10-18 Wim Taymans <wim@fluendo.com>
1027 * check/gst/gstbin.c: (GST_START_TEST):
1028 * check/gst/gstmessage.c: (GST_START_TEST):
1029 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1030 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1032 * gst/gstelement.c: (gst_element_abort_state),
1033 (gst_element_commit_state), (gst_element_lost_state):
1034 * gst/gstmessage.c: (gst_message_new_state_changed),
1035 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1036 (gst_message_new_segment_done), (gst_message_new_duration),
1037 (gst_message_parse_state_changed),
1038 (gst_message_parse_segment_start),
1039 (gst_message_parse_segment_done), (gst_message_parse_duration):
1041 * tools/gst-launch.c: (event_loop):
1042 Seriously, this is better than a previous commit as we only need
1043 to notify the fact that an element changed state in a streaming
1044 thread, marking the state of the parents dirty, hence the
1045 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1048 2005-10-18 Wim Taymans <wim@fluendo.com>
1050 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1051 (gst_bin_recalc_func):
1052 * gst/gstelement.c: (gst_element_set_clock),
1053 (gst_element_abort_state), (gst_element_lost_state):
1054 Cleanups, prepare for state change fixes.
1056 2005-10-18 Wim Taymans <wim@fluendo.com>
1059 * gst/gstelement.c: (gst_element_class_init),
1060 (gst_element_set_state), (gst_element_set_state_func):
1062 Pending ABI changes.
1063 GThreadPool in GstBinClass to monitor async state changes.
1064 state_cookie in GstElement to detect concurrent gst/set state.
1065 set_state is now virtual too in case a very complicated element
1066 has to be constructed.
1068 2005-10-18 Wim Taymans <wim@fluendo.com>
1070 * check/gst/gstbin.c: (GST_START_TEST):
1071 * check/gst/gstmessage.c: (GST_START_TEST):
1072 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1073 * gst/gstbin.c: (bin_bus_handler):
1074 * gst/gstelement.c: (gst_element_commit_state),
1075 (gst_element_lost_state):
1076 * gst/gstmessage.c: (gst_message_new_state_changed),
1077 (gst_message_new_segment_start), (gst_message_new_segment_done),
1078 (gst_message_new_duration), (gst_message_parse_state_changed),
1079 (gst_message_parse_segment_start),
1080 (gst_message_parse_segment_done), (gst_message_parse_duration):
1082 * tools/gst-launch.c: (event_loop):
1083 Make messages future proof.
1084 state-change gets a flag if it was a message comming from the
1086 segment-start/stop can also be specified in other formats.
1087 A message to notify an app that a pipeline changed playback
1089 Also fix a GstMessage leak in -launch
1091 2005-10-18 Andy Wingo <wingo@pobox.com>
1093 * gst/gstelement.c (gst_element_dispose): More helpful message.
1095 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1097 * gst/gstregistry.c: (gst_registry_scan_path_level):
1098 unref a plug-in we get that was already initialized
1100 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1102 * docs/gst/gstreamer-sections.txt:
1103 * docs/libs/gstreamer-libs-sections.txt:
1108 2005-10-17 Andy Wingo <wingo@pobox.com>
1110 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1113 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1115 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1117 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1118 (gst_element_get_state_func): Better debug message.
1119 (gst_element_commit_state): s/INFO/DEBUG/.
1120 (gst_element_lost_state, gst_element_change_state):
1122 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1123 (gst_message_new_custom): s/INFO/LOG/.
1125 2005-10-17 Michael Smith <msmith@fluendo.com>
1127 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1128 Check if end time is valid using end time, not start time.
1130 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1132 * check/gst-libs/controller.c: (GST_START_TEST),
1133 (gst_controller_suite):
1134 * libs/gst/controller/gstcontroller.c:
1135 (gst_controlled_property_set_interpolation_mode):
1136 * libs/gst/controller/gstcontroller.h:
1137 * libs/gst/controller/gstinterpolation.c:
1138 * testsuite/controller/.cvsignore:
1139 * testsuite/controller/Makefile.am:
1140 * testsuite/controller/interpolator.c:
1141 merge controller testsuites
1143 remove mem-chunk from docs
1145 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1147 * gst/gstmemchunk.c:
1148 * gst/gstmemchunk.h:
1149 * gst/gsttrashstack.c:
1150 * gst/gsttrashstack.h:
1151 out. get out. you're fired. to the Attic !
1153 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1155 * gst/gstcaps.c: (gst_caps_intersect):
1156 fix signedness issues in a (hopefully) correct way
1157 * gst/gstelement.c: (gst_element_pads_activate):
1159 * gst/gstobject.c: (gst_object_set_parent):
1162 2005-10-17 Julien MOUTTE <julien@moutte.net>
1164 * gst/gstvalue.h: Fix prototypes.
1166 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1168 * docs/gst/gstreamer-sections.txt:
1169 * gst/gst.c: (gst_version_string):
1171 * gst/gstversion.h.in:
1172 * win32/common/libgstreamer.def:
1173 add gst_version_string ()
1175 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1179 * gst/gst.c: (init_post):
1180 * win32/common/config.h.in:
1182 * gst/gstcaps.c: (gst_caps_intersect):
1183 use gint64, the range could be bigger than a guint
1185 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1188 document potential problem in 2038
1190 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1192 * gst/gstcaps.c: (gst_caps_intersect):
1193 Fix guint j diving under 0
1195 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1198 * win32/common/config.h:
1199 * win32/common/config.h.in:
1200 check for process.h, declares getpid() on Windows
1202 include process.h if we have it
1203 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1204 * gst/gstmemchunk.h:
1205 fix signedness issues
1206 * win32/common/libgstreamer.def:
1209 2005-10-16 Julien MOUTTE <julien@moutte.net>
1211 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1212 fix. Because of unsigned ints, caps intersection was going nuts and
1213 trying to access structures with G_MAXUINT index. That fixes
1214 videotestsrc ! ffmpegcolorspace ! fakesink
1215 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1218 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1221 use the gettext macro
1222 * gst/elements/gstelements.c:
1224 * gst/indexers/gstindexers.c:
1225 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1226 * win32/common/config.h:
1228 * win32/common/config.h.in:
1229 add the template to generate config.h
1230 * win32/common/gstenumtypes.c:
1231 * win32/common/gstversion.h:
1234 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1236 * gst/gst.c: (gst_version):
1237 * gst/gstversion.h.in:
1240 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1243 Oops, add missing closing bracket.
1245 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1248 use common m4's for argument checking
1250 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1252 * docs/gst/gstreamer-sections.txt:
1254 Add GST_EVENT_TYPE_NAME() macro.
1256 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1259 * gst/gstpluginfeature.c:
1261 privatize more symbols
1263 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1266 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1267 everything that uses GStreamer API should have the includes
1269 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1271 * docs/gst/gstreamer-sections.txt:
1272 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1274 give each value a _get_type, removes the DATA exports
1276 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1280 remove _gst_registry_auto_load, not used anymore
1281 * gst/gstbin.c: (gst_bin_get_type):
1283 * gst/gstelement.c: (gst_element_get_type):
1285 * gst/gstobject.c: (gst_object_get_type):
1287 * gst/gstpad.c: (gst_pad_get_type):
1289 make _get_type functions similar, fixes data export from library
1291 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1294 correctly make conditionals
1295 * gst/elements/Makefile.am:
1296 * gst/elements/gstelements.c:
1297 fix typo causing fdsrc not to build
1299 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1301 * testsuite/Makefile.am:
1302 * testsuite/bytestream/.cvsignore:
1303 * testsuite/bytestream/Makefile.am:
1304 * testsuite/bytestream/filepadsink.c:
1305 * testsuite/bytestream/gstbstest.c:
1306 * testsuite/bytestream/test1.c:
1307 * testsuite/bytestream/testfile1:
1308 * testsuite/caps/normalisation.c:
1309 * testsuite/caps/random.c: (main):
1310 * testsuite/cleanup/.cvsignore:
1311 * testsuite/cleanup/Makefile.am:
1312 * testsuite/cleanup/cleanup1.c:
1313 * testsuite/cleanup/cleanup2.c:
1314 * testsuite/cleanup/cleanup3.c:
1315 * testsuite/cleanup/cleanup4.c:
1316 * testsuite/cleanup/cleanup5.c:
1317 * testsuite/controller/interpolator.c:
1318 * testsuite/debug/printf_extension.c: (main):
1319 * testsuite/elements/tee.c:
1320 * testsuite/negotiation/.cvsignore:
1321 * testsuite/negotiation/Makefile.am:
1322 * testsuite/negotiation/pad_link.c:
1323 * testsuite/pad/Makefile.am:
1324 * testsuite/pad/chainnopull.c:
1325 * testsuite/pad/getnopush.c:
1326 * testsuite/pad/link.c:
1327 * testsuite/refcounting/sched.c: (create_pipeline):
1328 * testsuite/registry/Makefile.am:
1329 * testsuite/registry/gst-print-formats.c:
1330 * testsuite/schedulers/.cvsignore:
1331 * testsuite/schedulers/142183-2.c:
1332 * testsuite/schedulers/142183.c:
1333 * testsuite/schedulers/143777-2.c:
1334 * testsuite/schedulers/143777.c:
1335 * testsuite/schedulers/147713.c:
1336 * testsuite/schedulers/147819.c:
1337 * testsuite/schedulers/147894-2.c:
1338 * testsuite/schedulers/147894.c:
1339 * testsuite/schedulers/Makefile.am:
1340 * testsuite/schedulers/group_link.c:
1341 * testsuite/schedulers/queue_link.c:
1342 * testsuite/schedulers/relink.c:
1343 * testsuite/schedulers/unlink.c:
1344 * testsuite/schedulers/unref.c:
1345 * testsuite/schedulers/useless_iteration.c:
1346 * testsuite/states/bin.c:
1347 clean out/remove some stuff from the testsuite directories
1349 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1352 check for some headers
1353 * gst/elements/Makefile.am:
1354 * gst/elements/gstelements.c:
1355 don't compile fdsrc without sys/socket.h
1356 * gst/indexers/Makefile.am:
1357 * gst/indexers/gstindexers.c: (plugin_init):
1358 don't compile fileindex without mmap
1360 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1367 * check/Makefile.am:
1368 * docs/gst/Makefile.am:
1369 * examples/helloworld/Makefile.am:
1371 * gst/base/Makefile.am:
1372 * gst/check/Makefile.am:
1373 * gst/elements/Makefile.am:
1374 * gst/indexers/Makefile.am:
1375 * gst/parse/Makefile.am:
1376 * libs/gst/controller/Makefile.am:
1377 * libs/gst/dataprotocol/Makefile.am:
1378 * examples/helloworld/helloworld.c: (event_loop):
1379 compile fixes, though it's not being compiled currently
1381 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1383 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1384 Add some simple tests for the new taglist date API.
1386 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1388 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1389 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1390 Beautify 'last-message' output: print 'none' for buffer timestamps
1391 and durations if none is set; improve alignment with next messages.
1393 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1395 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1396 * gst/gstpluginfeature.h:
1397 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1398 * gst/gstregistry.h:
1399 * docs/gst/gstreamer-sections.txt:
1400 Add new API to check plugin feature version requirements.
1402 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1403 Some basic tests for the above.
1405 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1407 * gst/gststructure.c: (gst_structure_to_string):
1408 guard against NULL printf - happens when for example
1409 a message structure with GstClock gets serialized
1411 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1413 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1414 Fix presumable copy'n'pasto.
1416 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1418 * gst/elements/gstfakesrc.h:
1419 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1420 * gst/elements/gsttypefindelement.c:
1422 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1423 I wonder if this could actually write +2GB files before
1425 2005-10-13 Andy Wingo <wingo@pobox.com>
1427 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1428 Fix Timmeke Waymans bug.
1429 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1430 string of the proper length to gst_caps_from_string. There's a
1431 potential for, before this fix, that this could cause someone
1432 connecting over the network to cause a segfault if the payload is
1435 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1437 * docs/design/draft-push-pull.txt:
1438 * docs/design/part-overview.txt:
1439 * docs/random/TODO-pre-0.9:
1440 * docs/random/old/ChangeLog.gstreamer:
1441 * gst/base/gstpushsrc.c:
1445 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1447 * gst/glib-compat.c: (gst_flags_get_first_value):
1448 * gst/glib-compat.h:
1449 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1450 (gst_value_compare_double), (gst_value_serialize_flags):
1451 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1454 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1457 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1459 * tools/gst-launch.c: (event_loop):
1460 print out clock nicely
1462 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1464 * docs/gst/gstreamer-sections.txt:
1466 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1467 (gst_tag_list_get_date_index):
1468 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1469 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1471 2005-10-13 Julien MOUTTE <julien@moutte.net>
1473 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1474 (gst_collectpads_chain):
1475 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1478 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1480 * docs/gst/gstreamer-sections.txt:
1483 * tools/gst-inspect.c: (main):
1484 * tools/gst-launch.c: (main):
1485 * tools/gst-run.c: (main):
1486 * tools/gst-xmlinspect.c: (main):
1487 fix GOption context leaks
1490 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1494 * win32/common/config.h:
1496 * win32/vs6/grammar.dsp:
1497 * win32/vs6/libgstelements.dsp:
1498 * win32/vs6/libgstreamer.dsp:
1501 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1504 * gst/base/gstbasesrc.c: (gst_base_src_query):
1505 fix more guint64<->gdouble conversions
1507 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1510 add win32-update target
1511 * win32/common/gstconfig.h:
1512 * win32/common/gstenumtypes.c:
1513 * win32/common/gstenumtypes.h:
1514 * win32/common/gstversion.h:
1515 add files that visual studio can't generate
1517 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1520 add a win32-update target
1523 2005-10-12 Wim Taymans <wim@fluendo.com>
1525 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1526 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1527 * gst/gstelement.c: (gst_element_commit_state),
1528 (gst_element_set_state):
1529 Protect flags with proper lock.
1530 unref provided cached clock in dispose.
1532 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1535 * gst/gstminiobject.h:
1537 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1538 removed unused flags from miniobject
1541 2005-10-12 Wim Taymans <wim@fluendo.com>
1543 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1544 (gst_file_sink_event), (gst_file_sink_render):
1545 Flush before seeking.
1547 2005-10-12 Andy Wingo <wingo@pobox.com>
1549 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1550 always been the case.
1552 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1554 * check/gst/gstbin.c: (GST_START_TEST):
1555 * docs/gst/gstreamer-sections.txt:
1556 * gst/base/gstbasesink.c: (gst_base_sink_init):
1557 * gst/base/gstbasesrc.c: (gst_base_src_init),
1558 (gst_base_src_get_range), (gst_base_src_check_get_range),
1559 (gst_base_src_start), (gst_base_src_stop):
1560 * gst/base/gstbasesrc.h:
1561 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1562 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1563 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1567 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1569 * gst/gstelement.c: (gst_element_is_locked_state),
1570 (gst_element_set_locked_state), (gst_element_commit_state),
1571 (gst_element_set_state):
1573 * gst/gstindex.c: (gst_index_init):
1575 * gst/gstminiobject.h:
1576 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1577 (gst_object_set_parent):
1579 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1580 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1582 * gst/gstpadtemplate.h:
1583 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1584 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1585 * gst/gstpipeline.h:
1586 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1587 (gst_file_index_commit):
1588 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1589 * testsuite/pad/link.c: (gst_test_src_init),
1590 (gst_test_filter_init), (gst_test_sink_init):
1591 * testsuite/states/locked.c: (main):
1592 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1593 moved bitshift from macro to enum definition
1595 2005-10-12 Wim Taymans <wim@fluendo.com>
1597 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1598 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1599 (gst_file_sink_render):
1600 Some more debugging info.
1602 2005-10-12 Wim Taymans <wim@fluendo.com>
1604 * docs/design/part-states.txt:
1605 * tools/gst-launch.c: (main):
1607 Revert non-intentional change.
1609 2005-10-12 Wim Taymans <wim@fluendo.com>
1611 * check/gst/gstbin.c: (GST_START_TEST):
1612 * check/gst/gstelement.c: (GST_START_TEST):
1613 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1614 * check/gst/gstghostpad.c: (GST_START_TEST):
1615 * check/gst/gstpipeline.c: (GST_START_TEST):
1616 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1617 * check/states/sinks.c: (GST_START_TEST):
1618 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1619 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1620 (gst_bin_remove_func), (gst_bin_get_state_func),
1621 (gst_bin_recalc_state), (gst_bin_change_state_func),
1623 * gst/gstelement.c: (gst_element_get_state_func),
1624 (gst_element_get_state), (gst_element_abort_state),
1625 (gst_element_commit_state), (gst_element_set_state),
1626 (gst_element_change_state), (gst_element_change_state_func):
1628 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1629 (gst_pipeline_provide_clock_func):
1630 * gst/gstutils.c: (gst_element_link_pads_filtered):
1631 * tools/gst-launch.c: (main):
1632 * tools/gst-typefind.c: (main):
1633 Use GstClockTime in _get_state() instead of GTimeVal.
1634 Remove old code in gstutils.c
1636 2005-10-12 Andy Wingo <wingo@pobox.com>
1638 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1641 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1642 there is no task. Shouldn't affect any code, as nothing in our
1643 plugins checks this return value.
1644 (gst_pad_stop_task): Also take the stream lock if the pad has no
1647 2005-10-12 Wim Taymans <wim@fluendo.com>
1649 * gst/gstpad.c: (pre_activate), (post_activate),
1650 (gst_pad_activate_pull), (gst_pad_activate_push):
1651 Cleanup activation code. Reset old state if
1654 2005-10-12 Wim Taymans <wim@fluendo.com>
1656 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1657 (gst_base_sink_change_state):
1658 No need to prerol after receiving EOS.
1660 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1661 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1662 * gst/elements/gstidentity.c: (gst_identity_event):
1663 Print events more verbosely.
1665 2005-10-12 Wim Taymans <wim@fluendo.com>
1667 * check/Makefile.am:
1668 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1669 * check/states/sinks2.c:
1670 Moved sinks2 testcode in sinks check.
1672 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1673 (gst_bin_remove_func), (gst_bin_recalc_state),
1674 (gst_bin_change_state_func), (bin_bus_handler):
1675 Fix potential race condition when _get_state() iterated over an
1676 ASYNC element right before it posted a state completion.
1679 Do proper cast here.
1681 * gst/gstevent.c: (gst_event_new_newsegment),
1682 (gst_event_parse_newsegment):
1683 A playback rate of 0.0 is not allowed.
1685 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1687 * win32/common/config.h:
1688 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1689 (_trewinddir), (_ttelldir), (_tseekdir):
1690 * win32/common/dirent.h:
1691 * win32/common/gtchar.h:
1692 * win32/common/libgstbase.def:
1693 * win32/common/libgstreamer.def:
1694 * win32/vs6/grammar.dsp:
1695 * win32/vs6/gst_inspect.dsp:
1696 * win32/vs6/gst_launch.dsp:
1697 * win32/vs6/gstreamer.dsw:
1698 * win32/vs6/libgstbase.dsp:
1699 * win32/vs6/libgstelements.dsp:
1700 * win32/vs6/libgstreamer.dsp:
1701 Visual Studio 6 project files, and a new common directory.
1704 2005-10-11 Wim Taymans <wim@fluendo.com>
1706 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1707 (gst_base_sink_do_sync), (gst_base_sink_query),
1708 (gst_base_sink_change_state):
1709 * gst/base/gstbasesink.h:
1710 Correctly parse newsegment info.
1712 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1714 * gst/gst.c: (init_post):
1715 split plugin paths correctly
1717 2005-10-11 Wim Taymans <wim@fluendo.com>
1719 * check/gst/gstevent.c: (GST_START_TEST):
1720 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1721 (gst_base_sink_change_state):
1722 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1723 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1724 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1725 * gst/gstevent.c: (gst_event_new_newsegment),
1726 (gst_event_parse_newsegment):
1728 Added extra flag to newsegment for future API freeze.
1729 Updated check and base elements.
1731 2005-10-11 Julien MOUTTE <julien@moutte.net>
1733 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1734 (gst_collectpads_add_pad), (gst_collectpads_pop),
1735 (gst_collectpads_event), (gst_collectpads_chain):
1736 * gst/base/gstcollectpads.h: Handle EOS correctly.
1738 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1740 * tools/gst-launch.c: (main):
1741 more null protecting
1743 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1745 * gst/gst-i18n-lib.h:
1746 check for ENABLE_NLS, not GETTEXT_PACKAGE
1747 * gst/gstregistry.c: (gst_registry_add_plugin),
1748 (gst_registry_scan_path_level),
1749 (_gst_registry_remove_cache_plugins):
1750 protect possibly NULL strings
1751 * gst/parse/types.h:
1752 config.h already included before
1753 * tools/gst-inspect.c: (main):
1754 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1755 check for ENABLE_NLS, not GETTEXT_PACKAGE
1756 * tools/gst-launch.c: (main):
1757 check for ENABLE_NLS, not GETTEXT_PACKAGE
1759 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1762 if we don't have glib, fail before testing 2.8
1763 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1764 fix a leak, should fix plugins-base testsuite
1766 2005-10-11 Andy Wingo <wingo@pobox.com>
1768 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1769 take the mode we're going to as an arg. Go head and set the mode
1770 and flushing flags now, so that if the activate function starts a
1771 thread all the flags will be in the right state.
1772 (post_activate): Renamed also. Just handle making sure streaming
1773 finishes for the deactivation case, and setting the deactivated
1775 (gst_pad_set_active): Complain loudly if deactivation fails.
1776 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1777 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1778 remove the terrible hack.
1780 2005-10-11 Wim Taymans <wim@fluendo.com>
1782 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1783 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1784 (gst_bin_recalc_state), (gst_bin_change_state_func),
1785 (gst_bin_dispose), (bin_bus_handler):
1787 Prepare to make current EOS message queue more generic.
1790 * gst/gstevent.c: (gst_event_new_newsegment),
1791 (gst_event_parse_newsegment):
1793 Rename base to stream_time.
1798 2005-10-11 Wim Taymans <wim@fluendo.com>
1800 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1801 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1802 (gst_bin_change_state_func), (bin_bus_handler):
1804 Work on proper clock selection.
1806 2005-10-11 Edward Hervey <edward@fluendo.com>
1808 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1809 * libs/gst/controller/gstcontroller.h:
1810 Added GList* version of _remove_properties() in order to be able to wrap
1813 2005-10-11 Wim Taymans <wim@fluendo.com>
1815 * docs/design/part-states.txt:
1818 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1819 (gst_bin_change_state_func), (bin_bus_handler):
1820 Doc updates. Don't distribute the same clock over and over again.
1826 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1827 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1828 (gst_pad_send_event):
1830 Make probe emission threadsafe again.
1831 Register quarks and move _get_name() from utils.
1834 * gst/gstpipeline.c: (gst_pipeline_class_init),
1835 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1836 Only redistribute the clock of it changed.
1838 * gst/gstsystemclock.h:
1843 Moved the _flow_get_name() to GstPad.
1845 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1847 * check/gst-libs/gdp.c: (GST_START_TEST):
1848 * check/gst/gstcaps.c: (GST_START_TEST):
1849 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1850 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1851 (gst_dp_packet_from_caps):
1852 fix more valgrind warnings before turning up the heat
1854 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1856 * gst/parse/grammar.y:
1857 some cleanup before the hacking
1859 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1861 * gst/base/gstbasesrc.c: (gst_base_src_query):
1863 * gst/gstutils.c: (gst_guint64_to_gdouble),
1864 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1866 externalize, basesrc uses it
1867 obviously the implementation needs testing
1869 2005-10-10 Wim Taymans <wim@fluendo.com>
1871 * tests/sched/Makefile.am:
1872 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1873 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1875 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1877 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1878 apparently converting from guint64 to double is not implemented
1881 2005-10-10 Wim Taymans <wim@fluendo.com>
1883 * check/Makefile.am:
1884 * check/generic/states.c: (GST_START_TEST):
1885 * check/gst/gstbin.c: (GST_START_TEST):
1886 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1887 * check/states/sinks.c: (GST_START_TEST):
1888 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1890 Check fixes, use API as stated in design docs, remove hacks.
1892 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1893 (gst_base_sink_change_state):
1894 Catch stopping our task while we're shutting down.
1896 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1897 (gst_bin_remove_func), (gst_bin_get_state_func),
1898 (gst_bin_recalc_state), (gst_bin_change_state_func),
1901 * gst/gstelement.c: (gst_element_init),
1902 (gst_element_get_state_func), (gst_element_abort_state),
1903 (gst_element_commit_state), (gst_element_lost_state),
1904 (gst_element_set_state), (gst_element_change_state),
1905 (gst_element_change_state_func):
1907 New state change algorithm (see #318116)
1909 * gst/gstpipeline.c: (gst_pipeline_class_init),
1910 (gst_pipeline_init), (gst_pipeline_set_property),
1911 (gst_pipeline_get_property), (do_pipeline_seek),
1912 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1913 * gst/gstpipeline.h:
1914 Remove crude state change hacks.
1919 * tools/gst-launch.c: (main):
1920 Fixes for state change. Needs some more work to fully use the
1923 2005-10-10 Andy Wingo <wingo@pobox.com>
1925 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1927 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1928 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1931 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1933 * gst/gstiterator.c: (gst_iterator_new):
1934 Fix my previous commit: GTypes passed to gst_iterator_new()
1935 can be fundamental types.
1937 2005-10-10 Wim Taymans <wim@fluendo.com>
1939 * gst/gstelement.c: (gst_element_iterate_pad_list),
1940 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1941 (gst_element_iterate_sink_pads):
1942 Use src/sink pads lists for the respective iterators instead
1945 2005-10-10 Andy Wingo <wingo@pobox.com>
1947 Merged in popt removal + GOption addition patch from Ronald, bug
1950 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1951 GstElement macros around, remove popt-related symbols, add goption
1954 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1956 * docs/gst/Makefile.am:
1957 * docs/libs/Makefile.am: No POPT_CFLAGS.
1959 * examples/manual/Makefile.am:
1960 * docs/manual/basics-init.xml: Doc updates with an example.
1962 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1963 (gst_init), (parse_one_option), (parse_goption_arg):
1964 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1965 bit of hand merging and debugging to get the GOption stuff working
1968 * tests/Makefile.am:
1969 * tools/Makefile.am:
1970 * tools/gst-inspect.c: (main):
1971 * tools/gst-launch.c: (main):
1972 * tools/gst-run.c: (main):
1973 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1975 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1977 * gst/gstiterator.c: (gst_iterator_new):
1978 Add assertions to make sure passed GType is likely to really
1979 be a GType (as the compiler won't catch it if the size and
1980 GType arguments get mixed up, see #318447).
1982 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1984 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1986 * gst/gstbin.c: (gst_bin_iterate_sorted):
1987 Pass GType and size arguments to gst_iterator_new() in the right
1988 order (maybe we should make _new() take the GType as first argument
1989 just like _new_list()?) (#318447).
1992 2005-10-10 Wim Taymans <wim@fluendo.com>
1994 * gst/gstelement.c: (gst_element_finalize):
1995 And free the GStaticRecMutex too
1997 2005-10-10 Andy Wingo <wingo@pobox.com>
1999 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2000 Allocate and free the mutex properly.
2002 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2004 (GstElement): The state_lock is now recursive. Rebuild your
2005 plugins, suckers. Old macros adapted.
2007 * docs/gst/gstreamer-sections.txt: Doc updates.
2010 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2011 (g_static_rec_cond_wait): Ported from state changes patch, while
2012 we wait on bug #317802 to be solved in a well-distributed GLib.
2014 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2015 gst_element_change_state, variable name changes.
2016 (gst_element_change_state): Split out of gst_element_set_state in
2017 preparation for the state change merge. Doesn't pay attention to
2018 the 'transition' argument.
2019 (gst_element_set_state): Updates, hopefully purely cosmetic.
2020 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2022 (gst_element_get_state_func): Renamed from get_state, cosmetic
2025 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2027 * gst/elements/gstelements.c:
2028 * win32/GStreamer.vcproj:
2030 * win32/dirent.c: (_tseekdir):
2031 * win32/gst-inspect.vcproj:
2032 * win32/gst-launch.vcproj:
2033 * win32/gstconfig.h:
2034 * win32/gstelements.vcproj:
2035 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2036 * win32/gstreamer.def:
2038 updates for the win32 build (patch from Sebastien Moutte)
2040 2005-10-10 Andy Wingo <wingo@pobox.com>
2042 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2043 gst_bin_get_state, cleaned up (but no logic changes).
2044 (bin_element_is_sink): Comment updates.
2045 (sink_iterator_filter): Remove needless cast.
2046 (gst_bin_iterate_sinks): Doc update.
2047 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2048 cleaned up (but no logic changes).
2050 * check/states/sinks.c (test_src_sink): Cleanups from the state
2052 (test_livesrc_sink): Sync on the state.
2054 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2055 the state change patch.
2057 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2060 * check/gst/gstbin.c: Merge in some style fixes and additional
2061 checks from Wim's state change patch.
2063 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2065 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2066 (gst_type_find_helper):
2067 Check whether we have the requested data already in our list of
2068 cached buffers before pulling a new buffer; also make the buffer
2069 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2071 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2076 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2077 don't use long long, it's not portable. Replacing with
2078 gint64 seems to work; let's hope no skeletons fall out of the closet.
2080 2005-10-10 Andy Wingo <wingo@pobox.com>
2082 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2084 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2086 * docs/gst/gstreamer-sections.txt:
2091 * gst/gstmessage.c: (gst_message_parse_state_changed):
2094 more docs, fix compilation
2096 2005-10-09 Philippe Khalaf <burger@speedy.org>
2098 Fixed a few forgotten variables on previous commit
2100 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2102 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2103 Fix evil typefind crasher: getrange() might return a short
2104 buffer at the end of a file, but gst_type_find_peek() must
2105 either return the full data as requested or NULL, but
2106 never a short buffer.
2108 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2110 * gst/gstmessage.c: (gst_message_new_state_changed),
2111 (gst_message_parse_state_changed):
2113 don't use "new", it's a C++ keyword
2115 2005-10-08 Wim Taymans <wim@fluendo.com>
2117 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2118 * gst/gstelement.c: (gst_element_post_message):
2119 * gst/gstpipeline.c: (gst_pipeline_change_state):
2120 Small docs and debug updates.
2122 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2124 * docs/gst/gstreamer-sections.txt:
2125 * gst/gstelementfactory.c:
2130 2005-10-08 Wim Taymans <wim@fluendo.com>
2132 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2133 (gst_bin_dispose), (bin_bus_handler):
2134 Fix typos, add comments.
2135 Clear EOS list when going to PAUSED from any direction and do it
2136 in a threadsafe way.
2137 Get base time in a threadsafe way too.
2138 Fix confusing debug in the change_state function.
2139 Various other small cleanups.
2141 * gst/gstelement.c: (gst_element_post_message):
2142 Fix very verbose bus posting code.
2144 * gst/gstpipeline.c: (gst_pipeline_class_init),
2145 (gst_pipeline_set_property), (gst_pipeline_get_property),
2146 (gst_pipeline_change_state):
2147 Small ARG_ -> PROP_ cleanup
2149 2005-10-08 Wim Taymans <wim@fluendo.com>
2151 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2152 Do a less CPU demanding EOS check because we can.
2154 2005-10-08 Wim Taymans <wim@fluendo.com>
2156 * libs/gst/dataprotocol/dataprotocol.c:
2157 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2158 (gst_dp_packet_from_event):
2159 * libs/gst/dataprotocol/dataprotocol.h:
2160 * libs/gst/dataprotocol/dp-private.h:
2161 It's about time we bump the version number.
2162 Since event types don't fit in the guint8 anymore describing
2163 the payload type, make payload type 16 bits wide.
2165 2005-10-08 Wim Taymans <wim@fluendo.com>
2167 * docs/design/part-TODO.txt:
2168 * docs/design/part-clocks.txt:
2169 * docs/design/part-events.txt:
2170 * docs/design/part-gstbin.txt:
2171 * docs/design/part-gstelement.txt:
2172 * docs/design/part-gstpipeline.txt:
2173 * docs/design/part-live-source.txt:
2174 * docs/design/part-messages.txt:
2175 * docs/design/part-overview.txt:
2176 * docs/design/part-states.txt:
2179 2005-10-08 Wim Taymans <wim@fluendo.com>
2183 Fix event quark registration.
2184 Add some space between events so we can insert them in the
2187 2005-10-08 Wim Taymans <wim@fluendo.com>
2189 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2190 (gst_base_sink_handle_buffer):
2197 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2198 (gst_queue_set_property), (gst_queue_get_property):
2200 Remove old unused properties.
2202 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2203 * docs/gst/gstreamer-sections.txt:
2206 * gst/gstminiobject.c:
2207 * gst/gstminiobject.h:
2211 lots of new docs and doc fixes
2213 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2215 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2217 * gst/gstregistry.c: (gst_registry_lookup_locked),
2218 (gst_registry_scan_path_level):
2219 * gst/gstregistryxml.c: (load_plugin):
2220 Only ever load one plugin for a given plugin basename.
2221 This ensures correct overriding of GST_PLUGIN_PATH over
2222 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2223 system installed plugins.
2225 2005-10-08 Wim Taymans <wim@fluendo.com>
2227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2228 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2229 Prepare for doing QOS.
2231 2005-10-08 Wim Taymans <wim@fluendo.com>
2233 * check/gst/gstbin.c: (GST_START_TEST):
2234 * check/pipelines/cleanup.c: (GST_START_TEST):
2235 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2236 Allow new clock message too.
2238 2005-10-08 Wim Taymans <wim@fluendo.com>
2240 * gst/gstmessage.c: (gst_message_new_error),
2241 (gst_message_new_warning), (gst_message_new_tag),
2242 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2243 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2244 (gst_message_new_segment_start), (gst_message_new_segment_done),
2245 (gst_message_parse_state_changed),
2246 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2247 (gst_message_parse_new_clock):
2249 Also carry the clock in question.
2251 2005-10-08 Wim Taymans <wim@fluendo.com>
2253 * gst/gstmessage.c: (gst_message_new_custom),
2254 (gst_message_new_eos), (gst_message_new_error),
2255 (gst_message_new_warning), (gst_message_new_tag),
2256 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2257 (gst_message_new_new_clock), (gst_message_new_segment_start),
2258 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2259 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2262 Added clock related messages.
2264 * gst/gstpipeline.c: (gst_pipeline_change_state):
2265 Post message when the clock changed.
2267 * tools/gst-launch.c: (event_loop):
2270 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2272 * tools/gst-inspect.c: (print_element_properties_info):
2273 Can't pass NULL strings to g_print() on windows.
2275 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2278 * docs/gst/Makefile.am:
2279 * docs/gst/gstreamer-docs.sgml:
2280 * docs/gst/running.xml:
2281 * docs/version.entities.in:
2282 add a chapter on running GStreamer.
2283 document GST_DEBUG and GST_PLUGIN* env vars
2285 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2290 remove PLUGINS_BUILDDIR stuff
2291 * gst/gst.c: (init_post):
2292 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2294 remove, it was condescending and not needed
2296 2005-10-08 Wim Taymans <wim@fluendo.com>
2298 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2299 (gst_base_sink_handle_object), (gst_base_sink_event),
2300 (gst_base_sink_wait), (gst_base_sink_handle_event),
2301 (gst_base_sink_change_state):
2302 * gst/base/gstbasesink.h:
2303 Repost EOS message while going to PLAYING if still EOS.
2304 Make sure that when receiving a FLUSH_START we don't attempt
2305 to sync on the clock anymore.
2307 2005-10-08 Wim Taymans <wim@fluendo.com>
2309 * tools/gst-launch.c: (event_loop):
2310 Better message printout.
2312 2005-10-08 Wim Taymans <wim@fluendo.com>
2314 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2315 (gst_bin_child_proxy_get_children_count):
2316 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2317 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2318 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2319 (gst_child_proxy_set_valist):
2320 * gst/parse/grammar.y:
2321 Make ChildProxy threadsafe and fix mem leaks.
2323 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2325 * gst/gst.c: (init_post):
2326 debug the GST_PLUGIN_ env vars
2328 2005-10-08 Wim Taymans <wim@fluendo.com>
2330 * check/gst/gstbin.c: (GST_START_TEST):
2331 * check/gst/gstmessage.c: (GST_START_TEST):
2332 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2333 * gst/gstelement.c: (gst_element_commit_state),
2334 (gst_element_lost_state):
2335 * gst/gstmessage.c: (gst_message_new_state_changed),
2336 (gst_message_parse_state_changed):
2338 * tools/gst-launch.c: (event_loop):
2339 Added extra field to STATE_CHANGE message with the pending
2340 state, which will be different from the new state soon.
2342 2005-10-08 Wim Taymans <wim@fluendo.com>
2344 * gst/gstbus.c: (gst_bus_pop):
2346 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2347 Small cleanups and doc updates.
2349 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2351 * gst/gst.c: (init_pre):
2352 * gst/gstbin.c: (gst_bin_add_func):
2353 log distributing clocks and base time
2354 * gst/gstregistry.c: (gst_registry_add_plugin),
2355 (gst_registry_scan_path_level), (gst_registry_scan_path):
2356 clean up the debugging output a little
2357 * gst/gstutils.c: (gst_element_state_get_name):
2358 warn about a memleak (I've actually seen this be used, though
2359 it was probably a bug)
2361 2005-10-07 Wim Taymans <wim@fluendo.com>
2363 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2364 (gst_base_src_init), (gst_base_src_default_newsegment),
2365 (gst_base_src_newsegment), (gst_base_src_do_seek),
2366 (gst_base_src_loop), (gst_base_src_start):
2367 * gst/base/gstbasesrc.h:
2368 Make the newsegment event customizable by subclasses.
2370 2005-10-07 Wim Taymans <wim@fluendo.com>
2372 * gst/gstevent.c: (gst_event_new_buffersize),
2373 (gst_event_parse_buffersize):
2375 New event for future idea.
2377 2005-10-07 Andy Wingo <wingo@pobox.com>
2379 * gst/gstelement.c (gst_element_post_message): Doc update.
2381 * docs/gst/gstreamer-sections.txt: Update.
2383 * gst/gstmessage.c (gst_message_new_application): Made into a
2384 function like honest API calls.
2385 (gst_message_new_element): New message type.
2387 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2389 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2390 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2393 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2394 NO_PREROLL from gst_element_change_state to fall through.
2396 2005-10-07 Wim Taymans <wim@fluendo.com>
2398 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2399 (gst_ghost_pad_do_activate_push):
2400 Activating a ghostpad with no internal pad in push mode
2403 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2406 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2407 Fixes compilation on Windows.
2409 2005-10-07 Michael Smith <msmith@fluendo.com>
2411 * tools/gst-inspect.c:
2412 Print out feature and plugin count at the end when printing out
2415 2005-10-04 Michael Smith <msmith@fluendo.com>
2417 * gst/gsterror.c: (_gst_stream_errors_init):
2418 Add another error string used in a few existing plugins.
2421 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2422 * tools/gst-inspect.c: (print_element_info):
2423 When a feature disappears from a plugin (and the feature exists in
2424 the cached registry file), things went horribly wrong. This isn't a
2425 complete fix, we should actually be removing the 'missing' features
2426 from the features list when we load the actual plugin. That's not
2429 2005-10-04 Johan Dahlin <johan@gnome.org>
2431 * check/gst/gstiterator.c: (GST_START_TEST):
2432 * gst/gstbin.c: (gst_bin_iterate_elements),
2433 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2434 * gst/gstelement.c: (gst_element_iterate_pads):
2435 * gst/gstformat.c: (gst_format_iterate_definitions):
2436 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2437 (gst_iterator_new_list), (gst_iterator_filter):
2438 * gst/gstiterator.h:
2439 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2440 Add a GType to GstIterator, update callsites and tests.
2442 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2444 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2445 give events a chance to be handled by event probes when the pad
2448 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2450 * gst/gstevent.c: (gst_event_type_get_name),
2451 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2453 add string representations for event types
2455 2005-10-06 Wim Taymans <wim@fluendo.com>
2457 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2458 Don't use NULL pointers.
2460 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2462 * gst/gst_private.h:
2466 * gst/gstpluginfeature.c:
2467 widen the debug category in output to fit the biggest one we have
2468 add a bus category and use it
2469 play with the colors
2470 fix up some categories
2472 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2474 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2475 add push activation of sink ghost pads.
2476 Andye, please verify
2478 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2480 * gst/gstutils.c: (gst_element_link_pads):
2481 fix a bug in the case where neither element has a pad
2482 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2483 add a test for that case
2485 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2487 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2488 emit have-data before checking for peers. This allows
2489 for probe handlers to connect elements. This helps autopluggers.
2490 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2492 add six checks, linked/unlinked with no/true/false probe
2494 2005-10-04 Wim Taymans <wim@fluendo.com>
2496 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2497 (gst_fake_sink_event), (gst_fake_sink_preroll),
2498 (gst_fake_sink_render), (gst_fake_sink_change_state):
2499 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2500 (gst_fake_src_get_property), (gst_fake_src_create),
2501 (gst_fake_src_stop):
2502 * gst/elements/gstidentity.c: (gst_identity_stop):
2503 Protect last_message with lock.
2505 2005-10-04 Edward Hervey <edward@fluendo.com>
2508 Added precision in the comments for GST_FORMAT_DEFAULT
2510 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2512 * tools/gst-launch.c: (main):
2513 Don't try to run erroneous pipelines.
2515 2005-10-04 Julien MOUTTE <julien@moutte.net>
2517 * gst/gstbus.c: We don't need this header.
2519 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2524 === release 0.9.3 ===
2526 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2530 Releasing 0.9.3, "Unregistered"
2532 2005-10-03 Andy Wingo <wingo@pobox.com>
2534 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2535 whereby calling a pad's activatepush() function can start a thread
2536 that starts to push or pull before the pad gets the FLUSHING flag
2537 unset. Hack around it by holding the stream lock until the flag is
2538 set. Need to replace this with a proper solution. Together with
2539 the ghost pad fixes, this fixes mp3 playing/tagreading.
2541 * docs/design/part-gstghostpad.txt: Add a note about activation of
2542 proxy pads outside of ghost pads.
2544 * gst/gstghostpad.c: Implement the ghost pad activation design.
2546 2005-10-02 Andy Wingo <wingo@pobox.com>
2548 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2549 It is volatile, after all.
2551 * docs/design/part-gstghostpad.txt: Flesh out activation with
2554 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2557 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2560 Fix (unused) AM_CONDITIONAL tests.
2562 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2564 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2566 * gst/gstutils.c: (gst_pad_query_convert):
2567 Add assertion that makes sure src_val is >=0, just like
2568 gst_query_new_convert() has. (#315895)
2570 2005-09-30 Edward Hervey <edward@fluendo.com>
2572 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2573 Let's not iterate pads we're not interested in, it avoids getting
2574 sky-high refcounts on sinkpad.
2576 2005-09-30 Wim Taymans <wim@fluendo.com>
2578 * gst/gstelement.c: (gst_element_set_state),
2579 (gst_element_change_state):
2580 Small tweak, element in ASYNC remains ASYNC.
2582 2005-09-30 Wim Taymans <wim@fluendo.com>
2584 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2585 Only error is an error.
2587 * gst/gstbin.c: (gst_bin_change_state):
2590 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2591 Also call pad_block in pad alloc.
2593 * gst/gstutils.c: (gst_flow_get_name):
2596 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2598 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2599 (gst_base_src_get_range):
2600 Fix documentation typos. Add some more debug info.
2602 2005-09-29 David Schleef <ds@schleef.org>
2604 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2605 more end-user friendly.
2606 * tools/gst-inspect.c: (main): Check if command-line argument is
2607 a file and attempt to load that file as a plugin.
2609 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2611 * check/gst/gstbin.c:
2612 * check/states/sinks.c:
2613 fix tests for the new warning
2614 * check/gst/gstpipeline.c:
2615 add a test for pipeline and bus interaction
2617 elements should be NULL if they get disposed; add a warning if not
2619 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2622 for 2.6 refcounting, make debug log more correct by printing
2623 the actual refcounts at the time of swap (Wim)
2625 2005-09-29 Andy Wingo <wingo@pobox.com>
2627 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2628 removes signal watches previously added via
2629 gst_bus_add_signal_watch.
2630 (gst_bus_add_signal_watch): Don't return the source id, just store
2631 it on the bus if there wasn't an id already.
2633 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2634 add_signal_watch and remove_signal_watch.
2636 2005-09-29 Edward Hervey <edward@fluendo.com>
2638 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2639 Better if we actually iterate the list :)
2641 2005-09-29 Wim Taymans <wim@fluendo.com>
2643 * check/gst/gstbin.c: (GST_START_TEST):
2644 Change for new bus API.
2646 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2647 (send_messages), (GST_START_TEST), (gstbus_suite):
2648 Change for new bus signal API.
2650 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2651 (gst_bus_source_prepare), (gst_bus_source_check),
2652 (gst_bus_create_watch), (gst_bus_add_watch_full),
2653 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2654 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2656 Remove support for multiple GSources operating on different
2657 message types as it is too complex and unneeded when using
2659 Added support for receiving signals from the bus.
2661 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2663 * docs/libs/tmpl/gstdataprotocol.sgml:
2664 * docs/manual/advanced-dataaccess.xml:
2665 * gst/elements/gstcapsfilter.c:
2667 rename filter-caps to caps property
2669 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2671 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2672 More robust fraction string parsing.
2674 * docs/pwg/appendix-porting.xml:
2675 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2677 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2679 * gst/gstcaps.c: (gst_caps_do_simplify):
2680 Thou shalt not free a structure and then continue using it
2681 in the next loop iteration.
2683 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2685 Add test case for caps simplification.
2687 2005-09-29 Wim Taymans <wim@fluendo.com>
2689 * check/gst/gstbin.c: (GST_START_TEST):
2692 2005-09-29 Wim Taymans <wim@fluendo.com>
2694 * check/gst/gstbin.c: (GST_START_TEST):
2697 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2698 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2699 (find_element), (gst_bin_sort_iterator_next),
2700 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2701 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2702 (gst_bin_change_state), (gst_bin_dispose):
2703 A bin does not have a bus, it gets the bus from the parent.
2705 * gst/gstelement.c: (gst_element_requires_clock),
2706 (gst_element_provides_clock), (gst_element_is_indexable),
2707 (gst_element_is_locked_state), (gst_element_change_state),
2708 (gst_element_set_bus_func):
2711 * gst/gstpipeline.c: (gst_pipeline_class_init),
2712 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2713 The pipeline provides a bus.
2715 2005-09-28 Johan Dahlin <johan@gnome.org>
2717 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2718 gst_structure_get_enum instead of gst_structure_get_int
2720 * gst/gststructure.c (gst_structure_get_enum): Impl.
2722 * gst/gststructure.h (gst_structure_get_enum): Add
2724 * docs/gst/gstreamer-sections.txt: Ditto
2726 * gst/gstmessage.c (gst_message_new_state_changed): Use
2727 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2728 which does introspection.
2729 Reviewed by Christian Schaller
2731 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2733 * gst/gstinfo.c: (gst_debug_log_default):
2734 don't do dummy g_strdup()s
2735 * libs/gst/controller/gstcontroller.c:
2736 (on_object_controlled_property_changed),
2737 (gst_controlled_property_new), (gst_controller_new_valist),
2738 (gst_controller_new_list),
2739 (gst_controller_remove_properties_valist), (gst_controller_set),
2740 (gst_controller_get), (gst_controller_sync_values),
2741 (gst_controller_get_value_array), (_gst_controller_class_init),
2742 (gst_controller_get_type):
2743 * libs/gst/controller/gstcontroller.h:
2744 * libs/gst/controller/gstinterpolation.c:
2745 (gst_controlled_property_find_timed_value_node):
2746 convert // to /**/ comments
2748 2005-09-28 Wim Taymans <wim@fluendo.com>
2750 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2751 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2752 (gst_bus_sync_signal_handler):
2754 Added async-message and sync-message signals to the bus.
2755 Added helper BusFunc to emit signals for all posted messages.
2757 * gst/gstmessage.c: (gst_message_type_get_name),
2758 (gst_message_type_to_quark), (gst_message_get_type):
2760 Register quarks for message names.
2762 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2764 * docs/libs/gstreamer-libs-sections.txt:
2765 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2766 (gst_controller_new_list):
2767 * libs/gst/controller/gstcontroller.h:
2768 added another constructor for language bindings
2770 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2772 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2776 * gst/gstinfo.c: (_gst_debug_init):
2777 slightly more readable color for refcount debugging
2779 2005-09-28 Wim Taymans <wim@fluendo.com>
2781 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2782 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2783 (find_element), (gst_bin_sort_iterator_next),
2784 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2785 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2786 (gst_bin_change_state), (gst_bin_dispose):
2787 Small doc fixes. get_clock -> provide_clock.
2789 * gst/gstelement.c: (gst_element_class_init),
2790 (gst_element_provides_clock), (gst_element_provide_clock),
2791 (gst_element_get_clock), (gst_element_commit_state),
2792 (gst_element_lost_state):
2794 Make get/set_clock() symetric. Add provide_clock vmethod since
2795 that is actually what this function does.
2797 * gst/gstpipeline.c: (gst_pipeline_class_init),
2798 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2799 (gst_pipeline_get_clock):
2800 get_clock -> provide_clock.
2802 2005-09-28 Andy Wingo <wingo@pobox.com>
2804 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2805 lieu of real docs...
2807 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2809 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2811 * gst/elements/gstcapsfilter.c:
2812 * gst/elements/gstfakesink.c:
2813 * gst/elements/gstfakesrc.c:
2814 * gst/elements/gstfdsink.c:
2815 * gst/elements/gstfdsrc.c:
2816 * gst/elements/gstfilesink.c:
2817 * gst/elements/gstfilesrc.c:
2818 * gst/elements/gstidentity.c:
2819 * gst/elements/gsttee.c:
2820 * gst/elements/gsttypefindelement.c:
2821 Make element details static.
2823 2005-09-28 Wim Taymans <wim@fluendo.com>
2825 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2826 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2827 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2828 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2829 (gst_bin_change_state), (gst_bin_dispose):
2830 Some documentation updates.
2831 Clean up dispose handlers.
2833 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2834 * gst/gstpad.c: (gst_pad_dispose):
2835 Clean up dispose handler.
2837 * gst/gstpipeline.c: (gst_pipeline_change_state):
2838 Removed spurious UNLOCK.
2840 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2842 * docs/gst/gstreamer-sections.txt:
2843 * gst/base/gstbasesrc.h:
2848 * gst/gstpipeline.c:
2849 * gst/gstpipeline.h:
2852 added two new functions to the docs
2853 documents all undocumented GstXXXFlags
2854 completed some incomplete docs
2856 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2858 * gst/gstbin.c: (gst_bin_dispose):
2859 * gst/gstelement.c: (gst_element_dispose):
2860 remove now useless and leaky resurrection code in dispose
2861 * gst/base/gstbasesrc.c: (gst_base_src_init):
2862 * gst/gstelementfactory.c: (gst_element_factory_create):
2863 * gst/gstobject.c: (gst_object_set_parent):
2866 2005-09-27 Wim Taymans <wim@fluendo.com>
2868 * docs/design/part-TODO.txt:
2871 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2872 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2873 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2874 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2875 (gst_bin_change_state):
2877 Remove element variable, we keep element info in the iterator now.
2879 2005-09-27 Andy Wingo <wingo@pobox.com>
2881 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2884 2005-09-27 Wim Taymans <wim@fluendo.com>
2886 * check/gst/gstbin.c: (GST_START_TEST):
2887 Enable check that works now.
2889 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2890 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2891 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2892 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2893 (gst_bin_change_state):
2895 Redid the state change algorithm using a topological sort algo.
2896 Handles all cases correctly.
2897 Exposed iterator for state change order.
2900 Temp storage for state changes. Need to get rid of this soon.
2902 2005-09-27 Wim Taymans <wim@fluendo.com>
2904 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2905 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2906 (link_fold_func), (gst_pad_proxy_setcaps):
2907 Leak fixes, the fold functions need to unref the passed object and
2908 _get_parent_*() returns ref to parent.
2910 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2912 * check/gst/gstbuffer.c: (test_make_writable):
2913 Plug leak in test case and fix 'make check-valgrind'
2915 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2917 * gst/gstbuffer.c: (gst_subbuffer_init):
2918 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2919 works correctly in all circumstances (we could have just copied
2920 the parent buffer's readonly flag, but conceptually it seems
2921 cleaner to mark all subbuffers as read-only). (based on patch
2922 by Alessandro Decina, #314710).
2924 * check/gst/gstbuffer.c: (create_read_only_buffer),
2925 (test_make_writable), (test_subbuffer_make_writable),
2927 Add some tests for gst_buffer_make_writable().
2929 2005-09-27 Wim Taymans <wim@fluendo.com>
2931 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2932 use gst_object_has_ancestor().
2934 * gst/gstobject.c: (gst_object_has_ancestor):
2936 gst_object_has_ancestor() copied from gstbin.c as it is a
2939 * tests/instantiate/create.c: (create_all_elements):
2940 * tests/lat.c: (handoff_src), (handoff_sink):
2941 * tests/sched/runxml.c: (main):
2942 * tests/seeking/seeking1.c: (main):
2943 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2945 Fix compilation of some tests.
2947 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2950 Remove comment. GST_TYPE_G_ERROR is here to stay,
2951 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2954 2005-09-26 Wim Taymans <wim@fluendo.com>
2956 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2957 Added check that shows error in state change order.
2959 2005-09-26 Wim Taymans <wim@fluendo.com>
2961 * gst/gstbin.c: (gst_bin_change_state):
2962 Make state change function use 3 queues again, we were
2963 adding elements in the wrong order.
2965 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2968 * gst/gstpad.c: (gst_pad_dispose):
2969 Added some debug info first.
2971 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2973 * docs/design/draft-push-pull.txt:
2974 * docs/design/part-events.txt:
2975 * docs/design/part-overview.txt:
2976 * docs/design/part-scheduling.txt:
2977 Replace all _pull_region() with _pull_range()
2979 2005-09-26 Andy Wingo <wingo@pobox.com>
2981 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2983 * check/gst-libs/controller.c: Update for controller api change.
2986 * tests/Makefile.am:
2987 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2988 over by GLib bug 118439.
2990 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2991 routines to a function.
2993 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2995 * libs/gst/controller/gsthelper.c:
2996 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2997 (gst_object_sync_values): Renamed from sink_values. Ugh.
2999 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3001 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3002 Renamed from controller_key, as it is exported.
3004 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3006 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3011 * gst/gstpadtemplate.h:
3014 * gst/gstqueryutils.c:
3015 * gst/gstqueryutils.h:
3016 remove queryutils headers after moving the two used functions
3017 to gstquery. also fixes build problem for gstsiddec
3019 2005-09-26 Michael Smith <msmith@fluendo.com>
3021 * tools/gst-launch.1.in:
3022 Correct documentation in manpage of debug syntax
3024 2005-09-26 Wim Taymans <wim@fluendo.com>
3026 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3027 (gst_base_src_is_seekable), (gst_base_src_change_state):
3028 Some more debugging info.
3030 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3032 * docs/gst/gstreamer-sections.txt:
3033 * gst/base/gstbasetransform.h:
3037 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3039 * docs/gst/.cvsignore:
3040 * docs/gst/tmpl/.cvsignore:
3041 * docs/gst/tmpl/gstpipeline.sgml:
3042 * docs/gst/tmpl/gstplugin.sgml:
3043 * gst/gstpipeline.c:
3046 inlined the last two docs files
3047 removed the tmpl directory from cvs (no more conflicts here!)
3049 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3051 * docs/gst/gstreamer-sections.txt:
3052 * docs/gst/tmpl/.cvsignore:
3053 * docs/gst/tmpl/gstpad.sgml:
3054 * docs/gst/tmpl/gstpadtemplate.sgml:
3056 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3057 (gst_pad_finalize), (gst_pad_set_pad_template):
3059 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3060 (gst_pad_template_class_init), (gst_pad_template_init),
3061 (gst_pad_template_dispose), (name_is_valid),
3062 (gst_static_pad_template_get), (gst_pad_template_new),
3063 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3064 (gst_pad_template_pad_created):
3065 * gst/gstpadtemplate.h:
3066 inlined two more docs
3067 factored gstpadtemplate out of gstpad
3069 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3071 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3072 (test_children_state_change_order_semi_sink):
3073 Fix test case: we can't rely on a fixed state change order when
3074 going from READY => PAUSED because the sink might commit its
3075 new state first when the first buffer created by the source
3076 reaches the sink before the source has finished its change state.
3077 (Test case still fails at times, see #316856, comment 5 onwards)
3079 2005-09-24 Wim Taymans <wim@fluendo.com>
3081 * docs/design/part-events.txt:
3082 * docs/design/part-gstbus.txt:
3083 * docs/design/part-gstpipeline.txt:
3084 * docs/design/part-messages.txt:
3085 * docs/design/part-overview.txt:
3086 * docs/design/part-segments.txt:
3093 * gst/gstiterator.c:
3094 Various documentation updates.
3096 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3099 Well, that's embarassing. Luckily we weren't using
3100 GST_CLOCK_DIFF anywhere.
3102 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3104 * common/gtk-doc.mak:
3105 don't fail on building XML, FC4 slave shows a bunch of doc
3106 missing bits that I don't get
3108 * gst/gstpipeline.c:
3109 * gst/gststructure.c:
3112 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3114 * docs/design/part-gstbin.txt:
3115 * docs/design/part-gstbus.txt:
3117 Add blurb about how the bus goes into flushing mode and
3118 drops all messages when its bin goes from READY into NULL
3121 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3123 * docs/gst/gstreamer-sections.txt:
3124 * gst/gststructure.c: (gst_structure_get_clock_time):
3125 * gst/gststructure.h:
3126 add a method to get a GstClockTime out of a structure
3128 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3130 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3131 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3132 Added test to check state change order in bins (can still be made
3133 to fail here under heavy disk load; bails out with 'Push on pad
3134 fakesink:sink0, but it was not activated in push mode').
3136 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3137 Fix state change order when there is only a semi sink (#316856)
3139 * gst/gstbus.c: (gst_bus_class_init):
3140 Use _class_peek_parent(), not _class_ref(); fix docs to say
3141 'default main context' instead of 'mainloop' where that is
3144 * gst/gstelement.c: (gst_element_commit_state),
3145 (gst_element_set_state):
3146 Fix typos in debug messages
3148 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3151 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3152 * gst/gstpluginfeature.c:
3155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3156 change an assert into an error until it gets fixed properly
3158 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3160 * docs/gst/gstreamer-sections.txt:
3161 * docs/gst/tmpl/.cvsignore:
3162 * docs/gst/tmpl/gstelement.sgml:
3163 * docs/gst/tmpl/gstinfo.sgml:
3164 * docs/gst/tmpl/gstobject.sgml:
3169 * gst/gstobject.c: (gst_object_class_init):
3171 inlined 3 more biiiig doc files and added some missing docs on the fly
3173 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3175 * check/gst/.cvsignore:
3176 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3177 * gst/gstregistryxml.c: (load_plugin),
3178 (gst_registry_xml_save_plugin):
3179 put back source in registry. add checks for find_plugin.
3180 * testsuite/states/bin.c: (assert_state), (empty_bin),
3181 (test_adding_one_element), (main):
3182 * testsuite/states/locked.c: (main):
3183 some compile/run fixes
3185 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3187 * check/gst/gstvalue.c: (GST_START_TEST):
3188 fix leaks in the test itself
3190 2005-09-22 Wim Taymans <wim@fluendo.com>
3192 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3193 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3194 (gst_base_sink_query):
3195 Prepare for more accurate position reporting and query
3198 * gst/gstelement.c: (gst_element_send_event),
3199 (gst_element_set_state):
3202 2005-09-22 Wim Taymans <wim@fluendo.com>
3204 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3205 (gst_query_parse_segment):
3208 Add segment query for future use.
3210 2005-09-22 Wim Taymans <wim@fluendo.com>
3212 * gst/gstbin.c: (gst_bin_add_func):
3213 Some more debug info.
3215 * gst/gstelement.c: (gst_element_send_event):
3219 Don't know how flags got broken.
3224 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3226 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3227 Add simplistic test suite for GST_TYPE_DATE serialisation and
3230 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3232 * docs/gst/gstreamer-sections.txt:
3233 * gst/gststructure.c: (gst_structure_set_valist),
3234 (gst_structure_get_date):
3235 * gst/gststructure.h:
3236 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3237 (gst_date_copy), (gst_value_compare_date),
3238 (gst_value_serialize_date), (gst_value_deserialize_date),
3239 (gst_value_transform_date_string),
3240 (gst_value_transform_string_date), (_gst_value_initialize):
3242 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3243 bunch of utility functions along with a hack that checks that
3244 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3245 is required. Part of the grand scheme in #170777.
3247 2005-09-22 Andy Wingo <wingo@pobox.com>
3249 * gst/gstconfig.h.in: Psych out gtk-doc.
3251 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3253 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3255 * tools/gst-inspect.c (print_element_list): Plug some
3256 inconsequential leaks.
3258 * gst/gstregistry.c (gst_registry_get_default): Doc.
3260 * check/gst/gstplugin.c:
3261 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3262 * gst/gstelementfactory.c (gst_element_factory_create):
3263 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3266 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3267 (gst_plugin_feature_load): Doc, don't eat refs.
3269 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3270 (gst_plugin_list_free): Doc.
3271 (gst_plugin_load_file): Doc updates.
3273 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3274 accessors returning refcounted objects, return a ref.
3276 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3277 accessor for caps. IDEMPOTENCE. Oh yes.
3279 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3281 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3283 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3284 (_gst_debug_register_funcptr):
3285 Add mutex to serialise access to the hash table with
3286 the function pointer => function name string mapping;
3287 make that hash table static scope (#316809).
3289 * gst/registries/.cvsignore:
3290 Remove left-over file.
3292 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3294 * docs/pwg/appendix-porting.xml:
3295 And something about newsegment events and caps-on-buffers to
3296 the porting guide (feel free to improve).
3298 2005-09-21 Andy Wingo <wingo@pobox.com>
3300 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3301 data and event probes on the same pad.
3302 (test_buffer_probe_once): Test that removing probes from within
3303 the probe functions works.
3305 2005-09-21 Andy Wingo <wingo@pobox.com>
3307 * check/gst/gstutils.c: New file.
3308 (test_buffer_probe_n_times): A simple buffer probe test. More to
3311 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3312 have-data::buffer, not have-data.
3313 (gst_pad_add_event_probe): Likewise for have-data::event.
3314 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3315 peer' isn't quite right yet though.
3316 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3317 (gst_pad_remove_data_probe): Change to take the guint handler_id
3318 as their arg, not the function+data, which is more glib-like.
3320 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3321 the signal emission to indicate if the data is a buffer or an
3323 (gst_pad_get_type): Initialize buffer and event quarks.
3324 (gst_pad_class_init): have-data is now a detailed signal, yes it
3327 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3329 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3330 * gst/gstutils.c: (gst_util_set_value_from_string),
3331 (gst_util_set_object_arg):
3332 Don't put functional code in g_return_if_fail() or
3333 g_return_val_if_fail() statements, otherwise things will
3334 break when G_DISABLE_CHECKS is defined during compilation.
3336 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3338 * docs/gst/tmpl/.cvsignore:
3339 * docs/gst/tmpl/gstvalue.sgml:
3342 inlied another one and added some obvious docs
3344 2005-09-21 Wim Taymans <wim@fluendo.com>
3346 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3347 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3348 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3349 (gst_fdsrc_get_property), (gst_fdsrc_create):
3350 * gst/elements/gstfdsrc.h:
3351 Properly implement fdsrc. Removed signal and timeout,
3352 better implemented somewhere else.
3354 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3356 * docs/gst/tmpl/.cvsignore:
3357 * docs/gst/tmpl/gstimplementsinterface.sgml:
3358 * gst/gstinterface.c:
3361 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3363 * docs/gst/gstreamer-sections.txt:
3364 * docs/gst/tmpl/.cvsignore:
3365 * docs/gst/tmpl/gstenumtypes.sgml:
3366 remove obsolete doc file
3368 2005-09-21 David Schleef <ds@schleef.org>
3370 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3371 little beer, fix a little leak.
3373 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3375 * docs/gst/gstreamer-docs.sgml:
3376 * docs/gst/gstreamer-sections.txt:
3377 * docs/gst/tmpl/.cvsignore:
3382 * gst/gstindex.c: (gst_index_class_init):
3384 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3385 (gst_index_factory_class_init), (gst_index_factory_init),
3386 (gst_index_factory_finalize), (gst_index_factory_new),
3387 (gst_index_factory_destroy), (gst_index_factory_find),
3388 (gst_index_factory_create), (gst_index_factory_make):
3389 * gst/gstindexfactory.h:
3390 * gst/gstpluginfeature.c:
3391 * gst/gstpluginfeature.h:
3392 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3393 more docs inlined, splitted gstindex.{c,h}
3395 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3397 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3400 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3402 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3403 Set sync to FALSE by default.
3405 2005-09-20 Wim Taymans <wim@fluendo.com>
3407 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3408 (gst_base_sink_init):
3409 Make sync property settable from subclass.
3411 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3412 (gst_fake_sink_change_state):
3413 Set sync to FALSE by default.
3415 2005-09-20 Wim Taymans <wim@fluendo.com>
3417 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3418 * tools/gst-launch.c: (main):
3419 The timeout handler should have lower priority than the source
3420 so we don't timeout before popping a message with 0 timeout.
3421 Dump error messages after failed state change.
3423 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3425 * tools/gst-inspect.c: (print_element_properties_info):
3428 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3430 * check/gst/gstevent.c:
3431 * gst/elements/gstfakesink.c:
3432 * gst/elements/gstfakesink.h:
3433 remove the sync property from fakesink.
3434 has the side effect of setting sync TRUE
3435 for fakesink, which is a change. Anyone who knows how
3436 to fix this nicely in a GObject-y way, feel free.
3438 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3440 * docs/gst/gstreamer-docs.sgml:
3441 remove probe refsection
3443 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3445 * check/Makefile.am:
3446 disable valgrinding the controller test again
3447 * docs/gst/gstreamer-sections.txt:
3448 update for api-changes
3450 2005-09-20 Wim Taymans <wim@fluendo.com>
3452 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3453 (gst_base_sink_set_property), (gst_base_sink_get_property),
3454 (gst_base_sink_do_sync):
3455 * gst/base/gstbasesink.h:
3456 Added sync property to basesink to disable clock sync.
3458 2005-09-20 Andy Wingo <wingo@pobox.com>
3460 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3461 eating the caller's refcount.
3463 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3464 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3467 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3468 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3469 of GLib 2.8 public, so we can know which refcount to check in
3472 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3473 (gst_object_init): Only set the gst refcount if we're going ahead
3474 with the refcount hack.
3476 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3478 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3479 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3480 more leaks plumbed, added more debug-logging
3484 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3487 remove include of gstmemchunk.h
3489 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3491 * gst/gstclock.c: (_gst_clock_id_free):
3492 Commit from the Political Party For More Atomic CVS Commits,
3493 so that people don't waste too much of their day fishing
3494 out obvious leaks out of massive commits.
3495 Oh, and fix a pretty damn obvious leak in the memchunk
3498 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3500 * check/Makefile.am:
3501 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3502 plug mem-leak, re-add to valgrindable tests
3504 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3507 unbreak the build for those who have chronic arthritis
3508 and typing "make check" is just too taxing on the hands
3510 2005-09-20 Andy Wingo <wingo@pobox.com>
3512 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3513 really want it out, you should fix plugins at the same time.
3515 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3518 * docs/gst/gstreamer-sections.txt:
3520 added missing symbols to api docs
3521 disable ref-count hack if we have glib >= 2.8
3523 2005-09-19 David Schleef <ds@schleef.org>
3525 * docs/gst/Makefile.am: Ignore a few more internal headers
3526 * docs/gst/gstreamer-docs.sgml: Remove old sections
3527 * docs/gst/gstreamer-sections.txt: Remove old sections
3528 * docs/gst/tmpl/gstobject.sgml: update
3529 * docs/gst/tmpl/gstplugin.sgml: update
3530 * docs/gst/tmpl/gstpluginfeature.sgml: update
3531 * docs/random/ds/0.9-suggested-changes: update.
3532 * gst/Makefile.am: remove memchunk and trashstack, since they're
3534 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3535 * gst/gst.h: don't include some headers
3536 * gst/gstchildproxy.c: add gstmarshal.h
3537 * gst/gstclock.c: Don't use memchunks
3538 * gst/gstminiobject.c: Add some docs
3539 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3540 * gst/gstobject.h: same
3541 * gst/gstplugin.c: include gstmacros.h
3542 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3543 * gst/gstquery.c: don't use memchunks
3544 * gst/gstregistry.c: rename gst_registry_deinit()
3545 * gst/gstregistry.h: same
3547 2005-09-19 David Schleef <ds@schleef.org>
3549 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3550 * docs/libs/gstreamer-libs-sections.txt:
3551 * docs/libs/tmpl/gstgetbits.sgml:
3552 * docs/libs/tmpl/gstputbits.sgml:
3554 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3556 * win32/gstenumtypes.c:
3557 * win32/gstenumtypes.h:
3560 2005-09-19 Wim Taymans <wim@fluendo.com>
3562 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3563 Automatically PAUSE and RESUME a pipeline when a flushing seek
3566 2005-09-19 Andy Wingo <wingo@pobox.com>
3568 * gst/gstregistry.h: Spacing fixen.
3570 2005-09-19 Wim Taymans <wim@fluendo.com>
3572 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3573 Handle state change failure more correctly.
3575 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3577 * check/Makefile.am:
3578 * check/pipelines/cleanup.c: (run_pipeline):
3579 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3581 enable cleanup again after fixing the leak
3583 some more info on docs
3585 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3587 * check/Makefile.am:
3588 re-enable tests now that leaks are plugged
3590 * check/gst/gstbin.c:
3591 * check/gst/gstpipeline.c:
3592 add some more tests while fixing leaks
3594 make sure binaries are uptodate when valgrinding/gdbing
3596 * gst/gstelementfactory.c:
3597 remove a ref too many, and add a FIXME for when we get
3598 round to disposing of classes
3600 fix the refcounting when loading a plugin from a file and
3601 the code pretends that the pointer is the same even though
3602 of course it can change
3603 * gst/gstpluginfeature.c:
3604 unref plugins marked cached (a bit confusing as a name)
3605 as the docs state should be done
3606 various doc additions to explain refcounting
3607 * gst/gstregistry.c:
3608 * gst/gstregistryxml.c:
3611 2005-09-19 Wim Taymans <wim@fluendo.com>
3613 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3614 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3615 (send_messages), (GST_START_TEST), (gstbus_suite):
3616 * check/gst/gstpipeline.c: (GST_START_TEST):
3617 * check/pipelines/cleanup.c: (run_pipeline):
3618 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3620 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3621 (gst_bus_source_check), (gst_bus_source_dispatch),
3622 (gst_bus_create_watch), (gst_bus_add_watch_full),
3623 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3625 * tools/gst-launch.c: (event_loop):
3626 * tools/gst-md5sum.c: (event_loop):
3627 GstBusHandler -> GstBusFunc, return value has the same meaning as
3628 any other GSource (FALSE == remove source).
3629 _add_watch() and _add_watch_full() now take a MessageType mask to
3630 only handle specific types of messages.
3631 _poll() returns the GstMessage instead of the message type to avoid
3633 _have_pending() takes a MessageType mask now too.
3634 Added testsuite for multiple bus watches.
3635 Fix testsuites and applications for new bus API.
3637 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3639 * check/Makefile.am:
3640 mark a bunch of the tests as to fix until we fix them
3642 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3645 use GST_PLUGIN settings for valgrind tests as well, so we're
3646 valgrinding the correct thing
3647 * gst/gst.c: (init_post):
3650 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3652 * gst/gst.c: (init_post), (gst_deinit):
3653 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3654 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3655 * gst/gstindex.c: (gst_index_factory_class_init),
3656 (gst_index_factory_finalize):
3657 * gst/gstobject.c: (gst_object_dispose):
3658 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3659 (gst_plugin_load_file), (gst_plugin_desc_free):
3660 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3661 (gst_plugin_feature_finalize):
3662 * gst/gstregistry.c: (gst_registry_class_init),
3663 (gst_registry_init), (gst_registry_finalize),
3664 (gst_registry_get_default), (gst_registry_deinit):
3665 * gst/gstregistry.h:
3666 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3667 various cleanups and memleak plugging. make valgrind is happy now.
3669 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3672 add a check-valgrind target
3674 2005-09-18 David Schleef <ds@schleef.org>
3676 * tools/gst-inspect.c: Revert the GOption code.
3678 2005-09-17 David Schleef <ds@schleef.org>
3680 * check/Makefile.am: Fix environment variables.
3681 * check/gst/gstplugin.c: Fix for API changes.
3682 * tools/gst-inspect.c: Fix for API changes.
3683 * tools/gst-xmlinspect.c: Fix for API changes.
3684 * gst/gstelementfactory.c:
3687 * gst/gstpluginfeature.c:
3688 * gst/gstpluginfeature.h:
3689 * gst/gstregistry.c:
3690 * gst/gstregistry.h:
3691 * gst/gstregistryxml.c:
3692 * gst/gsttypefind.c:
3693 * gst/gsttypefindfactory.c:
3694 * gst/indexers/gstfileindex.c:
3695 * gst/indexers/gstmemindex.c:
3696 * gst/schedulers/Makefile.am:
3697 Change registry to keep track of both plugins and features,
3698 removing the feature tracking from plugins themselves.
3700 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3702 * check/Makefile.am:
3703 * tools/gst-register.1.in:
3706 2005-09-15 David Schleef <ds@schleef.org>
3708 * check/gst/gstplugin.c:
3709 * gst/gstelementfactory.c:
3711 * gst/gstpluginfeature.c:
3712 * gst/gstregistry.c:
3713 Getting tired of debugging. Disabled all the unreffing of
3714 plugins and features, which fixes the segfaults, but of
3715 course leaks like crazy. At least playbin works.
3717 2005-09-15 David Schleef <ds@schleef.org>
3719 * check/gst/gstplugin.c: (register_check_elements),
3720 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3722 * gst/elements/gsttypefindelement.c: Fix refcounting.
3723 * gst/gsttypefind.c:
3724 * gst/gsttypefindfactory.c:
3725 * gst/gsttypefindfactory.h:
3727 2005-09-15 David Schleef <ds@schleef.org>
3729 * gst/gstindex.c: get refcounting correct.
3730 * gst/gstregistry.c: Handle the case where a feature/plugin is
3733 2005-09-15 David Schleef <ds@schleef.org>
3735 * check/Makefile.am:
3736 * check/gst/gstplugin.c: Add test
3737 * gst/gstplugin.c: Fix problems noticed by testsuite
3739 * gst/gstregistry.c:
3740 * gst/gstregistry.h:
3742 2005-09-15 David Schleef <ds@schleef.org>
3744 * gst/gstplugin.c: Implement semi-decent recounting and locking
3745 in plugins and plugin features.
3747 * gst/gstpluginfeature.c:
3748 * gst/gstpluginfeature.h:
3749 * gst/gstregistry.c:
3751 2005-09-15 Michael Smith <msmith@fluendo.com>
3753 * gst/gstregistry.c: (gst_registry_get_feature_list):
3754 Implement this. Makes oggdemux work; decodebin still broken.
3756 2005-09-14 David Schleef <ds@schleef.org>
3758 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3760 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3761 * gst/check/Makefile.am:
3762 * libs/gst/controller/Makefile.am:
3763 * libs/gst/dataprotocol/Makefile.am:
3765 2005-09-14 David Schleef <ds@schleef.org>
3767 * configure.ac: Remove getbits library. Nothing uses it, and
3768 it should be in something like liboil if someone did want
3770 * libs/gst/Makefile.am:
3771 * libs/gst/getbits/Makefile.am:
3772 * libs/gst/getbits/gbtest.c:
3773 * libs/gst/getbits/getbits.c:
3774 * libs/gst/getbits/getbits.h:
3775 * libs/gst/getbits/gstgetbits_generic.c:
3776 * libs/gst/getbits/gstgetbits_i386.s:
3777 * libs/gst/getbits/gstgetbits_inl.h:
3779 2005-09-14 David Schleef <ds@schleef.org>
3781 * gst/Makefile.am: Dist glib-compat.h
3783 2005-09-14 David Schleef <ds@schleef.org>
3785 * configure.ac: Remove gst/registries, since it's no longer used.
3786 * gst/registries/Makefile.am:
3787 * gst/registries/gstlibxmlregistry.c:
3788 * gst/registries/gstlibxmlregistry.h:
3789 * gst/registries/gstxmlregistry.c:
3790 * gst/registries/gstxmlregistry.h:
3791 * gst/registries/registrytest.c:
3793 2005-09-14 David Schleef <ds@schleef.org>
3795 * gst/glib-compat.h:
3796 * gst/gstregistryxml.c:
3797 Convergence is near. Seriously.
3799 2005-09-14 David Schleef <ds@schleef.org>
3801 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3802 * gst/glib-compat.h:
3803 Attempt #4 to appease the buildbots.
3805 2005-09-14 David Schleef <ds@schleef.org>
3807 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3810 2005-09-14 David Schleef <ds@schleef.org>
3812 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3815 2005-09-14 David Schleef <ds@schleef.org>
3817 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3820 2005-09-14 David Schleef <ds@schleef.org>
3822 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3823 * gst/glib-compat.h: Add some functions that are in newer versions
3824 of glib than we care to require.
3825 * gst/gstregistryxml.c: Use them.
3827 2005-09-14 David Schleef <ds@schleef.org>
3829 * po/POTFILES.in: remove gst-register.c
3831 2005-09-14 David Schleef <ds@schleef.org>
3833 * docs/gst/gstreamer-docs.sgml:
3834 * docs/gst/gstreamer-sections.txt:
3835 * docs/gst/gstreamer.types:
3836 * docs/gst/tmpl/gstelement.sgml:
3837 * docs/gst/tmpl/gstplugin.sgml:
3838 * docs/gst/tmpl/gstpluginfeature.sgml:
3839 Documentation updates for registry changes.
3841 2005-09-14 David Schleef <ds@schleef.org>
3843 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3844 because we don't require glib-2.8.
3846 2005-09-14 David Schleef <ds@schleef.org>
3848 * gst/gstregistryxml.c: Added. Essentially moved out of the
3849 registries directory.
3851 2005-09-14 David Schleef <ds@schleef.org>
3853 * check/Makefile.am:
3854 * check/generic/states.c:
3858 * gst/gst_private.h:
3859 * gst/gstelementfactory.c:
3864 * gst/gstpluginfeature.c:
3865 * gst/gstpluginfeature.h:
3866 * gst/gstregistry.c:
3867 * gst/gstregistry.h:
3868 * gst/gstregistrypool.c: remove
3869 * gst/gstregistrypool.h: remove
3870 * gst/gsttypefind.c:
3871 * gst/gsttypefindfactory.c:
3873 * tools/Makefile.am:
3874 * tools/gst-compprep.c:
3875 * tools/gst-inspect.c:
3876 * tools/gst-register.c: remove
3877 * tools/gst-xmlinspect.c:
3878 Registry rewrite. Changes registry from being a file created
3879 by a tool into a simple cache file created automatically by
3880 libgstreamer. Removed gst-register (because it's no longer
3881 needed). Remove registry pools, because we only have one
3882 registry implementation (XML). Fix up other subsystems as
3885 2005-09-13 Michael Smith <msmith@fluendo.com>
3887 * gst/gstconfig.h.in:
3888 Don't Use windows linking attributes for MinGW. Fixes #316157
3890 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3892 * gst/gstutils.c: (set_state_async_thread_func),
3893 (gst_element_set_state_async):
3894 Apparently people think it's better if this function doesn't
3895 try to set the state to whatever state was asked for on the first
3896 call to this function for any object. Seriously.
3898 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3900 * check/gst/gstpipeline.c: (GST_START_TEST):
3901 * docs/gst/gstreamer-sections.txt:
3902 * gst/gstutils.c: (set_state_async_thread_func),
3903 (gst_element_set_state_async):
3905 add a "gst_element_set_state_async" method that
3906 sets the state and starts a thread to make sure the state
3907 change completes as best as it can
3909 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3911 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3912 codify design+behaviour in testsuite after discussion
3914 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3916 * docs/gst/tmpl/gstelement.sgml:
3917 * docs/manual/appendix-quotes.xml:
3919 * gst/gstelement.c: (gst_element_set_state):
3922 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3924 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3925 (gst_base_transform_prepare_output_buf),
3926 (gst_base_transform_handle_buffer):
3927 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3928 (gst_capsfilter_prepare_buf):
3929 Remove the requirement for sub-classes to call the parent
3930 implementation of prepare_output_buffer with a wrapper function.
3933 * gst/gsttagsetter.h:
3936 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3938 * docs/gst/gstreamer-sections.txt:
3941 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3943 * docs/gst/gstreamer-sections.txt:
3944 * docs/gst/tmpl/gstelement.sgml:
3945 * docs/gst/tmpl/gstplugin.sgml:
3946 * gst/gstminiobject.c:
3948 docs now stop throwing warnings
3950 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3952 * docs/gst/gstreamer-sections.txt:
3953 * docs/gst/gstreamer.types:
3954 * docs/gst/tmpl/gstpad.sgml:
3955 * docs/gst/tmpl/gsttypes.sgml:
3956 * gst/base/gstadapter.h:
3957 * gst/base/gstbasesink.h:
3958 * gst/base/gstbasesrc.h:
3968 * gst/gststructure.c:
3969 * gst/registries/gstlibxmlregistry.h:
3970 various documentation fixes
3972 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3974 * docs/gst/gstreamer-sections.txt:
3975 * docs/gst/tmpl/gstvalue.sgml:
3976 rearrange gstvalue section
3977 * gst/gstutils.c: (gst_element_state_get_name):
3979 * gst/gstvalue.c: (_gst_value_initialize):
3983 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3985 * check/gst-libs/controller.c:
3987 * gst/base/gstbasetransform.c:
3988 (gst_base_transform_default_prepare_buf),
3989 (gst_base_transform_handle_buffer):
3990 * gst/base/gstbasetransform.h:
3991 Some more basetransform changes and fixes to enable sub-classes
3992 that modify buffer metadata only.
3993 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3994 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3995 (gst_capsfilter_prepare_buf):
3996 If the output pad has fixed allowed caps and input buffers
3997 don't have any, set the fixed caps on outgoing buffers.
3999 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4000 * check/elements/identity.c: (GST_START_TEST):
4001 Make the error a little clearer when the test fails because
4002 identity made a copy of the buffer.
4003 * docs/gst/gstreamer-sections.txt:
4004 New symbols in gstbasetransform.h
4005 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4006 (gst_base_transform_init), (gst_base_transform_transform_size),
4007 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4008 (gst_base_transform_default_prepare_buf),
4009 (gst_base_transform_get_unit_size),
4010 (gst_base_transform_buffer_alloc),
4011 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4012 (gst_base_transform_change_state),
4013 (gst_base_transform_set_passthrough),
4014 (gst_base_transform_set_in_place),
4015 (gst_base_transform_is_in_place):
4016 * gst/base/gstbasetransform.h:
4017 Change BaseTransform to separate in_place operate from same_caps
4018 output. in_place implies that the element can perform the transform
4019 on incoming buffers in-place, even if the caps on the output are
4021 Sub-class elements can now implement special buffer allocation
4022 methods for outgoing buffers if they wish to.
4023 Big documentation addition.
4024 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4025 * gst/elements/gstelements.c:
4026 Changes for basetransform modifications.
4027 * gst/elements/Makefile.am:
4028 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4029 Compile fix. Extra debug output.
4031 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4033 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4035 add tests for valid pad naming
4036 * gst/check/gstcheck.c: (gst_check_log_message_func),
4037 (gst_check_log_critical_func):
4039 remove printing of code, it is fragile when the code contains
4040 % and the line number is enough info
4041 * gst/check/gstcheck.h:
4042 * gst/gstpad.c: (gst_pad_template_new):
4045 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4048 say what CHECK flags we use
4049 * docs/libs/gstreamer-libs.types:
4050 * libs/gst/controller/Makefile.am:
4051 * libs/gst/controller/gst-controller.c:
4052 * libs/gst/controller/gst-controller.h:
4053 * libs/gst/controller/gst-helper.c:
4054 * libs/gst/controller/gst-interpolation.c:
4055 * libs/gst/controller/gstcontroller.c:
4056 * libs/gst/controller/gsthelper.c:
4057 * libs/gst/controller/gstinterpolation.c:
4058 * tools/gst-inspect.c: (print_plugin_info):
4059 we don't use dashes in header names
4061 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4063 * check/Makefile.am:
4064 * check/gst/.cvsignore:
4065 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4066 (gst_pipeline_suite), (main):
4067 adding a test for pipelines and state changes
4068 * gst/gstutils.c: (get_state_func):
4070 * gstreamer.spec.in:
4073 2005-09-08 Michael Smith <msmith@fluendo.com>
4075 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4076 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4077 (gst_file_src_is_seekable), (gst_file_src_get_size),
4078 (gst_file_src_start):
4079 * gst/elements/gstfilesrc.h:
4080 Various fixes for unseekable, unmmapable, and non-normal files, so
4081 that fallback to read() rather than mmap() works.
4082 * gst/gstevent.c: (gst_event_new_newsegment):
4083 Allow newsegment events with segment_start == segment_end, as will
4084 correctly happen if you use filesrc on a zero-size file, for
4087 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4089 * gst/gstplugin.c: (gst_plugin_load_file):
4090 Call g_module_close when we don't load the module
4092 * gst/registries/gstlibxmlregistry.c:
4093 (gst_xml_registry_get_property):
4094 Port leak fix from 0.8
4096 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4098 * docs/gst/gstreamer-docs.sgml:
4099 * docs/gst/tmpl/.cvsignore:
4100 * docs/gst/tmpl/gsttrace.sgml:
4101 * docs/gst/tmpl/gsttrashstack.sgml:
4110 * gst/gsttaginterface.c:
4111 * gst/gsttaginterface.h:
4114 * gst/gsttagsetter.c:
4115 * gst/gsttagsetter.h:
4118 * gst/gsttrashstack.c:
4119 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4120 inlined docs for gsttrace, gsttrashstack
4122 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4125 * gst/elements/gstbufferstore.h:
4126 * gst/elements/gsttypefindelement.c:
4127 * gst/elements/gsttypefindelement.h:
4129 * gst/gsttypefind.c:
4130 * gst/gsttypefind.h:
4131 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4132 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4133 (gst_type_find_factory_dispose),
4134 (gst_type_find_factory_unload_thyself),
4135 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4136 (gst_type_find_factory_get_caps),
4137 (gst_type_find_factory_get_extensions),
4138 (gst_type_find_factory_call_function):
4139 * gst/gsttypefindfactory.h:
4140 * gst/registries/gstlibxmlregistry.c:
4141 * gst/registries/gstxmlregistry.c:
4142 splitted gsttypefind into gsttypefind, gsttypefindfactory
4144 2005-09-07 Andy Wingo <wingo@pobox.com>
4146 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4147 condition whereby the pad's task function is entered before the
4148 pad_mode variable was set.
4150 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4152 * gst/gstpad.c: (gst_pad_alloc_buffer):
4153 Catch misbehaving pad_alloc functions that don't
4154 set up caps and do it for them.
4156 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4158 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4160 * docs/gst/tmpl/.cvsignore:
4161 * docs/gst/tmpl/gstmemchunk.sgml:
4162 * docs/gst/tmpl/gstparse.sgml:
4163 * docs/gst/tmpl/gsttaglist.sgml:
4164 * docs/gst/tmpl/gsttagsetter.sgml:
4165 * docs/gst/tmpl/gsttypefind.sgml:
4166 * docs/gst/tmpl/gsttypefindfactory.sgml:
4167 * gst/gstmemchunk.c:
4170 * gst/gsttaginterface.c:
4171 * gst/gsttypefind.c:
4172 * gst/gsttypefind.h:
4175 === release 0.9.2 ===
4177 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4182 releasing 0.9.2, "South"
4184 2005-09-05 Andy Wingo <wingo@pobox.com>
4186 * gst/registries/gstxmlregistry.h:
4187 * gst/registries/gstxmlregistry.c: Um... resurrect...
4189 * gst/registries/gstxmlregistry.h:
4190 * gst/registries/gstxmlregistry.c: and update to newer API.
4191 Incidentally they should be a bit faster now that they don't have
4194 2005-09-05 Andy Wingo <wingo@pobox.com>
4196 * gst/registries/gstxmlregistry.h:
4197 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4198 replaced by the libxml registry a while back
4200 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4202 * docs/gst/tmpl/gstplugin.sgml:
4203 * gst/elements/gstelements.c:
4205 * gst/gstplugin.c: (gst_plugin_register_func),
4206 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4207 (gst_plugin_get_source):
4209 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4210 (gst_xml_registry_save_plugin):
4211 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4212 (gst_xml_registry_save_plugin):
4213 * tools/gst-inspect.c: (print_plugin_info):
4214 add a "source" plugin description field, to represent the source
4215 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4216 will set it to PACKAGE, which is automake's idea of the name of
4219 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4225 * docs/faq/Makefile.am:
4226 * docs/gst/tmpl/gstelement.sgml:
4227 * docs/gst/tmpl/gsttypes.sgml:
4228 * docs/htmlinstall.mak:
4229 * docs/manual/Makefile.am:
4230 * docs/pwg/Makefile.am:
4231 reorganize doc build a little
4232 split out docbook and gtk-doc stuff
4233 have two separate --enable's and enable them through autogen
4234 but disable by default in configure (to be similar to other
4236 * gstreamer.spec.in:
4237 clean up docs install
4257 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4259 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4262 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4263 (gst_fake_sink_change_state):
4264 Make state change function thread-safe.
4266 * gst/gstpad.c: (gst_pad_alloc_buffer):
4267 Set offset on generic buffer allocated by fallback.
4269 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4271 * docs/gst/gstreamer-sections.txt:
4272 * docs/gst/tmpl/gstelement.sgml:
4274 * libs/gst/controller/gst-controller.c:
4275 (gst_controlled_property_set_interpolation_mode),
4276 (gst_controlled_property_new),
4277 (gst_controller_find_controlled_property):
4278 run the wingo-magic script against the docs
4280 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4282 * docs/gst/gstreamer-docs.sgml:
4283 * docs/gst/gstreamer-sections.txt:
4284 * docs/gst/tmpl/.cvsignore:
4285 * docs/gst/tmpl/gstelementdetails.sgml:
4286 * docs/gst/tmpl/gstelementfactory.sgml:
4289 * gst/gstelementfactory.c:
4290 * gst/gstelementfactory.h:
4291 merged elementdetails docs into elementfactory docs
4294 2005-09-02 Andy Wingo <wingo@pobox.com>
4296 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4297 consider this enum an enum and not a flags.
4299 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4301 * docs/gst/gstreamer-docs.sgml:
4302 * docs/gst/tmpl/.cvsignore:
4303 * docs/gst/tmpl/gstghostpad.sgml:
4304 * docs/gst/tmpl/gstiterator.sgml:
4305 * docs/gst/tmpl/gstmacros.sgml:
4306 * docs/gst/tmpl/gstrealpad.sgml:
4307 * docs/gst/tmpl/gstregistry.sgml:
4308 * docs/gst/tmpl/gstregistrypool.sgml:
4309 * docs/gst/tmpl/gststructure.sgml:
4310 * docs/gst/tmpl/gstsystemclock.sgml:
4311 * docs/gst/tmpl/gsttrace.sgml:
4312 * gst/gstghostpad.c:
4314 * gst/gstmemchunk.c:
4315 * gst/gstmemchunk.h:
4317 * gst/gstregistry.c:
4318 * gst/gstregistrypool.c:
4319 * gst/gststructure.c:
4320 * gst/gstsystemclock.c:
4323 2005-09-02 Andy Wingo <wingo@pobox.com>
4325 * gst/gstelement.h (GstState): Renamed from GstElementState,
4326 changed to be a normal enum instead of flags.
4327 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4328 munged to be GST_STATE_CHANGE_*.
4329 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4330 work with the new state representation.
4331 (GstStateChange): New enumeration of possible state transitions.
4332 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4333 (GstElementClass::change_state): Pass the GstStateChange along as
4334 an argument. Helps language bindings, so they don't have to use
4335 tricky lock-needing macros like GST_STATE_CHANGE ().
4337 * scripts/update-states (file): New script. Run it on a file to
4338 update it for state naming and API changes. Updates files in
4341 * All files updated for the new API.
4343 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4345 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4346 * gst/gstutils.c: (gst_util_set_value_from_string),
4347 (gst_util_set_object_arg):
4348 fix a bunch of unchecked return values
4349 * tools/gst-complete.c: (main):
4350 * gstreamer.spec.in:
4353 2005-09-01 Wim Taymans <wim@fluendo.com>
4355 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4356 (gst_base_sink_event), (gst_base_sink_do_sync),
4357 (gst_base_sink_handle_event):
4358 * gst/base/gstbasesink.h:
4359 Handle newsegments more correctly.
4364 * gst/gstevent.c: (gst_event_new_newsegment):
4365 A newsegment cannot have a start_time of -1
4367 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4369 * win32/gstenumtypes.c:
4370 * win32/gstenumtypes.h:
4373 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4375 * libs/gst/controller/gst-controller.c:
4376 (gst_controlled_property_set_interpolation_mode),
4377 (gst_controlled_property_new):
4380 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4382 * docs/faq/gst-uninstalled:
4387 * gst/gstutils.c: (gst_element_link_filtered):
4389 add gst_element_link_filtered
4391 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4393 * docs/gst/gstreamer-docs.sgml:
4394 * docs/gst/gstreamer-sections.txt:
4395 * docs/gst/tmpl/.cvsignore:
4396 * docs/gst/tmpl/gsterror.sgml:
4397 * docs/gst/tmpl/gstfilter.sgml:
4398 * docs/gst/tmpl/gsturihandler.sgml:
4399 * docs/gst/tmpl/gsturitype.sgml:
4400 * docs/gst/tmpl/gstutils.sgml:
4401 * docs/gst/tmpl/gstxml.sgml:
4409 inlined more docs, fixed double id-ref
4411 2005-08-31 Wim Taymans <wim@fluendo.com>
4413 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4414 (gst_base_transform_handle_buffer):
4415 Passthrough elements don't need the caps as they don't care.
4417 2005-08-31 Wim Taymans <wim@fluendo.com>
4419 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4420 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4421 Don't leak refcounts on buffers.
4423 2005-08-31 Wim Taymans <wim@fluendo.com>
4425 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4426 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4427 (gst_base_transform_chain), (gst_base_transform_change_state):
4428 * gst/base/gstbasetransform.h:
4429 Handle the case where we are not negotiated more gracefully.
4431 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4433 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4434 (gst_file_src_map_region):
4435 Set READONLY flag on mmap'ed buffers, otherwise
4436 gst_buffer_make_writable() won't work properly (#314708).
4438 2005-08-31 Wim Taymans <wim@fluendo.com>
4440 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4441 passthrough elements can even do inplace on non writable
4442 buffers (as they don't touch them).
4444 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4446 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4447 (gst_test_mono_source_set_property),
4448 (gst_test_mono_source_class_init), (GST_START_TEST),
4449 (gst_controller_suite):
4450 more tests (hehe I have the most)
4452 describe popping messages whenusing mulltiple sources
4453 * libs/gst/controller/gst-controller.c:
4454 (gst_controlled_property_set_interpolation_mode),
4455 (gst_controlled_property_new):
4456 * libs/gst/controller/gst-controller.h:
4457 * libs/gst/controller/gst-interpolation.c:
4458 implement boolean properties
4460 2005-08-31 Wim Taymans <wim@fluendo.com>
4462 * gst/gstminiobject.c: (gst_mini_object_ref):
4463 Cannot assert that the refcount has to be positive
4464 since a disposed object can be resurrected.
4466 2005-08-31 Wim Taymans <wim@fluendo.com>
4468 * gst/gstpad.c: (gst_pad_init):
4469 Revert change, need to first fix badly behaving
4472 2005-08-30 Wim Taymans <wim@fluendo.com>
4474 * check/elements/fakesrc.c: (setup_fakesrc):
4475 * check/elements/identity.c: (setup_identity):
4476 Activate pads before using them.
4478 2005-08-30 Wim Taymans <wim@fluendo.com>
4480 * gst/base/gstadapter.c: (gst_adapter_flush):
4481 Flushing out 0 bytes is ok for this function.
4483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4484 no newsegment gives a warning and sets the start/stop to
4487 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4488 (gst_base_transform_set_passthrough):
4491 * gst/gstminiobject.c: (gst_mini_object_ref):
4492 Check refcount here too.
4494 * gst/gstpad.c: (gst_pad_init):
4495 Pads are initially flushing and refusing data.
4497 * gst/gstutils.c: (gst_element_link_pads_filtered):
4498 When adding a capsfilter element make sure it has the
4499 same state as the parent bin.
4501 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4503 * docs/gst/tmpl/.cvsignore:
4504 * docs/gst/tmpl/gstformat.sgml:
4505 * docs/gst/tmpl/gstversion.sgml:
4509 * gst/gstversion.h.in:
4510 more docs and two more inlined
4512 2005-08-30 Wim Taymans <wim@fluendo.com>
4514 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4515 Don't sync to clock.
4517 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4519 * docs/gst/gstreamer-sections.txt:
4520 ultral33t func10ns deserve to appear in the docs actually
4521 * docs/gst/tmpl/.cvsignore:
4522 * docs/gst/tmpl/gstcompat.sgml:
4523 * docs/gst/tmpl/gstconfig.sgml:
4524 * gst/check/gstcheck.c:
4526 * gst/gstconfig.h.in:
4529 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4531 * docs/gst/tmpl/.cvsignore:
4532 * docs/gst/tmpl/gstquery.sgml:
4533 * docs/gst/tmpl/gstutils.sgml:
4536 inlined and extended docs
4538 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4540 * check/gst-libs/controller.c: (GST_START_TEST),
4541 (gst_controller_suite):
4543 * docs/gst/tmpl/gstutils.sgml:
4544 * docs/libs/gstreamer-libs-sections.txt:
4545 * docs/libs/tmpl/gstdataprotocol.sgml:
4547 * examples/controller/audio-example.c: (main):
4548 controller example works now
4551 * tools/gst-inspect.c: (print_element_properties_info):
4552 show param spec flags
4554 2005-08-29 Andy Wingo <wingo@pobox.com>
4556 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4558 2005-08-28 Andy Wingo <wingo@pobox.com>
4560 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4561 as having two arguments instead of just one. Allows superclasses
4562 to access information on subclasses -- see the terrible for() loop
4563 in gtype.c:g_type_create_instance for the reason why. All callers
4566 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4568 * docs/design/part-messages.txt:
4570 * docs/gst/tmpl/.cvsignore:
4571 * docs/gst/tmpl/gstcaps.sgml:
4572 * docs/gst/tmpl/gstclock.sgml:
4579 added descriptions for bus and message
4580 inline caps and clock docs
4582 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4588 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4590 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4593 2005-08-26 Andy Wingo <wingo@pobox.com>
4595 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4596 element_set_state's return val.
4597 (test_2_elements): Add test that's been disabled for months.
4599 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4600 can-activate-pull properties.
4602 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4603 can-activate-pull properties. Implement is_seekable so fakesrc can
4604 operate in pull mode.
4606 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4608 (gst_base_sink_activate, gst_base_sink_activate_pull)
4609 (gst_base_sink_activate_push): Make activation mode choosing work.
4611 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4612 is right. Make pull mode work. Post an eos before pausing in pull
4614 (gst_base_sink_change_state): Pay attention to the core's
4615 change_state() return val.
4617 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4618 has-getrange properties. Cleanups.
4620 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4621 has_getrange and replace with can_activate_pull and
4624 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4625 locking comments. Remove has_loop, has_chain and replace with
4626 can_activate_pull and can_activate_push.
4628 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4631 * examples/Makefile.am:
4632 * examples/metadata/Makefile.am:
4633 * examples/metadata/read-metadata.c: (message_loop),
4634 (have_pad_handler), (make_pipeline), (print_tag), (main):
4635 Add metadata reading example that loops over a list of filenames,
4636 dumping any tags found.
4638 * gst/gstbus.c: (gst_bus_dispose):
4639 * gst/gstelement.c: (gst_element_dispose):
4640 Release a few potentially-held references in dispose.
4642 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4644 * docs/gst/tmpl/gstminiobject.sgml:
4645 do *not* add tmpl/*.sgml files to CVS!
4647 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4649 * libs/gst/bytestream/.cvsignore:
4650 * libs/gst/bytestream/Makefile.am:
4651 * libs/gst/bytestream/adapter.c:
4652 * libs/gst/bytestream/adapter.h:
4653 * libs/gst/bytestream/bytestream.c:
4654 * libs/gst/bytestream/bytestream.h:
4655 * libs/gst/bytestream/filepad.c:
4656 * libs/gst/bytestream/filepad.h:
4657 removing obsolete files
4659 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4661 * docs/gst/gstreamer-docs.sgml:
4662 * docs/libs/gstreamer-libs-docs.sgml:
4663 disabed additional index entries again, as this makes docs-gen just
4664 slow and they aren't useful yet
4665 * docs/libs/gstreamer-libs-sections.txt:
4666 little -section.txt cleanup for libs
4668 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4670 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4671 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4672 fix up some debugging
4673 (gst_base_transform_get_unit_size),
4674 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4675 (gst_base_transform_handle_buffer):
4676 * gst/base/gstbasetransform.h:
4677 handle and store timed NEWSEGMENT events so that subclasses that
4678 calculate time by counting samples have a segment_start time they
4679 need to add to their timestamps - see audioresample
4681 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4684 removed ';' from the end of macro defs
4685 * docs/gst/gstreamer-docs.sgml:
4686 * docs/gst/gstreamer-sections.txt:
4687 * docs/gst/tmpl/.cvsignore:
4689 * gst/gstelement.c: (gst_element_class_init),
4690 (gst_element_set_state), (activate_pads),
4691 (gst_element_save_thyself):
4692 * gst/gstevent.c: (gst_event_new_newsegment):
4694 * gst/gstiterator.c:
4695 * gst/gstiterator.h:
4698 * gst/gstutils.c: (gst_pad_query_convert):
4700 fixed parameter name mismatches between source, header and docs
4701 added some more docs, resolved the last batch of unused elements in
4702 docs (now someone needs to doc them)
4704 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4706 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4707 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4708 don't walk through the plugins backwards. Where is all this
4709 reversed logic coming from ?
4711 2005-08-25 Wim Taymans <wim@fluendo.com>
4713 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4714 (gst_base_transform_transform_size),
4715 (gst_base_transform_configure_caps),
4716 (gst_base_transform_get_unit_size),
4717 (gst_base_transform_buffer_alloc),
4718 (gst_base_transform_change_state):
4719 * gst/base/gstbasetransform.h:
4720 Cache caps unit_size.
4721 Make sure we cannot negotiate up and downstream at the
4724 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4726 * gst/gst.c: (init_pre), (init_post):
4727 register the installed plugin path after the env var
4728 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4729 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4730 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4731 directories, so the tests can prefer uninstalled over installed
4733 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4735 * gst/base/gstbasetransform.h:
4740 2005-08-25 Wim Taymans <wim@fluendo.com>
4742 * gst/gstbin.c: (bin_bus_handler):
4743 Be a bit more conservative about the posted message.
4745 * gst/gstbus.c: (gst_bus_post):
4746 Some cleanups, warn wrong return values.
4748 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4750 * check/gst/gstbin.c: (GST_START_TEST):
4751 * gst/gstbin.c: (bin_bus_handler):
4752 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4753 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4754 (gst_message_new_warning), (gst_message_new_tag),
4755 (gst_message_new_state_changed), (gst_message_new_segment_start),
4756 (gst_message_new_segment_done), (gst_message_new_custom):
4758 * tools/gst-launch.c: (event_loop):
4759 * tools/gst-md5sum.c: (event_loop):
4760 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4762 2005-08-25 Wim Taymans <wim@fluendo.com>
4764 * check/generic/states.c: (GST_START_TEST):
4765 Cleanup can be done at the end.
4767 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4768 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4769 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4770 Oh boy.. Thanks for finding this, Thomas.
4772 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4774 * docs/gst/gstreamer.types:
4777 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4779 * docs/gst/gstreamer-docs.sgml:
4780 * docs/gst/gstreamer-sections.txt:
4781 * docs/gst/tmpl/.cvsignore:
4783 * gst/gstiterator.c:
4785 * gst/registries/gstxmlregistry.h:
4786 added missing classes and symbols (123 more to go)
4787 removed removed symbols from section file
4788 fixed many doc-comments
4790 2005-08-24 Wim Taymans <wim@fluendo.com>
4792 * check/generic/states.c: (GST_START_TEST):
4793 Make sure all tasks are stopped.
4795 * check/gst/gstbin.c: (GST_START_TEST):
4796 Unref after usage for proper valgrinding.
4798 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4799 Really wait for the task to stop before destroying the
4802 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4803 (gst_queue_src_activate_push):
4804 Small cleanups. Don't stop the task when we did not start
4807 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4808 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4809 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4812 Protect the stream lock with the object lock.
4813 Disallow setting the stream lock when running.
4814 Add cleanup_all to wait for the threadpool to finish.
4815 Remove code to autoallocate a mutex if none was provided.
4816 Add _join() to wait for a task to stop.
4817 Protect the thread pool with a global lock.
4819 2005-08-24 Wim Taymans <wim@fluendo.com>
4821 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4822 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4823 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4824 * gst/base/gstbasesink.h:
4825 Handle newsegment events correctly.
4826 Drop buffers out of the segment range.
4828 2005-08-22 Andy Wingo <wingo@pobox.com>
4830 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4831 macro, implements an interface and gstimplementsinterface for a
4834 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4836 * check/Makefile.am:
4837 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4838 add a test that does a bunch of state changes on elements
4839 needs some fixing for valgrind
4840 * check/states/sinks.c: (gst_object_suite):
4843 add prototype for gst_caps_is_equal_fixed
4845 * gst/gstregistrypool.c:
4848 2005-08-24 Andy Wingo <wingo@pobox.com>
4850 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4851 convert a negative value. Doesn't make much sense. Mostly this is
4852 here to force callers to ensure -1 maps to -1.
4854 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4856 * docs/pwg/advanced-types.xml:
4857 Well done to Michael for catching my deliberate introduction
4858 of this spelling mistake.
4859 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4861 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4862 unlink pads before removing the element from the bin.
4864 2005-08-24 Andy Wingo <wingo@pobox.com>
4866 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4867 the same thing as GST_DEBUG=*:4.
4868 (parse_debug_level, parse_debug_category): New helper parsers.
4870 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4872 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4873 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4874 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4875 (gst_base_transform_buffer_alloc),
4876 (gst_base_transform_handle_buffer):
4877 use gboolean return values and pointers to size so we can use the
4878 full GST_BUFFER_SIZE range (guint) for buffer sizes
4879 use GstPadDirection for transform_caps
4880 * gst/base/gstbasetransform.h:
4881 rename get_size to get_unit_size since that's what it is
4882 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4883 use GstPadDirection for transform_caps
4884 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4886 cleanup and debugging
4888 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4890 * gst/gstelement.c: (gst_element_class_init),
4891 (gst_element_set_state), (activate_pads),
4892 (gst_element_save_thyself):
4893 * tools/gst-compprep.c: (main):
4894 * tools/gst-inspect.c: (print_element_properties_info):
4895 * tools/gst-xmlinspect.c: (print_element_properties):
4896 Fixed long standing mem-leak
4898 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4900 * check/gst/gstbin.c: (GST_START_TEST):
4901 * gst/gstbin.c: (bin_bus_handler):
4902 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4903 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4904 (gst_message_new_warning), (gst_message_new_tag),
4905 (gst_message_new_state_changed), (gst_message_new_segment_start),
4906 (gst_message_new_segment_done), (gst_message_new_custom):
4908 * tools/gst-launch.c: (event_loop):
4909 * tools/gst-md5sum.c: (event_loop):
4910 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4911 that applications can sensibly post custom messages with references
4912 to their own objects.
4914 2005-08-24 Andy Wingo <wingo@pobox.com>
4916 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4919 2005-08-24 Wim Taymans <wim@fluendo.com>
4921 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4922 (gst_base_transform_transform_caps),
4923 (gst_base_transform_transform_size),
4924 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4925 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4926 (gst_base_transform_handle_buffer):
4927 * gst/base/gstbasetransform.h:
4928 Many fixes and new features added by Thomas. Can now also do
4929 transforms with variable sizes and a custom fixate_caps function.
4931 2005-08-24 Wim Taymans <wim@fluendo.com>
4933 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4937 Cast to ClockTime before formatting to time.
4942 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4944 * check/gst-libs/controller.c: (GST_START_TEST),
4945 (gst_controller_suite):
4946 * docs/gst/tmpl/gstcaps.sgml:
4947 * docs/gst/tmpl/gstghostpad.sgml:
4948 * docs/gst/tmpl/gstquery.sgml:
4949 * docs/gst/tmpl/gstutils.sgml:
4950 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4951 (gst_object_sink_values), (gst_object_get_value_arrays),
4952 (gst_object_get_value_array):
4953 gracefully handle helper method calls to objects that are not beeing
4954 controlled, added test case for that
4956 2005-08-23 Wim Taymans <wim@fluendo.com>
4958 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4959 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4960 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4961 (gst_event_parse_qos), (gst_event_new_seek),
4962 (gst_event_parse_seek):
4964 Some more debugging output and doc cleanups.
4966 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4967 Fix possible deadlock.
4969 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4971 * docs/gst/gstreamer-docs.sgml:
4972 * docs/gst/gstreamer-sections.txt:
4973 * docs/gst/gstreamer.types:
4974 * docs/gst/tmpl/.cvsignore:
4979 added 100 symbols from gstreamer-unused.txt to the right sections
4980 fixed more broken comments
4981 added GstBus to docs
4983 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4985 * docs/gst/gstreamer-sections.txt:
4986 * docs/gst/tmpl/.cvsignore:
4987 * docs/gst/tmpl/gstbin.sgml:
4988 * docs/gst/tmpl/gstbuffer.sgml:
4989 * gst/base/gstbasesrc.c:
4990 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4993 * tools/gst-launch.1.in:
4994 inlined more doc comments, added missing comments and fixed comments
4997 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4999 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5003 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5005 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5006 * gst/gststructure.h:
5007 add a fixate function for booleans; add a FIXME that these func
5008 names should probably be gst_structure_fixate_*
5010 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5012 * docs/gst/gstreamer-docs.sgml:
5013 * docs/gst/gstreamer-sections.txt:
5015 * gst/gstbin.c: (gst_bin_get_type),
5016 (gst_bin_child_proxy_get_child_by_index),
5017 (gst_bin_child_proxy_get_children_count),
5018 (gst_bin_child_proxy_init):
5019 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5020 (gst_child_proxy_get_child_by_index),
5021 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5022 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5023 (gst_child_proxy_get), (gst_child_proxy_set_property),
5024 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5025 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5026 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5027 * gst/gstchildproxy.h:
5028 * gst/parse/grammar.y:
5029 * tools/gst-inspect.c: (print_interfaces),
5030 (print_element_properties_info), (print_element_info):
5031 ported gstchildproxy over from 0.8
5032 ported gst-inspect fixes and enhancements over from 0.8
5034 2005-08-22 Wim Taymans <wim@fluendo.com>
5036 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5037 (gst_base_transform_handle_buffer):
5038 Also call the transform function if we have ANY caps.
5040 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5043 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5045 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5046 Don't pretend to handle seek events if the source is not seekable
5048 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5050 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5051 Remove extra parameter to debug output
5053 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5054 (gst_base_src_do_seek), (gst_base_src_activate_push):
5055 Fix seek event handling.
5057 * gst/gstpipeline.c: (gst_pipeline_change_state):
5058 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5059 (gst_queue_src_activate_push):
5060 Don't start the src pad task on FLUSH_STOP if the pad
5064 2005-08-22 Wim Taymans <wim@fluendo.com>
5066 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5067 Added check for gst_static_caps_get() refcounting.
5069 2005-08-22 Wim Taymans <wim@fluendo.com>
5071 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5072 Make _static_caps_get() refcounting sane.
5074 * gst/gstelement.c: (gst_element_set_state):
5075 Add g_return_val_if_fail() to protect against segfaults.
5077 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5079 * docs/gst/tmpl/gstevent.sgml:
5082 inlined remaining docs, added missing doc comments
5084 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5086 * check/gst/gstbin.c: (GST_START_TEST):
5087 since we don't know when preroll is done, use refcount range
5089 * gst/check/gstcheck.h:
5090 add macro for checking refcount range
5092 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5094 * check/Makefile.am:
5095 clean up environment for when registry gets built versus
5096 when actual tests are run; valgrind seems to not report
5097 leaks if GST_PLUGIN_PATH is set to some specific values
5098 * check/gst/gstbin.c: (GST_START_TEST):
5099 add more refcounting checks; maybe this exposes a
5102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5103 * gst/check/gstcheck.h:
5104 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5105 (gst_bin_change_state):
5106 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5107 add/fix debugging/whitespace
5109 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5111 * check/gst/gstevent.c: (event_probe), (test_event),
5113 Er, don't call gst_bin_watch_for_state_change you idiot.
5115 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5117 * check/Makefile.am:
5118 Use CHECK_CFLAGS and CHECK_LIBS
5119 * check/gst/gstevent.c: (event_probe), (test_event),
5122 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5123 (gst_base_src_start), (gst_base_src_stop),
5124 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5125 (gst_base_src_change_state):
5126 Sprinkle gst_base_src_stop liberally around error paths to fix
5127 problems reusing a source after failed state changes.
5128 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5129 (helper_find_suggest), (gst_type_find_helper):
5130 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5132 * docs/gst/tmpl/gstevent.sgml:
5133 Migrate part of the docs from the SGML file. Wait for ensonic to
5134 tell me how I did it wrong ;)
5135 * tools/gst-typefind.c: (main):
5136 Extra robustness to state changes between files.
5138 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5140 * check/Makefile.am:
5141 don't valgrind the controller test - it's leaking - Stefan, HELP
5142 * gst/check/gstcheck.c: (gst_check_message_error),
5143 (gst_check_chain_func), (gst_check_setup_element),
5144 (gst_check_teardown_element), (gst_check_setup_src_pad),
5145 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5146 (gst_check_teardown_sink_pad):
5147 * gst/check/gstcheck.h:
5148 add a bunch of methods to set up elements, and src and sink pads
5149 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5150 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5155 whitespace/doc fixes
5157 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5160 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5161 be handled by the application and not always printed as well
5163 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5165 * check/Makefile.am:
5167 * gst/check/gstcheck.c: (gst_check_message_error):
5168 * gst/check/gstcheck.h:
5169 add a fail_unless_equals_int
5170 add fail_unless for error messages
5172 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5174 * check/Makefile.am:
5176 * common/Makefile.am:
5179 factor out some of the common stuff so we can use it
5181 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5183 * check/Makefile.am:
5184 * check/gst/gstiterator.c: (GST_START_TEST):
5185 * check/gst/gstsystemclock.c: (GST_START_TEST),
5186 (gst_systemclock_suite):
5187 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5191 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5193 * check/elements/.cvsignore:
5194 * check/elements/gstfakesrc.c:
5195 rename to name of element
5196 * check/elements/identity.c: (chain_func), (event_func),
5197 (setup_identity), (cleanup_identity), (GST_START_TEST),
5198 (identity_suite), (main):
5199 add a test for identity
5200 * check/Makefile.am:
5201 * pkgconfig/Makefile.am:
5202 * pkgconfig/gstreamer-check.pc.in:
5203 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5207 move the check stuff to a library that gets installed
5208 * check/gst-libs/controller.c: (GST_START_TEST):
5209 * check/gst-libs/gdp.c:
5210 * check/gst/gst.c: (GST_START_TEST):
5211 * check/gst/gstbin.c:
5212 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5213 * check/gst/gstbus.c:
5214 * check/gst/gstcaps.c: (GST_START_TEST):
5215 * check/gst/gstelement.c:
5216 * check/gst/gstghostpad.c:
5217 * check/gst/gstiterator.c:
5218 * check/gst/gstmessage.c:
5219 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5220 * check/gst/gstobject.c:
5221 * check/gst/gstpad.c: (GST_START_TEST):
5222 * check/gst/gststructure.c: (GST_START_TEST):
5223 * check/gst/gstsystemclock.c: (GST_START_TEST),
5224 (gst_systemclock_suite):
5225 * check/gst/gsttag.c: (gst_tag_suite):
5226 * check/gst/gstvalue.c:
5227 * check/pipelines/cleanup.c:
5228 * check/pipelines/simple_launch_lines.c:
5229 * check/states/sinks.c:
5230 change include statement
5232 * docs/gst/gstreamer-sections.txt:
5233 * docs/gst/tmpl/gstpad.sgml:
5234 document more pad stuff
5235 * gst/gstminiobject.c: (gst_mini_object_ref),
5236 (gst_mini_object_unref):
5239 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5241 * docs/gst/tmpl/gst.sgml:
5243 eliminate another tmpl file, fix spelling in the long-description
5245 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5247 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5248 (test_event), (timediff), (gstevents_suite):
5249 Should fix build on 64-bit arch's
5251 2005-08-18 Andy Wingo <wingo@pobox.com>
5253 Make sure that when a pipeline goes to PLAYING, that data has
5254 actually hit the sink.
5256 * check/states/sinks.c (test_sink): A sink that doesn't get any
5257 data shouldn't return SUCCESS for going to either PLAYING or
5258 PAUSED. Test also the return values on the way back down.
5260 * gst/gstelement.c (gst_element_set_state): When changing the
5261 state of an element currently changing state asynchronously, go to
5262 lost-state after commiting the pending state. Makes future calls
5263 to get_state continue to return ASYNC.
5265 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5266 ASYNC when going to PLAYING if we still don't have preroll, as can
5267 happen with live sources.
5269 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5271 * docs/pwg/advanced-types.xml:
5272 Hack long paragraph into 2 chunks as a workaround for buggy
5273 jadetex version in sid and breezy that loops infinitely and
5276 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5278 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5279 (test_event), (timediff), (gstevents_suite):
5280 Provide more error margin in clock measurements to allow for
5281 g_get_current_time inaccuracies.
5283 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5285 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5286 (test_event), (timediff), (gstevents_suite):
5287 Fix error message output so I might be able to tell why the
5288 test works here but fails on the build farm.
5290 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5292 * check/Makefile.am:
5293 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5294 (test_event), (timediff), (gstevents_suite), (main):
5297 * docs/design/part-seeking.txt:
5300 * docs/gst/tmpl/gstevent.sgml:
5301 * docs/gst/tmpl/gstfakesrc.sgml:
5304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5305 Treat a buffer-without-newsegment the same as a receiving
5306 a newsegment not in time format, and disable syncing to the clock
5309 * gst/gstbus.c: (gst_bus_set_sync_handler):
5310 Assert if anyone tries to replace the existing sync_handler for bus,
5311 as only the owner should be setting it.
5314 Have a fixed set of custom event enums with events identified by
5315 their structure name (as in 0.8), rather than a free-for-all
5316 allowing collisions between enum values from different plugins.
5318 * gst/gstpad.c: (gst_pad_class_init):
5321 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5322 Handle out-of-band downstream events from the sending thread.
5324 2005-08-17 Andy Wingo <wingo@pobox.com>
5326 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5327 play-timeout==0 to mean no timeout at all. In that case, don't
5328 bother with a get_state or a warning, just return directly, even
5331 * gst/base/gstbasetransform.c: Debug changes.
5334 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5335 ensure bins post state change messages. A bit of a hack but I can't
5336 think of a way to avoid it.
5338 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5340 2005-08-16 Andy Wingo <wingo@pobox.com>
5342 * gst/base/gstadapter.h:
5343 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5344 peek() but you own the data. Not terribly efficient atm.
5346 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5348 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5349 (gst_element_found_tags):
5351 Add two utility functions for tag handling.
5353 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5355 * docs/manual/advanced-dataaccess.xml:
5356 * docs/manual/basics-helloworld.xml:
5357 Fix docs to use _bin_add() before _link(), which fixes the examples
5358 with recent core versions (reported by Madhan Raj M
5359 <raj_madan@rediffmail.com>, #313199).
5361 2005-08-16 Wim Taymans <wim@fluendo.com>
5363 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5364 Added subtract checks.
5366 * docs/design/part-events.txt:
5367 Some more docs about newsegment
5369 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5372 * gst/gstcaps.c: (gst_caps_to_string):
5373 Add comments, cleanups.
5375 * gst/gstelement.c: (gst_element_save_thyself):
5378 * gst/gstvalue.c: (gst_value_collect_int_range),
5379 (gst_string_unwrap), (gst_value_union_int_int_range),
5380 (gst_value_union_int_range_int_range),
5381 (gst_value_intersect_int_int_range),
5382 (gst_value_intersect_int_range_int_range),
5383 (gst_value_intersect_double_double_range),
5384 (gst_value_intersect_double_range_double_range),
5385 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5386 (gst_value_subtract_int_range_int),
5387 (gst_value_subtract_double_range_double),
5388 (gst_value_subtract_double_range_double_range),
5389 (gst_value_subtract_from_list), (gst_value_subtract_list),
5390 (gst_value_can_compare), (gst_value_compare_fraction):
5391 Cleanups, add comments, remove unneeded asserts.
5393 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5395 * tools/gst-launch.c: (event_loop):
5396 don't convert NULL structures to strings
5398 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5400 * docs/gst/gstreamer-sections.txt:
5401 made some defines private
5402 * docs/gst/tmpl/gstconfig.sgml:
5403 * docs/gst/tmpl/gstqueue.sgml:
5404 * docs/gst/tmpl/gsttaglist.sgml:
5405 * docs/gst/tmpl/gsttypes.sgml:
5406 * docs/gst/tmpl/gstutils.sgml:
5407 * docs/pwg/appendix-porting.xml:
5408 * gst/base/gstbasesink.h:
5409 * gst/base/gstbasesrc.c:
5410 * gst/base/gstbasesrc.h:
5411 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5412 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5413 * gst/gstelement.c: (gst_element_class_init):
5414 * gst/gstpad.c: (gst_pad_class_init):
5415 * gst/gstqueue.c: (gst_queue_class_init):
5416 * gst/gstxml.c: (gst_xml_class_init):
5417 documented all undocumented signal inline
5418 * libs/gst/controller/gst-controller.h:
5421 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5423 * docs/pwg/appendix-porting.xml:
5424 Document _set_link_function -> _set_setcaps_function.
5426 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5428 * check/Makefile.am:
5429 add a .check target for running the check
5430 * check/gst-libs/controller.c: (GST_START_TEST):
5432 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5433 complete checks for gstbuffer; would be nice if I could get the
5434 gcov stuff to work so I can see if I actually completed gstbuffer.c
5436 add ASSERT_BUFFER_REFCOUNT
5438 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5440 * docs/gst/gstreamer-sections.txt:
5441 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5443 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5444 spew out a warning if a tag that is already registered
5445 is re-registered, unless it is re-registered with a
5446 different type (#308438).
5448 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5450 * docs/pwg/appendix-porting.xml:
5451 * docs/pwg/building-state.xml:
5452 Add some paragraphs about state changes in 0.9 to the PWG
5453 and the porting guide, in particular about the new meaning
5454 of GST_STATE_PAUSED and how to write state change functions
5455 with concurrent access by multiple threads in mind.
5457 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5459 * docs/gst/gstreamer-docs.sgml:
5460 * docs/libs/gstreamer-libs-docs.sgml:
5461 added deprecation and since indexes
5462 * libs/gst/controller/gst-controller.c:
5463 * libs/gst/controller/gst-helper.c:
5467 2005-08-11 Wim Taymans <wim@fluendo.com>
5469 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5470 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5471 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5472 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5473 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5474 (gst_ghost_pad_set_target):
5475 Actually implement (re)setting the target on a ghostpad
5476 as described in the docs.
5478 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5480 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5481 Check whether GST_DEBUG_NO_COLOR environment variable is
5482 set and disable coloured debug output if that is the case.
5484 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5486 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5487 (gst_type_find_helper):
5488 The memory returned by gst_type_find_peek() needs to
5489 stay valid until the end of a typefind function, and
5490 typefind functions may keep results from different
5491 offsets around, so we can't just unref the buffer from
5492 the previous _peek(), but have to save all buffers
5493 returned by _peek() until typefinding is done and only
5496 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5498 * docs/gst/gstreamer-sections.txt:
5500 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5502 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5504 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5505 Fix a pretty good memleak.
5507 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5509 * gst/gstiterator.h:
5510 Fix wrong include and 'make distcheck'.
5512 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5514 * gst/gstbin.c: (bin_bus_handler):
5515 Use gst_element_post_message() instead.
5517 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5519 * gst/base/gstadapter.h:
5520 * gst/base/gstbasesink.h:
5521 * gst/base/gstbasesrc.h:
5522 * gst/base/gstbasetransform.h:
5523 * gst/base/gstcollectpads.h:
5524 * gst/base/gstpushsrc.h:
5525 * gst/gstiterator.h:
5526 Add padding to our base elements' class and instance structs and
5527 to GstIterator (you will need to rebuild all plugins and apps!)
5529 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5531 * gst/gstbin.c: (bin_bus_handler):
5532 Make default message forwarding from child->bus to bin->bus
5533 threadsafe and make it not emit warnings if the parent has no bus.
5535 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5537 * gst/gstelement.c: (activate_pads):
5538 On paused->ready, set pad->caps to NULL, as is the documented
5539 behaviour in this state change. Fixes playback of series of
5540 media files when visualization is enabled in Totem.
5542 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5544 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5545 Allow NULL as filter-caps (which means "any").
5547 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5549 * docs/libs/gstreamer-libs-sections.txt:
5550 * libs/gst/controller/gst-controller.c:
5551 * libs/gst/controller/gst-controller.h:
5552 * libs/gst/controller/gst-helper.c:
5553 adding more entries to the docs and fix small doc-bugs
5555 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5557 * docs/gst/gstreamer-docs.sgml:
5558 * docs/gst/gstreamer-sections.txt:
5559 * docs/gst/gstreamer.types:
5560 * docs/gst/tmpl/gstbasesink.sgml:
5561 * docs/gst/tmpl/gstbasesrc.sgml:
5562 * docs/gst/tmpl/gstbasetransform.sgml:
5563 * docs/gst/tmpl/gstfakesrc.sgml:
5564 * gst/base/gstcollectpads.c:
5565 * gst/base/gstcollectpads.h:
5566 * libs/gst/controller/gst-controller.c:
5567 * libs/gst/controller/gst-controller.h:
5568 * libs/gst/controller/gst-helper.c:
5569 * libs/gst/controller/gst-interpolation.c:
5570 * libs/gst/controller/lib.c:
5571 added long/short desc for controller docs
5572 added collectpads base class docs
5573 added correct includes to base-class docs
5575 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5577 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5578 (gst_test_mono_source_set_property),
5579 (gst_test_mono_source_class_init), (GST_START_TEST),
5580 (gst_controller_suite):
5581 * docs/gst/gstreamer-docs.sgml:
5582 * docs/gst/gstreamer-sections.txt:
5583 * docs/gst/gstreamer.types:
5584 * docs/libs/gstreamer-libs-docs.sgml:
5585 * docs/libs/gstreamer-libs-sections.txt:
5586 * gst/base/gstadapter.c:
5587 * libs/gst/controller/gst-controller.c:
5588 (gst_controlled_property_new), (gst_controlled_property_free),
5589 (gst_controller_new_valist),
5590 (gst_controller_remove_properties_valist),
5591 (gst_controller_sink_values), (_gst_controller_finalize):
5592 * libs/gst/controller/gst-controller.h:
5593 * libs/gst/controller/gst-helper.c:
5594 (gst_object_control_properties), (gst_object_uncontrol_properties),
5595 (gst_object_get_controller), (gst_object_set_controller),
5596 (gst_object_sink_values), (gst_object_get_value_arrays),
5597 (gst_object_get_value_array):
5598 more tests (and fixes) for the controller
5599 more docs for the controller
5600 integrated companies docs for the adapter
5602 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5604 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5605 (GST_START_TEST), (fakesrc_suite):
5606 add tests for sizetype
5608 2005-08-04 Andy Wingo <wingo@pobox.com>
5610 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5611 fixes buffer_alloc proxying among other things.
5613 * gst/base/gstbasetransform.c:
5614 * gst/base/gstbasetransform.h:
5615 Revert patch to gstbasetransform from 7-28 removing
5618 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5619 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5620 Semantics changed, should return not the size of the output buffer
5621 but the byte size of a buffer with a given caps.
5623 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5625 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5626 out) are not the pad caps until setcaps finishes.
5627 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5628 not-in-place case as well. Deal with changing from in-place to
5629 not-in-place within calling pad_alloc_buffer. Still a bit
5630 concerned about the overhead here...
5632 2005-08-03 Andy Wingo <wingo@pobox.com>
5634 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5635 fixating is an error.
5637 2005-08-04 Edward Hervey <edward@fluendo.com>
5639 * gst/base/gstadapter.h:
5640 Added gst_adapter_get_type() to the header
5642 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5644 * check/Makefile.am:
5645 * check/gst-libs/controller.c:
5646 * libs/gst/controller/gst-controller.c:
5647 (gst_controller_new_valist):
5648 added check test suite for the controller
5649 * gst/base/gstpushsrc.c:
5652 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5654 * docs/gst/Makefile.am:
5655 * docs/gst/gstreamer-docs.sgml:
5656 * docs/gst/gstreamer-sections.txt:
5657 * docs/gst/gstreamer.types:
5658 * docs/gst/tmpl/gstfakesrc.sgml:
5660 * gst/base/gstbasesink.c:
5661 * gst/base/gstbasesink.h:
5662 * gst/base/gstbasesrc.c:
5663 * gst/base/gstbasesrc.h:
5664 * gst/base/gstbasetransform.c:
5665 * gst/base/gstpushsrc.c:
5666 * gst/base/gstpushsrc.h:
5667 add short/long description docs to base classes
5668 add pushsrc to the docs
5669 remove consolidated doc fragments
5671 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5674 * docs/libs/Makefile.am:
5675 * docs/libs/gstreamer-libs-docs.sgml:
5676 * docs/libs/gstreamer-libs-sections.txt:
5677 * docs/libs/gstreamer-libs.types:
5678 * examples/Makefile.am:
5679 * examples/controller/.cvsignore:
5680 * examples/controller/Makefile.am:
5681 * examples/controller/audio-example.c: (main):
5682 * libs/gst/Makefile.am:
5683 * libs/gst/controller/.cvsignore:
5684 * libs/gst/controller/Makefile.am:
5685 * libs/gst/controller/gst-controller.c:
5686 (on_object_controlled_property_changed), (gst_timed_value_compare),
5687 (gst_timed_value_find),
5688 (gst_controlled_property_set_interpolation_mode),
5689 (gst_controlled_property_new), (gst_controlled_property_free),
5690 (gst_controller_find_controlled_property),
5691 (gst_controller_new_valist), (gst_controller_new),
5692 (gst_controller_remove_properties_valist),
5693 (gst_controller_remove_properties), (gst_controller_set),
5694 (gst_controller_set_from_list), (gst_controller_unset),
5695 (gst_controller_get), (gst_controller_get_all),
5696 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5697 (gst_controller_get_value_array),
5698 (gst_controller_set_interpolation_mode),
5699 (_gst_controller_finalize), (_gst_controller_init),
5700 (_gst_controller_class_init), (gst_controller_get_type):
5701 * libs/gst/controller/gst-controller.h:
5702 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5703 (g_object_uncontrol_properties), (g_object_get_controller),
5704 (g_object_set_controller), (g_object_sink_values),
5705 (g_object_get_value_arrays), (g_object_get_value_array):
5706 * libs/gst/controller/gst-interpolation.c:
5707 (gst_controlled_property_find_timed_value_node),
5708 (interpolate_none_get), (interpolate_trigger_get),
5709 (interpolate_trigger_get_value_array):
5710 * libs/gst/controller/lib.c: (gst_controller_init):
5711 * pkgconfig/Makefile.am:
5712 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5713 * pkgconfig/gstreamer-control.pc.in:
5714 * testsuite/Makefile.am:
5715 * testsuite/controller/.cvsignore:
5716 * testsuite/controller/Makefile.am:
5717 * testsuite/controller/interpolator.c: (main):
5718 added controller code
5719 removed dparam pc files
5721 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5722 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5723 (gst_collectpads_stop):
5724 Broadcast the condition when shutting down, to make sure we wake all
5725 threads up. Shut down pads on finalize, for safety.
5727 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5728 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5729 (gst_base_transform_handle_buffer),
5730 (gst_base_transform_change_state):
5731 Handle PAUSED->READY->PAUSED transition after negotiation
5733 * gst/gstmessage.c: (gst_message_init):
5734 Extra piece of debug for new messages.
5736 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5739 * docs/gst/tmpl/gstbasesrc.sgml:
5740 * docs/gst/tmpl/gstelement.sgml:
5741 * docs/gst/tmpl/gstevent.sgml:
5742 * docs/gst/tmpl/gstfakesrc.sgml:
5743 * docs/gst/tmpl/gstformat.sgml:
5744 * docs/gst/tmpl/gstghostpad.sgml:
5745 * docs/gst/tmpl/gstpad.sgml:
5746 * docs/gst/tmpl/gstquery.sgml:
5747 * docs/gst/tmpl/gststructure.sgml:
5748 * docs/gst/tmpl/gsttaglist.sgml:
5749 * docs/gst/tmpl/gstvalue.sgml:
5750 * docs/libs/gstreamer-libs-docs.sgml:
5751 * docs/libs/gstreamer-libs-sections.txt:
5752 * docs/libs/gstreamer-libs.types:
5753 * libs/gst/Makefile.am:
5754 * libs/gst/control/.cvsignore:
5755 * libs/gst/control/Makefile.am:
5756 * libs/gst/control/control.c:
5757 * libs/gst/control/control.h:
5758 * libs/gst/control/dparam.c:
5759 * libs/gst/control/dparam.h:
5760 * libs/gst/control/dparam_smooth.c:
5761 * libs/gst/control/dparam_smooth.h:
5762 * libs/gst/control/dparamcommon.h:
5763 * libs/gst/control/dparammanager.c:
5764 * libs/gst/control/dparammanager.h:
5765 * libs/gst/control/dplinearinterp.c:
5766 * libs/gst/control/dplinearinterp.h:
5767 * libs/gst/control/unitconvert.c:
5768 * libs/gst/control/unitconvert.h:
5769 * testsuite/Makefile.am:
5770 * testsuite/dynparams/.cvsignore:
5771 * testsuite/dynparams/Makefile.am:
5772 * testsuite/dynparams/dparamstest.c:
5773 * tools/Makefile.am:
5774 * tools/gst-inspect.c: (print_element_info), (main):
5775 * tools/gst-xmlinspect.c: (print_element_info), (main):
5776 deactivate and remove dparams (libgstcontrol)
5778 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5780 * gst/elements/gsttypefindelement.c:
5781 (gst_type_find_element_have_type), (gst_type_find_element_init),
5782 (stop_typefinding), (gst_type_find_element_handle_event),
5783 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5784 * gst/elements/gsttypefindelement.h:
5785 Set caps on all outgoing buffers, not just the first one.
5787 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5789 * gst/elements/gsttypefindelement.c:
5790 (gst_type_find_element_have_type),
5791 (gst_type_find_element_check_set_buffer_caps),
5792 (gst_type_find_element_init), (stop_typefinding),
5793 (gst_type_find_element_handle_event),
5794 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5795 * gst/elements/gsttypefindelement.h:
5796 Set caps on first outgoing buffer when we've found the type.
5798 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5800 * docs/gst/gstreamer-docs.sgml:
5801 * docs/gst/gstreamer-sections.txt:
5802 * docs/gst/tmpl/gstscheduler.sgml:
5803 * docs/gst/tmpl/gstschedulerfactory.sgml:
5804 Remove some old cruft from docs.
5806 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5809 Fix inline docs for GstPadLinkReturn.
5811 * gst/gststructure.c: (gst_structure_has_name):
5812 * gst/gststructure.h:
5813 * docs/gst/gstreamer-sections.txt:
5814 New API: gst_structure_has_name().
5816 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5819 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5820 and _LARGEFILE_SOURCE in config.h as required. Do not
5821 export those flags in our .pc files any longer (#142209).
5823 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5825 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5826 (gst_file_sink_do_seek), (gst_file_sink_event),
5827 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5828 Redo seek/tell calls with large file support in mind; add some
5829 debugging messages; add log message that tells us when large
5830 file support is unavailable or not enabled for some reason.
5832 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5833 Add log message that tells us when large file support
5834 is unavailable or not enabled for some reason.
5836 2005-07-29 Wim Taymans <wim@fluendo.com>
5838 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5839 Added test for removing an element with ghostpad from a bin.
5840 Fixed test as current implementation does the right thing.
5842 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5843 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5844 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5845 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5846 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5847 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5848 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5849 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5850 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5851 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5852 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5853 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5854 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5855 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5856 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5857 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5858 * gst/gstghostpad.h:
5859 Clean up ghostpads, remove properties for internal stuff.
5862 Prepare for switching targets, not all use cases work yet.
5864 2005-07-29 Wim Taymans <wim@fluendo.com>
5866 * docs/design/part-gstghostpad.txt:
5869 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5870 (gst_bin_remove_func):
5871 Unlinking pads while holding the bin LOCK is not a good
5874 * gst/gstpad.c: (gst_pad_class_init),
5875 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5876 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5877 No prob setting template after creating the pad.
5879 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5881 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5882 (gst_bus_peek), (gst_bus_source_dispatch),
5883 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5884 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5885 gst_bus_poll may be called from other threads. Handle
5886 this nicely by not making poll_data disappear off the
5887 stack once gst_bus_poll returns.
5888 gst_bus_peek now increments the refcount on the returned
5891 2005-07-29 Wim Taymans <wim@fluendo.com>
5893 * docs/design/part-gstghostpad.txt:
5894 Overview of current GhostPad datastructures and use
5895 cases for changing the target.
5897 2005-07-28 Wim Taymans <wim@fluendo.com>
5899 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5900 Added checks for hierarchy consistency whan adding linked
5903 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5904 Added check to test element scheduling without bin/pipeline.
5906 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5907 First add elements to bin, then link.
5909 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5910 (gst_bin_remove_func):
5911 Unlink pads from elements added/removed from bin to maintain
5912 hierarchy consistency.
5914 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5916 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5917 (gst_base_transform_handle_buffer):
5918 * gst/base/gstbasetransform.h:
5919 Remove broken delay_configure (fixes renegotiation of software
5920 scaling pipelines); remove some leftover printf()s.
5922 2005-07-28 Wim Taymans <wim@fluendo.com>
5924 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5925 Added some more tests for wrong hierarchy
5927 * docs/design/part-overview.txt:
5930 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5933 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5934 (gst_element_dispose):
5937 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5938 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5939 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5940 (gst_pad_set_caps), (gst_pad_send_event):
5941 Check for correct hierarchy when linking pads. Moving to
5942 strict requirement for ghostpads when linking elements in
5946 Clean ups. Added WRONG_HIERARCHY return value.
5948 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5950 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5951 Better debug if no transform is possible.
5953 2005-07-27 Wim Taymans <wim@fluendo.com>
5955 * docs/random/wtay/network-transp:
5958 2005-07-27 Wim Taymans <wim@fluendo.com>
5960 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5961 (gst_dp_event_from_packet):
5962 Fix serialization of seek events.
5964 2005-07-27 Wim Taymans <wim@fluendo.com>
5966 * check/gst-libs/gdp.c: (GST_START_TEST):
5967 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5968 Fix compilation and fix event serialization.
5970 2005-07-27 Wim Taymans <wim@fluendo.com>
5973 * docs/design/part-TODO.txt:
5974 * docs/design/part-events.txt:
5977 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5978 (gst_base_sink_event), (gst_base_sink_do_sync),
5979 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5980 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5981 (gst_base_src_do_seek), (gst_base_src_event_handler),
5982 (gst_base_src_loop):
5983 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5984 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5985 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5986 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5987 (gst_base_transform_set_passthrough),
5988 (gst_base_transform_is_passthrough):
5989 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5990 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5996 * gst/gstelement.c: (gst_element_seek):
5998 Update gst_element_seek.
6000 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6001 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6002 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6003 (gst_event_new_eos), (gst_event_new_newsegment),
6004 (gst_event_parse_newsegment), (gst_event_new_tag),
6005 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6006 (gst_event_parse_qos), (gst_event_new_seek),
6007 (gst_event_parse_seek), (gst_event_new_navigation):
6009 Make GstEvent use GstStructure. Add parsing code, make sure the
6010 API is sufficiently generic.
6011 Mark possible directions of events and serialization.
6013 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6014 (_gst_message_copy), (gst_message_new_segment_start),
6015 (gst_message_new_segment_done), (gst_message_new_custom),
6016 (gst_message_parse_segment_start),
6017 (gst_message_parse_segment_done):
6020 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6021 (gst_pad_set_caps), (gst_pad_send_event):
6022 Update for new events.
6023 Catch events sent in wrong directions.
6025 * gst/gstqueue.c: (gst_queue_link_src),
6026 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6027 (gst_queue_handle_src_query):
6032 Remove event code from this file.
6034 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6035 (gst_dp_event_from_packet):
6038 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6040 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6041 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6042 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6043 Make debugging actually useful.
6045 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6047 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6048 (gst_pad_fixate_caps):
6049 Implement default fixation once again, so that gst_pad_fixate()
6050 actually does anything at all. This probably needs to be some
6051 sort of a last resort, and use profile-based fixation first, but
6052 since that doesn't exist yet, this is the best we have. Fixes
6053 visualization in Totem.
6055 2005-07-22 Wim Taymans <wim@fluendo.com>
6057 * docs/design/part-events.txt:
6060 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6061 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6062 (gst_base_sink_activate_pull):
6065 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6066 (gst_fake_src_create):
6067 Fix handoff marshall.
6069 * gst/elements/gstidentity.c: (gst_identity_class_init),
6070 (gst_identity_transform_ip):
6071 We're a real inplace element.
6073 * gst/gstbus.c: (gst_bus_post):
6074 Added some comments.
6076 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6077 * tests/muxing/case1.c: (main):
6078 * tests/sched/dynamic-pipeline.c: (main):
6079 * tests/sched/interrupt1.c: (main):
6080 * tests/sched/interrupt2.c: (main):
6081 * tests/sched/interrupt3.c: (main):
6082 * tests/sched/runxml.c: (main):
6083 * tests/sched/sched-stress.c: (main):
6084 * tests/seeking/seeking1.c: (event_received), (main):
6085 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6087 * tests/threadstate/threadstate3.c: (main):
6088 * tests/threadstate/threadstate4.c: (main):
6089 * tests/threadstate/threadstate5.c: (main):
6092 2005-07-21 Wim Taymans <wim@fluendo.com>
6094 * docs/design/part-seeking.txt:
6095 Some small additions.
6097 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6098 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6099 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6100 * gst/base/gstbasesink.h:
6101 discont values are gint64, handle the math correctly.
6103 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6104 Make the basesrc report error if the source pad is not linked.
6106 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6107 (gst_queue_loop), (gst_queue_handle_src_query),
6108 (gst_queue_src_activate_push):
6109 Make queue collect data even if the srcpad is not linked.
6110 Start pushing out data as soon as it is linked.
6112 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6114 Added gst_flow_get_name() to ease error reporting.
6116 2005-07-20 Wim Taymans <wim@fluendo.com>
6118 * gst/gstmessage.c: (gst_message_new_segment_start),
6119 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6120 (gst_message_parse_segment_done):
6122 Added a bunch of messages for advanced seeking.
6124 * gst/parse/grammar.y:
6125 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6126 (gst_dpman_state_changed):
6127 Fix some new-pad -> pad-added signals
6129 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6131 * docs/manual/appendix-porting.xml:
6132 * docs/pwg/appendix-porting.xml:
6133 Document new-pad/state-change signal renames and the FixedList
6136 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6138 * docs/manual/advanced-autoplugging.xml:
6139 * docs/manual/basics-helloworld.xml:
6140 * docs/manual/basics-pads.xml:
6141 * docs/random/ds/0.9-suggested-changes:
6142 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6147 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6148 (gst_structure_parse_array), (gst_structure_parse_value):
6149 * gst/gstvalue.c: (gst_type_is_fixed),
6150 (gst_value_list_prepend_value), (gst_value_list_append_value),
6151 (gst_value_list_get_size), (gst_value_list_get_value),
6152 (gst_value_transform_array_string), (gst_value_serialize_array),
6153 (gst_value_deserialize_array), (gst_value_intersect_array),
6154 (gst_value_is_fixed), (_gst_value_initialize):
6156 GstElement::new-pad -> pad-added, GstElement::state-change ->
6157 state-changed, GstValueFixedList -> GstValueArray, add format and
6158 flags as their own arguments in gst_element_seek() (should improve
6159 "bindeability"), remove function generators since they don't work
6160 under a whole bunch of compilers (they were deprecated already
6163 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6165 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6166 (_gst_debug_register_funcptr):
6168 Fix illegal cast on some platforms (#309253).
6170 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6172 * gst/gstmessage.c: (gst_message_new_custom):
6174 Add _new_custom, make _new_application a macro to _new_custom.
6176 2005-07-20 Wim Taymans <wim@fluendo.com>
6178 * gst/base/gstbasesrc.c: (gst_base_src_init),
6179 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6180 * gst/base/gstbasesrc.h:
6181 Add a gboolean to decide when to push out a discont.
6183 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6184 (gst_queue_loop), (gst_queue_handle_src_query),
6185 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6186 (gst_queue_set_property), (gst_queue_get_property):
6189 * tests/threadstate/threadstate1.c: (main):
6190 Make a thread test compile and run... very silly..
6193 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6195 * docs/manual/appendix-porting.xml:
6196 Mention removal of libgstgconf-0.9.la and existence of gconf
6199 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6201 * docs/pwg/advanced-clock.xml:
6202 * docs/pwg/appendix-porting.xml:
6203 * docs/pwg/intro-preface.xml:
6204 * docs/pwg/other-base.xml:
6205 * docs/pwg/other-manager.xml:
6206 * docs/pwg/other-nton.xml:
6207 * docs/pwg/other-ntoone.xml:
6208 * docs/pwg/other-oneton.xml:
6210 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6211 demuxer), remove n-to-n (was never written), fix some code examples
6212 and links and update the porting section to include all this.
6214 2005-07-19 Wim Taymans <wim@fluendo.com>
6216 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6217 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6218 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6219 (gst_queue_src_activate_push), (gst_queue_change_state),
6220 (gst_queue_get_property):
6222 Propagate GstFlowReturn more intelligently upstream and output
6223 an ERROR/EOS when streaming stopped due to fatal error.
6225 2005-07-19 Wim Taymans <wim@fluendo.com>
6227 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6228 Don't block forever for the state change to complete, the
6229 pipeline already did with a sensible timeout.
6231 2005-07-19 Wim Taymans <wim@fluendo.com>
6233 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6234 Make sure we never call the create function is we
6237 2005-07-19 Andy Wingo <wingo@pobox.com>
6239 * gst/parse/parse.l: Attempt to solve bug #172815.
6241 2005-07-19 Wim Taymans <wim@fluendo.com>
6243 * docs/design/part-clocks.txt:
6244 * docs/design/part-events.txt:
6245 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6247 Only update the seeking values when we are not
6250 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6252 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6253 Oops, ignore the result of gst_pad_push_event here.
6255 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6257 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6258 (gst_base_src_activate_push):
6259 Send discont event from the loop function, as pads
6260 aren't activated yet in the activate_push handler.
6262 * gst/gstbin.c: (bin_bus_handler):
6263 Don't leak element name.
6265 2005-07-18 Andy Wingo <wingo@pobox.com>
6267 * configure.ac: Use AS_LIBTOOL_TAGS.
6269 2005-07-18 Wim Taymans <wim@fluendo.com>
6271 * docs/gst/gstreamer.types:
6272 Remove deleted types.
6274 2005-07-18 Wim Taymans <wim@fluendo.com>
6276 * check/elements/gstfakesrc.c: (GST_START_TEST):
6279 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6280 (init_popt_callback):
6282 * gst/gst_private.h:
6283 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6284 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6287 * gst/gstconfig.h.in:
6288 * gst/gstelement.c: (gst_element_class_init),
6289 (gst_element_set_base_time), (gst_element_get_base_time),
6290 (iterator_fold_with_resync), (gst_element_change_state),
6291 (gst_element_dispose), (gst_element_get_bus):
6293 * gst/gstelementfactory.h:
6294 * gst/gsterror.c: (_gst_core_errors_init):
6297 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6299 * gst/gstinfo.c: (_gst_debug_init):
6300 * gst/gstmessage.c: (_gst_message_copy):
6302 * gst/gstminiobject.h:
6305 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6306 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6309 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6310 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6311 (gst_pipeline_get_last_stream_time):
6312 * gst/gstpipeline.h:
6313 * gst/gstpluginfeature.h:
6315 * gst/gstscheduler.c:
6316 * gst/gstscheduler.h:
6317 * gst/gststructure.h:
6318 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6319 (gst_task_finalize), (gst_task_func), (gst_task_create),
6320 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6321 (gst_task_stop), (gst_task_pause):
6323 * gst/gsttypefind.h:
6325 * gst/registries/gstlibxmlregistry.c: (load_feature),
6326 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6327 * gst/registries/gstxmlregistry.c:
6328 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6329 * gst/schedulers/threadscheduler.c:
6330 * libs/gst/control/dparammanager.h:
6331 * tools/gst-inspect.c: (print_element_list),
6332 (print_plugin_features), (print_element_features):
6333 * tools/gst-xmlinspect.c: (print_element_list),
6334 (print_plugin_info), (main):
6335 Removed plugable schedulers.
6336 Removed Scheduler/Manager from elements.
6337 Removed gsttypes.h, rearranged includes.
6338 Removed dependency pad<->element, element<>pipeline, and
6339 various others, fix includes.
6340 implement gst_pad_get_parent() with gst_object_get_parent()
6341 Make GstTask sefcontained.
6342 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6344 Fix endless loop in iterator_fold_with_resync.
6347 2005-07-18 Wim Taymans <wim@fluendo.com>
6353 2005-07-18 Wim Taymans <wim@fluendo.com>
6358 2005-07-18 Wim Taymans <wim@fluendo.com>
6364 2005-07-18 Wim Taymans <wim@fluendo.com>
6366 * docs/design/part-dynamic.txt:
6367 * docs/design/part-events.txt:
6368 * docs/design/part-seeking.txt:
6369 Some more docs in the works.
6371 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6372 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6373 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6374 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6375 (gst_base_transform_handle_buffer),
6376 (gst_base_transform_sink_activate_push),
6377 (gst_base_transform_src_activate_pull),
6378 (gst_base_transform_set_passthrough),
6379 (gst_base_transform_is_passthrough):
6382 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6385 * gst/gstevent.c: (gst_event_finalize):
6388 * gst/gstutils.c: (gst_element_unlink),
6389 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6390 (gst_pad_proxy_setcaps):
6392 Add _get_parent_element() to get a pads parent as an element.
6394 2005-07-18 Wim Taymans <wim@fluendo.com>
6396 * check/gst/gstbin.c: (GST_START_TEST):
6399 2005-07-18 Wim Taymans <wim@fluendo.com>
6401 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6402 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6403 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6404 (gst_base_sink_event), (gst_base_sink_do_sync),
6405 (gst_base_sink_chain), (gst_base_sink_loop),
6406 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6407 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6409 Fix logic for returning ASYNC when not prerolled.
6411 2005-07-18 Wim Taymans <wim@fluendo.com>
6413 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6414 Fix nasty refcount bug.
6416 2005-07-16 Philippe Khalaf <burger@speedy.org>
6418 * gst/elements/gstfdsrc.c:
6419 * gst/elements/gstfdsrc.h:
6420 * gst/elements/gstelements.c:
6421 * gst/elements/Makefile.am:
6422 Ported fdsrc to 0.9.
6424 2005-07-16 Wim Taymans <wim@fluendo.com>
6426 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6427 (gst_base_sink_do_sync):
6430 2005-07-16 Wim Taymans <wim@fluendo.com>
6432 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6433 (gst_base_sink_event), (gst_base_sink_get_times),
6434 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6435 * gst/base/gstbasesink.h:
6436 Store and use discont values when syncing buffers as described
6439 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6440 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6441 (gst_base_src_activate_push):
6442 Push discont event when starting.
6444 * gst/elements/gstidentity.c: (gst_identity_transform):
6447 * gst/gstbin.c: (gst_bin_change_state):
6448 Small cleanups in base_time distribution.
6450 * gst/gstelement.c: (gst_element_set_base_time),
6451 (gst_element_get_base_time), (gst_element_change_state):
6453 Added methods for the base_time of the element.
6456 * gst/gstpipeline.c: (gst_pipeline_send_event),
6457 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6458 (gst_pipeline_get_last_stream_time):
6459 * gst/gstpipeline.h:
6461 Handle seeking as described in design doc, remove stream_time
6463 Cleanups clock and stream_time selection code. Added accessors
6464 for the stream_time.
6467 2005-07-16 Andy Wingo <wingo@pobox.com>
6469 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6472 2005-07-16 Wim Taymans <wim@fluendo.com>
6474 * check/gst/gstbin.c: (GST_START_TEST):
6475 Make elements silent as the deep_notify refs the
6476 parent, which might make the test fail.
6478 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6479 Don't hold the lock for too long.
6481 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6483 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6484 Don't unref the caps we passed to gst_caps_make_writable() after
6485 passing them. gst_caps_make_writable() will do that for us.
6487 2005-07-15 Andy Wingo <wingo@pobox.com>
6489 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6492 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6493 own marshalling function for the handoff signal. Properly type the
6494 buffer as a buffer. Fixes some warnings. Should do a more general
6496 (gst_identity_class_init): Plug into the right marshaller.
6498 2005-07-15 Wim Taymans <wim@fluendo.com>
6500 * docs/design/part-TODO.txt:
6501 * docs/design/part-clocks.txt:
6502 * docs/design/part-element-sink.txt:
6503 * docs/design/part-events.txt:
6504 * docs/design/part-gstpipeline.txt:
6505 Updated docs, mostly DISCONT related.
6507 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6509 * docs/pwg/building-pads.xml:
6510 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6512 2005-07-15 Andy Wingo <wingo@pobox.com>
6514 * tools/gst-typefind.c: Update, add copyright block.
6516 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6517 Normalize and truncate caps before fixation.
6520 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6521 discards all but the first structure from its argument.
6523 2005-07-15 Wim Taymans <wim@fluendo.com>
6525 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6526 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6527 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6528 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6529 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6530 (gst_base_transform_chain), (gst_base_transform_change_state),
6531 (gst_base_transform_set_passthrough),
6532 (gst_base_transform_is_passthrough):
6533 * gst/base/gstbasetransform.h:
6534 Make passthrough work using the bufferpools.
6535 Changed API a bit, subclasses have to write into a buffer
6536 provided by the base class.
6537 More debug info in nego functions.
6539 * gst/elements/gstidentity.c: (gst_identity_init),
6540 (gst_identity_transform):
6541 Port to new base class.
6543 2005-07-15 Wim Taymans <wim@fluendo.com>
6545 * gst/gstmessage.c: (gst_message_new_state_changed):
6546 * tools/gst-launch.c: (event_loop), (main):
6547 Totally dump messages in -launch with the -m option.
6548 Fix message name for State messages,
6550 2005-07-14 Wim Taymans <wim@fluendo.com>
6552 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6553 Post error messages on errors.
6555 2005-07-14 Wim Taymans <wim@fluendo.com>
6557 * gst/gstcaps.c: (gst_caps_do_simplify):
6561 Define error for stream stopped.
6563 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6564 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6565 Do proper return values.
6567 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6568 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6569 (gst_pad_get_range):
6570 Better return values.
6573 Reorganise return values, add macro to check for fatal errors.
6575 * gst/gstqueue.c: (gst_queue_chain):
6576 Return proper GstFlowReturn values,
6578 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6580 * docs/gst/gstreamer-sections.txt:
6581 * docs/gst/gstreamer.types:
6582 * docs/gst/tmpl/gst.sgml:
6583 * docs/gst/tmpl/gstbasesink.sgml:
6584 * docs/gst/tmpl/gstbasesrc.sgml:
6585 * docs/gst/tmpl/gstbasetransform.sgml:
6586 * docs/gst/tmpl/gstbin.sgml:
6587 * docs/gst/tmpl/gstbuffer.sgml:
6588 * docs/gst/tmpl/gstcaps.sgml:
6589 * docs/gst/tmpl/gstclock.sgml:
6590 * docs/gst/tmpl/gstcompat.sgml:
6591 * docs/gst/tmpl/gstconfig.sgml:
6592 * docs/gst/tmpl/gstelement.sgml:
6593 * docs/gst/tmpl/gstelementdetails.sgml:
6594 * docs/gst/tmpl/gstelementfactory.sgml:
6595 * docs/gst/tmpl/gstenumtypes.sgml:
6596 * docs/gst/tmpl/gsterror.sgml:
6597 * docs/gst/tmpl/gstevent.sgml:
6598 * docs/gst/tmpl/gstfakesink.sgml:
6599 * docs/gst/tmpl/gstfakesrc.sgml:
6600 * docs/gst/tmpl/gstfilesink.sgml:
6601 * docs/gst/tmpl/gstfilesrc.sgml:
6602 * docs/gst/tmpl/gstfilter.sgml:
6603 * docs/gst/tmpl/gstformat.sgml:
6604 * docs/gst/tmpl/gstghostpad.sgml:
6605 * docs/gst/tmpl/gstimplementsinterface.sgml:
6606 * docs/gst/tmpl/gstindex.sgml:
6607 * docs/gst/tmpl/gstindexfactory.sgml:
6608 * docs/gst/tmpl/gstinfo.sgml:
6609 * docs/gst/tmpl/gstiterator.sgml:
6610 * docs/gst/tmpl/gstmacros.sgml:
6611 * docs/gst/tmpl/gstmemchunk.sgml:
6612 * docs/gst/tmpl/gstminiobject.sgml:
6613 * docs/gst/tmpl/gstobject.sgml:
6614 * docs/gst/tmpl/gstpad.sgml:
6615 * docs/gst/tmpl/gstpadtemplate.sgml:
6616 * docs/gst/tmpl/gstparse.sgml:
6617 * docs/gst/tmpl/gstpipeline.sgml:
6618 * docs/gst/tmpl/gstplugin.sgml:
6619 * docs/gst/tmpl/gstpluginfeature.sgml:
6620 * docs/gst/tmpl/gstquery.sgml:
6621 * docs/gst/tmpl/gstqueue.sgml:
6622 * docs/gst/tmpl/gstregistry.sgml:
6623 * docs/gst/tmpl/gstregistrypool.sgml:
6624 * docs/gst/tmpl/gstscheduler.sgml:
6625 * docs/gst/tmpl/gstschedulerfactory.sgml:
6626 * docs/gst/tmpl/gststructure.sgml:
6627 * docs/gst/tmpl/gstsystemclock.sgml:
6628 * docs/gst/tmpl/gsttaglist.sgml:
6629 * docs/gst/tmpl/gsttagsetter.sgml:
6630 * docs/gst/tmpl/gsttrace.sgml:
6631 * docs/gst/tmpl/gsttrashstack.sgml:
6632 * docs/gst/tmpl/gsttypefind.sgml:
6633 * docs/gst/tmpl/gsttypefindfactory.sgml:
6634 * docs/gst/tmpl/gsttypes.sgml:
6635 * docs/gst/tmpl/gsturihandler.sgml:
6636 * docs/gst/tmpl/gsturitype.sgml:
6637 * docs/gst/tmpl/gstutils.sgml:
6638 * docs/gst/tmpl/gstvalue.sgml:
6639 * docs/gst/tmpl/gstversion.sgml:
6640 * docs/gst/tmpl/gstxml.sgml:
6641 * docs/libs/tmpl/gstcontrol.sgml:
6642 * docs/libs/tmpl/gstdataprotocol.sgml:
6643 * docs/libs/tmpl/gstdparam.sgml:
6644 * docs/libs/tmpl/gstdplinint.sgml:
6645 * docs/libs/tmpl/gstdpman.sgml:
6646 * docs/libs/tmpl/gstdpsmooth.sgml:
6647 * docs/libs/tmpl/gstgetbits.sgml:
6648 * docs/libs/tmpl/gstunitconvert.sgml:
6649 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6650 (gst_push_src_base_init), (gst_push_src_class_init),
6651 (gst_push_src_init), (gst_push_src_create):
6652 * gst/base/gstpushsrc.h:
6653 * gst/elements/gstelements.c:
6654 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6655 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6656 (gst_fake_sink_init), (gst_fake_sink_set_property),
6657 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6658 (gst_fake_sink_event), (gst_fake_sink_preroll),
6659 (gst_fake_sink_render), (gst_fake_sink_change_state):
6660 * gst/elements/gstfakesink.h:
6661 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6662 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6663 (gst_fake_src_base_init), (gst_fake_src_class_init),
6664 (gst_fake_src_init), (gst_fake_src_event_handler),
6665 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6666 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6667 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6668 (gst_fake_src_create_buffer), (gst_fake_src_create),
6669 (gst_fake_src_start), (gst_fake_src_stop):
6670 * gst/elements/gstfakesrc.h:
6671 * gst/elements/gstfilesink.c: (_do_init),
6672 (gst_file_sink_base_init), (gst_file_sink_class_init),
6673 (gst_file_sink_init), (gst_file_sink_dispose),
6674 (gst_file_sink_set_location), (gst_file_sink_set_property),
6675 (gst_file_sink_get_property), (gst_file_sink_open_file),
6676 (gst_file_sink_close_file), (gst_file_sink_query),
6677 (gst_file_sink_event), (gst_file_sink_render),
6678 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6679 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6680 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6681 * gst/elements/gstfilesink.h:
6682 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6683 (gst_file_src_class_init), (gst_file_src_init),
6684 (gst_file_src_finalize), (gst_file_src_set_location),
6685 (gst_file_src_set_property), (gst_file_src_get_property),
6686 (gst_file_src_map_region), (gst_file_src_map_small_region),
6687 (gst_file_src_create_mmap), (gst_file_src_create_read),
6688 (gst_file_src_create), (gst_file_src_is_seekable),
6689 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6690 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6691 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6692 (gst_file_src_uri_handler_init):
6693 * gst/elements/gstfilesrc.h:
6694 more autistic cleanliness in functions/names/defines
6696 2005-07-13 Andy Wingo <wingo@pobox.com>
6698 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6699 source couldn't negotiate.
6701 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6705 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6706 function. I am channeling Hades. Put your boots on suckers!!!
6708 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6710 * testsuite/caps/Makefile.am:
6711 * testsuite/caps/value_compare.c:
6712 * testsuite/caps/value_intersect.c:
6713 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6714 move two testsuite apps over to the check dir
6716 2005-07-12 Wim Taymans <wim@fluendo.com>
6718 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6719 Added more debug info in the negotiate process.
6722 Prepare for segment playback.
6724 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6730 * tools/gst-launch.c: (main):
6731 NULL pipeline on errors.
6733 2005-07-12 Andy Wingo <wingo@pobox.com>
6735 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6736 not it comes from a malloc region. Make sure our copy gets freed.
6738 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6740 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6741 * check/gst/gstmessage.c: (GST_START_TEST):
6742 * check/gst/gststructure.c: (GST_START_TEST),
6743 (gst_structure_suite), (main):
6745 * gst/gstelement.c: (gst_element_message_full):
6746 clean up GError and debug string now that they get copied
6747 * gst/gstmessage.c: (gst_message_new_error),
6748 (gst_message_new_warning), (gst_message_parse_error),
6749 (gst_message_parse_warning):
6750 use GST_TYPE_G_ERROR for structure_new, and take copies of
6751 arguments, so that we don't mess up refcounting
6753 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6755 * check/Makefile.am:
6756 add per-test valgrind targets
6757 * check/gst-libs/gdp.c: (GST_START_TEST),
6758 (gst_data_protocol_suite), (main):
6761 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6763 * check/Makefile.am:
6764 instate more valgrindable tests
6765 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6766 (GST_START_TEST), (fakesrc_suite):
6767 * check/gst/gstpad.c: (GST_START_TEST):
6768 * check/gst/gststructure.c: (GST_START_TEST):
6770 * docs/gst/tmpl/gstminiobject.sgml:
6771 * gst/gstpad.c: (gst_pad_finalize):
6772 fix the static mutex leak
6774 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6776 * check/Makefile.am:
6777 add two more tests for valgrinding
6778 * check/gst/gstvalue.c: (GST_START_TEST):
6779 test refcount of deserialized buffer, found a leak
6780 * docs/gst/gstreamer-docs.sgml:
6781 * docs/gst/gstreamer-sections.txt:
6782 * docs/gst/gstreamer.types:
6783 * docs/gst/tmpl/gstminiobject.sgml:
6784 add miniobject to docs
6785 * gst/gstminiobject.c:
6787 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6788 (gst_string_unwrap):
6789 fix a hard-to-find invalid write for one of the tests
6790 fix a leak for deserialized buffers
6792 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6794 * docs/pwg/advanced-events.xml:
6795 * docs/pwg/advanced-request.xml:
6796 * docs/pwg/advanced-scheduling.xml:
6797 * docs/pwg/appendix-porting.xml:
6798 * docs/pwg/building-boiler.xml:
6799 * docs/pwg/intro-preface.xml:
6800 * docs/pwg/other-ntoone.xml:
6801 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6802 of example code and explanation for pad activation, loop() and
6803 getrange() functions and a bit more. Remove old comments pointing
6805 * examples/pwg/Makefile.am:
6806 Add loop/getrange examples.
6808 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6811 check for valgrind binary + some fixes
6813 valgrind suppressions for the tests
6814 * check/Makefile.am:
6815 add a valgrind: target that valgrinds the unit tests
6816 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6817 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6818 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6819 * check/gst/gstghostpad.c:
6821 * check/gst/gstdata.c:
6823 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6824 (thread_unref), (gst_mini_object_suite), (main):
6826 * gst/gst.c: (gst_deinit):
6828 add a method to clean up.
6829 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6830 (gst_system_clock_obtain):
6831 allow for disposing the system clock.
6832 * tools/gst-launch.c: (main):
6835 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6837 * docs/gst/tmpl/gstbasesrc.sgml:
6838 * docs/gst/tmpl/gstfakesrc.sgml:
6839 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6840 (gst_base_src_init), (gst_base_src_set_property),
6841 (gst_base_src_get_property), (gst_base_src_get_range),
6842 (gst_base_src_start):
6843 * gst/base/gstbasesrc.h:
6844 add num-buffers property
6845 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6846 (gst_fakesrc_init), (gst_fakesrc_set_property),
6847 (gst_fakesrc_get_property), (gst_fakesrc_create),
6848 (gst_fakesrc_start):
6849 remove num-buffers property
6851 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6853 * docs/gst/gstreamer-sections.txt:
6854 * docs/gst/tmpl/gstbasesink.sgml:
6855 * docs/gst/tmpl/gstbasesrc.sgml:
6856 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6857 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6858 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6859 (gst_base_sink_set_property), (gst_base_sink_get_property),
6860 (gst_base_sink_handle_object), (gst_base_sink_event),
6861 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6862 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6863 (gst_base_sink_loop), (gst_base_sink_deactivate),
6864 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6865 (gst_base_sink_change_state):
6866 * gst/base/gstbasesink.h:
6867 * gst/base/gstbasesrc.h:
6868 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6869 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6870 (gst_filesink_init):
6871 more macro splitting
6873 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6875 * gst/gstelement.c: (gst_element_get_bus):
6877 * tools/gst-launch.c: (check_intr), (event_loop):
6880 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6882 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6885 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6887 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6888 (gst_base_src_finalize):
6889 add finalize method and clean up properly
6890 * gst/gstpipeline.c: (gst_pipeline_dispose):
6893 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6895 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6897 add more things to check
6898 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6902 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6904 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6905 (GST_START_TEST), (fakesrc_suite):
6906 * check/gst-libs/gdp.c: (GST_START_TEST):
6907 * check/gst/gst.c: (GST_START_TEST):
6908 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6909 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6910 * check/gst/gstbus.c: (GST_START_TEST):
6911 * check/gst/gstcaps.c: (GST_START_TEST):
6912 * check/gst/gstdata.c: (GST_START_TEST):
6913 * check/gst/gstelement.c: (GST_START_TEST):
6914 * check/gst/gstghostpad.c: (GST_START_TEST):
6915 * check/gst/gstiterator.c: (GST_START_TEST):
6916 * check/gst/gstmessage.c: (GST_START_TEST):
6917 * check/gst/gstobject.c: (GST_START_TEST):
6918 * check/gst/gstpad.c: (GST_START_TEST):
6919 * check/gst/gststructure.c: (GST_START_TEST):
6920 * check/gst/gstsystemclock.c: (GST_START_TEST),
6921 (gst_systemclock_suite):
6922 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6923 * check/gst/gstvalue.c: (GST_START_TEST):
6924 * check/pipelines/cleanup.c: (GST_START_TEST):
6925 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6926 * check/states/sinks.c: (GST_START_TEST):
6927 * check/gstcheck.c: (gst_check_init):
6929 add debugging category
6930 use GST_START_TEST now, so we add a debug line
6932 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6934 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6935 add test for state change message on a bin
6936 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6938 * gst/gstbin.c: (gst_bin_init):
6939 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6940 * gst/gstelement.c: (gst_element_post_message),
6941 (gst_element_set_state):
6942 * gst/gstelementfactory.c: (gst_element_factory_create):
6943 * gst/gstmessage.c: (gst_message_new):
6944 * gst/gstscheduler.c:
6945 various debugging additions and cleanups
6947 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6949 * check/Makefile.am:
6950 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6952 adding tests for elements
6953 * gst/gstelement.c: (gst_element_dispose):
6955 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6957 * gst/registries/gstlibxmlregistry.c: (load_feature):
6958 plug more leaks. A simple gst_init() now is leakfree, yay.
6960 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6962 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6963 (gst_xml_registry_load):
6964 plug another memleak
6966 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6969 use GST_SET_ERROR_CFLAGS
6971 change to ERROR_CFLAGS
6973 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6976 make GST_ERROR_CFLAGS overridable and re-enable Werror
6978 add a note about error CFLAGS
6979 * docs/gst/tmpl/gstfakesrc.sgml:
6980 * gst/elements/gstfakesrc.c:
6981 comment out some unused code
6982 * gst/gst.c: (split_and_iterate):
6983 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6987 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6989 * common/Makefile.am:
6990 * common/gtk-doc.mak:
6991 * docs/gst/Makefile.am:
6992 factor out gtk-doc.mak
6994 2005-07-07 Wim Taymans <wim@fluendo.com>
6996 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6997 (gst_thread_scheduler_dispose):
6998 Unlock the STREAM_LOCK completely.
7000 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7002 * check/Makefile.am:
7003 * check/elements/.cvsignore:
7004 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7005 (START_TEST), (fakesrc_suite), (main):
7006 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7007 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7008 (gst_fakesrc_create), (gst_fakesrc_start):
7009 * gst/elements/gstfakesrc.h:
7010 adding a first element test
7012 2005-07-07 Andy Wingo <wingo@pobox.com>
7014 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7017 2005-07-07 Wim Taymans <wim@fluendo.com>
7023 2005-07-07 Wim Taymans <wim@fluendo.com>
7025 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7026 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7027 Allow subclasses to implement their own negotiation.
7029 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7031 * docs/design/part-gstbin.txt:
7032 * docs/design/part-gstpipeline.txt:
7033 Update design notes to reflect the movement of
7034 responsibility for bus handling from GstPipeline to
7037 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7040 Remove unnecessary queue2/3/4 examples.
7042 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7044 * examples/Makefile.am:
7045 * examples/helloworld/helloworld.c: (event_loop), (main):
7046 * examples/queue/queue.c: (event_loop), (main):
7047 * examples/queue2/queue2.c: (main):
7048 Update a couple of the examples to work again.
7050 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7051 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7052 Spelling corrections and extra debug.
7054 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7055 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7056 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7058 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7059 (gst_pipeline_change_state):
7060 * gst/gstpipeline.h:
7061 Move the bus handler for children to the GstBin, and create a
7062 separate bus for receiving messages from children to the one the
7063 bus sends 'upwards' on.
7065 2005-07-06 Wim Taymans <wim@fluendo.com>
7068 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7069 (gst_base_sink_handle_object), (gst_base_sink_loop),
7070 (gst_base_sink_change_state):
7071 * gst/base/gstbasesink.h:
7072 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7073 (gst_base_src_init), (gst_base_src_setcaps),
7074 (gst_base_src_getcaps), (gst_base_src_loop),
7075 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7076 (gst_base_src_start), (gst_base_src_change_state):
7077 * gst/base/gstbasesrc.h:
7078 Make basesrc negotiate.
7079 Handle the case where preroll fails in basesink.
7082 2005-07-06 Wim Taymans <wim@fluendo.com>
7084 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7085 Implement the fixate function.
7086 Clean up acceptcaps.
7088 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7090 * docs/pwg/building-filterfactory.xml:
7092 Remove never-written filter-factory chapter; I'll add the various
7093 base classes to part 4 ("other element types") later on.
7095 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7097 * docs/pwg/advanced-negotiation.xml:
7098 * docs/pwg/building-boiler.xml:
7099 * docs/pwg/building-pads.xml:
7101 * examples/pwg/Makefile.am:
7102 Add a chapter on caps negotiation, simplify the original code
7103 samples a bit w.r.t. caps negotiation, add link to the advanced
7104 section. Add a bunch of examples showing different use cases of
7105 different types of caps negotiation. Upstream renegotiation isn't
7106 fully documented yet since nobody knows how that works.
7108 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7110 * check/gst/gstpad.c:
7112 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7113 if pad has no parent, return NULL as list of internal links
7115 2005-07-05 Andy Wingo <wingo@pobox.com>
7117 * gst/elements/gstfilesrc.c:
7118 * gst/elements/gstfakesrc.c:
7119 * gst/base/gstpushsrc.c:
7120 * gst/base/gstbasesrc.h:
7121 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7123 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7126 better report generation target (lcov needs a patch)
7128 2005-07-05 Andy Wingo <wingo@pobox.com>
7130 * gst/elements, testsuite: Null if we got it...
7132 2005-07-05 Wim Taymans <wim@fluendo.com>
7135 * libs/gst/dataprotocol/Makefile.am:
7136 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7137 * libs/gst/dataprotocol/dataprotocol.h:
7138 * pkgconfig/Makefile.am:
7139 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7140 * pkgconfig/gstreamer-dataprotocol.pc.in:
7141 Ported dataprotol to 0.9.
7142 Added pkgconfig files.
7144 2005-07-05 Andy Wingo <wingo@pobox.com>
7146 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7147 Default to returning TRUE for the case when tranform_caps returns
7148 a fixed caps, like for identity or volume.
7150 * check/gst/gstbus.c (pound_bus_with_messages):
7151 * check/gst/gstmessage.c (START_TEST):
7152 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7155 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7156 logic weaks here: always run transform_caps, trying passthrough
7157 operation only if the original caps intersects with the transform.
7159 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7160 source and sink caps.
7162 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7163 Intersect the peer caps with the pad template before going into
7165 (gst_base_transform_transform_caps): More debugging.
7167 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7170 2005-07-04 Edward Hervey <edward@fluendo.com>
7174 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7177 2005-07-04 Andy Wingo <wingo@pobox.com>
7179 * check/gst/gstpad.c: Only set explicit caps on pads.
7181 2005-07-01 Andy Wingo <wingo@pobox.com>
7183 * tests/network-clock.scm: Commentary update.
7185 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7186 Didn't really make sense, not implementable with basetransform,
7188 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7189 attempt at implementing the sync property, needs an unlock method.
7191 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7192 New func, by default returns the same caps (the identity
7194 (gst_base_transform_getcaps): Uses transform_caps to return
7196 (gst_base_transform_setcaps): Complicated logic to get caps on
7197 both pads, even if they are different, and to call set_caps once
7198 for every time both pads get their caps set.
7199 (gst_base_transform_handle_buffer): Give the ref to the transform
7200 function. Allows in-place modification of the buffer.
7202 * gst/base/gstbasetransform.h (transform_caps): New class method.
7203 Given caps on one side, what can I do on the other.
7204 (set_caps): Take two caps, one for each side of the element.
7207 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7208 caps in place. This is safe because we can check the mutability of
7209 the caps, and a good idea because fixate functions are just called
7210 as a matter of last resort. (Not actually implemented.)
7211 (gst_pad_set_caps): If the caps we're setting is actually the same
7212 as the existing pad caps, just update the pointer without calling
7213 setcaps. Assert that caps is either NULL or fixed, as per the
7216 * gst/gstghostpad.c: Update for fixate changes.
7218 2005-07-02 Andy Wingo <wingo@pobox.com>
7221 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7222 two refcounts makes it immutable, which is enough. Doc more.
7224 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7226 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7227 Put the mini_object into GValue as a mini_object,
7228 not a gpointer, since that's how we declared
7231 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7233 * examples/pwg/Makefile.am:
7236 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7238 * docs/pwg/building-testapp.xml:
7240 * examples/pwg/Makefile.am:
7243 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7246 * examples/Makefile.am:
7247 * examples/pwg/Makefile.am:
7248 * examples/pwg/extract.pl:
7249 Enable building the PWG examples.
7250 * docs/pwg/advanced-interfaces.xml:
7251 Add URI interface stub.
7252 * docs/pwg/advanced-types.xml:
7253 * docs/pwg/other-autoplugger.xml:
7254 * docs/pwg/appendix-porting.xml:
7256 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7257 * docs/pwg/building-boiler.xml:
7258 * docs/pwg/building-chainfn.xml:
7259 * docs/pwg/building-pads.xml:
7260 * docs/pwg/building-props.xml:
7261 * docs/pwg/building-state.xml:
7262 * docs/pwg/building-testapp.xml:
7263 Update the building-*.xml parts for 0.9 changes. All examples
7264 code blocks compile in examples/pwg/*.
7266 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7268 * docs/manual/advanced-autoplugging.xml:
7269 * docs/manual/appendix-checklist.xml:
7270 * docs/manual/appendix-integration.xml:
7271 * docs/manual/highlevel-components.xml:
7272 Fix playbin/decodebin examples, update docs a bit, mention bus
7273 instead of signals in various places, mention kmplayer and
7274 kaffeine since they have a working GStreamer backend in the KDE
7277 2005-06-30 Wim Taymans <wim@fluendo.com>
7280 * docs/design/draft-ghostpads.txt:
7281 * docs/design/draft-push-pull.txt:
7282 * docs/design/draft-query.txt:
7283 * docs/design/part-TODO.txt:
7284 * docs/design/part-query.txt:
7285 Added CHANGES-0.9 doc, updated status of other docs.
7290 2005-06-30 Wim Taymans <wim@fluendo.com>
7292 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7293 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7294 (gst_base_sink_change_state):
7295 * gst/base/gstbasesink.h:
7296 Some tweaks, only EOS and a buffer complete a preroll.
7298 2005-06-30 Andy Wingo <wingo@pobox.com>
7300 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7301 activate_push down to the internal pad as well.
7303 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7305 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7307 * gst/gsttaginterface.c:
7308 Some documentation fixes (#307394 and #307397).
7310 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7312 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7314 * gst/gstvalue.c: (gst_value_intersect_list):
7315 Fix memleak (#309125).
7317 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7319 * docs/manual/advanced-dataaccess.xml:
7320 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7321 * docs/manual/basics-pads.xml:
7322 Add reference for filtered caps to above chapter.
7324 2005-06-30 Wim Taymans <wim@fluendo.com>
7326 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7327 (gst_bin_change_state):
7329 Lame attempt at making the state change function a bit
7332 2005-06-30 Wim Taymans <wim@fluendo.com>
7334 * docs/design/part-clocks.txt:
7335 * docs/design/part-element-sink.txt:
7336 * docs/design/part-events.txt:
7337 * docs/design/part-preroll.txt:
7338 * docs/design/part-states.txt:
7339 Some more tweeks and additions to the docs.
7341 2005-06-30 Wim Taymans <wim@fluendo.com>
7343 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7344 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7345 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7346 (gst_pad_check_pull_range), (gst_pad_get_range),
7347 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7349 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7350 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7351 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7352 (gst_pad_remove_buffer_probe):
7353 Removed atomic operations, use existing LOCK.
7354 Move exception handling out of main code path.
7356 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7358 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7359 (silly_return_true_function), (gst_pad_class_init),
7360 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7361 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7362 (gst_pad_send_event):
7363 Fix accumulator, add default value by using _emitv() instead
7364 of _emit() for signal emission.
7366 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7368 * docs/manual/advanced-dataaccess.xml:
7369 * examples/manual/Makefile.am:
7371 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7374 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7376 * gst/elements/gstfilesink.c: (gst_filesink_render):
7377 Simplify code so that we don't have to handle short
7378 writes and return GST_FLOW_ERROR if an error occured.
7380 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7382 * docs/gst/gstreamer-docs.sgml:
7385 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7387 * docs/gst/gstreamer-sections.txt:
7388 * docs/gst/tmpl/gstpad.sgml:
7389 * docs/gst/tmpl/gstprobe.sgml:
7391 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7392 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7393 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7394 (gst_pad_push_event), (gst_pad_send_event):
7396 * gst/gstutils.c: (gst_pad_add_data_probe),
7397 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7398 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7399 (gst_pad_remove_buffer_probe):
7401 Remove old probes, add new g-signal-based probes and some utility
7404 2005-06-29 Edward Hervey <edward@fluendo.com>
7406 * gst/gstelementfactory.c:
7409 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7410 the definition to the header file.
7412 2005-06-29 Andy Wingo <wingo@pobox.com>
7414 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7415 plugins from the source directory.
7417 2005-06-29 Wim Taymans <wim@fluendo.com>
7419 * docs/gst/tmpl/gstbuffer.sgml:
7420 * docs/gst/tmpl/gstclock.sgml:
7421 Some fixings for blantently wrong text.
7423 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7425 * check/Makefile.am:
7426 * gst/gst.c: (add_path_func), (init_pre):
7427 * gst/gstregistry.c: (gst_registry_add_path):
7428 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7429 only scan the GST_PLUGIN_PATH locations, and not add
7432 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7434 * docs/gst/gstreamer-sections.txt:
7435 * docs/gst/tmpl/gstbasesrc.sgml:
7442 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7444 * docs/manual/advanced-autoplugging.xml:
7445 Fix autoplugging example.
7447 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7449 * docs/manual/advanced-autoplugging.xml:
7450 * docs/manual/mime-world.fig:
7451 Try to get autoplugging working, fix type detection. Fix text
7452 in hello-world image.
7454 2005-06-29 Wim Taymans <wim@fluendo.com>
7456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7457 (gst_base_sink_change_state):
7461 map SIGNAL and BROADCAST to the right function.
7464 Remove redundant braces.
7466 * gst/gstpad.c: (gst_pad_set_caps):
7467 Don't call setcaps function when reseting caps to NULL.
7469 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7470 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7471 (gst_system_clock_id_unschedule):
7472 Use BROADCAST as this is what we do.
7474 2005-06-29 Wim Taymans <wim@fluendo.com>
7476 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7477 We are actually prerolling before commiting the state
7480 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7482 * docs/manual/advanced-clocks.xml:
7483 * docs/manual/advanced-interfaces.xml:
7484 * docs/manual/advanced-metadata.xml:
7485 * docs/manual/advanced-position.xml:
7486 * docs/manual/advanced-schedulers.xml:
7487 * docs/manual/advanced-threads.xml:
7488 * docs/manual/appendix-porting.xml:
7489 * docs/manual/basics-bins.xml:
7490 * docs/manual/basics-bus.xml:
7491 * docs/manual/basics-elements.xml:
7492 * docs/manual/basics-helloworld.xml:
7493 * docs/manual/basics-pads.xml:
7494 * docs/manual/highlevel-components.xml:
7495 * docs/manual/manual.xml:
7496 * docs/manual/thread.fig:
7497 Update (until threads/scheduling) Application Development Manual;
7498 remove GstThread, add GstBus, add simple porting checklist, add
7499 documentation for tag writing, clocks, make all examples until this
7500 part compile and run.
7501 * examples/manual/Makefile.am:
7502 Update from changes to Application Development Manual; add bus
7503 example, remove thread example.
7505 2005-06-28 Wim Taymans <wim@fluendo.com>
7507 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7508 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7509 (gst_bus_source_dispatch):
7510 Add debugging messages.
7511 Make internal methods static.
7512 Handle the case where the bus is flushed in the handler.
7514 * gst/gstelement.c: (gst_element_get_bus):
7515 Fix refcount in _get_bus();
7517 * gst/gstpipeline.c: (gst_pipeline_change_state),
7518 (gst_pipeline_get_clock_func):
7519 Clock refcounting fixes.
7520 Handle the case where preroll timed out more gracefully.
7522 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7523 Clean up the internal thread in dispose. This is needed
7524 for subclasses that actually get disposed.
7526 * gst/schedulers/threadscheduler.c:
7527 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7528 (gst_thread_scheduler_dispose):
7529 Free thread pool in dispose.
7531 2005-06-28 Andy Wingo <wingo@pobox.com>
7533 * tests/network-clock-utils.scm (debug, print-event): New utils.
7535 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7536 (*packet-loss*): Unified loss probability.
7537 (network-time): Report out-of-band events.
7539 * tests/plot-data: Add support for out-of-band events. Hack it
7540 into this script instead of passing it down the pipe; should fix
7543 2005-06-28 Wim Taymans <wim@fluendo.com>
7545 * docs/gst/gstreamer.types:
7546 * docs/gst/tmpl/gstbasesrc.sgml:
7547 * docs/gst/tmpl/gstpad.sgml:
7550 2005-06-28 Wim Taymans <wim@fluendo.com>
7552 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7553 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7554 (gst_proxy_pad_do_fixatecaps):
7555 Correctly proxy the check_pull_range function.
7557 2005-06-28 Andy Wingo <wingo@pobox.com>
7559 * tests/network-clock.scm: Removed need for slib.
7561 2005-06-28 Wim Taymans <wim@fluendo.com>
7563 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7564 (gst_basesink_preroll_queue_flush):
7565 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7566 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7567 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7568 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7569 (gst_proxy_pad_set_property):
7572 * gst/gstqueue.c: (gst_queue_init):
7573 The deprecated pad loop function is removed now.
7575 2005-06-28 Andy Wingo <wingo@pobox.com>
7577 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7578 New parameters, simulate network packet loss.
7580 * tests/network-clock-utils.scm: Initialize the RNG.
7582 2005-06-28 Wim Taymans <wim@fluendo.com>
7584 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7585 (gst_basesink_event), (gst_basesink_deactivate):
7586 Flushing the preroll queue always needs to unlock the waiters.
7588 2005-06-28 Edward Hervey <edward@fluendo.com>
7590 * gst/gstpipeline.c: (gst_pipeline_send_event):
7591 Wheen a seek was successful on a pipeline, set the stream_time to the
7592 seek offset in order to have a synchronized stream_time.
7594 2005-06-28 Wim Taymans <wim@fluendo.com>
7596 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7597 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7598 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7599 (gst_proxy_pad_do_fixatecaps):
7600 Call wrapper function instead of just calling the function
7601 pointers. This takes care of any locking and whatmore.
7603 2005-06-28 Wim Taymans <wim@fluendo.com>
7605 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7606 (gst_pad_pull_range):
7608 CONNECTED -> LINKED.
7610 2005-06-28 Andy Wingo <wingo@pobox.com>
7612 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7613 source-munging commit!!!
7615 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7616 (gst_object_sink): Take gpointer arguments, not GstObject --
7617 avoids casts. Like GLib.
7619 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7622 2005-06-27 Andy Wingo <wingo@pobox.com>
7624 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7627 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7628 returns a sorted copy of the trace list.
7629 (gst_alloc_trace_print_live): New API, only prints traces with
7630 live objects. Sort the list.
7631 (gst_alloc_trace_print_all): Sort the list.
7632 (gst_alloc_trace_print): Align columns.
7634 * gst/elements/gstttypefindelement.c:
7635 * gst/elements/gsttee.c:
7636 * gst/base/gstbasesrc.c:
7637 * gst/base/gstbasesink.c:
7638 * gst/base/gstbasetransform.c:
7639 * gst/gstqueue.c: Adapt for pad activation changes.
7641 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7643 (gst_pipeline_dispose): Drop ref on sched.
7645 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7646 (gst_pad_activate_default): Push mode by default.
7647 (pre_activate_switch, post_activate_switch): New stubs, things to
7648 do before and after switching activation modes on pads.
7649 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7650 the pad's activate function to choose which mode to activate.
7651 Shortcut on deactivation and call the right function directly.
7652 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7654 (gst_pad_activate_push): New API, same for push mode.
7655 (gst_pad_set_activate_function)
7656 (gst_pad_set_activatepull_function)
7657 (gst_pad_set_activatepush_function): Setters for new API.
7659 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7660 Trace all miniobjects.
7661 (gst_mini_object_make_writable): Unref the arg if we copy, like
7662 gst_caps_make_writable.
7664 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7666 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7667 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7668 Adapt for new pad API.
7670 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7673 * gst/gstelement.c (gst_element_iterate_src_pads)
7674 (gst_element_iterate_sink_pads): New API functions.
7676 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7677 should fold into gstiterator.c in some form.
7678 (gst_element_pads_activate): Simplified via use of fold and
7679 delegation of decisions to gstpad->activate.
7681 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7684 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7685 class once in init, like gstmessage. Didn't run into this issue
7686 but it seems correct. Don't initialize a trace, gstminiobject does
7689 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7690 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7692 (assert_live_count): New util function, uses alloc traces to check
7695 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7696 To be modified when unlink drops the internal pad.
7698 2005-06-27 Wim Taymans <wim@fluendo.com>
7700 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7701 (gst_bin_change_state):
7702 Cleanup the get_state() function a little, make sure it
7703 iterates the same set of elements.
7704 Added stub iterate_state_order().
7706 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7708 * docs/gst/gstreamer-docs.sgml:
7709 * docs/gst/gstreamer-sections.txt:
7710 * docs/gst/gstreamer.types:
7711 * docs/gst/tmpl/gstbasesink.sgml:
7712 * docs/gst/tmpl/gstbasesrc.sgml:
7713 * docs/gst/tmpl/gstbasetransform.sgml:
7714 * docs/gst/tmpl/gstelement.sgml:
7715 * docs/gst/tmpl/gstiterator.sgml:
7716 * gst/base/gstbasesrc.c:
7717 * gst/base/gstbasesrc.h:
7718 * gst/base/gstbasetransform.h:
7720 * gst/gstiterator.h:
7721 adding basetransform and iterator docs
7723 2005-06-27 Andy Wingo <wingo@pobox.com>
7725 * docs/design/part-activation.txt: Notes on how activation should
7726 work -- not quite implemented yet.
7728 2005-06-25 Wim Taymans <wim@fluendo.com>
7730 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7731 At least get the chain function correct, needs more
7734 2005-06-25 Wim Taymans <wim@fluendo.com>
7736 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7737 (gst_basesink_handle_object), (gst_basesink_event),
7738 (gst_basesink_do_sync), (gst_basesink_handle_event),
7739 (gst_basesink_change_state):
7741 Right, two problems here: ghostpads don't take locks and
7742 glib _rec_mutex_lock_full() with depth==0 still locks.
7743 Catch illegal locking and g_warn them.
7745 2005-06-25 Wim Taymans <wim@fluendo.com>
7747 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7748 Have to check for completion now...
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 Unlock STREAM_LOCK whatever the recursion was.
7759 2005-06-25 Wim Taymans <wim@fluendo.com>
7761 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7762 (gst_basesink_preroll_queue_empty),
7763 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7764 (gst_basesink_event), (gst_basesink_do_sync),
7765 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7766 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7767 (gst_basesink_change_state):
7768 Reworked the base sink, handle event and buffer serialisation
7769 correctly and removed possible deadlock.
7770 Handle EOS correctly.
7772 2005-06-25 Wim Taymans <wim@fluendo.com>
7774 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7775 (gst_pipeline_change_state):
7776 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7777 Allow elements to post EOS in the state change function.
7778 Fix up -launch, make it exit the poll loop when the
7779 pipeline actually changed state.
7780 Fix up warning parsing in -launch.
7782 2005-06-25 Wim Taymans <wim@fluendo.com>
7784 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7785 (gst_tee_sink_activate):
7786 Core takes STREAM_LOCK for us now.
7788 2005-06-25 Wim Taymans <wim@fluendo.com>
7790 * gst/gstelement.c: (gst_element_get_state_func),
7791 (gst_element_set_state):
7793 * gst/gstmessage.c: (gst_message_parse_error),
7794 (gst_message_parse_warning):
7795 Keep track of current target state while performing a state
7796 change so that subclasses can do something interesting.
7797 Fix parsing of warning/error messages when GError is NULL.
7799 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7801 * docs/gst/Makefile.am:
7802 * docs/gst/gstreamer-docs.sgml:
7803 * docs/gst/gstreamer-sections.txt:
7804 * docs/gst/gstreamer.types:
7805 * docs/gst/tmpl/gstbasesink.sgml:
7806 * docs/gst/tmpl/gstbasesrc.sgml:
7807 * docs/gst/tmpl/gstbin.sgml:
7808 * docs/gst/tmpl/gstcompat.sgml:
7809 * docs/gst/tmpl/gstfakesink.sgml:
7810 * docs/gst/tmpl/gstfakesrc.sgml:
7811 * docs/gst/tmpl/gstfilesink.sgml:
7812 * docs/gst/tmpl/gstfilesrc.sgml:
7813 * docs/gst/tmpl/gstindex.sgml:
7814 * docs/manual/appendix-quotes.xml:
7815 * gst/base/gstbasesrc.h:
7816 * gst/elements/gstfakesrc.h:
7818 start pulling in base classes and elements in our docs
7820 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7822 * docs/gst/Makefile.am:
7823 * docs/libs/Makefile.am:
7824 fixed make distcheck with gtk-doc 1.3
7826 2005-06-23 Wim Taymans <wim@fluendo.com>
7828 * gst/gstelement.c: (gst_element_get_state_func),
7829 (gst_element_set_state), (gst_element_change_state):
7830 When the state did not change, also report NO_PREROLL
7833 2005-06-23 Wim Taymans <wim@fluendo.com>
7835 * gst/gstpad.c: (gst_pad_event_default):
7836 * gst/gstqueue.c: (gst_queue_loop):
7837 No unsafe task pausing please.
7839 2005-06-23 Wim Taymans <wim@fluendo.com>
7841 * gst/schedulers/threadscheduler.c:
7842 (gst_thread_scheduler_task_start),
7843 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7844 Ref the task before pushing it on the threadpool. This
7845 makes sure that we have a ref when the threadfunction is
7848 2005-06-23 Andy Wingo <wingo@pobox.com>
7850 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7851 offset is greater than the file's size.
7853 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7854 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7855 * gst/gstobject.c (gst_object_class_init): Make the class lock
7856 recursive. Wim won't let me drop deep_notify. Decodebin works
7859 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7860 internal pad, and hacks accordingly. Doesn't do it on the target
7861 pad because we change its caps. Probably catches all cases of
7863 (gst_ghost_pad_set_property): Connect to notify::caps as
7866 * tests/network-clock.scm (plot-simulation): Pipe data to the
7867 elite python skript.
7869 * tests/network-clock-utils.scm (define-parameter): New macro,
7870 defines a parameter that can be set via the command line.
7871 (set-parameter!, parse-parameter-arguments): Command line args
7874 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7877 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7879 * gst/elements/gsttypefindelement.c:
7880 (gst_type_find_element_handle_event):
7881 Don't restart typefinding on a discont.
7882 * gst/gstelement.c: (gst_element_set_state):
7884 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7885 Allow changing mode of an active pad.
7887 * gst/registries/gstlibxmlregistry.c: (load_feature):
7888 Don't cast a static pad template to a normal pad template.
7890 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7892 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7893 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7894 remove gst_strtoll completely, since it didn't actually do
7895 anything more than what g_ascii_strtoull already does.
7896 check for range errors when deserializing
7897 do a cast for the unsigned cases; but further fixing needs
7898 a decision on what the interpretation of "(int)" and
7899 deserialization should be for values that fall outside the
7900 type's boundaries (ie, refuse, or interpret as casting)
7902 2005-06-23 Wim Taymans <wim@fluendo.com>
7904 * check/Makefile.am:
7905 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7906 * docs/design/part-live-source.txt:
7907 * docs/design/part-states.txt:
7908 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7909 (gst_basesrc_set_live), (gst_basesrc_is_live),
7910 (gst_basesrc_get_range), (gst_basesrc_activate),
7911 (gst_basesrc_change_state):
7912 * gst/base/gstbasesrc.h:
7913 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7914 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7915 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7916 * gst/gstelement.c: (gst_element_get_state_func),
7917 (gst_element_set_state):
7920 * tools/gst-launch.c: (event_loop), (main):
7921 Added support for live sources and other elements that
7923 Updated design docs, added live-source design doc.
7924 Implemented live source functionality in basesrc
7925 Fix error condition in _bin_get_state()
7926 Implement live source handling in -launch.
7927 Added check for live sources.
7928 Fixed case in GstBin where elements were changed state
7932 2005-06-23 Andy Wingo <wingo@pobox.com>
7934 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7937 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7938 gst_caps_replace takes care of this for us.
7940 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7941 gst_pad_set_caps on the target, not just its setcaps() function.
7943 * tests/network-clock.scm:
7944 * tests/network-clock-utils.scm: A network clock simulator.
7945 Something of an algorithmic testbed before doing something in C.
7947 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7949 * check/Makefile.am:
7950 * check/gst/capslist.h:
7951 copy over from 0.8, and add two with bitmasks specified with
7953 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7954 add test to parse everything from capslist.h
7955 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7957 add test for structure deserialization
7958 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7959 add tests for deserialization of strings to int types
7960 * gst/gststructure.c: (gst_structure_nth_field_name):
7961 * gst/gststructure.h:
7962 add a way to get the name of a field referenced by index
7963 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7964 instead of checking if the resulting long long lies between
7965 min and max, we check if the long long would fit into
7966 a number of bytes for the final type.
7967 This fixes cases where a string represents 2^32 - 1, which
7968 when cast to int would be the (valid) -1, but is bigger than
7971 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7973 * gst/parse/grammar.y:
7974 add a log line for type deserialization
7976 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7978 * check/gst/gstvalue.c: (START_TEST):
7979 * gst/gstvalue.c: (gst_value_deserialize):
7980 return long long, not int, so gint64 deserialization actually
7981 works. Is there any flag that makes the compiler check this ?
7984 2005-06-22 Wim Taymans <wim@fluendo.com>
7987 Added convenience macros for setting buffers in GValue.
7989 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7991 * check/gst/.cvsignore:
7992 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7993 add a test deserializing int64, and comment part out because
7996 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7998 * check/Makefile.am:
7999 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8000 * testsuite/Makefile.am:
8001 * testsuite/caps/Makefile.am:
8002 * testsuite/caps/value_serialize.c:
8003 * testsuite/test_gst_init.c:
8004 move a value_serialize test over
8006 2005-06-20 Wim Taymans <wim@fluendo.com>
8011 * gst/gstvalue.c: (gst_value_compare_buffer),
8012 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8013 (gst_value_compare_flags), (gst_value_serialize_flags),
8014 (gst_value_deserialize_flags), (_gst_value_initialize):
8015 Fix serialisation of buffers, they are not boxed types anymore
8017 2005-06-20 Wim Taymans <wim@fluendo.com>
8019 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8020 Testcase to show error in buffer-on-caps serialisation.
8022 2005-06-20 Andy Wingo <wingo@pobox.com>
8024 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8025 will be adding to later.
8027 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8028 if its socks fill with rocks.
8029 (gst_system_clock_obtain): Set the name on object construction.
8030 Avoid double-checked locking.
8032 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8034 * gst/gsturi.c: (gst_element_make_from_uri):
8035 Fix potential endless loop.
8037 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8039 * check/Makefile.am:
8041 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8043 move over from testsuite dir and clean up
8046 * testsuite/Makefile.am:
8047 * testsuite/tags/.cvsignore:
8048 * testsuite/tags/Makefile.am:
8049 * testsuite/tags/merge.c:
8050 remove testsuite/tags
8052 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8054 * docs/gst/gstreamer-sections.txt:
8055 * docs/gst/tmpl/gstenumtypes.sgml:
8056 * win32/gstenumtypes.c:
8057 clean up documentation build a little
8059 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8062 add macros for checking refcounts on objects and caps
8063 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8064 add some more unit tests
8065 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8066 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8067 fix leaked refcounts (I hope :)) so unittest works
8071 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8073 * configure.ac: back to HEAD
8075 === release 0.9.1 ===
8077 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8083 2005-06-17 Andy Wingo <wingo@pobox.com>
8085 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8086 assert; it's always possible that the pad gets deactivated in
8087 between the checks in gstpad.c and the implementation. Rely on
8088 finish_preroll() to return a FLUSHING or similar instead of on the
8091 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8092 clock and post an EOS message if we come out of finish_preroll in
8095 2005-06-16 David Schleef <ds@schleef.org>
8097 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8098 (gst_capsfilter_set_property): Allow NULL as possible value
8099 for filter_caps property, indicating GST_CAPS_ANY.
8101 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8103 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8105 * gst/schedulers/Makefile.am:
8107 * gstreamer.spec.in:
8110 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8112 * gstreamer.spec.in:
8115 2005-06-08 Andy Wingo <wingo@pobox.com>
8117 * gst/gstutils.c: RPAD fixes all around.
8118 (gst_element_link_pads): Refcounting fixes.
8120 * tools/gst-inspect.c:
8121 * tools/gst-xmlinspect.c:
8123 * gst/base/gsttypefindhelper.c:
8124 * gst/base/gstbasesink.c:
8125 * gst/gstqueue.c: RPAD fixes.
8127 * gst/gstghostpad.h:
8128 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8129 pads. The tricky thing is they provide both source and sink
8130 interfaces, since they proxy the internal pad for the external
8131 pad, and vice versa. Implement with lower-level ProxyPad objects,
8132 with the interior proxy pad as a child of the exterior ghost pad.
8133 Should write a doc on this.
8135 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8136 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8139 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8140 pads are real pads. No ghost pads in this file. Not documenting
8141 the myriad s/RPAD/PAD/ and REALIZE fixes.
8142 (gst_pad_class_init): Add properties for "direction" and
8143 "template". Both are construct-only, so they can't change during
8144 the life of the pad. Fixes properly deriving from GstPad.
8145 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8146 derived objects, just set properties when creating the objects via
8148 (gst_pad_get_parent): Implement as a function, return NULL if the
8149 parent is not an element.
8150 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8151 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8153 * gst/gstobject.c (gst_object_class_init): Make name a construct
8154 property. Don't set it in the object init.
8156 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8157 with UNKNOWN direction.
8158 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8159 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8160 (gst_element_remove_pad): Remove ghost-pad special cases.
8161 (gst_element_pads_activate): Remove rpad cruft.
8163 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8164 catch the pad's-parent-not-an-element case.
8166 * gst/gst.h: Include gstghostpad.h.
8168 * gst/gst.c (init_post): No more real, ghost pads.
8170 * gst/Makefile.am: Add gstghostpad.[ch].
8172 * check/Makefile.am:
8173 * check/gst/gstbin.c:
8174 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8175 into a bin creates ghost pads, and that the refcounts are right.
8176 Partly moved from gstbin.c.
8178 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8180 * check/gst-libs/.cvsignore:
8181 * check/gst/.cvsignore:
8182 * check/pipelines/.cvsignore:
8184 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8185 (START_TEST), (cleanup_suite), (main):
8186 add some tests related to cleanup after running pipelines
8188 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8190 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8191 add a testsuite for GstBuffer
8193 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8195 * gst/gstminiobject.h:
8196 add defines for accessing the refcount
8198 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8200 * Makefile.am: added support for html unit test coverage reports
8202 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8204 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8205 Free existing caps if the capsfilter changes. Add a FIXME about
8206 setting those caps on the pads.
8208 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8209 Before adding a ghost pad to a parent bin, check that there isn't
8210 already one for the element on the bin. Prevents infinite recursion
8211 when using decodebin in parse pipelines. Andy says he'll rewrite the
8212 way this works anyway, so ignore the hack.
8214 2005-06-02 Andy Wingo <wingo@pobox.com>
8216 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8217 file size, pass it on to the type find helper.
8219 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8220 segment_start and segment_end properly according to the seek
8221 method. Segment_end is still a bit flaky because offset can be
8222 negative for CUR and END cases, but it takes -1 as an "unset"
8225 2005-06-02 Wim Taymans <wim@fluendo.com>
8227 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8228 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8229 (gst_basesink_activate):
8230 * gst/base/gstbasesink.h:
8231 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8232 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8233 (gst_pad_query), (gst_pad_start_task):
8235 * gst/gstqueue.c: (gst_queue_bufferalloc),
8236 (gst_queue_handle_sink_event), (gst_queue_chain):
8237 Bufferalloc: return GstFlowReturn to more accuratly report
8238 why allocation failed.
8240 2005-06-02 Wim Taymans <wim@fluendo.com>
8242 * gst/gstpipeline.c: (gst_pipeline_send_event):
8243 Take snapshot of state without blocking.
8245 2005-06-02 Wim Taymans <wim@fluendo.com>
8247 * docs/design/part-TODO.txt:
8248 * docs/design/part-caps.txt:
8249 * docs/design/part-clocks.txt:
8250 * docs/design/part-negotiation.txt:
8251 * docs/design/part-preroll.txt:
8254 2005-05-30 Wim Taymans <wim@fluendo.com>
8256 * gst/elements/gstidentity.c: (gst_identity_event),
8257 (gst_identity_transform), (gst_identity_get_property):
8258 Protect last_message property as it is accessed from
8261 2005-05-30 Wim Taymans <wim@fluendo.com>
8263 * gst/gstelement.c: (gst_element_init),
8264 (gst_element_pads_activate), (gst_element_change_state):
8265 Slicker pad activation code.
8267 2005-05-30 Wim Taymans <wim@fluendo.com>
8271 * gst/gstelementfactory.h:
8273 Move elementfactory methods to separate .h file.
8275 2005-05-30 Wim Taymans <wim@fluendo.com>
8277 * docs/design/part-overview.txt:
8278 * gst/gstsystemclock.h:
8279 Small typo fixes, doc updates.
8281 2005-05-30 Wim Taymans <wim@fluendo.com>
8283 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8284 (init_popt_callback):
8285 Remove cpu-opt flag.
8287 2005-05-30 Wim Taymans <wim@fluendo.com>
8289 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8290 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8292 Avoid typechecking in places where not needed.
8293 Added accessor for malloc_data.
8295 2005-05-30 Wim Taymans <wim@fluendo.com>
8297 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8298 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8299 (gst_pad_configure_sink), (gst_pad_configure_src),
8300 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8301 (gst_pad_start_task):
8302 Propagate errors from _set_caps() in configure_src/sink
8303 functions instead of returning TRUE.
8304 FLUSH events can travel up and downstream
8307 2005-05-30 Wim Taymans <wim@fluendo.com>
8309 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8310 (gst_basesink_activate):
8311 Handle EOS in preroll.
8313 2005-05-30 Wim Taymans <wim@fluendo.com>
8315 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8316 (gst_queue_loop), (gst_queue_handle_src_event):
8317 Remove old pieces of code
8318 Flushing the queue in an upstream event is a very bad idea.
8320 2005-05-26 Andy Wingo <wingo@pobox.com>
8322 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8323 gst_value_set_mini_object so as to add a ref on the object (which
8324 will be removed when the value is unset).
8326 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8327 arg type in ::handoff.
8329 * gst/gstelement.c (gst_element_change_state): Also deactivate
8330 pads in READY->NULL, just in case the element didn't make it to
8331 PAUSED. Wingo tested, Wim approved.
8333 2005-05-26 Wim Taymans <wim@fluendo.com>
8335 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8336 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8337 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8338 A flushing pad cannot be used to alloc_buffer from.
8340 2005-05-26 Wim Taymans <wim@fluendo.com>
8342 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8343 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8344 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8345 (gst_bus_create_watch), (gst_bus_add_watch_full):
8347 Implement a real GSource and use g_main_context_wakeup() to
8348 signal new messages instead of the socketpair.
8350 2005-05-25 Wim Taymans <wim@fluendo.com>
8352 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8353 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8354 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8355 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8356 (gst_pad_send_event), (gst_pad_start_task):
8357 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8358 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8359 (gst_queue_sink_activate), (gst_queue_src_activate),
8360 (gst_queue_change_state):
8362 Fix state changes for non sinks. We now change sinks, then elements
8363 with unconnected srcpads, then the rest.
8364 More efficient queue unlocking in flush and state changes.
8365 Set the pad activate mode even if it does not have an activate
8368 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8370 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8371 Don't go in pull mode for non-seekable sources.
8372 * gst/elements/gsttypefindelement.h:
8373 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8374 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8375 (free_entry), (stop_typefinding),
8376 (gst_type_find_element_handle_event), (find_peek),
8377 (gst_type_find_element_chain), (do_pull_typefind),
8378 (gst_type_find_element_change_state):
8379 Allow typefinding (w/o seeking) in push-mode, simplified version
8381 * gst/gstutils.c: (gst_buffer_join):
8383 gst_buffer_join() from 0.8.
8385 2005-05-25 Wim Taymans <wim@fluendo.com>
8387 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8388 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8389 (gst_pad_send_event), (gst_pad_start_task):
8390 Disable attempt at mode switching until it is figured out.
8392 2005-05-25 Wim Taymans <wim@fluendo.com>
8394 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8395 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8396 (gst_basesink_finish_preroll), (gst_basesink_chain),
8397 (gst_basesink_loop), (gst_basesink_activate),
8398 (gst_basesink_change_state):
8399 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8400 (gst_basesrc_get_range), (gst_basesrc_loop),
8401 (gst_basesrc_activate):
8402 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8403 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8404 (gst_real_pad_init), (gst_real_pad_set_property),
8405 (gst_real_pad_get_property), (gst_pad_set_active),
8406 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8407 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8408 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8409 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8410 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8411 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8412 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8413 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8414 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8415 (gst_pad_stop_task):
8417 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8418 (gst_queue_loop), (gst_queue_src_activate):
8419 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8420 (gst_task_get_state):
8422 * gst/schedulers/threadscheduler.c:
8423 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8424 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8426 Remove ACTIVE pad flag, use FLUSHING everywhere
8427 Added _pad_chain(), _pad_get_range() to call chain/getrange
8429 Add locks around IS_FLUSHING when reading.
8430 Take STREAM lock in chain(), get_range() functions so plugins
8431 don't need to take it anymore.
8435 2005-05-25 Wim Taymans <wim@fluendo.com>
8437 * tools/gst-launch.c: (event_loop):
8438 Unref message after using its contents instead of
8441 2005-05-24 Wim Taymans <wim@fluendo.com>
8443 * docs/design/draft-ghostpads.txt:
8444 * docs/design/draft-push-pull.txt:
8445 * docs/design/draft-query.txt:
8446 * docs/design/part-overview.txt:
8447 Docs updates, added general overview doc.
8449 2005-05-21 David Schleef <ds@schleef.org>
8451 * docs/gst/tmpl/old/GstBin.sgml:
8452 * docs/gst/tmpl/old/GstBuffer.sgml:
8453 * docs/gst/tmpl/old/GstCaps.sgml:
8454 * docs/gst/tmpl/old/GstClock.sgml:
8455 * docs/gst/tmpl/old/GstCompat.sgml:
8456 * docs/gst/tmpl/old/GstData.sgml:
8457 * docs/gst/tmpl/old/GstElement.sgml:
8458 * docs/gst/tmpl/old/GstEvent.sgml:
8459 * docs/gst/tmpl/old/GstIndex.sgml:
8460 * docs/gst/tmpl/old/GstStructure.sgml:
8461 * docs/gst/tmpl/old/GstTag.sgml:
8462 * docs/gst/tmpl/old/cothreads.sgml:
8463 * docs/gst/tmpl/old/cothreads_compat.sgml:
8464 * docs/gst/tmpl/old/gettext.sgml:
8465 * docs/gst/tmpl/old/gobject2gtk.sgml:
8466 * docs/gst/tmpl/old/grammar.tab.sgml:
8467 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8468 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8469 * docs/gst/tmpl/old/gst_private.sgml:
8470 * docs/gst/tmpl/old/gstaggregator.sgml:
8471 * docs/gst/tmpl/old/gstarch.sgml:
8472 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8473 * docs/gst/tmpl/old/gstbufferstore.sgml:
8474 * docs/gst/tmpl/old/gstdata_private.sgml:
8475 * docs/gst/tmpl/old/gstdisksink.sgml:
8476 * docs/gst/tmpl/old/gstdisksrc.sgml:
8477 * docs/gst/tmpl/old/gstelementfactory.sgml:
8478 * docs/gst/tmpl/old/gstextratypes.sgml:
8479 * docs/gst/tmpl/old/gstfakesink.sgml:
8480 * docs/gst/tmpl/old/gstfakesrc.sgml:
8481 * docs/gst/tmpl/old/gstfdsink.sgml:
8482 * docs/gst/tmpl/old/gstfdsrc.sgml:
8483 * docs/gst/tmpl/old/gstfilesink.sgml:
8484 * docs/gst/tmpl/old/gstfilesrc.sgml:
8485 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8486 * docs/gst/tmpl/old/gstidentity.sgml:
8487 * docs/gst/tmpl/old/gstindexfactory.sgml:
8488 * docs/gst/tmpl/old/gstmarshal.sgml:
8489 * docs/gst/tmpl/old/gstmd5sink.sgml:
8490 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8491 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8492 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8493 * docs/gst/tmpl/old/gstpipefilter.sgml:
8494 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8495 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8496 * docs/gst/tmpl/old/gstshaper.sgml:
8497 * docs/gst/tmpl/old/gstspider.sgml:
8498 * docs/gst/tmpl/old/gstspideridentity.sgml:
8499 * docs/gst/tmpl/old/gststatistics.sgml:
8500 * docs/gst/tmpl/old/gsttee.sgml:
8501 * docs/gst/tmpl/old/gsttimecache.sgml:
8502 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8503 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8504 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8505 * docs/gst/tmpl/old/types.sgml:
8506 I didn't intend to add these or check them in.
8508 2005-05-19 David Schleef <ds@schleef.org>
8510 * configure.ac: Use -no-common everywhere. In a sane world, it
8511 would be the default in libtool, because without it, you can't
8512 build DLLs on Windows.
8513 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8514 * docs/gst/gstreamer-sections.txt:
8515 * docs/gst/tmpl/gstcpu.sgml:
8516 * docs/gst/tmpl/gstdata.sgml:
8517 * docs/gst/tmpl/gstthread.sgml:
8519 2005-05-19 David Schleef <ds@schleef.org>
8521 * gst/gstminiobject.c: (gst_value_set_mini_object),
8522 (gst_value_take_mini_object), (gst_value_get_mini_object):
8523 * gst/gstminiobject.h: Add GValue set/get functions.
8525 2005-05-19 Wim Taymans <wim@fluendo.com>
8527 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8528 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8529 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8531 * gst/gstbus.c: (gst_bus_post):
8532 * gst/gstelement.c: (gst_element_get_random_pad):
8533 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8534 Make subbufer unref the parent in finalize.
8535 some more debugging info.
8538 2005-05-19 Wim Taymans <wim@fluendo.com>
8540 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8541 (gst_basesink_init), (gst_basesink_finalize),
8542 (gst_basesink_activate), (gst_basesink_change_state):
8543 Don't free preroll queue too early.
8545 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8549 Hi, I'm outdated. Please shoot me.
8551 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8553 * gst/gstpipeline.c: (gst_pipeline_send_event):
8554 Do not access variables after they have been deleted.
8556 2005-05-19 Wim Taymans <wim@fluendo.com>
8558 * tools/gst-inspect.c: (print_plugin_features):
8559 A plugin feature does unfortunatly not use the
8562 2005-05-18 Wim Taymans <wim@fluendo.com>
8564 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8565 Port _span() functions to new subbuffers.
8567 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8569 * gst/gstbin.c: (gst_bin_add_func):
8570 Fix clock settery in bins when adding kids after the clock has
8573 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8575 * gst/elements/gstidentity.c: (gst_identity_class_init):
8576 Workaround until signals support GstMiniObject.
8578 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8581 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8583 2005-05-18 Wim Taymans <wim@fluendo.com>
8585 * gst/base/Makefile.am:
8586 * gst/base/gstadapter.c: (gst_adapter_base_init),
8587 (gst_adapter_class_init), (gst_adapter_init),
8588 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8589 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8590 (gst_adapter_flush), (gst_adapter_available),
8591 (gst_adapter_available_fast):
8592 * gst/base/gstadapter.h:
8593 Ported and added adapter to the base classes.
8595 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8599 Make sure the class is reffed/unreffed once before threads can be
8600 used. Fixes #304551.
8602 2005-05-17 Wim Taymans <wim@fluendo.com>
8604 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8605 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8606 * gst/gstminiobject.c: (gst_mini_object_get_type),
8607 (gst_mini_object_free):
8608 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8609 (gst_pad_push), (gst_pad_push_event):
8610 * gst/gstqueue.c: (gst_queue_change_state):
8611 Don't queue buffers in basesink when we are flushing.
8612 Unref buffer when flushing in basesink.
8613 Flush queue when going to READY
8614 Unref buffer when _push() returns an error.
8615 Don't free MiniObject instance when refcount is incremented
8616 in _finalize() so that we can recover objects.
8618 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8620 * docs/manual/advanced-schedulers.xml:
8621 * docs/manual/appendix-checklist.xml:
8622 * docs/pwg/advanced-clock.xml:
8623 * docs/pwg/advanced-interfaces.xml:
8624 * docs/pwg/advanced-request.xml:
8625 * docs/pwg/advanced-types.xml:
8626 * docs/pwg/intro-preface.xml:
8627 * examples/plugins/example.c: (gst_example_get_type),
8628 (gst_example_class_init), (gst_example_chain),
8629 (gst_example_set_property), (gst_example_get_property),
8630 (gst_example_change_state), (plugin_init):
8631 * examples/plugins/example.h:
8634 2005-05-17 Wim Taymans <wim@fluendo.com>
8636 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8637 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8638 * gst/gstqueue.c: (gst_queue_change_state):
8639 Clear queue when going to READY.
8640 Remove IN_SETCAPS flag too.
8642 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8644 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8645 Remove implicit cast from gboolean to GstElementStateReturn;
8646 make sure we still return failure in paused => ready case if
8647 the parent class fails to change state and our own stop
8650 2005-05-17 Wim Taymans <wim@fluendo.com>
8652 * tools/gst-launch.c: (event_loop):
8653 Message was unreffed too soon.
8655 2005-05-16 Andy Wingo <wingo@pobox.com>
8657 * gst/gstbin.c (sink_iterator_filter): Err... um...
8659 * check/gst/gstbin.c (test_ghost_pads): New test for the
8660 ghosting-if-elements-not-in-same-bin behavior.
8662 2005-05-16 David Schleef <ds@schleef.org>
8664 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8665 accessing refcount directly.
8667 2005-05-15 David Schleef <ds@schleef.org>
8669 * check/Makefile.am: remove GstData checks
8670 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8671 * gst/Makefile.am: add miniobject, remove data
8672 * gst/gst.h: add miniobject, remove data
8673 * gst/gstdata.c: remove
8674 * gst/gstdata.h: remove
8675 * gst/gstdata_private.h: remove
8676 * gst/gsttypes.h: remove GstEvent and GstMessage
8677 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8678 * gst/gstmarshal.list: change BOXED -> OBJECT
8680 Implement GstMiniObject.
8681 * gst/gstminiobject.c:
8682 * gst/gstminiobject.h:
8684 Modify to be subclasses of GstMiniObject.
8685 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8686 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8687 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8688 (gst_subbuffer_get_type), (gst_subbuffer_init),
8689 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8692 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8693 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8694 (_gst_event_copy), (gst_event_new):
8696 * gst/gstmessage.c: (_gst_message_initialize),
8697 (gst_message_get_type), (gst_message_class_init),
8698 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8699 (gst_message_new), (gst_message_new_error),
8700 (gst_message_new_warning), (gst_message_new_tag),
8701 (gst_message_new_state_changed), (gst_message_new_application):
8703 * gst/gstprobe.c: (gst_probe_perform),
8704 (gst_probe_dispatcher_dispatch):
8706 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8707 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8708 (_gst_query_copy), (gst_query_new):
8710 Update elements for GstData -> GstMiniObject changes
8712 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8713 (gst_queue_chain), (gst_queue_loop):
8714 * gst/elements/gstbufferstore.c:
8715 (gst_buffer_store_add_buffer_func),
8716 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8717 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8718 (gst_fakesink_render):
8719 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8720 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8721 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8722 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8723 (gst_filesrc_create_read):
8724 * gst/elements/gstidentity.c: (gst_identity_class_init):
8725 * gst/elements/gsttypefindelement.c:
8726 (gst_type_find_element_src_event), (free_entry_buffers),
8727 (gst_type_find_element_handle_event):
8728 * libs/gst/dataprotocol/dataprotocol.c:
8729 (gst_dp_header_from_buffer):
8730 * libs/gst/dataprotocol/dataprotocol.h:
8731 * libs/gst/dataprotocol/dp-private.h:
8733 2005-05-15 David Schleef <ds@schleef.org>
8735 * gst/elements/gstelements.c: Don't include headers that were
8738 2005-05-15 David Schleef <ds@schleef.org>
8740 * gst/elements/Makefile.am: Remove some elements that don't
8741 need to be in the core (or even exist at all).
8742 * gst/elements/gstaggregator.c:
8743 * gst/elements/gstaggregator.h:
8744 * gst/elements/gstmd5sink.c:
8745 * gst/elements/gstmd5sink.h:
8746 * gst/elements/gstmultifilesrc.c:
8747 * gst/elements/gstmultifilesrc.h:
8748 * gst/elements/gstpipefilter.c:
8749 * gst/elements/gstpipefilter.h:
8750 * gst/elements/gstshaper.c:
8751 * gst/elements/gstshaper.h:
8752 * gst/elements/gststatistics.c:
8753 * gst/elements/gststatistics.h:
8754 * po/POTFILES.in: Remove above files.
8756 2005-05-14 Andy Wingo <wingo@pobox.com>
8758 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8759 so as to get the refs right.
8760 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8761 unreffing objects that don't pass the filter.
8763 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8764 gst_element_set_bus.
8765 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8766 normal cases, this will destroy the bus.
8768 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8771 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8774 2005-05-13 Andy Wingo <wingo@pobox.com>
8776 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8777 gst_pad_link, call pad_link_maybe_ghosting,
8778 (pad_link_maybe_ghosting): Links pads, making sure that the
8779 elements being linked are in the same bin.
8780 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8781 Helpers for pad_link_maybe_ghosting.
8783 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8786 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8788 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8790 * docs/design/part-element-source.txt:
8793 2005-05-12 Wim Taymans <wim@fluendo.com>
8795 * gst/base/gstbasesink.c: (gst_basesink_init),
8796 (gst_basesink_activate):
8797 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8798 (gst_basesrc_is_seekable):
8799 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8800 (bin_element_is_sink), (gst_bin_change_state):
8801 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8803 Identify sinks by their flag to avoid overly complicated
8805 Do state changes even for elements not reachable from the
8807 BaseSink is a sink now :)
8808 Some more debugging info in the basesrc.
8811 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8813 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8814 Implement _query on a bin, similar to _send_event.
8816 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8818 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8819 Discont event offset format should be GST_FORMAT_BYTES,
8820 not GST_FORMAT_TIME.
8822 2005-05-12 Wim Taymans <wim@fluendo.com>
8824 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8825 Same fix as Ronald's but without the signal.
8827 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8829 * gst/gstutils.c: (gst_element_query_position):
8830 No, an element is not a pad.
8832 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8834 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8835 (gst_bin_get_state):
8836 If a child is removed from a bin while we remove the child from
8837 the bin and while we're retrieving its state, signal this to the
8838 get_state function so we abort the wait (instead of waiting for
8839 a timeout) and can immediately re-iterate over all other elements.
8841 2005-05-12 Wim Taymans <wim@fluendo.com>
8843 * gst/base/Makefile.am:
8844 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8845 (gst_basesrc_start):
8846 * gst/base/gstbasesrc.h:
8847 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8848 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8849 (gst_pushsrc_init), (gst_pushsrc_create):
8850 * gst/base/gstpushsrc.h:
8851 Added is_seekable to BaseSrc
8852 Added simple PushSrc.
8854 2005-05-11 Wim Taymans <wim@fluendo.com>
8856 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8857 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8858 (gst_element_link_pads), (gst_element_query_position),
8859 (gst_element_query_convert), (intersect_caps_func),
8860 (gst_pad_query_position), (gst_pad_query_convert):
8861 Fix refcounting in utils function.
8862 No point in trying to activate a pad when it's added, it could
8863 be added from the state change function and then we deadlock, the
8864 element has to decide what to do.
8866 2005-05-10 Andy Wingo <wingo@pobox.com>
8868 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8869 *all* the arguments.
8871 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8872 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8873 lock (according to the docs -- if this is wrong change the docs).
8875 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8876 flush messages in the NULL state.
8878 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8879 message immediately and return.
8880 (gst_bus_set_flushing): New function. If a bus is flushing, it
8881 flushes out any queued messages and immediately unrefs new
8882 messages. This is so when an element goes to NULL, all of the
8883 unhandled messages coming from it can be freed, and their
8884 references to the element dropped. In other words: message source
8885 ref considered harmful :P
8887 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8888 we're finished with it.
8890 * gst/gstmessage.c (gst_message_new_state_changed):
8892 2005-05-10 Wim Taymans <wim@fluendo.com>
8894 * gst/gstvalue.c: (gst_value_compare_flags),
8895 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8896 (_gst_value_initialize):
8897 Added flags serialize/deserialize/compare code.
8899 2005-05-09 Andy Wingo <wingo@pobox.com>
8901 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8902 Intersect the peer's caps with our caps.
8904 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8906 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8907 * gst/elements/gsttypefindelement.c: (find_peek):
8908 Handle negative offsets better. Fixes decodebin.
8910 2005-05-09 Wim Taymans <wim@fluendo.com>
8912 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8913 (gst_base_transform_event):
8914 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8915 Implement accept_caps.
8916 Fix silly lock/unlock mismatch in base class.
8918 2005-05-09 Wim Taymans <wim@fluendo.com>
8920 * docs/design/draft-push-pull.txt:
8921 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8922 * gst/elements/gstfilesink.c: (gst_filesink_init),
8923 (gst_filesink_query):
8924 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8925 (gst_type_find_handle_src_query), (find_element_get_length):
8926 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8930 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8931 (gst_real_pad_get_caps_unlocked),
8932 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8933 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8934 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8935 (gst_real_pad_dispose), (gst_real_pad_finalize),
8936 (gst_pad_load_and_link), (gst_pad_save_thyself),
8937 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8938 (gst_pad_check_pull_range), (gst_pad_pull_range),
8939 (gst_pad_template_get_type), (gst_pad_template_class_init),
8940 (gst_pad_template_init), (gst_pad_template_dispose),
8941 (name_is_valid), (gst_static_pad_template_get),
8942 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8943 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8944 (gst_pad_get_element_private), (gst_pad_start_task),
8945 (gst_pad_pause_task), (gst_pad_stop_task),
8946 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8947 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8948 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8949 (gst_ghost_pad_new):
8951 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8952 (gst_query_new_position), (gst_query_set_position),
8953 (gst_query_parse_position), (gst_query_new_convert),
8954 (gst_query_set_convert), (gst_query_parse_convert):
8956 * gst/gstqueryutils.c:
8957 * gst/gstqueryutils.h:
8958 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8959 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8960 (gst_queue_handle_src_query):
8961 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8962 (gst_element_query_position), (gst_element_query_convert),
8963 (intersect_caps_func), (gst_pad_query_position),
8964 (gst_pad_query_convert):
8966 * tools/gst-inspect.c: (print_pad_info):
8967 * tools/gst-xmlinspect.c: (print_element_info):
8968 Remove old query functions. Ported old code.
8969 Added position/convert helper functions to gstutils.
8970 Reordered gstpad.c code, grouping relevant things.
8971 Remove gst_message_new(), always need to speficy a specific
8975 2005-05-09 Andy Wingo <wingo@pobox.com>
8977 * gst/gstiterator.h: Add some includes.
8979 * gst/gstqueryutils.h: Include more headers.
8982 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8983 some uses of gst_pad_query.
8985 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8986 NULL out parameters.
8987 (gst_query_new_position): New proc, allocates a new position
8990 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8991 gstqueryutils.c to the build.
8993 * gst/gststructure.c (gst_structure_set_valist): Implement with
8994 the generic G_VALUE_COLLECT.
8996 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8998 * gst/Makefile.am: (gst_headers):
8999 Added gstqueryutils.h to the list of headers to install, that was
9000 a 'nachty' move wingo :)
9002 2005-05-06 Andy Wingo <wingo@pobox.com>
9005 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9006 GstData, init a memchunk.
9007 (standard_definitions): Add a few query types, deprecate a few.
9008 (gst_query_get_type): New proc.
9009 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9011 (gst_query_new_application, gst_query_get_structure): New public
9014 * docs/design/draft-query.txt: Removed LINKS from the query types,
9015 because all the rest can be dispatched to other pads -- seemed
9016 ugly to have a query that couldn't be dispatched. internal_links
9017 is fine as a pad method.
9019 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9020 in gstpad.c, but maintain binary compatibility for the moment.
9021 Will fix before 0.9 is out.
9023 * gst/gstqueryutils.c:
9024 * gst/gstqueryutils.h: New files, implement 3 methods for each
9025 query type: parse_query, parse_response, and set. Probably need an
9028 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9030 * gst/elements/gstfilesink.c (gst_filesink_query2):
9031 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9032 query_types, and formats methods.
9034 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9035 (gst_pad_set_query2_function): New functions.
9036 (gst_real_pad_init): Set query2_default as the default query2
9037 function. Basically just dispatches to internally linked pads.
9041 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9042 without using the atomic operations. Only one thread can possibly
9043 be accessing the data at this point. Changed so as to avoid
9044 gst_atomic operations.
9046 2005-05-06 Wim Taymans <wim@fluendo.com>
9048 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9049 Also set caps if we use the fallback buffer alloc.
9051 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9053 * docs/gst/Makefile.am:
9054 * docs/gst/gstreamer-docs.sgml:
9055 * docs/gst/gstreamer-sections.txt:
9056 * docs/gst/tmpl/gstatomic.sgml:
9057 * docs/gst/tmpl/gstmemchunk.sgml:
9058 * testsuite/elements/struct_i386.h:
9059 * win32/GStreamer.vcproj:
9061 Purge GstAtomic stuff from docs and win32 makefiles as well
9063 2005-05-06 Wim Taymans <wim@fluendo.com>
9065 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9066 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9067 * gst/gstpad.c: (gst_pad_peer_get_caps):
9068 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9069 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9070 (gst_queue_src_activate), (gst_queue_change_state):
9072 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9073 (intersect_caps_func):
9074 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9075 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9076 Some fixes for the peer_get_caps() change.
9078 2005-05-06 Wim Taymans <wim@fluendo.com>
9080 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9081 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9082 (gst_basesink_activate):
9083 Actually do something with error codes returned from the push
9086 2005-05-06 Wim Taymans <wim@fluendo.com>
9088 * docs/design/part-element-sink.txt:
9089 * docs/design/part-element-source.txt:
9090 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9091 (gst_basesink_event), (gst_basesink_activate):
9092 * gst/base/gstbasesink.h:
9093 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9094 (gst_basesrc_activate):
9095 * gst/base/gstbasesrc.h:
9096 * gst/gstelement.c: (gst_element_pads_activate):
9097 Some more documentation.
9098 Fixed scheduling decision in _pads_activate().
9100 2005-05-05 Andy Wingo <wingo@pobox.com>
9102 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9105 2005-05-05 Wim Taymans <wim@fluendo.com>
9107 * gst/base/Makefile.am:
9108 * gst/base/gstbasesink.h:
9109 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9110 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9111 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9112 (gst_collectpads_class_init), (gst_collectpads_init),
9113 (gst_collectpads_finalize), (gst_collectpads_new),
9114 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9115 (find_pad), (gst_collectpads_remove_pad),
9116 (gst_collectpads_is_active), (gst_collectpads_collect),
9117 (gst_collectpads_collect_range), (gst_collectpads_start),
9118 (gst_collectpads_stop), (gst_collectpads_peek),
9119 (gst_collectpads_pop), (gst_collectpads_available),
9120 (gst_collectpads_read), (gst_collectpads_flush),
9121 (gst_collectpads_chain):
9122 * gst/base/gstcollectpads.h:
9123 * gst/elements/Makefile.am:
9124 * gst/elements/gstelements.c:
9125 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9126 (gst_fakesink_get_times), (gst_fakesink_event),
9127 (gst_fakesink_preroll), (gst_fakesink_render):
9128 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9129 (gst_filesink_init), (gst_filesink_set_location),
9130 (gst_filesink_open_file), (gst_filesink_close_file),
9131 (gst_filesink_pad_query), (gst_filesink_event),
9132 (gst_filesink_render), (gst_filesink_change_state):
9133 * gst/elements/gstfilesink.h:
9134 Added object to help in making collect pad based elements.
9136 Make event function in sink baseclass return gboolean.
9138 2005-05-05 Wim Taymans <wim@fluendo.com>
9140 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9141 (gst_bin_get_by_name):
9143 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9144 (gst_clock_finalize):
9145 * gst/gstdata.c: (gst_data_replace):
9147 * gst/gstelement.c: (gst_element_request_pad),
9148 (gst_element_pads_activate):
9149 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9151 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9152 (gst_pad_set_checkgetrange_function),
9153 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9154 (gst_pad_check_pull_range), (gst_pad_pull_range),
9155 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9156 (gst_pad_pause_task), (gst_pad_stop_task):
9157 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9158 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9159 Fix name lookup in GstBin.
9160 Added _data_replace() function and _buffer_replace()
9161 Use finalize method to clean up clock.
9162 Fix refcounting on request pads.
9163 Fix pad schedule mode error.
9164 Some more object refcounting debug info,
9167 2005-05-04 Andy Wingo <wingo@pobox.com>
9169 * check/Makefile.am:
9170 * docs/gst/tmpl/gstatomic.sgml:
9171 * docs/gst/tmpl/gstplugin.sgml:
9172 * gst/base/gstbasesink.c: (gst_basesink_activate):
9173 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9174 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9175 (gst_basesrc_query), (gst_basesrc_set_property),
9176 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9177 (gst_basesrc_activate):
9178 * gst/base/gstbasesrc.h:
9179 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9180 (gst_base_transform_src_activate):
9181 * gst/elements/gstelements.c:
9182 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9183 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9184 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9185 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9186 (gst_type_find_element_checkgetrange),
9187 (gst_type_find_element_activate):
9188 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9189 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9190 (gst_caps_load_thyself):
9191 * gst/gstelement.c: (gst_element_pads_activate),
9192 (gst_element_save_thyself), (gst_element_restore_thyself):
9193 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9194 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9196 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9197 (gst_xml_parse_file), (gst_xml_parse_memory),
9198 (gst_xml_get_element), (gst_xml_make_element):
9199 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9200 (_file_index_id_save_xml), (gst_file_index_commit):
9201 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9202 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9204 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9205 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9206 * tools/gst-complete.c: (main):
9207 * tools/gst-compprep.c: (main):
9208 * tools/gst-inspect.c: (print_element_properties_info):
9209 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9210 * tools/gst-xmlinspect.c: (print_element_properties):
9213 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9215 * gst/gstplugin.c: (gst_plugin_check_module),
9216 (gst_plugin_check_file), (gst_plugin_load_file):
9217 apply patch from #172526 to make register work on MacOSX
9219 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9221 * docs/gst/tmpl/gstconfig.sgml:
9222 * gst/gstconfig.h.in:
9223 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9224 * testsuite/debug/printf_extension.c: (main):
9225 Do not use GST_PTR_FORMAT on pointers to types with
9226 sizeof < sizeof(gpointer). Fixes test on 64-bit
9227 * testsuite/elements/property.h:
9228 use correct printf format
9230 2005-05-02 Wim Taymans <wim@fluendo.com>
9232 * docs/design/draft-push-pull.txt:
9233 * docs/design/draft-query.txt:
9234 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9235 (gst_basesrc_start):
9236 Added draft for new query API.
9237 Added draft for better selecting scheduling methods.
9238 Make basesrc ignore length if the subclass does not support
9241 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9244 possible fixes for automake-1.5 - _LIBADD is reserved
9246 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9248 * docs/faq/Makefile.am:
9249 * docs/manual/Makefile.am:
9251 * docs/pwg/Makefile.am:
9253 possible fixes for automake-1.5
9255 2005-04-28 Wim Taymans <wim@fluendo.com>
9257 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9258 (gst_basesink_pad_getcaps), (gst_basesink_init),
9259 (gst_basesink_do_sync):
9260 * gst/gstclock.c: (gst_clock_entry_new):
9261 * gst/gstevent.c: (gst_event_discont_get_value):
9262 * gst/gstpipeline.c: (pipeline_bus_handler),
9263 (gst_pipeline_change_state):
9264 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9265 Better debugging of clocking info.
9266 Allow NULL values when getting discont values.
9268 2005-04-27 Wim Taymans <wim@fluendo.com>
9270 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9271 * check/gst/gstpad.c: (gst_pad_suite):
9272 Increase timeout for checks.
9274 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9276 * check/Makefile.am:
9277 fix the broken rule for cleanup. Apparently this rule is
9278 only needed on FC2, so maybe this warrants further autotool
9281 2005-04-26 Wim Taymans <wim@fluendo.com>
9283 * gst/gsttrashstack.h:
9284 Ooohh. a nasty one! After having a failed pop() from the stack,
9285 it's possible that the stack is empty. In that case, don't
9286 follow the NULL pointer.
9288 2005-04-25 Wim Taymans <wim@fluendo.com>
9290 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9291 (gst_pad_set_checkgetrange_function),
9292 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9293 (gst_pad_check_pull_range), (gst_pad_pull_range),
9294 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9295 (gst_pad_pause_task), (gst_pad_stop_task):
9296 * gst/gstplugin.c: (gst_plugin_load):
9298 Remove gst_library_load as it does more harm than good with
9299 the new g_module flags.
9300 Revert bogus caps template check in pad linking, pad caps
9301 are important when linking not the template, which is more
9302 general than the current caps.
9304 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9306 * gst/autoplug/.cvsignore:
9307 * gst/autoplug/Makefile.am:
9308 * gst/autoplug/gstsearchfuncs.c:
9309 * gst/autoplug/gstsearchfuncs.h:
9310 * gst/autoplug/gstspider.c:
9311 * gst/autoplug/gstspider.h:
9312 * gst/autoplug/gstspideridentity.c:
9313 * gst/autoplug/gstspideridentity.h:
9314 * gst/autoplug/spidertest.c:
9317 2005-04-25 Wim Taymans <wim@fluendo.com>
9319 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9320 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9321 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9322 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9324 Added stubs for unimplemented functions.
9326 2005-04-24 David Schleef <ds@schleef.org>
9328 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9331 2005-04-24 David Schleef <ds@schleef.org>
9333 Convert everything from GstAtomicInt to g_atomic_int_*, and
9338 * gst/gstatomic_impl.h:
9346 * gst/gstdata_private.h:
9353 * gst/gststructure.c:
9354 * gst/gststructure.h:
9355 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9358 2005-04-24 David Schleef <ds@schleef.org>
9360 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9361 make the regressions tests work. Remove some code that is no
9363 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9364 Disable warning for pads without templates.
9366 2005-04-24 David Schleef <ds@schleef.org>
9368 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9369 functions that handle filtered links.
9370 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9372 * gst/gstutils.c: Fix/remove utility functions that handle
9375 * gst/gstvalue.c: Add serialization/deserialization of caps
9376 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9377 requires fixing so that the filter caps notation creates
9378 a capsfilter element and sets the filter_caps property. I
9379 think everyone probably wants to keep the shorthand notation.
9380 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9381 * docs/gst/tmpl/gstpad.sgml:
9383 * gst/elements/gstelements.c: Register capsfilter element.
9384 * gst/Makefile.am: fix spacing
9385 * docs/random/ds/0.9-suggested-changes: random
9387 2005-04-23 David Schleef <ds@schleef.org>
9389 * gst/elements/Makefile.am:
9390 * gst/elements/gstcapsfilter.c: New element that acts like an
9391 identity, but filters caps. Will eventually replace filtered
9392 caps in pad linking.
9393 * gst/gstutils.c: (gst_element_create_all_pads): New function
9394 to create all the ALWAYS pads that are registered with an
9395 element class. This functionality should eventually be
9396 merged in with GstElement initialization.
9398 * testsuite/trigger/README: part of trigger test code that should
9399 have been checked in a long time ago.
9401 2005-04-23 David Schleef <ds@schleef.org>
9403 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9404 needed with new versions of libtool (nobody will confirm this),
9405 and hard to carry around.
9406 * gst/autoplug/Makefile.am:
9407 * gst/base/Makefile.am:
9408 * gst/elements/Makefile.am:
9409 * gst/indexers/Makefile.am:
9410 * gst/schedulers/Makefile.am:
9411 * libs/gst/bytestream/Makefile.am:
9412 * libs/gst/control/Makefile.am:
9413 * libs/gst/dataprotocol/Makefile.am:
9414 * libs/gst/getbits/Makefile.am:
9416 2005-04-21 Wim Taymans <wim@fluendo.com>
9418 * docs/design/draft-push-pull.txt:
9419 * docs/design/part-MT-refcounting.txt:
9420 * docs/design/part-TODO.txt:
9421 * docs/design/part-caps.txt:
9422 * docs/design/part-events.txt:
9423 * docs/design/part-gstbus.txt:
9424 * docs/design/part-gstpipeline.txt:
9425 * docs/design/part-messages.txt:
9426 * docs/design/part-push-pull.txt:
9427 * docs/design/part-query.txt:
9430 2005-04-21 Wim Taymans <wim@fluendo.com>
9432 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9433 (gst_message_new), (gst_message_new_error),
9434 (gst_message_new_warning), (gst_message_new_tag),
9435 (gst_message_new_state_changed), (gst_message_new_application),
9436 (gst_message_get_structure):
9438 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9439 (gst_structure_copy_conditional):
9440 Use parent refcount in GstMessage to ensure GstStructure
9442 Cleaned up headers a bit.
9445 2005-04-20 Wim Taymans <wim@fluendo.com>
9447 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9448 (gst_basesink_pad_getcaps), (gst_basesink_init),
9449 (gst_basesink_chain_unlocked):
9450 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9451 (gst_type_find_helper):
9452 * gst/elements/gsttypefindelement.c:
9453 (gst_type_find_element_have_type), (gst_type_find_element_init),
9454 (stop_typefinding), (gst_type_find_element_handle_event),
9455 (find_suggest), (gst_type_find_element_chain),
9456 (gst_type_find_element_checkgetrange),
9457 (gst_type_find_element_getrange), (do_typefind),
9458 (gst_type_find_element_activate):
9459 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9460 (gst_buffer_default_free), (gst_buffer_default_copy),
9461 (gst_buffer_set_caps):
9462 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9464 * gst/gstmessage.c: (gst_message_new),
9465 (gst_message_new_state_changed):
9466 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9467 (gst_pad_set_checkgetrange_function),
9468 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9469 (gst_pad_set_caps), (gst_pad_check_pull_range),
9470 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9472 * gst/gsttypefind.c: (gst_type_find_register):
9473 Make gst_caps_replace() work like other _replace() functions.
9474 Use _caps_replace() where possible.
9475 Make sure _message_new() initialises its field.
9476 Add gst_static_pad_template_get_caps()
9479 2005-04-18 Andy Wingo <wingo@pobox.com>
9481 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9482 on the peer, not the pad. I think that was a typo. Pass an extra
9483 arg to see if random access is possible. Activate the pads as
9484 PULL_RANGE if possible.
9486 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9488 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9489 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9492 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9494 * docs/faq/using.xml:
9495 Add note on gstreamer-properties (#154996).
9497 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9499 * docs/random/bbb/optional-properties:
9500 Some analysis on optional properties.
9502 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9504 * docs/gst/tmpl/gstelementfactory.sgml:
9506 * gst/gstelementfactory.c: (gst_element_factory_init),
9507 (gst_element_factory_cleanup), (gst_element_register),
9508 (__gst_element_factory_add_static_pad_template),
9509 (gst_element_factory_get_static_pad_templates),
9510 (gst_element_factory_can_src_caps),
9511 (gst_element_factory_can_sink_caps):
9512 * gst/registries/Makefile.am:
9513 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9514 (gst_xml_registry_class_init), (gst_xml_registry_init),
9515 (gst_xml_registry_new), (gst_xml_registry_set_property),
9516 (gst_xml_registry_get_property), (get_time), (make_dir),
9517 (gst_xml_registry_get_perms_func),
9518 (plugin_times_older_than_recurse), (plugin_times_older_than),
9519 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9520 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9521 (add_to_char_array), (read_string), (read_uint), (read_enum),
9522 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9523 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9524 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9525 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9526 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9527 (gst_xml_registry_rebuild):
9528 * gst/registries/gstlibxmlregistry.h:
9529 * tools/gst-compprep.c: (main):
9530 * tools/gst-inspect.c: (print_pad_templates_info):
9531 * tools/gst-xmlinspect.c: (print_element_info):
9532 Use libxml2 for registry parsing, use staticpadtemplates in
9533 elementfactories. Makes gst_init() +/- 10x faster.
9535 2005-04-12 Wim Taymans <wim@fluendo.com>
9537 * gst/base/Makefile.am:
9538 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9539 (gst_basesink_pad_getcaps), (gst_basesink_init),
9540 (gst_basesink_event), (gst_basesink_change_state):
9541 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9542 (gst_basesrc_init), (gst_basesrc_query),
9543 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9544 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9545 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9546 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9547 (gst_basesrc_stop), (gst_basesrc_activate),
9548 (gst_basesrc_change_state):
9549 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9550 (helper_find_suggest), (gst_type_find_helper):
9551 * gst/base/gsttypefindhelper.h:
9552 * gst/elements/Makefile.am:
9553 * gst/elements/gstelements.c:
9554 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9555 (gst_fakesink_get_times), (gst_fakesink_event),
9556 (gst_fakesink_preroll), (gst_fakesink_render):
9557 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9558 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9559 (gst_fakesrc_get_property), (gst_fakesrc_create),
9560 (gst_fakesrc_start), (gst_fakesrc_stop):
9561 * gst/elements/gstfakesrc.h:
9562 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9563 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9564 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9565 (gst_filesrc_create_read), (gst_filesrc_create),
9566 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9567 (gst_filesrc_start):
9568 * gst/elements/gsttypefindelement.c:
9569 (gst_type_find_element_have_type), (gst_type_find_element_init),
9570 (start_typefinding), (stop_typefinding), (push_buffer_store),
9571 (gst_type_find_element_handle_event),
9572 (gst_type_find_element_chain),
9573 (gst_type_find_element_checkgetrange),
9574 (gst_type_find_element_getrange), (do_typefind),
9575 (gst_type_find_element_activate),
9576 (gst_type_find_element_change_state):
9577 * gst/elements/gsttypefindelement.h:
9578 * gst/gstpipeline.c: (pipeline_bus_handler):
9579 Added typefind helper.
9580 Small preroll fix in the base sink.
9581 Disable typefind code in basesrc.
9582 Crude port of typefindelement.
9586 2005-04-11 Wim Taymans <wim@fluendo.com>
9588 * check/gst/gstbus.c: (gstbus_suite):
9589 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9591 Fix up the timeout so that the test does not fail.
9593 2005-04-06 Wim Taymans <wim@fluendo.com>
9596 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9597 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9598 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9599 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9600 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9601 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9602 (gst_basesrc_stop), (gst_basesrc_activate),
9603 (gst_basesrc_change_state), (basesrc_find_peek),
9604 (basesrc_find_suggest), (gst_basesrc_type_find):
9605 * gst/base/gstbasesrc.h:
9606 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9607 (gst_filesrc_class_init), (gst_filesrc_init),
9608 (gst_filesrc_finalize), (gst_filesrc_set_location),
9609 (gst_filesrc_set_property), (gst_filesrc_get_property),
9610 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9611 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9612 (gst_filesrc_create_read), (gst_filesrc_create),
9613 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9614 * gst/elements/gstfilesrc.h:
9615 * gst/gstelement.c: (gst_element_get_state_func),
9616 (gst_element_lost_state), (gst_element_pads_activate):
9617 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9618 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9619 (gst_pad_pull_range):
9621 More work on the generic source base class, implement seeking,
9623 Make filesrc extend the base source class.
9624 Added gst_pad_set_checkgetrange_function to GstPad.
9626 2005-04-06 Andy Wingo <wingo@pobox.com>
9628 * pkgconfig/gstreamer-base.pc.in:
9629 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9631 * pkgconfig/Makefile.am:
9632 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9634 2005-04-04 Wim Taymans <wim@fluendo.com>
9636 * gst/base/Makefile.am:
9638 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9639 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9640 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9641 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9642 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9643 (gst_basesrc_base_init), (gst_basesrc_class_init),
9644 (gst_basesrc_init), (gst_basesrc_get_formats),
9645 (gst_basesrc_get_query_types), (gst_basesrc_query),
9646 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9647 (gst_basesrc_set_property), (gst_basesrc_get_property),
9648 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9649 (gst_basesrc_loop), (gst_basesrc_activate),
9650 (gst_basesrc_change_state):
9651 * gst/base/gstbasesrc.h:
9652 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9653 (gst_fakesrc_class_init), (gst_fakesrc_init),
9654 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9655 (gst_fakesrc_get_property), (gst_fakesrc_create):
9656 * gst/elements/gstfakesrc.h:
9657 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9658 (gst_filesrc_open_file), (gst_filesrc_loop),
9659 (gst_filesrc_activate), (filesrc_find_peek),
9660 (gst_filesrc_type_find):
9661 Made base source class, make fakesrc extend it.
9662 Add comments to basesink class.
9663 Some filesrc cleanup.
9665 2005-03-31 David Schleef <ds@schleef.org>
9667 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9668 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9669 expected to link against libgstreamer.
9670 * gst/base/Makefile.am: link against libgstreamer
9671 * gst/elements/Makefile.am: same
9673 2005-03-31 Andy Wingo <wingo@pobox.com>
9675 * tests/instantiate/Makefile.am:
9676 * tests/instantiate/caps.c: Add test to test speed of caps copy
9679 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9680 GMemChunk to be fair.
9682 * gst/gsttrashstack.h: Remove warning about using the fallback
9683 trash stack implementation, it's still faster than malloc.
9685 2005-03-30 Andy Wingo <wingo@pobox.com>
9687 * tests/complexity.c: Add a copyright.
9689 2005-03-31 Wim Taymans <wim@fluendo.com>
9691 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9692 (gst_base_transform_class_init), (gst_base_transform_init),
9693 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9694 (gst_base_transform_get_property),
9695 (gst_base_transform_sink_activate),
9696 (gst_base_transform_src_activate),
9697 (gst_base_transform_change_state):
9698 * gst/base/gstbasetransform.h:
9699 * gst/elements/gstidentity.c: (gst_identity_class_init),
9700 (gst_identity_event), (gst_identity_check_perfect),
9701 (gst_identity_transform), (gst_identity_start),
9702 (gst_identity_stop):
9703 Added start/stop methods to transform base class so subclasses
9704 don't need to deal with state changes even.
9706 2005-03-31 Wim Taymans <wim@fluendo.com>
9708 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9709 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9711 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9712 (gst_pad_pull_range):
9713 Added rate to the discont event to prepare for variable speed
9714 and reverse playback.
9716 2005-03-29 David Schleef <ds@schleef.org>
9719 * testsuite/trigger/Makefile.am:
9720 * testsuite/trigger/trigger.c: A little example program to show
9721 how trigger-based elements can work.
9723 2005-03-29 Wim Taymans <wim@fluendo.com>
9725 * gst/base/Makefile.am:
9727 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9728 (gst_basesink_base_init), (gst_basesink_class_init),
9729 (gst_basesink_pad_getcaps), (gst_basesink_init),
9730 (gst_basesink_activate), (gst_basesink_change_state):
9731 * gst/base/gstbasesink.h:
9732 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9733 (gst_base_transform_base_init), (gst_base_transform_finalize),
9734 (gst_base_transform_class_init), (gst_base_transform_init),
9735 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9736 (gst_base_transform_event), (gst_base_transform_getrange),
9737 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9738 (gst_base_transform_set_property),
9739 (gst_base_transform_get_property),
9740 (gst_base_transform_sink_activate),
9741 (gst_base_transform_src_activate),
9742 (gst_base_transform_change_state):
9743 * gst/base/gstbasetransform.h:
9744 * gst/elements/gstidentity.c: (gst_identity_finalize),
9745 (gst_identity_class_init), (gst_identity_init),
9746 (gst_identity_event), (gst_identity_check_perfect),
9747 (gst_identity_transform), (gst_identity_set_property),
9748 (gst_identity_get_property), (gst_identity_change_state):
9749 * gst/elements/gstidentity.h:
9750 * gst/gstelement.c: (gst_element_get_state_func),
9751 (gst_element_lost_state), (gst_element_pads_activate):
9752 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9753 (gst_pad_check_pull_range), (gst_pad_pull_range):
9755 Simplify pad activation.
9756 Added function to check if pull_range can be performed.
9757 Error out when pulling inactive or flushing pads.
9758 Removed const from refcounted types as it does not make sense.
9759 Simplify pad templates in basesink
9760 Added base class for simple 1-to-1 transforms.
9761 Make identity subclass the base transform.
9763 2005-03-29 Andy Wingo <wingo@pobox.com>
9765 * docs/libs/gstreamer-libs-overrides.txt:
9766 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9767 really don't understand what's going on, but like whatever. I want
9770 * docs/gst/Makefile.am:
9771 * docs/libs/Makefile.am: Dist the overrides files.
9773 * check/Makefile.am (clean-local): Remove .libs directories.
9775 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9776 elements to EXTRA_DIST, so po/ files are happy.
9778 * po/POTFILES.in: Er, remove it here.
9780 * po/POTFILES: Remove gstspider.c.
9782 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9784 * docs/libs/gstreamer-libs-docs.sgml:
9785 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9788 * tests/complexity.c (main): Set the length of the preroll queue
9789 on the sinks to prevent a lockup.
9791 * libs/gst/dataprotocol/Makefile.am:
9792 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9793 the same as the one in check/gst-libs/gdp.c.
9795 * po/, docs/gst/: Commit automatic changes to docs and po files.
9797 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9798 the versioned libgstbase.
9800 * check/Makefile.am: Depend on an unversioned gst-register, seems
9801 to make autoconf happier.
9803 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9805 2005-03-28 Wim Taymans <wim@fluendo.com>
9808 * docs/design/part-gstelement.txt:
9809 * docs/design/part-negotiation.txt:
9810 * docs/design/part-preroll.txt:
9811 * docs/design/part-scheduling.txt:
9812 * docs/design/part-states.txt:
9814 * gst/base/Makefile.am:
9816 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9817 (gst_basesink_base_init), (gst_basesink_class_init),
9818 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9819 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9820 (gst_basesink_set_pad_functions),
9821 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9822 (gst_basesink_set_property), (gst_basesink_get_property),
9823 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9824 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9825 (gst_basesink_preroll_queue_push),
9826 (gst_basesink_preroll_queue_empty),
9827 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9828 (gst_basesink_event), (gst_basesink_get_times),
9829 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9830 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9831 (gst_basesink_loop), (gst_basesink_activate),
9832 (gst_basesink_change_state):
9833 * gst/base/gstbasesink.h:
9834 * gst/elements/Makefile.am:
9835 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9836 (gst_fakesink_class_init), (gst_fakesink_init),
9837 (gst_fakesink_set_property), (gst_fakesink_get_property),
9838 (gst_fakesink_get_times), (gst_fakesink_event),
9839 (gst_fakesink_preroll), (gst_fakesink_render),
9840 (gst_fakesink_change_state):
9841 * gst/elements/gstfakesink.h:
9842 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9843 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9844 * gst/gstelement.c: (gst_element_add_pad),
9845 (gst_element_get_state_func), (gst_element_abort_state),
9846 (gst_element_commit_state), (gst_element_lost_state),
9847 (gst_element_set_state), (gst_element_pads_activate):
9848 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9849 * gst/gstpipeline.c: (gst_pipeline_send_event),
9850 (gst_pipeline_change_state):
9851 Added state change code.
9853 Added sink base class, make fakesink extend the base class.
9854 Small cleanups in GstPipeline.
9856 2005-03-26 David Schleef <ds@schleef.org>
9858 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9859 is broken and should be implemented in a different library.
9860 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9861 * gst/gst.h: remove gstcpu.h
9862 * gst/gstcpu.c: remove
9863 * gst/gstcpu.h: remove
9864 * gst/Makefile.am.future: Remove this file. It's ancient.
9866 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9868 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9869 (gst_bin_send_event):
9870 Add default event/set_manager handlers. The set_manager handler
9871 takes care that the manager is distributed over kids that were
9872 already in the bin before the manager was set. The event handler
9873 is a utility virtual function that sends the event over all sinks,
9874 so that gst_element_send_event (bin, event); has the expected
9876 * gst/gstpad.c: (gst_pad_event_default):
9877 Re-install default event handling for discontinuities, so that
9878 seeking works without requiring hacks in applications or extra
9880 * gst/gstpipeline.c: (gst_pipeline_class_init),
9881 (gst_pipeline_send_event):
9882 Half hack, half utility: set a pipeline to PAUSED for seek events,
9883 since that is the only way we can guarantee a/v sync. Means that
9884 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9885 and it "just works".
9887 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9889 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9890 Lock/unlock mismatch.
9892 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9894 * docs/faq/gst-uninstalled:
9895 add gst-plugins-base
9896 * docs/gst/Makefile.am:
9897 don't error out until docs are fixed
9898 * docs/gst/gstreamer.types:
9901 2005-03-22 Wim Taymans <wim@fluendo.com>
9903 * check/Makefile.am:
9904 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9905 * gst/gststructure.c: (gst_structure_set_valist),
9906 (gst_structure_copy_conditional):
9907 Activated more tests.
9909 Added G_TYPE_POINTER to GstStructure.
9912 2005-03-22 Wim Taymans <wim@fluendo.com>
9914 * docs/design/part-TODO.txt:
9915 * docs/design/part-events.txt:
9916 * docs/design/part-gstbin.txt:
9917 * docs/design/part-gstbus.txt:
9918 * docs/design/part-gstpipeline.txt:
9919 * docs/design/part-messages.txt:
9924 2005-03-21 Wim Taymans <wim@fluendo.com>
9926 * gst/gstbus.c: (gst_bus_post):
9927 Fix copy-and-paste error.
9929 2005-03-21 Wim Taymans <wim@fluendo.com>
9931 * check/Makefile.am:
9933 * gst/elements/Makefile.am:
9934 * gst/elements/gstelements.c:
9935 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9936 (gst_fakesink_event), (gst_fakesink_chain):
9937 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9938 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9939 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9940 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9941 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9942 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9943 (gst_fakesrc_loop), (gst_fakesrc_activate),
9944 (gst_fakesrc_change_state):
9945 * gst/elements/gstfakesrc.h:
9946 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9947 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9948 (gst_filesrc_open_file), (gst_filesrc_loop),
9949 (gst_filesrc_activate), (gst_filesrc_change_state),
9950 (filesrc_find_peek), (filesrc_find_suggest),
9951 (gst_filesrc_type_find):
9952 * gst/elements/gstidentity.c: (gst_identity_finalize),
9953 (gst_identity_class_init), (gst_identity_init),
9954 (gst_identity_proxy_getcaps), (identity_queue_push),
9955 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9956 (gst_identity_getrange), (gst_identity_chain),
9957 (gst_identity_sink_loop), (gst_identity_src_loop),
9958 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9959 (gst_identity_set_property), (gst_identity_get_property),
9960 (gst_identity_change_state):
9961 * gst/elements/gstidentity.h:
9962 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9963 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9964 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9965 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9966 (gst_tee_sink_activate):
9967 * gst/elements/gsttee.h:
9968 * gst/gst.c: (gst_register_core_elements), (init_post):
9970 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9971 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9972 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9973 (gst_bin_change_state):
9975 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9976 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9977 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9978 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9979 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9980 (bus_watch_callback), (bus_watch_destroy),
9981 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9982 (poll_timeout), (gst_bus_poll):
9986 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9987 (gst_element_post_message), (gst_element_message_full),
9988 (gst_element_get_state_func), (gst_element_get_state),
9989 (gst_element_abort_state), (gst_element_commit_state),
9990 (gst_element_lost_state), (gst_element_set_state),
9991 (gst_element_pads_activate), (gst_element_change_state),
9992 (gst_element_dispose), (gst_element_set_manager_func),
9993 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9994 (gst_element_set_manager), (gst_element_get_manager),
9995 (gst_element_set_bus), (gst_element_get_bus),
9996 (gst_element_set_scheduler), (gst_element_get_scheduler):
9998 * gst/gstevent.c: (gst_event_new_segment_seek),
9999 (gst_event_new_flush):
10001 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10002 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10003 (gst_message_new_eos), (gst_message_new_error),
10004 (gst_message_new_warning), (gst_message_new_tag),
10005 (gst_message_new_state_changed), (gst_message_new_application),
10006 (gst_message_get_structure), (gst_message_parse_tag),
10007 (gst_message_parse_state_changed), (gst_message_parse_error),
10008 (gst_message_parse_warning):
10009 * gst/gstmessage.h:
10010 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10011 (gst_real_pad_set_property), (gst_pad_set_active),
10012 (gst_pad_is_active), (gst_pad_set_blocked_async),
10013 (gst_pad_set_blocked), (gst_pad_is_blocked),
10014 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10015 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10016 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10017 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10018 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10019 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10020 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10021 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10022 (gst_pad_set_caps), (gst_pad_configure_sink),
10023 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10024 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10025 (gst_real_pad_dispose), (gst_real_pad_finalize),
10026 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10027 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10028 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10030 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10031 (pipeline_bus_handler), (gst_pipeline_change_state),
10032 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10033 * gst/gstpipeline.h:
10035 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10036 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10037 (gst_queue_link_src), (gst_queue_bufferalloc),
10038 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10039 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10040 (gst_queue_loop), (gst_queue_handle_src_event),
10041 (gst_queue_handle_src_query), (gst_queue_src_activate),
10042 (gst_queue_change_state):
10044 * gst/gstscheduler.c: (gst_scheduler_init),
10045 (gst_scheduler_dispose), (gst_scheduler_create_task),
10046 (gst_scheduler_factory_create):
10047 * gst/gstscheduler.h:
10048 * gst/gststructure.c: (gst_structure_get_type),
10049 (gst_structure_copy_conditional):
10050 * gst/gststructure.h:
10051 * gst/gsttaginterface.h:
10052 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10053 (gst_task_init), (gst_task_dispose), (gst_task_create),
10054 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10060 * gst/schedulers/Makefile.am:
10061 * gst/schedulers/cothreads_compat.h:
10062 * gst/schedulers/entryscheduler.c:
10063 * gst/schedulers/faircothreads.c:
10064 * gst/schedulers/faircothreads.h:
10065 * gst/schedulers/fairscheduler.c:
10066 * gst/schedulers/gstbasicscheduler.c:
10067 * gst/schedulers/gstoptimalscheduler.c:
10068 * gst/schedulers/gthread-cothreads.h:
10069 * gst/schedulers/threadscheduler.c:
10070 (gst_thread_scheduler_task_get_type),
10071 (gst_thread_scheduler_task_class_init),
10072 (gst_thread_scheduler_task_init),
10073 (gst_thread_scheduler_task_start),
10074 (gst_thread_scheduler_task_stop),
10075 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10076 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10077 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10078 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10080 * libs/gst/Makefile.am:
10081 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10082 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10083 (gst_file_pad_parent_set):
10084 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10085 (gst_dp_event_from_packet):
10086 * tests/complexity.c: (main):
10087 * tests/mass_elements.c: (main):
10088 * testsuite/states/locked.c: (message_received), (main):
10089 * testsuite/states/parent.c: (main):
10090 * tools/gst-inspect.c: (print_element_flag_info),
10091 (print_implementation_info), (print_pad_info):
10092 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10094 * tools/gst-md5sum.c: (event_loop), (main):
10095 * tools/gst-typefind.c: (main):
10096 * tools/gst-xmlinspect.c: (print_element_info):
10098 Added GstBus for mainloop integration.
10099 Added GstMessage for sending notifications on the bus.
10100 Added GstTask as an abstraction for pipeline entry points.
10102 Removed Schedulers.
10103 Simplified GstQueue for multithreaded core.
10104 Made _link threadsafe, removed old capsnego.
10105 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10106 Added pad blocking functions.
10107 Reworked scheduling functions in GstPad to prepare for
10108 scheduling updates soon.
10109 Moved events out of data stream.
10110 Simplified GstEvent types.
10111 Added return values to push/pull.
10112 Removed clocking from GstElement.
10113 Added prototypes for state change function for next merge.
10114 Removed iterate from bins and state change management.
10115 Fixed some elements, disabled others for now.
10116 Fixed -inspect and -launch.
10117 Added check for GstBus.
10119 2005-03-10 Wim Taymans <wim@fluendo.com>
10121 * docs/design/part-MT-refcounting.txt:
10122 * docs/design/part-clocks.txt:
10123 * docs/design/part-gstelement.txt:
10124 * docs/design/part-gstobject.txt:
10125 * docs/design/part-standards.txt:
10126 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10127 (gst_bin_remove_func), (gst_bin_remove):
10131 * testsuite/clock/clock1.c: (main):
10132 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10134 * testsuite/dlopen/loadgst.c: (do_test):
10135 * testsuite/refcounting/bin.c: (add_remove_test1),
10136 (add_remove_test2), (main):
10137 * testsuite/refcounting/element.c: (main):
10138 * testsuite/refcounting/element_pad.c: (main):
10139 * testsuite/refcounting/pad.c: (main):
10140 * tools/gst-launch.c: (sigint_handler_sighandler):
10141 * tools/gst-typefind.c: (main):
10143 Added doc about clock.
10144 removed gst_bin_iterate_recurse_up(), marked methods
10146 Fix more testsuites.
10148 2005-03-09 Wim Taymans <wim@fluendo.com>
10150 * gst/gstpad.c: (gst_pad_get_direction),
10151 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10152 (gst_pad_collect_valist):
10153 * testsuite/bins/interface.c: (main):
10154 * testsuite/caps/audioscale.c: (test_caps):
10155 * testsuite/caps/caps.c: (test1), (test2), (test3):
10156 * testsuite/caps/deserialize.c: (main):
10157 * testsuite/caps/enumcaps.c: (main):
10158 * testsuite/caps/filtercaps.c: (main):
10159 * testsuite/caps/intersect2.c: (main):
10160 * testsuite/caps/random.c: (main):
10161 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10162 * testsuite/caps/sets.c: (check_caps):
10163 * testsuite/caps/simplify.c: (check_caps), (main):
10164 * testsuite/caps/subtract.c: (check_caps):
10165 Fix _pad_get_direction wrt ghostpads.
10166 Fix caps testsuite.
10168 2005-03-09 Wim Taymans <wim@fluendo.com>
10170 * check/Makefile.am:
10171 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10172 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10173 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10174 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10175 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10176 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10177 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10178 (bin_element_is_sink), (gst_bin_iterate_sinks),
10179 (gst_bin_iterate_all_by_interface):
10181 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10182 (gst_element_change_state), (gst_element_dispose),
10183 (gst_element_finalize), (gst_element_set_loop_function):
10184 * gst/gstelement.h:
10185 * gst/gstiterator.c: (find_custom_fold_func):
10186 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10187 (gst_pad_collectv), (gst_pad_collect_valist),
10188 (gst_pad_template_new):
10189 * gst/gstpipeline.c: (gst_pipeline_class_init),
10190 (gst_pipeline_dispose), (gst_pipeline_set_property),
10191 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10192 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10193 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10195 * gst/schedulers/entryscheduler.c:
10196 * gst/schedulers/gstbasicscheduler.c:
10197 (gst_basic_scheduler_cothreaded_chain),
10198 (gst_basic_scheduler_chain_add_element):
10199 * testsuite/bins/interface.c: (main):
10201 Added GstSystemClock test.
10202 Implemented clock distribution code in GstBin.
10203 Implemented iterate sinks method for future use.
10204 Rearranged gstelement.h
10205 Fix GstIterator comparison bug.
10206 Moved some code to GstPipeline, mostly clocking related.
10208 2005-03-09 Wim Taymans <wim@fluendo.com>
10211 * gst/gst_private.h:
10212 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10213 (gst_bin_remove_func), (gst_bin_remove),
10214 (gst_bin_get_by_name_recurse_up):
10215 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10216 (gst_clock_id_compare_func), (gst_clock_id_wait),
10217 (gst_clock_id_wait_async), (gst_clock_init),
10218 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10219 * gst/gstelement.h:
10220 * gst/gstinfo.c: (_gst_debug_init):
10222 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10223 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10225 Bump version number, we're now 0.9.0
10226 Add future debugging category.
10227 Fix NULL _unref() in _get_by_name_recurse_up
10228 Rearrange gstpad.h.
10231 2005-03-08 Wim Taymans <wim@fluendo.com>
10233 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10234 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10235 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10236 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10237 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10238 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10239 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10240 * gst/elements/gstidentity.c: (gst_identity_class_init):
10241 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10242 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10243 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10244 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10245 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10247 * gst/gstelement.c: (gst_element_class_init),
10248 (gst_element_base_class_init), (gst_element_init),
10249 (gst_element_get_random_pad), (gst_element_wait_state_change),
10250 (gst_element_change_state), (gst_element_dispose),
10251 (gst_element_finalize), (gst_element_set_loop_function):
10252 * gst/gstelement.h:
10253 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10254 * gst/gstthread.c: (gst_thread_class_init),
10255 (gst_thread_release_children_locks), (gst_thread_change_state):
10256 * gst/schedulers/gstbasicscheduler.c:
10257 (gst_basic_scheduler_loopfunc_wrapper),
10258 (gst_basic_scheduler_chain_wrapper),
10259 (gst_basic_scheduler_src_wrapper),
10260 (gst_basic_scheduler_remove_element):
10261 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10262 Remove threadsafe properties. Fix elements because GObject
10263 complains when installing a property before declaring a
10264 set/get_property handler.
10265 Rearrange gstelement.h file, use STATE macros for state locks.
10266 Free mutexes in the finalize method instead of dispose.
10268 2005-03-08 Wim Taymans <wim@fluendo.com>
10270 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10271 * gst/gstthread.c: (gst_thread_release_children_locks):
10272 Added parentage check.
10273 Fix build og GstThread again.
10275 2005-03-08 Wim Taymans <wim@fluendo.com>
10277 * docs/design/part-MT-refcounting.txt:
10278 * docs/design/part-conventions.txt:
10279 * docs/design/part-gstobject.txt:
10280 * docs/design/part-relations.txt:
10281 * docs/design/part-standards.txt:
10282 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10283 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10284 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10285 (gst_bin_iterate_all_by_interface):
10288 * gst/gstelement.c: (gst_element_class_init),
10289 (gst_element_change_state), (gst_element_set_loop_function):
10290 * gst/gstelement.h:
10291 * gst/gstiterator.c:
10292 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10293 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10294 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10295 (gst_object_set_parent), (gst_object_unparent),
10296 (gst_object_check_uniqueness):
10298 Docs updates, clean up some headers.
10300 2005-03-07 Wim Taymans <wim@fluendo.com>
10302 * check/.cvsignore:
10303 * check/Makefile.am:
10304 * check/gst-libs/.cvsignore:
10305 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10306 * check/gst/.cvsignore:
10307 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10308 (START_TEST), (gstbus_suite), (main):
10309 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10310 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10311 (gst_data_suite), (main):
10312 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10313 (add_fold_func), (gstiterator_suite), (main):
10314 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10315 (thread_name_object), (thread_name_object_default),
10316 (gst_object_name_compare), (gst_object_suite), (main):
10317 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10318 (gst_pad_suite), (main):
10319 * check/gstcheck.c: (gst_check_log_message_func),
10320 (gst_check_log_critical_func), (gst_check_init):
10321 * check/gstcheck.h:
10322 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10323 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10326 2005-03-07 Wim Taymans <wim@fluendo.com>
10328 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10329 (gst_list_iterator_next), (gst_list_iterator_resync),
10330 (gst_list_iterator_free), (gst_iterator_new_list),
10331 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10332 (gst_iterator_free), (gst_iterator_push), (filter_next),
10333 (filter_resync), (filter_uninit), (filter_free),
10334 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10335 (gst_iterator_foreach), (find_custom_fold_func),
10336 (gst_iterator_find_custom):
10337 * gst/gstiterator.h:
10338 Added missing files.
10340 2005-03-07 Wim Taymans <wim@fluendo.com>
10344 * docs/design/part-MT-refcounting.txt:
10345 * docs/design/part-conventions.txt:
10346 * docs/design/part-gstobject.txt:
10347 * docs/design/part-relations.txt:
10348 * examples/mixer/mixer.c: (main):
10349 * examples/thread/thread.c: (eos), (main):
10351 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10352 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10353 (gst_spider_plug_from_srcpad):
10354 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10355 (gst_spider_identity_change_state),
10356 (gst_spider_identity_sink_loop_type_finding):
10357 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10358 * gst/elements/gstidentity.c: (gst_identity_init):
10359 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10360 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10361 * gst/elements/gsttypefindelement.c: (free_entry):
10364 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10365 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10366 (gst_bin_set_index), (gst_bin_set_element_sched),
10367 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10368 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10369 (gst_bin_iterate_elements), (iterate_child_recurse),
10370 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10371 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10372 (compare_interface), (gst_bin_get_by_interface),
10373 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10375 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10376 (gst_buffer_default_free), (gst_buffer_default_copy),
10377 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10378 (gst_buffer_create_sub):
10380 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10381 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10382 (gst_caps_unref), (gst_static_caps_get),
10383 (gst_caps_remove_and_get_structure), (gst_caps_append),
10384 (gst_caps_append_structure), (gst_caps_remove_structure),
10385 (gst_caps_copy_nth), (gst_caps_set_simple),
10386 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10387 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10388 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10389 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10390 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10391 (gst_caps_structure_figure_out_union),
10392 (gst_caps_switch_structures), (gst_caps_do_simplify),
10393 (gst_caps_replace), (gst_caps_from_string),
10394 (gst_caps_copy_conditional):
10396 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10397 (_gst_clock_id_free), (gst_clock_id_unref),
10398 (gst_clock_id_compare_func), (gst_clock_id_wait),
10399 (gst_clock_id_wait_async), (gst_clock_class_init),
10400 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10401 (gst_clock_get_time), (gst_clock_set_time_adjust),
10402 (gst_clock_set_property), (gst_clock_get_property):
10405 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10406 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10408 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10409 (gst_element_requires_clock), (gst_element_provides_clock),
10410 (gst_element_set_clock), (gst_element_clock_wait),
10411 (gst_element_wait), (gst_element_set_time_delay),
10412 (gst_element_is_indexable), (gst_element_add_pad),
10413 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10414 (pad_compare_name), (gst_element_get_static_pad),
10415 (gst_element_request_pad), (gst_element_get_request_pad),
10416 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10417 (gst_element_class_get_pad_template_list),
10418 (gst_element_class_get_pad_template), (gst_element_error_func),
10419 (gst_element_get_random_pad), (gst_element_get_event_masks),
10420 (gst_element_send_event), (gst_element_seek),
10421 (gst_element_get_query_types), (gst_element_query),
10422 (gst_element_get_formats), (gst_element_convert),
10423 (gst_element_is_locked_state), (gst_element_set_locked_state),
10424 (gst_element_sync_state_with_parent), (gst_element_change_state),
10425 (gst_element_finalize), (gst_element_yield),
10426 (gst_element_interrupt), (gst_element_set_scheduler),
10427 (gst_element_get_scheduler), (gst_element_set_loop_function):
10428 * gst/gstelement.h:
10430 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10431 (gst_format_get_by_nick), (gst_format_get_details),
10432 (gst_format_iterate_definitions):
10434 * gst/gstindex.c: (gst_index_gtype_resolver):
10437 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10438 (gst_mem_chunk_free):
10439 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10440 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10441 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10442 (gst_object_dispatch_properties_changed),
10443 (gst_object_set_name_default), (gst_object_set_name),
10444 (gst_object_get_name), (gst_object_set_name_prefix),
10445 (gst_object_get_name_prefix), (gst_object_set_parent),
10446 (gst_object_get_parent), (gst_object_unparent),
10447 (gst_object_check_uniqueness), (gst_object_save_thyself),
10448 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10449 (gst_object_set_property), (gst_object_get_property),
10450 (gst_object_get_path_string):
10452 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10453 (gst_real_pad_init), (gst_real_pad_get_property),
10454 (gst_pad_custom_new), (gst_pad_get_direction),
10455 (gst_pad_set_active), (gst_pad_is_active),
10456 (gst_pad_set_event_function), (gst_pad_is_linked),
10457 (gst_pad_link_free), (gst_pad_link_intersect),
10458 (gst_pad_link_fixate), (gst_pad_set_caps),
10459 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10460 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10461 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10462 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10463 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10464 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10465 (gst_pad_realize), (gst_pad_get_allowed_caps),
10466 (gst_real_pad_dispose), (gst_real_pad_finalize),
10467 (gst_pad_collectv), (gst_pad_collect_valist),
10468 (gst_pad_template_dispose), (gst_pad_template_new),
10469 (gst_pad_get_internal_links):
10471 * gst/gstpipeline.c: (gst_pipeline_dispose),
10472 (gst_pipeline_change_state):
10473 * gst/gstpipeline.h:
10475 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10476 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10477 * gst/gstpluginfeature.h:
10478 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10479 * gst/gstquery.c: (_gst_query_type_initialize),
10480 (gst_query_type_register), (gst_query_type_get_by_nick),
10481 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10483 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10484 * gst/gstscheduler.c: (gst_scheduler_add_element),
10485 (gst_scheduler_factory_create):
10486 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10487 (gst_structure_free), (gst_structure_set_name),
10488 (gst_structure_id_set_value), (gst_structure_set_value),
10489 (gst_structure_set_valist), (gst_structure_remove_field),
10490 (gst_structure_remove_fields),
10491 (gst_structure_remove_fields_valist),
10492 (gst_structure_remove_all_fields), (gst_structure_foreach),
10493 (gst_structure_map_in_place),
10494 (gst_caps_structure_fixate_field_nearest_int),
10495 (gst_caps_structure_fixate_field_nearest_double):
10496 * gst/gststructure.h:
10497 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10498 (gst_system_clock_init), (gst_system_clock_dispose),
10499 (gst_system_clock_async_thread),
10500 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10501 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10502 * gst/gstsystemclock.h:
10503 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10504 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10505 * gst/gsttaginterface.c:
10506 * gst/gstthread.c: (gst_thread_dispose),
10507 (gst_thread_release_children_locks), (gst_thread_change_state),
10508 (gst_thread_main_loop):
10509 * gst/gsttrashstack.h:
10510 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10512 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10513 (gst_element_request_pad), (gst_element_get_pad_from_template),
10514 (gst_element_request_compatible_pad),
10515 (gst_element_get_compatible_pad_filtered),
10516 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10517 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10518 (gst_element_link_many), (gst_element_link),
10519 (gst_element_link_pads), (gst_element_unlink_pads),
10520 (gst_element_unlink_many), (gst_element_unlink),
10521 (gst_pad_can_link_filtered), (gst_pad_can_link),
10522 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10523 (gst_object_default_error), (gst_bin_add_many),
10524 (gst_bin_remove_many), (gst_element_populate_std_props),
10525 (gst_element_class_install_std_props), (gst_buffer_merge),
10526 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10527 (link_fold_func), (gst_pad_proxy_setcaps):
10529 * gst/gstvalue.c: (gst_value_deserialize_string):
10530 * gst/parse/grammar.y:
10531 * gst/schedulers/gstbasicscheduler.c:
10532 (gst_basic_scheduler_cothreaded_chain),
10533 (gst_basic_scheduler_chain_recursive_add),
10534 (gst_basic_scheduler_pad_link):
10535 * gst/schedulers/gstoptimalscheduler.c:
10536 (get_group_schedule_function),
10537 (gst_opt_scheduler_state_transition),
10538 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10539 * libs/gst/bytestream/bytestream.c:
10540 * libs/gst/dataprotocol/dataprotocol.c:
10541 (gst_dp_header_from_buffer):
10544 * tests/threadstate/threadstate2.c: (eos):
10545 * tools/gst-compprep.c: (main):
10546 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10547 (print_pad_info), (print_children_info):
10548 * tools/gst-launch.c: (idle_func), (main):
10549 * tools/gst-md5sum.c: (idle_func), (main):
10550 * tools/gst-xmlinspect.c: (print_element_info):
10551 First THREADED backport attempt, focusing on adding locks and
10552 making sure the API is threadsafe. Needs more work. More docs
10555 2005-02-24 Andy Wingo <wingo@pobox.com>
10557 * tests/bench-complexity.scm:
10558 * tests/complexity.gnuplot: New files, good for running complexity
10561 * tests/Makefile.am:
10562 * tests/complexity.c: New test, sets up N elements, at each level
10563 teeing into M streams per element. Eeeenteresting.
10565 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10566 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10567 running bench-mass_elements.scm.
10569 * tests/bench-mass_elements.scm: New script, runs mass_elements
10570 for various numbers of identities, outputting the results to a
10571 file. Requires guile 1.6. Just for testing.
10573 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10575 * gst/schedulers/fairscheduler.c:
10576 compile with debug disabled
10578 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10581 hunting season on 0.9 is now OPEN